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

; 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: nounwind uwtable
define dso_local i32 @Hacl_Frodo1344_crypto_kem_keypair(ptr noundef %0, ptr noundef %1) #0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca [80 x i8], align 16
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca [10752 x i16], align 16
  %13 = alloca [10752 x i16], align 16
  %14 = alloca [43008 x i8], align 16
  %15 = alloca [33 x i8], align 16
  %16 = alloca [10752 x i16], align 16
  %17 = alloca [1806336 x i16], align 16
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 80, ptr %5) #6
  call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 80, i1 false)
  %20 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0
  call void @randombytes_(i32 noundef 80, ptr noundef %20)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %21 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0
  store ptr %21, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %22 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0
  %23 = getelementptr inbounds i8, ptr %22, i64 32
  store ptr %23, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %24 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0
  %25 = getelementptr inbounds i8, ptr %24, i64 64
  store ptr %25, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %26 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %26, ptr %9, align 8, !tbaa !5
  %27 = load ptr, ptr %8, align 8, !tbaa !5
  %28 = load ptr, ptr %9, align 8, !tbaa !5
  call void @Hacl_Hash_SHA3_shake256_hacl(i32 noundef 16, ptr noundef %27, i32 noundef 16, ptr noundef %28)
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %29 = load ptr, ptr %3, align 8, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %29, i64 16
  store ptr %30, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = getelementptr inbounds i8, ptr %31, i64 21552
  store ptr %32, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 21504, ptr %12) #6
  call void @llvm.memset.p0.i64(ptr align 16 %12, i8 0, i64 21504, i1 false)
  call void @llvm.lifetime.start.p0(i64 21504, ptr %13) #6
  call void @llvm.memset.p0.i64(ptr align 16 %13, i8 0, i64 21504, i1 false)
  call void @llvm.lifetime.start.p0(i64 43008, ptr %14) #6
  call void @llvm.memset.p0.i64(ptr align 16 %14, i8 0, i64 43008, i1 false)
  call void @llvm.lifetime.start.p0(i64 33, ptr %15) #6
  call void @llvm.memset.p0.i64(ptr align 16 %15, i8 0, i64 33, i1 false)
  %33 = getelementptr inbounds [33 x i8], ptr %15, i64 0, i64 0
  store i8 95, ptr %33, align 16, !tbaa !9
  %34 = getelementptr inbounds [33 x i8], ptr %15, i64 0, i64 0
  %35 = getelementptr inbounds i8, ptr %34, i64 1
  %36 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %35, ptr align 1 %36, i64 32, i1 false)
  %37 = getelementptr inbounds [33 x i8], ptr %15, i64 0, i64 0
  %38 = getelementptr inbounds [43008 x i8], ptr %14, i64 0, i64 0
  call void @Hacl_Hash_SHA3_shake256_hacl(i32 noundef 33, ptr noundef %37, i32 noundef 43008, ptr noundef %38)
  %39 = getelementptr inbounds [33 x i8], ptr %15, i64 0, i64 0
  call void @Lib_Memzero0_memzero0(ptr noundef %39, i64 noundef 33)
  %40 = getelementptr inbounds [43008 x i8], ptr %14, i64 0, i64 0
  %41 = getelementptr inbounds [10752 x i16], ptr %12, i64 0, i64 0
  call void @Hacl_Impl_Frodo_Sample_frodo_sample_matrix1344(i32 noundef 1344, i32 noundef 8, ptr noundef %40, ptr noundef %41)
  %42 = getelementptr inbounds [43008 x i8], ptr %14, i64 0, i64 0
  %43 = getelementptr inbounds i8, ptr %42, i64 21504
  %44 = getelementptr inbounds [10752 x i16], ptr %13, i64 0, i64 0
  call void @Hacl_Impl_Frodo_Sample_frodo_sample_matrix1344(i32 noundef 1344, i32 noundef 8, ptr noundef %43, ptr noundef %44)
  call void @llvm.lifetime.start.p0(i64 21504, ptr %16) #6
  call void @llvm.memset.p0.i64(ptr align 16 %16, i8 0, i64 21504, i1 false)
  br label %45

45:                                               ; preds = %2
  br label %46

46:                                               ; preds = %45
  br label %47

47:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 3612672, ptr %17) #6
  call void @llvm.memset.p0.i64(ptr align 16 %17, i8 0, i64 3612672, i1 false)
  %48 = load ptr, ptr %9, align 8, !tbaa !5
  %49 = getelementptr inbounds [1806336 x i16], ptr %17, i64 0, i64 0
  call void @Hacl_Impl_Frodo_Params_frodo_gen_matrix(i8 noundef zeroext 0, i32 noundef 1344, ptr noundef %48, ptr noundef %49)
  %50 = getelementptr inbounds [1806336 x i16], ptr %17, i64 0, i64 0
  %51 = getelementptr inbounds [10752 x i16], ptr %12, i64 0, i64 0
  %52 = getelementptr inbounds [10752 x i16], ptr %16, i64 0, i64 0
  call void @Hacl_Impl_Matrix_matrix_mul_s(i32 noundef 1344, i32 noundef 1344, i32 noundef 8, ptr noundef %50, ptr noundef %51, ptr noundef %52)
  %53 = getelementptr inbounds [10752 x i16], ptr %16, i64 0, i64 0
  %54 = getelementptr inbounds [10752 x i16], ptr %13, i64 0, i64 0
  call void @Hacl_Impl_Matrix_matrix_add(i32 noundef 1344, i32 noundef 8, ptr noundef %53, ptr noundef %54)
  %55 = getelementptr inbounds [10752 x i16], ptr %16, i64 0, i64 0
  %56 = load ptr, ptr %10, align 8, !tbaa !5
  call void @Hacl_Impl_Frodo_Pack_frodo_pack(i32 noundef 1344, i32 noundef 8, i32 noundef 16, ptr noundef %55, ptr noundef %56)
  %57 = getelementptr inbounds [10752 x i16], ptr %12, i64 0, i64 0
  %58 = load ptr, ptr %11, align 8, !tbaa !5
  call void @Hacl_Impl_Matrix_matrix_to_lbytes(i32 noundef 1344, i32 noundef 8, ptr noundef %57, ptr noundef %58)
  %59 = getelementptr inbounds [10752 x i16], ptr %12, i64 0, i64 0
  call void @Lib_Memzero0_memzero0(ptr noundef %59, i64 noundef 21504)
  %60 = getelementptr inbounds [10752 x i16], ptr %13, i64 0, i64 0
  call void @Lib_Memzero0_memzero0(ptr noundef %60, i64 noundef 21504)
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  store i32 43056, ptr %18, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %61, ptr %19, align 8, !tbaa !5
  %62 = load ptr, ptr %19, align 8, !tbaa !5
  %63 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %62, ptr align 1 %63, i64 32, i1 false)
  %64 = load ptr, ptr %19, align 8, !tbaa !5
  %65 = getelementptr inbounds i8, ptr %64, i64 32
  %66 = load ptr, ptr %3, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %65, ptr align 1 %66, i64 21520, i1 false)
  %67 = load ptr, ptr %3, align 8, !tbaa !5
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  %69 = load i32, ptr %18, align 4, !tbaa !10
  %70 = zext i32 %69 to i64
  %71 = getelementptr inbounds i8, ptr %68, i64 %70
  call void @Hacl_Hash_SHA3_shake256_hacl(i32 noundef 21520, ptr noundef %67, i32 noundef 32, ptr noundef %71)
  %72 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0
  call void @Lib_Memzero0_memzero0(ptr noundef %72, i64 noundef 80)
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 3612672, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 21504, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 33, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 43008, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 21504, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 21504, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr %5) #6
  ret i32 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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

declare void @randombytes_(i32 noundef, ptr noundef) #3

declare void @Hacl_Hash_SHA3_shake256_hacl(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #3

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

declare void @Lib_Memzero0_memzero0(ptr noundef, i64 noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @Hacl_Impl_Frodo_Sample_frodo_sample_matrix1344(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #5

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @Hacl_Impl_Frodo_Params_frodo_gen_matrix(i8 noundef zeroext, i32 noundef, ptr noundef, ptr noundef) #5

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @Hacl_Impl_Matrix_matrix_mul_s(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #5

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @Hacl_Impl_Matrix_matrix_add(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #5

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @Hacl_Impl_Frodo_Pack_frodo_pack(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #5

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @Hacl_Impl_Matrix_matrix_to_lbytes(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #5

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

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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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 #6 = { 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 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !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: nounwind uwtable
define dso_local noundef i32 @Hacl_Frodo1344_crypto_kem_keypair(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = alloca [80 x i8], align 16
  %4 = alloca [10752 x i16], align 16
  %5 = alloca [10752 x i16], align 16
  %6 = alloca [43008 x i8], align 16
  %7 = alloca [33 x i8], align 16
  %8 = alloca [10752 x i16], align 16
  %9 = alloca [1806336 x i16], align 16
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %3) #6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(80) %3, i8 0, i64 80, i1 false)
  call void @randombytes_(i32 noundef 80, ptr noundef nonnull %3) #6
  %10 = getelementptr inbounds i8, ptr %3, i64 32
  %11 = getelementptr inbounds i8, ptr %3, i64 64
  call void @Hacl_Hash_SHA3_shake256_hacl(i32 noundef 16, ptr noundef nonnull %11, i32 noundef 16, ptr noundef %0) #6
  %12 = getelementptr inbounds i8, ptr %0, i64 16
  %13 = getelementptr inbounds i8, ptr %1, i64 21552
  call void @llvm.lifetime.start.p0(i64 21504, ptr nonnull %4) #6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(21504) %4, i8 0, i64 21504, i1 false)
  call void @llvm.lifetime.start.p0(i64 21504, ptr nonnull %5) #6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(21504) %5, i8 0, i64 21504, i1 false)
  call void @llvm.lifetime.start.p0(i64 43008, ptr nonnull %6) #6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(43008) %6, i8 0, i64 43008, i1 false)
  call void @llvm.lifetime.start.p0(i64 33, ptr nonnull %7) #6
  store i8 95, ptr %7, align 16, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %7, i64 1
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(32) %14, ptr noundef nonnull align 16 dereferenceable(32) %10, i64 32, i1 false)
  call void @Hacl_Hash_SHA3_shake256_hacl(i32 noundef 33, ptr noundef nonnull %7, i32 noundef 43008, ptr noundef nonnull %6) #6
  call void @Lib_Memzero0_memzero0(ptr noundef nonnull %7, i64 noundef 33) #6
  call void @Hacl_Impl_Frodo_Sample_frodo_sample_matrix1344(i32 noundef 1344, i32 noundef 8, ptr noundef nonnull %6, ptr noundef nonnull %4)
  %15 = getelementptr inbounds i8, ptr %6, i64 21504
  call void @Hacl_Impl_Frodo_Sample_frodo_sample_matrix1344(i32 noundef 1344, i32 noundef 8, ptr noundef nonnull %15, ptr noundef nonnull %5)
  call void @llvm.lifetime.start.p0(i64 21504, ptr nonnull %8) #6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(21504) %8, i8 0, i64 21504, i1 false)
  call void @llvm.lifetime.start.p0(i64 3612672, ptr nonnull %9) #6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(3612672) %9, i8 0, i64 3612672, i1 false)
  call void @Hacl_Impl_Frodo_Params_frodo_gen_matrix(i8 noundef zeroext 0, i32 noundef 1344, ptr noundef %0, ptr noundef nonnull %9)
  call void @Hacl_Impl_Matrix_matrix_mul_s(i32 noundef 1344, i32 noundef 1344, i32 noundef 8, ptr noundef nonnull %9, ptr noundef nonnull %4, ptr noundef nonnull %8)
  call void @Hacl_Impl_Matrix_matrix_add(i32 noundef 1344, i32 noundef 8, ptr noundef nonnull %8, ptr noundef nonnull %5)
  call void @Hacl_Impl_Frodo_Pack_frodo_pack(i32 noundef 1344, i32 noundef 8, i32 noundef 16, ptr noundef nonnull %8, ptr noundef nonnull %12)
  call void @Hacl_Impl_Matrix_matrix_to_lbytes(i32 noundef 1344, i32 noundef 8, ptr noundef nonnull %4, ptr noundef nonnull %13)
  call void @Lib_Memzero0_memzero0(ptr noundef nonnull %4, i64 noundef 21504) #6
  call void @Lib_Memzero0_memzero0(ptr noundef nonnull %5, i64 noundef 21504) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(32) %1, ptr noundef nonnull align 16 dereferenceable(32) %3, i64 32, i1 false)
  %16 = getelementptr inbounds i8, ptr %1, i64 32
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(21520) %16, ptr noundef nonnull align 1 dereferenceable(21520) %0, i64 21520, i1 false)
  %17 = getelementptr inbounds i8, ptr %1, i64 43056
  call void @Hacl_Hash_SHA3_shake256_hacl(i32 noundef 21520, ptr noundef %0, i32 noundef 32, ptr noundef nonnull %17) #6
  call void @Lib_Memzero0_memzero0(ptr noundef nonnull %3, i64 noundef 80) #6
  call void @llvm.lifetime.end.p0(i64 3612672, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 21504, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 33, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 43008, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 21504, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 21504, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %3) #6
  ret i32 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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

declare void @randombytes_(i32 noundef, ptr noundef) local_unnamed_addr #3

declare void @Hacl_Hash_SHA3_shake256_hacl(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

declare void @Lib_Memzero0_memzero0(ptr noundef, i64 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @Hacl_Impl_Frodo_Sample_frodo_sample_matrix1344(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @Hacl_Impl_Frodo_Params_frodo_gen_matrix(i8 noundef zeroext, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @Hacl_Impl_Matrix_matrix_mul_s(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @Hacl_Impl_Matrix_matrix_add(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @Hacl_Impl_Frodo_Pack_frodo_pack(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @Hacl_Impl_Matrix_matrix_to_lbytes(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

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

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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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 #6 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}


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