; LLVM IR from Water-Melon/Melon :: src (mln_rs)

; 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.mln_rs_matrix_t = type { i64, i64, ptr, i8 }

; 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: nounwind
declare void @free(ptr noundef) #1

; Function Attrs: nounwind willreturn memory(none)
declare ptr @__errno_location() #2

; Function Attrs: nounwind uwtable
declare hidden void @mln_rs_matrix_free(ptr noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @mln_rs_matrix_mul(ptr noundef, ptr noundef) #4

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

; Function Attrs: nounwind uwtable
define dso_local ptr @mln_rs_decode(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #3 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i64 %1, ptr %7, align 8, !tbaa !9
  store i64 %2, ptr %8, align 8, !tbaa !9
  store i64 %3, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %20 = load i64, ptr %8, align 8, !tbaa !9
  %21 = icmp ne i64 %20, 0
  br i1 %21, label %27, label %22

22:                                               ; preds = %4
  %23 = load i64, ptr %9, align 8, !tbaa !9
  %24 = icmp ne i64 %23, 0
  br i1 %24, label %27, label %25

25:                                               ; preds = %22
  %26 = call ptr @__errno_location() #8
  store i32 22, ptr %26, align 4, !tbaa !11
  store ptr null, ptr %5, align 8
  store i32 1, ptr %18, align 4
  br label %127

27:                                               ; preds = %22, %4
  %28 = load i64, ptr %9, align 8, !tbaa !9
  %29 = icmp ne i64 %28, 0
  br i1 %29, label %72, label %30

30:                                               ; preds = %27
  %31 = load i64, ptr %7, align 8, !tbaa !9
  %32 = load i64, ptr %8, align 8, !tbaa !9
  %33 = mul i64 %31, %32
  %34 = call noalias ptr @malloc(i64 noundef %33) #9
  store ptr %34, ptr %10, align 8, !tbaa !5
  %35 = icmp eq ptr %34, null
  br i1 %35, label %36, label %38

36:                                               ; preds = %30
  %37 = call ptr @__errno_location() #8
  store i32 12, ptr %37, align 4, !tbaa !11
  store ptr null, ptr %5, align 8
  store i32 1, ptr %18, align 4
  br label %127

38:                                               ; preds = %30
  %39 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %39, ptr %11, align 8, !tbaa !5
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %40, ptr %12, align 8, !tbaa !5
  %41 = load ptr, ptr %6, align 8, !tbaa !5
  %42 = load i64, ptr %8, align 8, !tbaa !9
  %43 = getelementptr inbounds ptr, ptr %41, i64 %42
  store ptr %43, ptr %13, align 8, !tbaa !5
  br label %44

44:                                               ; preds = %56, %38
  %45 = load ptr, ptr %12, align 8, !tbaa !5
  %46 = load ptr, ptr %13, align 8, !tbaa !5
  %47 = icmp ult ptr %45, %46
  br i1 %47, label %48, label %59

48:                                               ; preds = %44
  %49 = load ptr, ptr %11, align 8, !tbaa !5
  %50 = load ptr, ptr %12, align 8, !tbaa !5
  %51 = load ptr, ptr %50, align 8, !tbaa !5
  %52 = load i64, ptr %7, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %49, ptr align 1 %51, i64 %52, i1 false)
  %53 = load i64, ptr %7, align 8, !tbaa !9
  %54 = load ptr, ptr %11, align 8, !tbaa !5
  %55 = getelementptr inbounds i8, ptr %54, i64 %53
  store ptr %55, ptr %11, align 8, !tbaa !5
  br label %56

56:                                               ; preds = %48
  %57 = load ptr, ptr %12, align 8, !tbaa !5
  %58 = getelementptr inbounds ptr, ptr %57, i32 1
  store ptr %58, ptr %12, align 8, !tbaa !5
  br label %44, !llvm.loop !13

59:                                               ; preds = %44
  %60 = load ptr, ptr %10, align 8, !tbaa !5
  %61 = load i64, ptr %8, align 8, !tbaa !9
  %62 = load i64, ptr %7, align 8, !tbaa !9
  %63 = load i64, ptr %8, align 8, !tbaa !9
  %64 = mul i64 %62, %63
  %65 = call ptr @mln_rs_result_new(ptr noundef %60, i64 noundef %61, i64 noundef %64)
  store ptr %65, ptr %14, align 8, !tbaa !5
  %66 = icmp eq ptr %65, null
  br i1 %66, label %67, label %70

67:                                               ; preds = %59
  %68 = load ptr, ptr %10, align 8, !tbaa !5
  call void @free(ptr noundef %68) #7
  %69 = call ptr @__errno_location() #8
  store i32 12, ptr %69, align 4, !tbaa !11
  store ptr null, ptr %5, align 8
  store i32 1, ptr %18, align 4
  br label %127

70:                                               ; preds = %59
  %71 = load ptr, ptr %14, align 8, !tbaa !5
  store ptr %71, ptr %5, align 8
  store i32 1, ptr %18, align 4
  br label %127

72:                                               ; preds = %27
  %73 = load ptr, ptr %6, align 8, !tbaa !5
  %74 = load i64, ptr %7, align 8, !tbaa !9
  %75 = load i64, ptr %8, align 8, !tbaa !9
  %76 = load i64, ptr %9, align 8, !tbaa !9
  %77 = call ptr @mln_rs_matrix_co_inverse_matrix(ptr noundef %73, i64 noundef %74, i64 noundef %75, i64 noundef %76)
  store ptr %77, ptr %15, align 8, !tbaa !5
  %78 = icmp eq ptr %77, null
  br i1 %78, label %79, label %80

79:                                               ; preds = %72
  store ptr null, ptr %5, align 8
  store i32 1, ptr %18, align 4
  br label %127

80:                                               ; preds = %72
  %81 = load ptr, ptr %6, align 8, !tbaa !5
  %82 = load i64, ptr %7, align 8, !tbaa !9
  %83 = load i64, ptr %8, align 8, !tbaa !9
  %84 = load i64, ptr %9, align 8, !tbaa !9
  %85 = call ptr @mln_rs_matrix_data_matrix(ptr noundef %81, i64 noundef %82, i64 noundef %83, i64 noundef %84)
  store ptr %85, ptr %16, align 8, !tbaa !5
  %86 = icmp eq ptr %85, null
  br i1 %86, label %87, label %93

87:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  %88 = call ptr @__errno_location() #8
  %89 = load i32, ptr %88, align 4, !tbaa !11
  store i32 %89, ptr %19, align 4, !tbaa !11
  %90 = load ptr, ptr %15, align 8, !tbaa !5
  call void @mln_rs_matrix_free(ptr noundef %90)
  %91 = load i32, ptr %19, align 4, !tbaa !11
  %92 = call ptr @__errno_location() #8
  store i32 %91, ptr %92, align 4, !tbaa !11
  store ptr null, ptr %5, align 8
  store i32 1, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %127

93:                                               ; preds = %80
  %94 = load ptr, ptr %15, align 8, !tbaa !5
  %95 = load ptr, ptr %16, align 8, !tbaa !5
  %96 = call ptr @mln_rs_matrix_mul(ptr noundef %94, ptr noundef %95)
  store ptr %96, ptr %17, align 8, !tbaa !5
  %97 = load ptr, ptr %15, align 8, !tbaa !5
  call void @mln_rs_matrix_free(ptr noundef %97)
  %98 = load ptr, ptr %16, align 8, !tbaa !5
  call void @mln_rs_matrix_free(ptr noundef %98)
  %99 = load ptr, ptr %17, align 8, !tbaa !5
  %100 = icmp eq ptr %99, null
  br i1 %100, label %101, label %103

101:                                              ; preds = %93
  %102 = call ptr @__errno_location() #8
  store i32 12, ptr %102, align 4, !tbaa !11
  store ptr null, ptr %5, align 8
  store i32 1, ptr %18, align 4
  br label %127

103:                                              ; preds = %93
  %104 = load ptr, ptr %17, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.mln_rs_matrix_t, ptr %104, i32 0, i32 2
  %106 = load ptr, ptr %105, align 8, !tbaa !15
  %107 = load ptr, ptr %17, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.mln_rs_matrix_t, ptr %107, i32 0, i32 0
  %109 = load i64, ptr %108, align 8, !tbaa !17
  %110 = load ptr, ptr %17, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.mln_rs_matrix_t, ptr %110, i32 0, i32 0
  %112 = load i64, ptr %111, align 8, !tbaa !17
  %113 = load ptr, ptr %17, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.mln_rs_matrix_t, ptr %113, i32 0, i32 1
  %115 = load i64, ptr %114, align 8, !tbaa !18
  %116 = mul i64 %112, %115
  %117 = call ptr @mln_rs_result_new(ptr noundef %106, i64 noundef %109, i64 noundef %116)
  store ptr %117, ptr %14, align 8, !tbaa !5
  %118 = icmp eq ptr %117, null
  br i1 %118, label %119, label %122

119:                                              ; preds = %103
  %120 = load ptr, ptr %17, align 8, !tbaa !5
  call void @mln_rs_matrix_free(ptr noundef %120)
  %121 = call ptr @__errno_location() #8
  store i32 12, ptr %121, align 4, !tbaa !11
  store ptr null, ptr %5, align 8
  store i32 1, ptr %18, align 4
  br label %127

122:                                              ; preds = %103
  %123 = load ptr, ptr %17, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.mln_rs_matrix_t, ptr %123, i32 0, i32 2
  store ptr null, ptr %124, align 8, !tbaa !15
  %125 = load ptr, ptr %17, align 8, !tbaa !5
  call void @mln_rs_matrix_free(ptr noundef %125)
  %126 = load ptr, ptr %14, align 8, !tbaa !5
  store ptr %126, ptr %5, align 8
  store i32 1, ptr %18, align 4
  br label %127

127:                                              ; preds = %122, %119, %101, %87, %79, %70, %67, %36, %25
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  %128 = load ptr, ptr %5, align 8
  ret ptr %128
}

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #5

; 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) #6

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind "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 = { nounwind willreturn memory(none) "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 = { 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 = { 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 #5 = { nounwind allocsize(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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { nounwind }
attributes #8 = { nounwind willreturn memory(none) }
attributes #9 = { nounwind allocsize(0) }

!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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !6, i64 16}
!16 = !{!"", !10, i64 0, !10, i64 8, !6, i64 16, !12, i64 24}
!17 = !{!16, !10, i64 0}
!18 = !{!16, !10, i64 8}


; 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 nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none)
declare ptr @__errno_location() local_unnamed_addr #1

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

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

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

; Function Attrs: nounwind uwtable
define dso_local ptr @mln_rs_decode(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) local_unnamed_addr #2 {
  %5 = or i64 %3, %2
  %or.cond.not = icmp eq i64 %5, 0
  br i1 %or.cond.not, label %6, label %8

6:                                                ; preds = %4
  %7 = tail call ptr @__errno_location() #6
  store i32 22, ptr %7, align 4, !tbaa !5
  br label %52

8:                                                ; preds = %4
  %.not = icmp eq i64 %3, 0
  br i1 %.not, label %9, label %26

9:                                                ; preds = %8
  %10 = mul i64 %2, %1
  %11 = tail call noalias ptr @malloc(i64 noundef %10) #7
  %12 = icmp eq ptr %11, null
  br i1 %12, label %13, label %15

13:                                               ; preds = %9
  %14 = tail call ptr @__errno_location() #6
  store i32 12, ptr %14, align 4, !tbaa !5
  br label %52

15:                                               ; preds = %9
  %16 = getelementptr inbounds ptr, ptr %0, i64 %2
  %17 = icmp sgt i64 %2, 0
  br i1 %17, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %15, %.lr.ph
  %.04757 = phi ptr [ %19, %.lr.ph ], [ %11, %15 ]
  %.04856 = phi ptr [ %20, %.lr.ph ], [ %0, %15 ]
  %18 = load ptr, ptr %.04856, align 8, !tbaa !9
  tail call void @llvm.memcpy.p0.p0.i64(ptr align 1 %.04757, ptr align 1 %18, i64 %1, i1 false)
  %19 = getelementptr inbounds i8, ptr %.04757, i64 %1
  %20 = getelementptr inbounds i8, ptr %.04856, i64 8
  %21 = icmp ult ptr %20, %16
  br i1 %21, label %.lr.ph, label %._crit_edge, !llvm.loop !11

._crit_edge:                                      ; preds = %.lr.ph, %15
  %22 = tail call ptr @mln_rs_result_new(ptr noundef nonnull %11, i64 noundef %2, i64 noundef %10)
  %23 = icmp eq ptr %22, null
  br i1 %23, label %24, label %52

24:                                               ; preds = %._crit_edge
  tail call void @free(ptr noundef %11) #8
  %25 = tail call ptr @__errno_location() #6
  store i32 12, ptr %25, align 4, !tbaa !5
  br label %52

26:                                               ; preds = %8
  %27 = tail call ptr @mln_rs_matrix_co_inverse_matrix(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3)
  %28 = icmp eq ptr %27, null
  br i1 %28, label %52, label %29

29:                                               ; preds = %26
  %30 = tail call ptr @mln_rs_matrix_data_matrix(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3)
  %31 = icmp eq ptr %30, null
  br i1 %31, label %32, label %35

32:                                               ; preds = %29
  %33 = tail call ptr @__errno_location() #6
  %34 = load i32, ptr %33, align 4, !tbaa !5
  tail call void @mln_rs_matrix_free(ptr noundef nonnull %27)
  store i32 %34, ptr %33, align 4, !tbaa !5
  br label %52

35:                                               ; preds = %29
  %36 = tail call ptr @mln_rs_matrix_mul(ptr noundef nonnull %27, ptr noundef nonnull %30)
  tail call void @mln_rs_matrix_free(ptr noundef nonnull %27)
  tail call void @mln_rs_matrix_free(ptr noundef nonnull %30)
  %37 = icmp eq ptr %36, null
  br i1 %37, label %38, label %40

38:                                               ; preds = %35
  %39 = tail call ptr @__errno_location() #6
  store i32 12, ptr %39, align 4, !tbaa !5
  br label %52

40:                                               ; preds = %35
  %41 = getelementptr inbounds i8, ptr %36, i64 16
  %42 = load ptr, ptr %41, align 8, !tbaa !13
  %43 = load i64, ptr %36, align 8, !tbaa !16
  %44 = getelementptr inbounds i8, ptr %36, i64 8
  %45 = load i64, ptr %44, align 8, !tbaa !17
  %46 = mul i64 %45, %43
  %47 = tail call ptr @mln_rs_result_new(ptr noundef %42, i64 noundef %43, i64 noundef %46)
  %48 = icmp eq ptr %47, null
  br i1 %48, label %49, label %51

49:                                               ; preds = %40
  tail call void @mln_rs_matrix_free(ptr noundef nonnull %36)
  %50 = tail call ptr @__errno_location() #6
  store i32 12, ptr %50, align 4, !tbaa !5
  br label %52

51:                                               ; preds = %40
  store ptr null, ptr %41, align 8, !tbaa !13
  tail call void @mln_rs_matrix_free(ptr noundef nonnull %36)
  br label %52

52:                                               ; preds = %26, %._crit_edge, %51, %49, %38, %32, %24, %13, %6
  %.0 = phi ptr [ null, %32 ], [ null, %38 ], [ null, %49 ], [ %47, %51 ], [ null, %13 ], [ null, %24 ], [ null, %6 ], [ %22, %._crit_edge ], [ null, %26 ]
  ret ptr %.0
}

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #4

; 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) #5

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

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

attributes #0 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 nofree nosync nounwind willreturn memory(none) "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 = { 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 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { nounwind willreturn memory(none) }
attributes #7 = { nounwind allocsize(0) }
attributes #8 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !10, i64 16}
!14 = !{!"", !15, i64 0, !15, i64 8, !10, i64 16, !6, i64 24}
!15 = !{!"long", !7, i64 0}
!16 = !{!14, !15, i64 0}
!17 = !{!14, !15, i64 8}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass