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

; 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 [16 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @LAPACKE_dtrsyl3(i32 noundef %0, i8 noundef signext %1, i8 noundef signext %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, i32 noundef %7, ptr noundef %8, i32 noundef %9, ptr noundef %10, i32 noundef %11, ptr noundef %12) #0 {
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i8, align 1
  %17 = alloca i8, align 1
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca ptr, align 8
  %26 = alloca i32, align 4
  %27 = alloca ptr, align 8
  %28 = alloca i32, align 4
  %29 = alloca [2 x double], align 16
  %30 = alloca ptr, align 8
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca ptr, align 8
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  store i32 %0, ptr %15, align 4, !tbaa !5
  store i8 %1, ptr %16, align 1, !tbaa !9
  store i8 %2, ptr %17, align 1, !tbaa !9
  store i32 %3, ptr %18, align 4, !tbaa !5
  store i32 %4, ptr %19, align 4, !tbaa !5
  store i32 %5, ptr %20, align 4, !tbaa !5
  store ptr %6, ptr %21, align 8, !tbaa !10
  store i32 %7, ptr %22, align 4, !tbaa !5
  store ptr %8, ptr %23, align 8, !tbaa !10
  store i32 %9, ptr %24, align 4, !tbaa !5
  store ptr %10, ptr %25, align 8, !tbaa !10
  store i32 %11, ptr %26, align 4, !tbaa !5
  store ptr %12, ptr %27, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #5
  store i32 0, ptr %28, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  store ptr null, ptr %30, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #5
  store i32 -1, ptr %31, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #5
  store i32 -1, ptr %32, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #5
  store ptr null, ptr %34, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #5
  store i32 -1, ptr %35, align 4, !tbaa !5
  %37 = load i32, ptr %15, align 4, !tbaa !5
  %38 = icmp ne i32 %37, 102
  br i1 %38, label %39, label %43

39:                                               ; preds = %13
  %40 = load i32, ptr %15, align 4, !tbaa !5
  %41 = icmp ne i32 %40, 101
  br i1 %41, label %42, label %43

42:                                               ; preds = %39
  call void @LAPACKE_xerbla(ptr noundef @.str, i32 noundef -1)
  store i32 -1, ptr %14, align 4
  store i32 1, ptr %36, align 4
  br label %150

43:                                               ; preds = %39, %13
  %44 = call i32 @LAPACKE_get_nancheck()
  %45 = icmp ne i32 %44, 0
  br i1 %45, label %46, label %74

46:                                               ; preds = %43
  %47 = load i32, ptr %15, align 4, !tbaa !5
  %48 = load i32, ptr %19, align 4, !tbaa !5
  %49 = load i32, ptr %19, align 4, !tbaa !5
  %50 = load ptr, ptr %21, align 8, !tbaa !10
  %51 = load i32, ptr %22, align 4, !tbaa !5
  %52 = call i32 @LAPACKE_dge_nancheck(i32 noundef %47, i32 noundef %48, i32 noundef %49, ptr noundef %50, i32 noundef %51)
  %53 = icmp ne i32 %52, 0
  br i1 %53, label %54, label %55

54:                                               ; preds = %46
  store i32 -7, ptr %14, align 4
  store i32 1, ptr %36, align 4
  br label %150

55:                                               ; preds = %46
  %56 = load i32, ptr %15, align 4, !tbaa !5
  %57 = load i32, ptr %20, align 4, !tbaa !5
  %58 = load i32, ptr %20, align 4, !tbaa !5
  %59 = load ptr, ptr %23, align 8, !tbaa !10
  %60 = load i32, ptr %24, align 4, !tbaa !5
  %61 = call i32 @LAPACKE_dge_nancheck(i32 noundef %56, i32 noundef %57, i32 noundef %58, ptr noundef %59, i32 noundef %60)
  %62 = icmp ne i32 %61, 0
  br i1 %62, label %63, label %64

63:                                               ; preds = %55
  store i32 -9, ptr %14, align 4
  store i32 1, ptr %36, align 4
  br label %150

64:                                               ; preds = %55
  %65 = load i32, ptr %15, align 4, !tbaa !5
  %66 = load i32, ptr %19, align 4, !tbaa !5
  %67 = load i32, ptr %20, align 4, !tbaa !5
  %68 = load ptr, ptr %25, align 8, !tbaa !10
  %69 = load i32, ptr %26, align 4, !tbaa !5
  %70 = call i32 @LAPACKE_dge_nancheck(i32 noundef %65, i32 noundef %66, i32 noundef %67, ptr noundef %68, i32 noundef %69)
  %71 = icmp ne i32 %70, 0
  br i1 %71, label %72, label %73

72:                                               ; preds = %64
  store i32 -11, ptr %14, align 4
  store i32 1, ptr %36, align 4
  br label %150

73:                                               ; preds = %64
  br label %74

74:                                               ; preds = %73, %43
  %75 = load i32, ptr %15, align 4, !tbaa !5
  %76 = load i8, ptr %16, align 1, !tbaa !9
  %77 = load i8, ptr %17, align 1, !tbaa !9
  %78 = load i32, ptr %18, align 4, !tbaa !5
  %79 = load i32, ptr %19, align 4, !tbaa !5
  %80 = load i32, ptr %20, align 4, !tbaa !5
  %81 = load ptr, ptr %21, align 8, !tbaa !10
  %82 = load i32, ptr %22, align 4, !tbaa !5
  %83 = load ptr, ptr %23, align 8, !tbaa !10
  %84 = load i32, ptr %24, align 4, !tbaa !5
  %85 = load ptr, ptr %25, align 8, !tbaa !10
  %86 = load i32, ptr %26, align 4, !tbaa !5
  %87 = load ptr, ptr %27, align 8, !tbaa !10
  %88 = load i32, ptr %35, align 4, !tbaa !5
  %89 = getelementptr inbounds [2 x double], ptr %29, i64 0, i64 0
  %90 = load i32, ptr %31, align 4, !tbaa !5
  %91 = call i32 @LAPACKE_dtrsyl3_work(i32 noundef %75, i8 noundef signext %76, i8 noundef signext %77, i32 noundef %78, i32 noundef %79, i32 noundef %80, ptr noundef %81, i32 noundef %82, ptr noundef %83, i32 noundef %84, ptr noundef %85, i32 noundef %86, ptr noundef %87, ptr noundef %33, i32 noundef %88, ptr noundef %89, i32 noundef %90)
  store i32 %91, ptr %28, align 4, !tbaa !5
  %92 = load i32, ptr %28, align 4, !tbaa !5
  %93 = icmp ne i32 %92, 0
  br i1 %93, label %94, label %95

94:                                               ; preds = %74
  br label %143

95:                                               ; preds = %74
  %96 = getelementptr inbounds [2 x double], ptr %29, i64 0, i64 0
  %97 = load double, ptr %96, align 16, !tbaa !12
  %98 = fptosi double %97 to i32
  store i32 %98, ptr %31, align 4, !tbaa !5
  %99 = load i32, ptr %31, align 4, !tbaa !5
  %100 = sitofp i32 %99 to double
  %101 = getelementptr inbounds [2 x double], ptr %29, i64 0, i64 1
  %102 = load double, ptr %101, align 8, !tbaa !12
  %103 = fmul double %100, %102
  %104 = fptosi double %103 to i32
  store i32 %104, ptr %32, align 4, !tbaa !5
  %105 = load i32, ptr %32, align 4, !tbaa !5
  %106 = sext i32 %105 to i64
  %107 = mul i64 8, %106
  %108 = call noalias ptr @malloc(i64 noundef %107) #6
  store ptr %108, ptr %30, align 8, !tbaa !10
  %109 = load ptr, ptr %30, align 8, !tbaa !10
  %110 = icmp eq ptr %109, null
  br i1 %110, label %111, label %112

111:                                              ; preds = %95
  store i32 -1010, ptr %28, align 4, !tbaa !5
  br label %143

112:                                              ; preds = %95
  %113 = load i32, ptr %33, align 4, !tbaa !5
  store i32 %113, ptr %35, align 4, !tbaa !5
  %114 = load i32, ptr %35, align 4, !tbaa !5
  %115 = sext i32 %114 to i64
  %116 = mul i64 4, %115
  %117 = call noalias ptr @malloc(i64 noundef %116) #6
  store ptr %117, ptr %34, align 8, !tbaa !10
  %118 = load ptr, ptr %34, align 8, !tbaa !10
  %119 = icmp eq ptr %118, null
  br i1 %119, label %120, label %121

120:                                              ; preds = %112
  store i32 -1010, ptr %28, align 4, !tbaa !5
  br label %141

121:                                              ; preds = %112
  %122 = load i32, ptr %15, align 4, !tbaa !5
  %123 = load i8, ptr %16, align 1, !tbaa !9
  %124 = load i8, ptr %17, align 1, !tbaa !9
  %125 = load i32, ptr %18, align 4, !tbaa !5
  %126 = load i32, ptr %19, align 4, !tbaa !5
  %127 = load i32, ptr %20, align 4, !tbaa !5
  %128 = load ptr, ptr %21, align 8, !tbaa !10
  %129 = load i32, ptr %22, align 4, !tbaa !5
  %130 = load ptr, ptr %23, align 8, !tbaa !10
  %131 = load i32, ptr %24, align 4, !tbaa !5
  %132 = load ptr, ptr %25, align 8, !tbaa !10
  %133 = load i32, ptr %26, align 4, !tbaa !5
  %134 = load ptr, ptr %27, align 8, !tbaa !10
  %135 = load ptr, ptr %34, align 8, !tbaa !10
  %136 = load i32, ptr %35, align 4, !tbaa !5
  %137 = load ptr, ptr %30, align 8, !tbaa !10
  %138 = load i32, ptr %31, align 4, !tbaa !5
  %139 = call i32 @LAPACKE_dtrsyl3_work(i32 noundef %122, i8 noundef signext %123, i8 noundef signext %124, i32 noundef %125, i32 noundef %126, i32 noundef %127, ptr noundef %128, i32 noundef %129, ptr noundef %130, i32 noundef %131, ptr noundef %132, i32 noundef %133, ptr noundef %134, ptr noundef %135, i32 noundef %136, ptr noundef %137, i32 noundef %138)
  store i32 %139, ptr %28, align 4, !tbaa !5
  %140 = load ptr, ptr %34, align 8, !tbaa !10
  call void @free(ptr noundef %140) #5
  br label %141

141:                                              ; preds = %121, %120
  %142 = load ptr, ptr %30, align 8, !tbaa !10
  call void @free(ptr noundef %142) #5
  br label %143

143:                                              ; preds = %141, %111, %94
  %144 = load i32, ptr %28, align 4, !tbaa !5
  %145 = icmp eq i32 %144, -1010
  br i1 %145, label %146, label %148

146:                                              ; preds = %143
  %147 = load i32, ptr %28, align 4, !tbaa !5
  call void @LAPACKE_xerbla(ptr noundef @.str, i32 noundef %147)
  br label %148

148:                                              ; preds = %146, %143
  %149 = load i32, ptr %28, align 4, !tbaa !5
  store i32 %149, ptr %14, align 4
  store i32 1, ptr %36, align 4
  br label %150

150:                                              ; preds = %148, %72, %63, %54, %42
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  %151 = load i32, ptr %14, align 4
  ret i32 %151
}

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

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

declare i32 @LAPACKE_get_nancheck() #2

declare i32 @LAPACKE_dge_nancheck(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2

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

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

; 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}
!12 = !{!13, !13, i64 0}
!13 = !{!"double", !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 [16 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @LAPACKE_dtrsyl3(i32 noundef %0, i8 noundef signext %1, i8 noundef signext %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, i32 noundef %7, ptr noundef %8, i32 noundef %9, ptr noundef %10, i32 noundef %11, ptr noundef %12) local_unnamed_addr #0 {
  %14 = alloca [2 x double], align 16
  %15 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #5
  %16 = add i32 %0, -103
  %or.cond = icmp ult i32 %16, -2
  br i1 %or.cond, label %17, label %18

17:                                               ; preds = %13
  tail call void @LAPACKE_xerbla(ptr noundef nonnull @.str, i32 noundef -1) #5
  br label %51

18:                                               ; preds = %13
  %19 = tail call i32 @LAPACKE_get_nancheck() #5
  %.not = icmp eq i32 %19, 0
  br i1 %.not, label %26, label %20

20:                                               ; preds = %18
  %21 = tail call i32 @LAPACKE_dge_nancheck(i32 noundef %0, i32 noundef %4, i32 noundef %4, ptr noundef %6, i32 noundef %7) #5
  %.not65 = icmp eq i32 %21, 0
  br i1 %.not65, label %22, label %51

22:                                               ; preds = %20
  %23 = tail call i32 @LAPACKE_dge_nancheck(i32 noundef %0, i32 noundef %5, i32 noundef %5, ptr noundef %8, i32 noundef %9) #5
  %.not66 = icmp eq i32 %23, 0
  br i1 %.not66, label %24, label %51

24:                                               ; preds = %22
  %25 = tail call i32 @LAPACKE_dge_nancheck(i32 noundef %0, i32 noundef %4, i32 noundef %5, ptr noundef %10, i32 noundef %11) #5
  %.not67 = icmp eq i32 %25, 0
  br i1 %.not67, label %26, label %51

26:                                               ; preds = %24, %18
  %27 = call i32 @LAPACKE_dtrsyl3_work(i32 noundef %0, i8 noundef signext %1, i8 noundef signext %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, i32 noundef %7, ptr noundef %8, i32 noundef %9, ptr noundef %10, i32 noundef %11, ptr noundef %12, ptr noundef nonnull %15, i32 noundef -1, ptr noundef nonnull %14, i32 noundef -1) #5
  %.not68 = icmp eq i32 %27, 0
  br i1 %.not68, label %28, label %49

28:                                               ; preds = %26
  %29 = load double, ptr %14, align 16, !tbaa !5
  %30 = fptosi double %29 to i32
  %31 = sitofp i32 %30 to double
  %32 = getelementptr inbounds i8, ptr %14, i64 8
  %33 = load double, ptr %32, align 8, !tbaa !5
  %34 = fmul double %33, %31
  %35 = fptosi double %34 to i32
  %36 = sext i32 %35 to i64
  %37 = shl nsw i64 %36, 3
  %38 = call noalias ptr @malloc(i64 noundef %37) #6
  %39 = icmp eq ptr %38, null
  br i1 %39, label %.thread, label %40

40:                                               ; preds = %28
  %41 = load i32, ptr %15, align 4, !tbaa !9
  %42 = sext i32 %41 to i64
  %43 = shl nsw i64 %42, 2
  %44 = call noalias ptr @malloc(i64 noundef %43) #6
  %45 = icmp eq ptr %44, null
  br i1 %45, label %48, label %46

46:                                               ; preds = %40
  %47 = call i32 @LAPACKE_dtrsyl3_work(i32 noundef %0, i8 noundef signext %1, i8 noundef signext %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, i32 noundef %7, ptr noundef %8, i32 noundef %9, ptr noundef %10, i32 noundef %11, ptr noundef %12, ptr noundef nonnull %44, i32 noundef %41, ptr noundef nonnull %38, i32 noundef %30) #5
  call void @free(ptr noundef nonnull %44) #5
  br label %48

48:                                               ; preds = %40, %46
  %.0 = phi i32 [ %47, %46 ], [ -1010, %40 ]
  call void @free(ptr noundef nonnull %38) #5
  br label %49

49:                                               ; preds = %26, %48
  %.1 = phi i32 [ %27, %26 ], [ %.0, %48 ]
  %50 = icmp eq i32 %.1, -1010
  br i1 %50, label %.thread, label %51

.thread:                                          ; preds = %28, %49
  call void @LAPACKE_xerbla(ptr noundef nonnull @.str, i32 noundef -1010) #5
  br label %51

51:                                               ; preds = %49, %.thread, %24, %22, %20, %17
  %.061 = phi i32 [ -1, %17 ], [ -7, %20 ], [ -9, %22 ], [ -11, %24 ], [ -1010, %.thread ], [ %.1, %49 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #5
  ret i32 %.061
}

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

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

declare i32 @LAPACKE_get_nancheck() local_unnamed_addr #2

declare i32 @LAPACKE_dge_nancheck(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

declare i32 @LAPACKE_dtrsyl3_work(i32 noundef, i8 noundef signext, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, 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

; 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

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


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