; LLVM IR from cryspen/libcrux :: sys/hacl/c/src (Hacl_Bignum256)

; 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"

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

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

; Function Attrs: nounwind uwtable
define dso_local void @Hacl_Bignum256_mul(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i64, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i64, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i64, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca ptr, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca ptr, align 8
  %25 = alloca i64, align 8
  %26 = alloca ptr, align 8
  %27 = alloca i64, align 8
  %28 = alloca ptr, align 8
  %29 = alloca i64, align 8
  %30 = alloca ptr, align 8
  %31 = alloca i64, align 8
  %32 = alloca i64, align 8
  %33 = alloca ptr, align 8
  %34 = alloca i64, align 8
  %35 = alloca i64, align 8
  %36 = alloca ptr, align 8
  %37 = alloca i64, align 8
  %38 = alloca ptr, align 8
  %39 = alloca i64, align 8
  %40 = alloca ptr, align 8
  %41 = alloca i64, align 8
  %42 = alloca ptr, align 8
  %43 = alloca i64, align 8
  %44 = alloca i64, align 8
  %45 = alloca ptr, align 8
  %46 = alloca i64, align 8
  %47 = alloca i64, align 8
  %48 = alloca ptr, align 8
  %49 = alloca i64, align 8
  %50 = alloca ptr, align 8
  %51 = alloca i64, align 8
  %52 = alloca ptr, align 8
  %53 = alloca i64, align 8
  %54 = alloca ptr, align 8
  %55 = alloca i64, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %56 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.memset.p0.i64(ptr align 8 %56, i8 0, i64 64, i1 false)
  br label %57

57:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 0, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %58 = load ptr, ptr %5, align 8, !tbaa !5
  %59 = load i32, ptr %7, align 4, !tbaa !9
  %60 = zext i32 %59 to i64
  %61 = getelementptr inbounds i64, ptr %58, i64 %60
  %62 = load i64, ptr %61, align 8, !tbaa !11
  store i64 %62, ptr %8, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %63 = load ptr, ptr %6, align 8, !tbaa !5
  %64 = load i32, ptr %7, align 4, !tbaa !9
  %65 = zext i32 %64 to i64
  %66 = getelementptr inbounds i64, ptr %63, i64 %65
  store ptr %66, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  store i64 0, ptr %10, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %67 = load ptr, ptr %4, align 8, !tbaa !5
  %68 = getelementptr inbounds i64, ptr %67, i64 0
  %69 = load i64, ptr %68, align 8, !tbaa !11
  store i64 %69, ptr %11, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %70 = load ptr, ptr %9, align 8, !tbaa !5
  %71 = getelementptr inbounds i64, ptr %70, i64 0
  store ptr %71, ptr %12, align 8, !tbaa !5
  %72 = load i64, ptr %11, align 8, !tbaa !11
  %73 = load i64, ptr %8, align 8, !tbaa !11
  %74 = load i64, ptr %10, align 8, !tbaa !11
  %75 = load ptr, ptr %12, align 8, !tbaa !5
  %76 = call i64 @Hacl_Bignum_Base_mul_wide_add2_u64(i64 noundef %72, i64 noundef %73, i64 noundef %74, ptr noundef %75)
  store i64 %76, ptr %10, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %77 = load ptr, ptr %4, align 8, !tbaa !5
  %78 = getelementptr inbounds i64, ptr %77, i64 1
  %79 = load i64, ptr %78, align 8, !tbaa !11
  store i64 %79, ptr %13, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %80 = load ptr, ptr %9, align 8, !tbaa !5
  %81 = getelementptr inbounds i64, ptr %80, i64 0
  %82 = getelementptr inbounds i64, ptr %81, i64 1
  store ptr %82, ptr %14, align 8, !tbaa !5
  %83 = load i64, ptr %13, align 8, !tbaa !11
  %84 = load i64, ptr %8, align 8, !tbaa !11
  %85 = load i64, ptr %10, align 8, !tbaa !11
  %86 = load ptr, ptr %14, align 8, !tbaa !5
  %87 = call i64 @Hacl_Bignum_Base_mul_wide_add2_u64(i64 noundef %83, i64 noundef %84, i64 noundef %85, ptr noundef %86)
  store i64 %87, ptr %10, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %88 = load ptr, ptr %4, align 8, !tbaa !5
  %89 = getelementptr inbounds i64, ptr %88, i64 2
  %90 = load i64, ptr %89, align 8, !tbaa !11
  store i64 %90, ptr %15, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  %91 = load ptr, ptr %9, align 8, !tbaa !5
  %92 = getelementptr inbounds i64, ptr %91, i64 0
  %93 = getelementptr inbounds i64, ptr %92, i64 2
  store ptr %93, ptr %16, align 8, !tbaa !5
  %94 = load i64, ptr %15, align 8, !tbaa !11
  %95 = load i64, ptr %8, align 8, !tbaa !11
  %96 = load i64, ptr %10, align 8, !tbaa !11
  %97 = load ptr, ptr %16, align 8, !tbaa !5
  %98 = call i64 @Hacl_Bignum_Base_mul_wide_add2_u64(i64 noundef %94, i64 noundef %95, i64 noundef %96, ptr noundef %97)
  store i64 %98, ptr %10, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  %99 = load ptr, ptr %4, align 8, !tbaa !5
  %100 = getelementptr inbounds i64, ptr %99, i64 3
  %101 = load i64, ptr %100, align 8, !tbaa !11
  store i64 %101, ptr %17, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %102 = load ptr, ptr %9, align 8, !tbaa !5
  %103 = getelementptr inbounds i64, ptr %102, i64 0
  %104 = getelementptr inbounds i64, ptr %103, i64 3
  store ptr %104, ptr %18, align 8, !tbaa !5
  %105 = load i64, ptr %17, align 8, !tbaa !11
  %106 = load i64, ptr %8, align 8, !tbaa !11
  %107 = load i64, ptr %10, align 8, !tbaa !11
  %108 = load ptr, ptr %18, align 8, !tbaa !5
  %109 = call i64 @Hacl_Bignum_Base_mul_wide_add2_u64(i64 noundef %105, i64 noundef %106, i64 noundef %107, ptr noundef %108)
  store i64 %109, ptr %10, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %110 = load i64, ptr %10, align 8, !tbaa !11
  store i64 %110, ptr %19, align 8, !tbaa !11
  %111 = load i64, ptr %19, align 8, !tbaa !11
  %112 = load ptr, ptr %6, align 8, !tbaa !5
  %113 = load i32, ptr %7, align 4, !tbaa !9
  %114 = add i32 4, %113
  %115 = zext i32 %114 to i64
  %116 = getelementptr inbounds i64, ptr %112, i64 %115
  store i64 %111, ptr %116, align 8, !tbaa !11
  %117 = load i32, ptr %7, align 4, !tbaa !9
  %118 = add i32 %117, 1
  store i32 %118, ptr %7, align 4, !tbaa !9
  %119 = load i32, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  %120 = load ptr, ptr %5, align 8, !tbaa !5
  %121 = load i32, ptr %7, align 4, !tbaa !9
  %122 = zext i32 %121 to i64
  %123 = getelementptr inbounds i64, ptr %120, i64 %122
  %124 = load i64, ptr %123, align 8, !tbaa !11
  store i64 %124, ptr %20, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  %125 = load ptr, ptr %6, align 8, !tbaa !5
  %126 = load i32, ptr %7, align 4, !tbaa !9
  %127 = zext i32 %126 to i64
  %128 = getelementptr inbounds i64, ptr %125, i64 %127
  store ptr %128, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  store i64 0, ptr %22, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  %129 = load ptr, ptr %4, align 8, !tbaa !5
  %130 = getelementptr inbounds i64, ptr %129, i64 0
  %131 = load i64, ptr %130, align 8, !tbaa !11
  store i64 %131, ptr %23, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #4
  %132 = load ptr, ptr %21, align 8, !tbaa !5
  %133 = getelementptr inbounds i64, ptr %132, i64 0
  store ptr %133, ptr %24, align 8, !tbaa !5
  %134 = load i64, ptr %23, align 8, !tbaa !11
  %135 = load i64, ptr %20, align 8, !tbaa !11
  %136 = load i64, ptr %22, align 8, !tbaa !11
  %137 = load ptr, ptr %24, align 8, !tbaa !5
  %138 = call i64 @Hacl_Bignum_Base_mul_wide_add2_u64(i64 noundef %134, i64 noundef %135, i64 noundef %136, ptr noundef %137)
  store i64 %138, ptr %22, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #4
  %139 = load ptr, ptr %4, align 8, !tbaa !5
  %140 = getelementptr inbounds i64, ptr %139, i64 1
  %141 = load i64, ptr %140, align 8, !tbaa !11
  store i64 %141, ptr %25, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #4
  %142 = load ptr, ptr %21, align 8, !tbaa !5
  %143 = getelementptr inbounds i64, ptr %142, i64 0
  %144 = getelementptr inbounds i64, ptr %143, i64 1
  store ptr %144, ptr %26, align 8, !tbaa !5
  %145 = load i64, ptr %25, align 8, !tbaa !11
  %146 = load i64, ptr %20, align 8, !tbaa !11
  %147 = load i64, ptr %22, align 8, !tbaa !11
  %148 = load ptr, ptr %26, align 8, !tbaa !5
  %149 = call i64 @Hacl_Bignum_Base_mul_wide_add2_u64(i64 noundef %145, i64 noundef %146, i64 noundef %147, ptr noundef %148)
  store i64 %149, ptr %22, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #4
  %150 = load ptr, ptr %4, align 8, !tbaa !5
  %151 = getelementptr inbounds i64, ptr %150, i64 2
  %152 = load i64, ptr %151, align 8, !tbaa !11
  store i64 %152, ptr %27, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #4
  %153 = load ptr, ptr %21, align 8, !tbaa !5
  %154 = getelementptr inbounds i64, ptr %153, i64 0
  %155 = getelementptr inbounds i64, ptr %154, i64 2
  store ptr %155, ptr %28, align 8, !tbaa !5
  %156 = load i64, ptr %27, align 8, !tbaa !11
  %157 = load i64, ptr %20, align 8, !tbaa !11
  %158 = load i64, ptr %22, align 8, !tbaa !11
  %159 = load ptr, ptr %28, align 8, !tbaa !5
  %160 = call i64 @Hacl_Bignum_Base_mul_wide_add2_u64(i64 noundef %156, i64 noundef %157, i64 noundef %158, ptr noundef %159)
  store i64 %160, ptr %22, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #4
  %161 = load ptr, ptr %4, align 8, !tbaa !5
  %162 = getelementptr inbounds i64, ptr %161, i64 3
  %163 = load i64, ptr %162, align 8, !tbaa !11
  store i64 %163, ptr %29, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #4
  %164 = load ptr, ptr %21, align 8, !tbaa !5
  %165 = getelementptr inbounds i64, ptr %164, i64 0
  %166 = getelementptr inbounds i64, ptr %165, i64 3
  store ptr %166, ptr %30, align 8, !tbaa !5
  %167 = load i64, ptr %29, align 8, !tbaa !11
  %168 = load i64, ptr %20, align 8, !tbaa !11
  %169 = load i64, ptr %22, align 8, !tbaa !11
  %170 = load ptr, ptr %30, align 8, !tbaa !5
  %171 = call i64 @Hacl_Bignum_Base_mul_wide_add2_u64(i64 noundef %167, i64 noundef %168, i64 noundef %169, ptr noundef %170)
  store i64 %171, ptr %22, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #4
  %172 = load i64, ptr %22, align 8, !tbaa !11
  store i64 %172, ptr %31, align 8, !tbaa !11
  %173 = load i64, ptr %31, align 8, !tbaa !11
  %174 = load ptr, ptr %6, align 8, !tbaa !5
  %175 = load i32, ptr %7, align 4, !tbaa !9
  %176 = add i32 4, %175
  %177 = zext i32 %176 to i64
  %178 = getelementptr inbounds i64, ptr %174, i64 %177
  store i64 %173, ptr %178, align 8, !tbaa !11
  %179 = load i32, ptr %7, align 4, !tbaa !9
  %180 = add i32 %179, 1
  store i32 %180, ptr %7, align 4, !tbaa !9
  %181 = load i32, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #4
  %182 = load ptr, ptr %5, align 8, !tbaa !5
  %183 = load i32, ptr %7, align 4, !tbaa !9
  %184 = zext i32 %183 to i64
  %185 = getelementptr inbounds i64, ptr %182, i64 %184
  %186 = load i64, ptr %185, align 8, !tbaa !11
  store i64 %186, ptr %32, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #4
  %187 = load ptr, ptr %6, align 8, !tbaa !5
  %188 = load i32, ptr %7, align 4, !tbaa !9
  %189 = zext i32 %188 to i64
  %190 = getelementptr inbounds i64, ptr %187, i64 %189
  store ptr %190, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #4
  store i64 0, ptr %34, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #4
  %191 = load ptr, ptr %4, align 8, !tbaa !5
  %192 = getelementptr inbounds i64, ptr %191, i64 0
  %193 = load i64, ptr %192, align 8, !tbaa !11
  store i64 %193, ptr %35, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #4
  %194 = load ptr, ptr %33, align 8, !tbaa !5
  %195 = getelementptr inbounds i64, ptr %194, i64 0
  store ptr %195, ptr %36, align 8, !tbaa !5
  %196 = load i64, ptr %35, align 8, !tbaa !11
  %197 = load i64, ptr %32, align 8, !tbaa !11
  %198 = load i64, ptr %34, align 8, !tbaa !11
  %199 = load ptr, ptr %36, align 8, !tbaa !5
  %200 = call i64 @Hacl_Bignum_Base_mul_wide_add2_u64(i64 noundef %196, i64 noundef %197, i64 noundef %198, ptr noundef %199)
  store i64 %200, ptr %34, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #4
  %201 = load ptr, ptr %4, align 8, !tbaa !5
  %202 = getelementptr inbounds i64, ptr %201, i64 1
  %203 = load i64, ptr %202, align 8, !tbaa !11
  store i64 %203, ptr %37, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #4
  %204 = load ptr, ptr %33, align 8, !tbaa !5
  %205 = getelementptr inbounds i64, ptr %204, i64 0
  %206 = getelementptr inbounds i64, ptr %205, i64 1
  store ptr %206, ptr %38, align 8, !tbaa !5
  %207 = load i64, ptr %37, align 8, !tbaa !11
  %208 = load i64, ptr %32, align 8, !tbaa !11
  %209 = load i64, ptr %34, align 8, !tbaa !11
  %210 = load ptr, ptr %38, align 8, !tbaa !5
  %211 = call i64 @Hacl_Bignum_Base_mul_wide_add2_u64(i64 noundef %207, i64 noundef %208, i64 noundef %209, ptr noundef %210)
  store i64 %211, ptr %34, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #4
  %212 = load ptr, ptr %4, align 8, !tbaa !5
  %213 = getelementptr inbounds i64, ptr %212, i64 2
  %214 = load i64, ptr %213, align 8, !tbaa !11
  store i64 %214, ptr %39, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #4
  %215 = load ptr, ptr %33, align 8, !tbaa !5
  %216 = getelementptr inbounds i64, ptr %215, i64 0
  %217 = getelementptr inbounds i64, ptr %216, i64 2
  store ptr %217, ptr %40, align 8, !tbaa !5
  %218 = load i64, ptr %39, align 8, !tbaa !11
  %219 = load i64, ptr %32, align 8, !tbaa !11
  %220 = load i64, ptr %34, align 8, !tbaa !11
  %221 = load ptr, ptr %40, align 8, !tbaa !5
  %222 = call i64 @Hacl_Bignum_Base_mul_wide_add2_u64(i64 noundef %218, i64 noundef %219, i64 noundef %220, ptr noundef %221)
  store i64 %222, ptr %34, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #4
  %223 = load ptr, ptr %4, align 8, !tbaa !5
  %224 = getelementptr inbounds i64, ptr %223, i64 3
  %225 = load i64, ptr %224, align 8, !tbaa !11
  store i64 %225, ptr %41, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #4
  %226 = load ptr, ptr %33, align 8, !tbaa !5
  %227 = getelementptr inbounds i64, ptr %226, i64 0
  %228 = getelementptr inbounds i64, ptr %227, i64 3
  store ptr %228, ptr %42, align 8, !tbaa !5
  %229 = load i64, ptr %41, align 8, !tbaa !11
  %230 = load i64, ptr %32, align 8, !tbaa !11
  %231 = load i64, ptr %34, align 8, !tbaa !11
  %232 = load ptr, ptr %42, align 8, !tbaa !5
  %233 = call i64 @Hacl_Bignum_Base_mul_wide_add2_u64(i64 noundef %229, i64 noundef %230, i64 noundef %231, ptr noundef %232)
  store i64 %233, ptr %34, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #4
  %234 = load i64, ptr %34, align 8, !tbaa !11
  store i64 %234, ptr %43, align 8, !tbaa !11
  %235 = load i64, ptr %43, align 8, !tbaa !11
  %236 = load ptr, ptr %6, align 8, !tbaa !5
  %237 = load i32, ptr %7, align 4, !tbaa !9
  %238 = add i32 4, %237
  %239 = zext i32 %238 to i64
  %240 = getelementptr inbounds i64, ptr %236, i64 %239
  store i64 %235, ptr %240, align 8, !tbaa !11
  %241 = load i32, ptr %7, align 4, !tbaa !9
  %242 = add i32 %241, 1
  store i32 %242, ptr %7, align 4, !tbaa !9
  %243 = load i32, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #4
  %244 = load ptr, ptr %5, align 8, !tbaa !5
  %245 = load i32, ptr %7, align 4, !tbaa !9
  %246 = zext i32 %245 to i64
  %247 = getelementptr inbounds i64, ptr %244, i64 %246
  %248 = load i64, ptr %247, align 8, !tbaa !11
  store i64 %248, ptr %44, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #4
  %249 = load ptr, ptr %6, align 8, !tbaa !5
  %250 = load i32, ptr %7, align 4, !tbaa !9
  %251 = zext i32 %250 to i64
  %252 = getelementptr inbounds i64, ptr %249, i64 %251
  store ptr %252, ptr %45, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #4
  store i64 0, ptr %46, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #4
  %253 = load ptr, ptr %4, align 8, !tbaa !5
  %254 = getelementptr inbounds i64, ptr %253, i64 0
  %255 = load i64, ptr %254, align 8, !tbaa !11
  store i64 %255, ptr %47, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #4
  %256 = load ptr, ptr %45, align 8, !tbaa !5
  %257 = getelementptr inbounds i64, ptr %256, i64 0
  store ptr %257, ptr %48, align 8, !tbaa !5
  %258 = load i64, ptr %47, align 8, !tbaa !11
  %259 = load i64, ptr %44, align 8, !tbaa !11
  %260 = load i64, ptr %46, align 8, !tbaa !11
  %261 = load ptr, ptr %48, align 8, !tbaa !5
  %262 = call i64 @Hacl_Bignum_Base_mul_wide_add2_u64(i64 noundef %258, i64 noundef %259, i64 noundef %260, ptr noundef %261)
  store i64 %262, ptr %46, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #4
  %263 = load ptr, ptr %4, align 8, !tbaa !5
  %264 = getelementptr inbounds i64, ptr %263, i64 1
  %265 = load i64, ptr %264, align 8, !tbaa !11
  store i64 %265, ptr %49, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #4
  %266 = load ptr, ptr %45, align 8, !tbaa !5
  %267 = getelementptr inbounds i64, ptr %266, i64 0
  %268 = getelementptr inbounds i64, ptr %267, i64 1
  store ptr %268, ptr %50, align 8, !tbaa !5
  %269 = load i64, ptr %49, align 8, !tbaa !11
  %270 = load i64, ptr %44, align 8, !tbaa !11
  %271 = load i64, ptr %46, align 8, !tbaa !11
  %272 = load ptr, ptr %50, align 8, !tbaa !5
  %273 = call i64 @Hacl_Bignum_Base_mul_wide_add2_u64(i64 noundef %269, i64 noundef %270, i64 noundef %271, ptr noundef %272)
  store i64 %273, ptr %46, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #4
  %274 = load ptr, ptr %4, align 8, !tbaa !5
  %275 = getelementptr inbounds i64, ptr %274, i64 2
  %276 = load i64, ptr %275, align 8, !tbaa !11
  store i64 %276, ptr %51, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #4
  %277 = load ptr, ptr %45, align 8, !tbaa !5
  %278 = getelementptr inbounds i64, ptr %277, i64 0
  %279 = getelementptr inbounds i64, ptr %278, i64 2
  store ptr %279, ptr %52, align 8, !tbaa !5
  %280 = load i64, ptr %51, align 8, !tbaa !11
  %281 = load i64, ptr %44, align 8, !tbaa !11
  %282 = load i64, ptr %46, align 8, !tbaa !11
  %283 = load ptr, ptr %52, align 8, !tbaa !5
  %284 = call i64 @Hacl_Bignum_Base_mul_wide_add2_u64(i64 noundef %280, i64 noundef %281, i64 noundef %282, ptr noundef %283)
  store i64 %284, ptr %46, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #4
  %285 = load ptr, ptr %4, align 8, !tbaa !5
  %286 = getelementptr inbounds i64, ptr %285, i64 3
  %287 = load i64, ptr %286, align 8, !tbaa !11
  store i64 %287, ptr %53, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #4
  %288 = load ptr, ptr %45, align 8, !tbaa !5
  %289 = getelementptr inbounds i64, ptr %288, i64 0
  %290 = getelementptr inbounds i64, ptr %289, i64 3
  store ptr %290, ptr %54, align 8, !tbaa !5
  %291 = load i64, ptr %53, align 8, !tbaa !11
  %292 = load i64, ptr %44, align 8, !tbaa !11
  %293 = load i64, ptr %46, align 8, !tbaa !11
  %294 = load ptr, ptr %54, align 8, !tbaa !5
  %295 = call i64 @Hacl_Bignum_Base_mul_wide_add2_u64(i64 noundef %291, i64 noundef %292, i64 noundef %293, ptr noundef %294)
  store i64 %295, ptr %46, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #4
  %296 = load i64, ptr %46, align 8, !tbaa !11
  store i64 %296, ptr %55, align 8, !tbaa !11
  %297 = load i64, ptr %55, align 8, !tbaa !11
  %298 = load ptr, ptr %6, align 8, !tbaa !5
  %299 = load i32, ptr %7, align 4, !tbaa !9
  %300 = add i32 4, %299
  %301 = zext i32 %300 to i64
  %302 = getelementptr inbounds i64, ptr %298, i64 %301
  store i64 %297, ptr %302, align 8, !tbaa !11
  %303 = load i32, ptr %7, align 4, !tbaa !9
  %304 = add i32 %303, 1
  store i32 %304, ptr %7, align 4, !tbaa !9
  %305 = load i32, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  br label %306

306:                                              ; preds = %57
  ret void
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @Hacl_Bignum_Base_mul_wide_add2_u64(i64 noundef, i64 noundef, i64 noundef, ptr noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { 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 #3 = { inlinehint 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 = { 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}


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

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

; Function Attrs: nounwind uwtable
define dso_local void @Hacl_Bignum256_mul(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef %2) local_unnamed_addr #1 {
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %2, i8 0, i64 64, i1 false)
  %4 = load i64, ptr %1, align 8, !tbaa !5
  %5 = load i64, ptr %0, align 8, !tbaa !5
  %6 = tail call i64 @Hacl_Bignum_Base_mul_wide_add2_u64(i64 noundef %5, i64 noundef %4, i64 noundef 0, ptr noundef %2)
  %7 = getelementptr inbounds i8, ptr %0, i64 8
  %8 = load i64, ptr %7, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %2, i64 8
  %10 = tail call i64 @Hacl_Bignum_Base_mul_wide_add2_u64(i64 noundef %8, i64 noundef %4, i64 noundef %6, ptr noundef nonnull %9)
  %11 = getelementptr inbounds i8, ptr %0, i64 16
  %12 = load i64, ptr %11, align 8, !tbaa !5
  %13 = getelementptr inbounds i8, ptr %2, i64 16
  %14 = tail call i64 @Hacl_Bignum_Base_mul_wide_add2_u64(i64 noundef %12, i64 noundef %4, i64 noundef %10, ptr noundef nonnull %13)
  %15 = getelementptr inbounds i8, ptr %0, i64 24
  %16 = load i64, ptr %15, align 8, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %2, i64 24
  %18 = tail call i64 @Hacl_Bignum_Base_mul_wide_add2_u64(i64 noundef %16, i64 noundef %4, i64 noundef %14, ptr noundef nonnull %17)
  %19 = getelementptr inbounds i8, ptr %2, i64 32
  store i64 %18, ptr %19, align 8, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %1, i64 8
  %21 = load i64, ptr %20, align 8, !tbaa !5
  %22 = load i64, ptr %0, align 8, !tbaa !5
  %23 = tail call i64 @Hacl_Bignum_Base_mul_wide_add2_u64(i64 noundef %22, i64 noundef %21, i64 noundef 0, ptr noundef nonnull %9)
  %24 = load i64, ptr %7, align 8, !tbaa !5
  %25 = tail call i64 @Hacl_Bignum_Base_mul_wide_add2_u64(i64 noundef %24, i64 noundef %21, i64 noundef %23, ptr noundef nonnull %13)
  %26 = load i64, ptr %11, align 8, !tbaa !5
  %27 = tail call i64 @Hacl_Bignum_Base_mul_wide_add2_u64(i64 noundef %26, i64 noundef %21, i64 noundef %25, ptr noundef nonnull %17)
  %28 = load i64, ptr %15, align 8, !tbaa !5
  %29 = tail call i64 @Hacl_Bignum_Base_mul_wide_add2_u64(i64 noundef %28, i64 noundef %21, i64 noundef %27, ptr noundef nonnull %19)
  %30 = getelementptr inbounds i8, ptr %2, i64 40
  store i64 %29, ptr %30, align 8, !tbaa !5
  %31 = getelementptr inbounds i8, ptr %1, i64 16
  %32 = load i64, ptr %31, align 8, !tbaa !5
  %33 = load i64, ptr %0, align 8, !tbaa !5
  %34 = tail call i64 @Hacl_Bignum_Base_mul_wide_add2_u64(i64 noundef %33, i64 noundef %32, i64 noundef 0, ptr noundef nonnull %13)
  %35 = load i64, ptr %7, align 8, !tbaa !5
  %36 = tail call i64 @Hacl_Bignum_Base_mul_wide_add2_u64(i64 noundef %35, i64 noundef %32, i64 noundef %34, ptr noundef nonnull %17)
  %37 = load i64, ptr %11, align 8, !tbaa !5
  %38 = tail call i64 @Hacl_Bignum_Base_mul_wide_add2_u64(i64 noundef %37, i64 noundef %32, i64 noundef %36, ptr noundef nonnull %19)
  %39 = load i64, ptr %15, align 8, !tbaa !5
  %40 = tail call i64 @Hacl_Bignum_Base_mul_wide_add2_u64(i64 noundef %39, i64 noundef %32, i64 noundef %38, ptr noundef nonnull %30)
  %41 = getelementptr inbounds i8, ptr %2, i64 48
  store i64 %40, ptr %41, align 8, !tbaa !5
  %42 = getelementptr inbounds i8, ptr %1, i64 24
  %43 = load i64, ptr %42, align 8, !tbaa !5
  %44 = load i64, ptr %0, align 8, !tbaa !5
  %45 = tail call i64 @Hacl_Bignum_Base_mul_wide_add2_u64(i64 noundef %44, i64 noundef %43, i64 noundef 0, ptr noundef nonnull %17)
  %46 = load i64, ptr %7, align 8, !tbaa !5
  %47 = tail call i64 @Hacl_Bignum_Base_mul_wide_add2_u64(i64 noundef %46, i64 noundef %43, i64 noundef %45, ptr noundef nonnull %19)
  %48 = load i64, ptr %11, align 8, !tbaa !5
  %49 = tail call i64 @Hacl_Bignum_Base_mul_wide_add2_u64(i64 noundef %48, i64 noundef %43, i64 noundef %47, ptr noundef nonnull %30)
  %50 = load i64, ptr %15, align 8, !tbaa !5
  %51 = tail call i64 @Hacl_Bignum_Base_mul_wide_add2_u64(i64 noundef %50, i64 noundef %43, i64 noundef %49, ptr noundef nonnull %41)
  %52 = getelementptr inbounds i8, ptr %2, i64 56
  store i64 %51, ptr %52, align 8, !tbaa !5
  ret void
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @Hacl_Bignum_Base_mul_wide_add2_u64(i64 noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #1 = { 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 #2 = { inlinehint 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" }

!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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass