; LLVM IR from OpenMathLib/OpenBLAS :: lapack-netlib/LAPACKE/src (lapacke_dsyev_work)

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

@.str = external hidden unnamed_addr constant [19 x i8], align 1

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

26:                                               ; preds = %9
  %27 = load ptr, ptr %15, align 8, !tbaa !10
  %28 = load ptr, ptr %17, align 8, !tbaa !10
  %29 = load ptr, ptr %18, align 8, !tbaa !10
  call void @dsyev_(ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %27, ptr noundef %16, ptr noundef %28, ptr noundef %29, ptr noundef %19, ptr noundef %20, i64 noundef 1, i64 noundef 1)
  %30 = load i32, ptr %20, align 4, !tbaa !5
  %31 = icmp slt i32 %30, 0
  br i1 %31, label %32, label %35

32:                                               ; preds = %26
  %33 = load i32, ptr %20, align 4, !tbaa !5
  %34 = sub nsw i32 %33, 1
  store i32 %34, ptr %20, align 4, !tbaa !5
  br label %35

35:                                               ; preds = %32, %26
  br label %138

36:                                               ; preds = %9
  %37 = load i32, ptr %11, align 4, !tbaa !5
  %38 = icmp eq i32 %37, 101
  br i1 %38, label %39, label %135

39:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  %40 = load i32, ptr %14, align 4, !tbaa !5
  %41 = icmp sgt i32 1, %40
  br i1 %41, label %42, label %43

42:                                               ; preds = %39
  br label %45

43:                                               ; preds = %39
  %44 = load i32, ptr %14, align 4, !tbaa !5
  br label %45

45:                                               ; preds = %43, %42
  %46 = phi i32 [ 1, %42 ], [ %44, %43 ]
  store i32 %46, ptr %21, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  store ptr null, ptr %22, align 8, !tbaa !10
  %47 = load i32, ptr %16, align 4, !tbaa !5
  %48 = load i32, ptr %14, align 4, !tbaa !5
  %49 = icmp slt i32 %47, %48
  br i1 %49, label %50, label %53

50:                                               ; preds = %45
  store i32 -6, ptr %20, align 4, !tbaa !5
  %51 = load i32, ptr %20, align 4, !tbaa !5
  call void @LAPACKE_xerbla(ptr noundef @.str, i32 noundef %51)
  %52 = load i32, ptr %20, align 4, !tbaa !5
  store i32 %52, ptr %10, align 4
  store i32 1, ptr %23, align 4
  br label %132

53:                                               ; preds = %45
  %54 = load i32, ptr %19, align 4, !tbaa !5
  %55 = icmp eq i32 %54, -1
  br i1 %55, label %56, label %69

56:                                               ; preds = %53
  %57 = load ptr, ptr %15, align 8, !tbaa !10
  %58 = load ptr, ptr %17, align 8, !tbaa !10
  %59 = load ptr, ptr %18, align 8, !tbaa !10
  call void @dsyev_(ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %57, ptr noundef %21, ptr noundef %58, ptr noundef %59, ptr noundef %19, ptr noundef %20, i64 noundef 1, i64 noundef 1)
  %60 = load i32, ptr %20, align 4, !tbaa !5
  %61 = icmp slt i32 %60, 0
  br i1 %61, label %62, label %65

62:                                               ; preds = %56
  %63 = load i32, ptr %20, align 4, !tbaa !5
  %64 = sub nsw i32 %63, 1
  br label %67

65:                                               ; preds = %56
  %66 = load i32, ptr %20, align 4, !tbaa !5
  br label %67

67:                                               ; preds = %65, %62
  %68 = phi i32 [ %64, %62 ], [ %66, %65 ]
  store i32 %68, ptr %10, align 4
  store i32 1, ptr %23, align 4
  br label %132

69:                                               ; preds = %53
  %70 = load i32, ptr %21, align 4, !tbaa !5
  %71 = sext i32 %70 to i64
  %72 = mul i64 8, %71
  %73 = load i32, ptr %14, align 4, !tbaa !5
  %74 = icmp sgt i32 1, %73
  br i1 %74, label %75, label %76

75:                                               ; preds = %69
  br label %78

76:                                               ; preds = %69
  %77 = load i32, ptr %14, align 4, !tbaa !5
  br label %78

78:                                               ; preds = %76, %75
  %79 = phi i32 [ 1, %75 ], [ %77, %76 ]
  %80 = sext i32 %79 to i64
  %81 = mul i64 %72, %80
  %82 = call noalias ptr @malloc(i64 noundef %81) #6
  store ptr %82, ptr %22, align 8, !tbaa !10
  %83 = load ptr, ptr %22, align 8, !tbaa !10
  %84 = icmp eq ptr %83, null
  br i1 %84, label %85, label %86

85:                                               ; preds = %78
  store i32 -1011, ptr %20, align 4, !tbaa !5
  br label %126

86:                                               ; preds = %78
  %87 = load i32, ptr %11, align 4, !tbaa !5
  %88 = load i8, ptr %13, align 1, !tbaa !9
  %89 = load i32, ptr %14, align 4, !tbaa !5
  %90 = load ptr, ptr %15, align 8, !tbaa !10
  %91 = load i32, ptr %16, align 4, !tbaa !5
  %92 = load ptr, ptr %22, align 8, !tbaa !10
  %93 = load i32, ptr %21, align 4, !tbaa !5
  call void @LAPACKE_dsy_trans(i32 noundef %87, i8 noundef signext %88, i32 noundef %89, ptr noundef %90, i32 noundef %91, ptr noundef %92, i32 noundef %93)
  %94 = load ptr, ptr %22, align 8, !tbaa !10
  %95 = load ptr, ptr %17, align 8, !tbaa !10
  %96 = load ptr, ptr %18, align 8, !tbaa !10
  call void @dsyev_(ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %94, ptr noundef %21, ptr noundef %95, ptr noundef %96, ptr noundef %19, ptr noundef %20, i64 noundef 1, i64 noundef 1)
  %97 = load i32, ptr %20, align 4, !tbaa !5
  %98 = icmp slt i32 %97, 0
  br i1 %98, label %99, label %102

99:                                               ; preds = %86
  %100 = load i32, ptr %20, align 4, !tbaa !5
  %101 = sub nsw i32 %100, 1
  store i32 %101, ptr %20, align 4, !tbaa !5
  br label %102

102:                                              ; preds = %99, %86
  %103 = load i8, ptr %12, align 1, !tbaa !9
  %104 = sext i8 %103 to i32
  %105 = icmp eq i32 %104, 86
  br i1 %105, label %110, label %106

106:                                              ; preds = %102
  %107 = load i8, ptr %12, align 1, !tbaa !9
  %108 = sext i8 %107 to i32
  %109 = icmp eq i32 %108, 118
  br i1 %109, label %110, label %117

110:                                              ; preds = %106, %102
  %111 = load i32, ptr %14, align 4, !tbaa !5
  %112 = load i32, ptr %14, align 4, !tbaa !5
  %113 = load ptr, ptr %22, align 8, !tbaa !10
  %114 = load i32, ptr %21, align 4, !tbaa !5
  %115 = load ptr, ptr %15, align 8, !tbaa !10
  %116 = load i32, ptr %16, align 4, !tbaa !5
  call void @LAPACKE_dge_trans(i32 noundef 102, i32 noundef %111, i32 noundef %112, ptr noundef %113, i32 noundef %114, ptr noundef %115, i32 noundef %116)
  br label %124

117:                                              ; preds = %106
  %118 = load i8, ptr %13, align 1, !tbaa !9
  %119 = load i32, ptr %14, align 4, !tbaa !5
  %120 = load ptr, ptr %22, align 8, !tbaa !10
  %121 = load i32, ptr %21, align 4, !tbaa !5
  %122 = load ptr, ptr %15, align 8, !tbaa !10
  %123 = load i32, ptr %16, align 4, !tbaa !5
  call void @LAPACKE_dsy_trans(i32 noundef 102, i8 noundef signext %118, i32 noundef %119, ptr noundef %120, i32 noundef %121, ptr noundef %122, i32 noundef %123)
  br label %124

124:                                              ; preds = %117, %110
  %125 = load ptr, ptr %22, align 8, !tbaa !10
  call void @free(ptr noundef %125) #5
  br label %126

126:                                              ; preds = %124, %85
  %127 = load i32, ptr %20, align 4, !tbaa !5
  %128 = icmp eq i32 %127, -1011
  br i1 %128, label %129, label %131

129:                                              ; preds = %126
  %130 = load i32, ptr %20, align 4, !tbaa !5
  call void @LAPACKE_xerbla(ptr noundef @.str, i32 noundef %130)
  br label %131

131:                                              ; preds = %129, %126
  store i32 0, ptr %23, align 4
  br label %132

132:                                              ; preds = %131, %67, %50
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  %133 = load i32, ptr %23, align 4
  switch i32 %133, label %140 [
    i32 0, label %134
  ]

134:                                              ; preds = %132
  br label %137

135:                                              ; preds = %36
  store i32 -1, ptr %20, align 4, !tbaa !5
  %136 = load i32, ptr %20, align 4, !tbaa !5
  call void @LAPACKE_xerbla(ptr noundef @.str, i32 noundef %136)
  br label %137

137:                                              ; preds = %135, %134
  br label %138

138:                                              ; preds = %137, %35
  %139 = load i32, ptr %20, align 4, !tbaa !5
  store i32 %139, ptr %10, align 4
  store i32 1, ptr %23, align 4
  br label %140

140:                                              ; preds = %138, %132
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  %141 = load i32, ptr %10, align 4
  ret i32 %141
}

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

declare void @dsyev_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef) #2

declare void @LAPACKE_xerbla(ptr noundef, i32 noundef) #2

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

declare void @LAPACKE_dsy_trans(i32 noundef, i8 noundef signext, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2

declare void @LAPACKE_dge_trans(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2

; Function Attrs: nounwind
declare void @free(ptr noundef) #4

; 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 = { "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 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 #4 = { 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 #5 = { nounwind }
attributes #6 = { 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 = !{!"int", !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 = !{!"any pointer", !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"

@.str = external hidden unnamed_addr constant [19 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @LAPACKE_dsyev_work(i32 noundef %0, i8 noundef signext %1, i8 noundef signext %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef %8) local_unnamed_addr #0 {
  %10 = alloca i8, align 1
  %11 = alloca i8, align 1
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  store i8 %1, ptr %10, align 1, !tbaa !5
  store i8 %2, ptr %11, align 1, !tbaa !5
  store i32 %3, ptr %12, align 4, !tbaa !8
  store i32 %5, ptr %13, align 4, !tbaa !8
  store i32 %8, ptr %14, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #6
  store i32 0, ptr %15, align 4, !tbaa !8
  switch i32 %0, label %53 [
    i32 102, label %17
    i32 101, label %19
  ]

17:                                               ; preds = %9
  call void @dsyev_(ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef %4, ptr noundef nonnull %13, ptr noundef %6, ptr noundef %7, ptr noundef nonnull %14, ptr noundef nonnull %15, i64 noundef 1, i64 noundef 1) #6
  %18 = load i32, ptr %15, align 4, !tbaa !8
  %.lobit34 = ashr i32 %18, 31
  %spec.select = add nsw i32 %18, %.lobit34
  br label %54

19:                                               ; preds = %9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #6
  %20 = tail call i32 @llvm.smax.i32(i32 %3, i32 1)
  store i32 %20, ptr %16, align 4, !tbaa !8
  %21 = icmp slt i32 %5, %3
  br i1 %21, label %22, label %23

22:                                               ; preds = %19
  tail call void @LAPACKE_xerbla(ptr noundef nonnull @.str, i32 noundef -6) #6
  br label %52

23:                                               ; preds = %19
  %24 = icmp eq i32 %8, -1
  br i1 %24, label %25, label %28

25:                                               ; preds = %23
  call void @dsyev_(ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef %4, ptr noundef nonnull %16, ptr noundef %6, ptr noundef %7, ptr noundef nonnull %14, ptr noundef nonnull %15, i64 noundef 1, i64 noundef 1) #6
  %26 = load i32, ptr %15, align 4
  %.lobit = ashr i32 %26, 31
  %27 = add nsw i32 %.lobit, %26
  br label %52

28:                                               ; preds = %23
  %29 = zext nneg i32 %20 to i64
  %30 = shl nuw nsw i64 %29, 3
  %31 = mul i64 %30, %29
  %32 = tail call noalias ptr @malloc(i64 noundef %31) #7
  %33 = icmp eq ptr %32, null
  br i1 %33, label %.thread, label %34

.thread:                                          ; preds = %28
  store i32 -1011, ptr %15, align 4, !tbaa !8
  br label %51

34:                                               ; preds = %28
  tail call void @LAPACKE_dsy_trans(i32 noundef 101, i8 noundef signext %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef nonnull %32, i32 noundef %20) #6
  call void @dsyev_(ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef nonnull %32, ptr noundef nonnull %16, ptr noundef %6, ptr noundef %7, ptr noundef nonnull %14, ptr noundef nonnull %15, i64 noundef 1, i64 noundef 1) #6
  %35 = load i32, ptr %15, align 4, !tbaa !8
  %36 = icmp slt i32 %35, 0
  br i1 %36, label %37, label %39

37:                                               ; preds = %34
  %38 = add nsw i32 %35, -1
  store i32 %38, ptr %15, align 4, !tbaa !8
  br label %39

39:                                               ; preds = %37, %34
  %40 = load i8, ptr %10, align 1
  %41 = and i8 %40, -33
  %or.cond = icmp eq i8 %41, 86
  br i1 %or.cond, label %42, label %45

42:                                               ; preds = %39
  %43 = load i32, ptr %12, align 4, !tbaa !8
  %44 = load i32, ptr %16, align 4, !tbaa !8
  call void @LAPACKE_dge_trans(i32 noundef 102, i32 noundef %43, i32 noundef %43, ptr noundef nonnull %32, i32 noundef %44, ptr noundef %4, i32 noundef %5) #6
  br label %49

45:                                               ; preds = %39
  %46 = load i8, ptr %11, align 1, !tbaa !5
  %47 = load i32, ptr %12, align 4, !tbaa !8
  %48 = load i32, ptr %16, align 4, !tbaa !8
  call void @LAPACKE_dsy_trans(i32 noundef 102, i8 noundef signext %46, i32 noundef %47, ptr noundef nonnull %32, i32 noundef %48, ptr noundef %4, i32 noundef %5) #6
  br label %49

49:                                               ; preds = %42, %45
  call void @free(ptr noundef nonnull %32) #6
  %.pr = load i32, ptr %15, align 4, !tbaa !8
  %50 = icmp eq i32 %.pr, -1011
  br i1 %50, label %51, label %.thread30

51:                                               ; preds = %.thread, %49
  call void @LAPACKE_xerbla(ptr noundef nonnull @.str, i32 noundef -1011) #6
  %.pre.pre = load i32, ptr %15, align 4, !tbaa !8
  br label %.thread30

.thread30:                                        ; preds = %51, %49
  %.pre = phi i32 [ %.pre.pre, %51 ], [ %.pr, %49 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #6
  br label %54

52:                                               ; preds = %25, %22
  %.023 = phi i32 [ -6, %22 ], [ %27, %25 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #6
  br label %54

53:                                               ; preds = %9
  tail call void @LAPACKE_xerbla(ptr noundef nonnull @.str, i32 noundef -1) #6
  br label %54

54:                                               ; preds = %17, %53, %.thread30, %52
  %.1 = phi i32 [ %.023, %52 ], [ %.pre, %.thread30 ], [ -1, %53 ], [ %spec.select, %17 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #6
  ret i32 %.1
}

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

declare void @dsyev_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2

declare void @LAPACKE_xerbla(ptr noundef, i32 noundef) local_unnamed_addr #2

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

declare void @LAPACKE_dsy_trans(i32 noundef, i8 noundef signext, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

declare void @LAPACKE_dge_trans(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #4

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #5

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 = { "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 = { 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 #4 = { 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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind }
attributes #7 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !6, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass