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

; 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_Frodo64_crypto_kem_keypair(ptr noundef %0, ptr noundef %1) #0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca [48 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 [512 x i16], align 16
  %13 = alloca [512 x i16], align 16
  %14 = alloca [2048 x i8], align 16
  %15 = alloca [17 x i8], align 16
  %16 = alloca [512 x i16], align 16
  %17 = alloca [4096 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 48, ptr %5) #6
  call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 48, i1 false)
  %20 = getelementptr inbounds [48 x i8], ptr %5, i64 0, i64 0
  call void @randombytes_(i32 noundef 48, ptr noundef %20)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %21 = getelementptr inbounds [48 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 [48 x i8], ptr %5, i64 0, i64 0
  %23 = getelementptr inbounds i8, ptr %22, i64 16
  store ptr %23, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %24 = getelementptr inbounds [48 x i8], ptr %5, i64 0, i64 0
  %25 = getelementptr inbounds i8, ptr %24, i64 32
  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_shake128_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 992
  store ptr %32, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1024, ptr %12) #6
  call void @llvm.memset.p0.i64(ptr align 16 %12, i8 0, i64 1024, i1 false)
  call void @llvm.lifetime.start.p0(i64 1024, ptr %13) #6
  call void @llvm.memset.p0.i64(ptr align 16 %13, i8 0, i64 1024, i1 false)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %14) #6
  call void @llvm.memset.p0.i64(ptr align 16 %14, i8 0, i64 2048, i1 false)
  call void @llvm.lifetime.start.p0(i64 17, ptr %15) #6
  call void @llvm.memset.p0.i64(ptr align 16 %15, i8 0, i64 17, i1 false)
  %33 = getelementptr inbounds [17 x i8], ptr %15, i64 0, i64 0
  store i8 95, ptr %33, align 16, !tbaa !9
  %34 = getelementptr inbounds [17 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 16, i1 false)
  %37 = getelementptr inbounds [17 x i8], ptr %15, i64 0, i64 0
  %38 = getelementptr inbounds [2048 x i8], ptr %14, i64 0, i64 0
  call void @Hacl_Hash_SHA3_shake128_hacl(i32 noundef 17, ptr noundef %37, i32 noundef 2048, ptr noundef %38)
  %39 = getelementptr inbounds [17 x i8], ptr %15, i64 0, i64 0
  call void @Lib_Memzero0_memzero0(ptr noundef %39, i64 noundef 17)
  %40 = getelementptr inbounds [2048 x i8], ptr %14, i64 0, i64 0
  %41 = getelementptr inbounds [512 x i16], ptr %12, i64 0, i64 0
  call void @Hacl_Impl_Frodo_Sample_frodo_sample_matrix64(i32 noundef 64, i32 noundef 8, ptr noundef %40, ptr noundef %41)
  %42 = getelementptr inbounds [2048 x i8], ptr %14, i64 0, i64 0
  %43 = getelementptr inbounds i8, ptr %42, i64 1024
  %44 = getelementptr inbounds [512 x i16], ptr %13, i64 0, i64 0
  call void @Hacl_Impl_Frodo_Sample_frodo_sample_matrix64(i32 noundef 64, i32 noundef 8, ptr noundef %43, ptr noundef %44)
  call void @llvm.lifetime.start.p0(i64 1024, ptr %16) #6
  call void @llvm.memset.p0.i64(ptr align 16 %16, i8 0, i64 1024, i1 false)
  call void @llvm.lifetime.start.p0(i64 8192, ptr %17) #6
  call void @llvm.memset.p0.i64(ptr align 16 %17, i8 0, i64 8192, i1 false)
  %45 = load ptr, ptr %9, align 8, !tbaa !5
  %46 = getelementptr inbounds [4096 x i16], ptr %17, i64 0, i64 0
  call void @Hacl_Impl_Frodo_Params_frodo_gen_matrix(i8 noundef zeroext 0, i32 noundef 64, ptr noundef %45, ptr noundef %46)
  %47 = getelementptr inbounds [4096 x i16], ptr %17, i64 0, i64 0
  %48 = getelementptr inbounds [512 x i16], ptr %12, i64 0, i64 0
  %49 = getelementptr inbounds [512 x i16], ptr %16, i64 0, i64 0
  call void @Hacl_Impl_Matrix_matrix_mul_s(i32 noundef 64, i32 noundef 64, i32 noundef 8, ptr noundef %47, ptr noundef %48, ptr noundef %49)
  %50 = getelementptr inbounds [512 x i16], ptr %16, i64 0, i64 0
  %51 = getelementptr inbounds [512 x i16], ptr %13, i64 0, i64 0
  call void @Hacl_Impl_Matrix_matrix_add(i32 noundef 64, i32 noundef 8, ptr noundef %50, ptr noundef %51)
  %52 = getelementptr inbounds [512 x i16], ptr %16, i64 0, i64 0
  %53 = load ptr, ptr %10, align 8, !tbaa !5
  call void @Hacl_Impl_Frodo_Pack_frodo_pack(i32 noundef 64, i32 noundef 8, i32 noundef 15, ptr noundef %52, ptr noundef %53)
  %54 = getelementptr inbounds [512 x i16], ptr %12, i64 0, i64 0
  %55 = load ptr, ptr %11, align 8, !tbaa !5
  call void @Hacl_Impl_Matrix_matrix_to_lbytes(i32 noundef 64, i32 noundef 8, ptr noundef %54, ptr noundef %55)
  %56 = getelementptr inbounds [512 x i16], ptr %12, i64 0, i64 0
  call void @Lib_Memzero0_memzero0(ptr noundef %56, i64 noundef 1024)
  %57 = getelementptr inbounds [512 x i16], ptr %13, i64 0, i64 0
  call void @Lib_Memzero0_memzero0(ptr noundef %57, i64 noundef 1024)
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  store i32 2016, ptr %18, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %58 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %58, ptr %19, align 8, !tbaa !5
  %59 = load ptr, ptr %19, align 8, !tbaa !5
  %60 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %59, ptr align 1 %60, i64 16, i1 false)
  %61 = load ptr, ptr %19, align 8, !tbaa !5
  %62 = getelementptr inbounds i8, ptr %61, i64 16
  %63 = load ptr, ptr %3, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %62, ptr align 1 %63, i64 976, i1 false)
  %64 = load ptr, ptr %3, align 8, !tbaa !5
  %65 = load ptr, ptr %4, align 8, !tbaa !5
  %66 = load i32, ptr %18, align 4, !tbaa !10
  %67 = zext i32 %66 to i64
  %68 = getelementptr inbounds i8, ptr %65, i64 %67
  call void @Hacl_Hash_SHA3_shake128_hacl(i32 noundef 976, ptr noundef %64, i32 noundef 16, ptr noundef %68)
  %69 = getelementptr inbounds [48 x i8], ptr %5, i64 0, i64 0
  call void @Lib_Memzero0_memzero0(ptr noundef %69, i64 noundef 48)
  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 8192, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 1024, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 17, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 1024, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 1024, 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 48, 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_shake128_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_matrix64(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_Frodo64_crypto_kem_keypair(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = alloca [48 x i8], align 16
  %4 = alloca [512 x i16], align 16
  %5 = alloca [512 x i16], align 16
  %6 = alloca [2048 x i8], align 16
  %7 = alloca [17 x i8], align 16
  %8 = alloca [512 x i16], align 16
  %9 = alloca [4096 x i16], align 16
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(48) %3, i8 0, i64 48, i1 false)
  call void @randombytes_(i32 noundef 48, ptr noundef nonnull %3) #6
  %10 = getelementptr inbounds i8, ptr %3, i64 16
  %11 = getelementptr inbounds i8, ptr %3, i64 32
  call void @Hacl_Hash_SHA3_shake128_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 992
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %4) #6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1024) %4, i8 0, i64 1024, i1 false)
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %5) #6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1024) %5, i8 0, i64 1024, i1 false)
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %6) #6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(2048) %6, i8 0, i64 2048, i1 false)
  call void @llvm.lifetime.start.p0(i64 17, 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(16) %14, ptr noundef nonnull align 16 dereferenceable(16) %10, i64 16, i1 false)
  call void @Hacl_Hash_SHA3_shake128_hacl(i32 noundef 17, ptr noundef nonnull %7, i32 noundef 2048, ptr noundef nonnull %6) #6
  call void @Lib_Memzero0_memzero0(ptr noundef nonnull %7, i64 noundef 17) #6
  call void @Hacl_Impl_Frodo_Sample_frodo_sample_matrix64(i32 noundef 64, i32 noundef 8, ptr noundef nonnull %6, ptr noundef nonnull %4)
  %15 = getelementptr inbounds i8, ptr %6, i64 1024
  call void @Hacl_Impl_Frodo_Sample_frodo_sample_matrix64(i32 noundef 64, i32 noundef 8, ptr noundef nonnull %15, ptr noundef nonnull %5)
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %8) #6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1024) %8, i8 0, i64 1024, i1 false)
  call void @llvm.lifetime.start.p0(i64 8192, ptr nonnull %9) #6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(8192) %9, i8 0, i64 8192, i1 false)
  call void @Hacl_Impl_Frodo_Params_frodo_gen_matrix(i8 noundef zeroext 0, i32 noundef 64, ptr noundef %0, ptr noundef nonnull %9)
  call void @Hacl_Impl_Matrix_matrix_mul_s(i32 noundef 64, i32 noundef 64, i32 noundef 8, ptr noundef nonnull %9, ptr noundef nonnull %4, ptr noundef nonnull %8)
  call void @Hacl_Impl_Matrix_matrix_add(i32 noundef 64, i32 noundef 8, ptr noundef nonnull %8, ptr noundef nonnull %5)
  call void @Hacl_Impl_Frodo_Pack_frodo_pack(i32 noundef 64, i32 noundef 8, i32 noundef 15, ptr noundef nonnull %8, ptr noundef nonnull %12)
  call void @Hacl_Impl_Matrix_matrix_to_lbytes(i32 noundef 64, i32 noundef 8, ptr noundef nonnull %4, ptr noundef nonnull %13)
  call void @Lib_Memzero0_memzero0(ptr noundef nonnull %4, i64 noundef 1024) #6
  call void @Lib_Memzero0_memzero0(ptr noundef nonnull %5, i64 noundef 1024) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(16) %1, ptr noundef nonnull align 16 dereferenceable(16) %3, i64 16, i1 false)
  %16 = getelementptr inbounds i8, ptr %1, i64 16
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(976) %16, ptr noundef nonnull align 1 dereferenceable(976) %0, i64 976, i1 false)
  %17 = getelementptr inbounds i8, ptr %1, i64 2016
  call void @Hacl_Hash_SHA3_shake128_hacl(i32 noundef 976, ptr noundef %0, i32 noundef 16, ptr noundef nonnull %17) #6
  call void @Lib_Memzero0_memzero0(ptr noundef nonnull %3, i64 noundef 48) #6
  call void @llvm.lifetime.end.p0(i64 8192, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 17, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 48, 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_shake128_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_matrix64(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