; LLVM IR from OpenMathLib/OpenBLAS :: lapack-netlib/SRC (dpptri)

; 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 [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@c_b8 = external hidden global double, align 8
@c__1 = external hidden global i32, align 4
@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [10 x i8], align 1

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

25:                                               ; preds = %4
  %26 = load ptr, ptr %5, align 8, !tbaa !5
  %27 = call i32 @lsame_(ptr noundef %26, ptr noundef @.str.1)
  %28 = icmp ne i32 %27, 0
  br i1 %28, label %31, label %29

29:                                               ; preds = %25
  %30 = load ptr, ptr %8, align 8, !tbaa !5
  store i32 -1, ptr %30, align 4, !tbaa !9
  br label %38

31:                                               ; preds = %25, %4
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = load i32, ptr %32, align 4, !tbaa !9
  %34 = icmp slt i32 %33, 0
  br i1 %34, label %35, label %37

35:                                               ; preds = %31
  %36 = load ptr, ptr %8, align 8, !tbaa !5
  store i32 -2, ptr %36, align 4, !tbaa !9
  br label %37

37:                                               ; preds = %35, %31
  br label %38

38:                                               ; preds = %37, %29
  %39 = load ptr, ptr %8, align 8, !tbaa !5
  %40 = load i32, ptr %39, align 4, !tbaa !9
  %41 = icmp ne i32 %40, 0
  br i1 %41, label %42, label %47

42:                                               ; preds = %38
  %43 = load ptr, ptr %8, align 8, !tbaa !5
  %44 = load i32, ptr %43, align 4, !tbaa !9
  %45 = sub nsw i32 0, %44
  store i32 %45, ptr %9, align 4, !tbaa !9
  %46 = call i32 @xerbla_(ptr noundef @.str.2, ptr noundef %9, i32 noundef 6)
  store i32 1, ptr %17, align 4
  br label %161

47:                                               ; preds = %38
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = load i32, ptr %48, align 4, !tbaa !9
  %50 = icmp eq i32 %49, 0
  br i1 %50, label %51, label %52

51:                                               ; preds = %47
  store i32 1, ptr %17, align 4
  br label %161

52:                                               ; preds = %47
  %53 = load ptr, ptr %5, align 8, !tbaa !5
  %54 = load ptr, ptr %6, align 8, !tbaa !5
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = getelementptr inbounds double, ptr %55, i64 1
  %57 = load ptr, ptr %8, align 8, !tbaa !5
  call void @dtptri_(ptr noundef %53, ptr noundef @.str.3, ptr noundef %54, ptr noundef %56, ptr noundef %57)
  %58 = load ptr, ptr %8, align 8, !tbaa !5
  %59 = load i32, ptr %58, align 4, !tbaa !9
  %60 = icmp sgt i32 %59, 0
  br i1 %60, label %61, label %62

61:                                               ; preds = %52
  store i32 1, ptr %17, align 4
  br label %161

62:                                               ; preds = %52
  %63 = load i32, ptr %12, align 4, !tbaa !9
  %64 = icmp ne i32 %63, 0
  br i1 %64, label %65, label %103

65:                                               ; preds = %62
  store i32 0, ptr %14, align 4, !tbaa !9
  %66 = load ptr, ptr %6, align 8, !tbaa !5
  %67 = load i32, ptr %66, align 4, !tbaa !9
  store i32 %67, ptr %9, align 4, !tbaa !9
  store i32 1, ptr %11, align 4, !tbaa !9
  br label %68

68:                                               ; preds = %99, %65
  %69 = load i32, ptr %11, align 4, !tbaa !9
  %70 = load i32, ptr %9, align 4, !tbaa !9
  %71 = icmp sle i32 %69, %70
  br i1 %71, label %72, label %102

72:                                               ; preds = %68
  %73 = load i32, ptr %14, align 4, !tbaa !9
  %74 = add nsw i32 %73, 1
  store i32 %74, ptr %13, align 4, !tbaa !9
  %75 = load i32, ptr %11, align 4, !tbaa !9
  %76 = load i32, ptr %14, align 4, !tbaa !9
  %77 = add nsw i32 %76, %75
  store i32 %77, ptr %14, align 4, !tbaa !9
  %78 = load i32, ptr %11, align 4, !tbaa !9
  %79 = icmp sgt i32 %78, 1
  br i1 %79, label %80, label %89

80:                                               ; preds = %72
  %81 = load i32, ptr %11, align 4, !tbaa !9
  %82 = sub nsw i32 %81, 1
  store i32 %82, ptr %10, align 4, !tbaa !9
  %83 = load ptr, ptr %7, align 8, !tbaa !5
  %84 = load i32, ptr %13, align 4, !tbaa !9
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds double, ptr %83, i64 %85
  %87 = load ptr, ptr %7, align 8, !tbaa !5
  %88 = getelementptr inbounds double, ptr %87, i64 1
  call void @dspr_(ptr noundef @.str.4, ptr noundef %10, ptr noundef @c_b8, ptr noundef %86, ptr noundef @c__1, ptr noundef %88)
  br label %89

89:                                               ; preds = %80, %72
  %90 = load ptr, ptr %7, align 8, !tbaa !5
  %91 = load i32, ptr %14, align 4, !tbaa !9
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds double, ptr %90, i64 %92
  %94 = load double, ptr %93, align 8, !tbaa !11
  store double %94, ptr %15, align 8, !tbaa !11
  %95 = load ptr, ptr %7, align 8, !tbaa !5
  %96 = load i32, ptr %13, align 4, !tbaa !9
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds double, ptr %95, i64 %97
  call void @dscal_(ptr noundef %11, ptr noundef %15, ptr noundef %98, ptr noundef @c__1)
  br label %99

99:                                               ; preds = %89
  %100 = load i32, ptr %11, align 4, !tbaa !9
  %101 = add nsw i32 %100, 1
  store i32 %101, ptr %11, align 4, !tbaa !9
  br label %68, !llvm.loop !13

102:                                              ; preds = %68
  br label %160

103:                                              ; preds = %62
  store i32 1, ptr %14, align 4, !tbaa !9
  %104 = load ptr, ptr %6, align 8, !tbaa !5
  %105 = load i32, ptr %104, align 4, !tbaa !9
  store i32 %105, ptr %9, align 4, !tbaa !9
  store i32 1, ptr %11, align 4, !tbaa !9
  br label %106

106:                                              ; preds = %156, %103
  %107 = load i32, ptr %11, align 4, !tbaa !9
  %108 = load i32, ptr %9, align 4, !tbaa !9
  %109 = icmp sle i32 %107, %108
  br i1 %109, label %110, label %159

110:                                              ; preds = %106
  %111 = load i32, ptr %14, align 4, !tbaa !9
  %112 = load ptr, ptr %6, align 8, !tbaa !5
  %113 = load i32, ptr %112, align 4, !tbaa !9
  %114 = add nsw i32 %111, %113
  %115 = load i32, ptr %11, align 4, !tbaa !9
  %116 = sub nsw i32 %114, %115
  %117 = add nsw i32 %116, 1
  store i32 %117, ptr %16, align 4, !tbaa !9
  %118 = load ptr, ptr %6, align 8, !tbaa !5
  %119 = load i32, ptr %118, align 4, !tbaa !9
  %120 = load i32, ptr %11, align 4, !tbaa !9
  %121 = sub nsw i32 %119, %120
  %122 = add nsw i32 %121, 1
  store i32 %122, ptr %10, align 4, !tbaa !9
  %123 = load ptr, ptr %7, align 8, !tbaa !5
  %124 = load i32, ptr %14, align 4, !tbaa !9
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds double, ptr %123, i64 %125
  %127 = load ptr, ptr %7, align 8, !tbaa !5
  %128 = load i32, ptr %14, align 4, !tbaa !9
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds double, ptr %127, i64 %129
  %131 = call double @ddot_(ptr noundef %10, ptr noundef %126, ptr noundef @c__1, ptr noundef %130, ptr noundef @c__1)
  %132 = load ptr, ptr %7, align 8, !tbaa !5
  %133 = load i32, ptr %14, align 4, !tbaa !9
  %134 = sext i32 %133 to i64
  %135 = getelementptr inbounds double, ptr %132, i64 %134
  store double %131, ptr %135, align 8, !tbaa !11
  %136 = load i32, ptr %11, align 4, !tbaa !9
  %137 = load ptr, ptr %6, align 8, !tbaa !5
  %138 = load i32, ptr %137, align 4, !tbaa !9
  %139 = icmp slt i32 %136, %138
  br i1 %139, label %140, label %154

140:                                              ; preds = %110
  %141 = load ptr, ptr %6, align 8, !tbaa !5
  %142 = load i32, ptr %141, align 4, !tbaa !9
  %143 = load i32, ptr %11, align 4, !tbaa !9
  %144 = sub nsw i32 %142, %143
  store i32 %144, ptr %10, align 4, !tbaa !9
  %145 = load ptr, ptr %7, align 8, !tbaa !5
  %146 = load i32, ptr %16, align 4, !tbaa !9
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds double, ptr %145, i64 %147
  %149 = load ptr, ptr %7, align 8, !tbaa !5
  %150 = load i32, ptr %14, align 4, !tbaa !9
  %151 = add nsw i32 %150, 1
  %152 = sext i32 %151 to i64
  %153 = getelementptr inbounds double, ptr %149, i64 %152
  call void @dtpmv_(ptr noundef @.str.5, ptr noundef @.str.6, ptr noundef @.str.3, ptr noundef %10, ptr noundef %148, ptr noundef %153, ptr noundef @c__1)
  br label %154

154:                                              ; preds = %140, %110
  %155 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %155, ptr %14, align 4, !tbaa !9
  br label %156

156:                                              ; preds = %154
  %157 = load i32, ptr %11, align 4, !tbaa !9
  %158 = add nsw i32 %157, 1
  store i32 %158, ptr %11, align 4, !tbaa !9
  br label %106, !llvm.loop !15

159:                                              ; preds = %106
  br label %160

160:                                              ; preds = %159, %102
  store i32 1, ptr %17, align 4
  br label %161

161:                                              ; preds = %160, %61, %51, %42
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  ret void
}

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

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

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

declare void @dtptri_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

declare void @dspr_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

declare void @dscal_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

declare double @ddot_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

declare void @dtpmv_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

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

!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 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}


; 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 [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@c_b8 = external hidden global double, align 8
@c__1 = external hidden global i32, align 4
@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [10 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @dpptri_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
  %9 = getelementptr inbounds i8, ptr %2, i64 -8
  store i32 0, ptr %3, align 4, !tbaa !5
  %10 = tail call i32 @lsame_(ptr noundef %0, ptr noundef nonnull @.str) #3
  %.not = icmp eq i32 %10, 0
  br i1 %.not, label %11, label %13

11:                                               ; preds = %4
  %12 = tail call i32 @lsame_(ptr noundef %0, ptr noundef nonnull @.str.1) #3
  %.not48 = icmp eq i32 %12, 0
  br i1 %.not48, label %.thread.sink.split, label %13

13:                                               ; preds = %11, %4
  %14 = load i32, ptr %1, align 4, !tbaa !5
  %15 = icmp slt i32 %14, 0
  br i1 %15, label %.thread.sink.split, label %16

16:                                               ; preds = %13
  %.pr = load i32, ptr %3, align 4, !tbaa !5
  %.not49 = icmp eq i32 %.pr, 0
  br i1 %.not49, label %20, label %.thread

.thread.sink.split:                               ; preds = %13, %11
  %.sink = phi i32 [ -1, %11 ], [ -2, %13 ]
  store i32 %.sink, ptr %3, align 4, !tbaa !5
  br label %.thread

.thread:                                          ; preds = %.thread.sink.split, %16
  %17 = phi i32 [ %.pr, %16 ], [ %.sink, %.thread.sink.split ]
  %18 = sub nsw i32 0, %17
  store i32 %18, ptr %5, align 4, !tbaa !5
  %19 = call i32 @xerbla_(ptr noundef nonnull @.str.2, ptr noundef nonnull %5, i32 noundef 6) #3
  br label %.loopexit

20:                                               ; preds = %16
  %21 = icmp eq i32 %14, 0
  br i1 %21, label %.loopexit, label %22

22:                                               ; preds = %20
  tail call void @dtptri_(ptr noundef %0, ptr noundef nonnull @.str.3, ptr noundef nonnull %1, ptr noundef %2, ptr noundef nonnull %3) #3
  %23 = load i32, ptr %3, align 4, !tbaa !5
  %24 = icmp sgt i32 %23, 0
  br i1 %24, label %.loopexit, label %25

25:                                               ; preds = %22
  %26 = load i32, ptr %1, align 4, !tbaa !5
  br i1 %.not, label %42, label %27

27:                                               ; preds = %25
  store i32 1, ptr %7, align 4, !tbaa !5
  %.not5255 = icmp slt i32 %26, 1
  br i1 %.not5255, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %27, %35
  %.057 = phi i32 [ %29, %35 ], [ 0, %27 ]
  %storemerge5156 = phi i32 [ %41, %35 ], [ 1, %27 ]
  %28 = add nsw i32 %.057, 1
  %29 = add nsw i32 %.057, %storemerge5156
  %30 = icmp sgt i32 %storemerge5156, 1
  br i1 %30, label %31, label %.lr.ph._crit_edge

.lr.ph._crit_edge:                                ; preds = %.lr.ph
  %.pre = sext i32 %28 to i64
  br label %35

31:                                               ; preds = %.lr.ph
  %32 = add nsw i32 %storemerge5156, -1
  store i32 %32, ptr %6, align 4, !tbaa !5
  %33 = sext i32 %28 to i64
  %34 = getelementptr inbounds double, ptr %9, i64 %33
  call void @dspr_(ptr noundef nonnull @.str.4, ptr noundef nonnull %6, ptr noundef nonnull @c_b8, ptr noundef nonnull %34, ptr noundef nonnull @c__1, ptr noundef %2) #3
  br label %35

35:                                               ; preds = %.lr.ph._crit_edge, %31
  %.pre-phi = phi i64 [ %.pre, %.lr.ph._crit_edge ], [ %33, %31 ]
  %36 = sext i32 %29 to i64
  %37 = getelementptr inbounds double, ptr %9, i64 %36
  %38 = load double, ptr %37, align 8, !tbaa !9
  store double %38, ptr %8, align 8, !tbaa !9
  %39 = getelementptr inbounds double, ptr %9, i64 %.pre-phi
  call void @dscal_(ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %39, ptr noundef nonnull @c__1) #3
  %40 = load i32, ptr %7, align 4, !tbaa !5
  %41 = add nsw i32 %40, 1
  store i32 %41, ptr %7, align 4, !tbaa !5
  %.not52.not = icmp slt i32 %40, %26
  br i1 %.not52.not, label %.lr.ph, label %.loopexit, !llvm.loop !11

42:                                               ; preds = %25
  %.not5058 = icmp slt i32 %26, 1
  br i1 %.not5058, label %.loopexit, label %.lr.ph61

.lr.ph61:                                         ; preds = %42, %59
  %43 = phi i32 [ %60, %59 ], [ 1, %42 ]
  %storemerge.neg60 = phi i32 [ %storemerge.neg, %59 ], [ -1, %42 ]
  %.159 = phi i32 [ %47, %59 ], [ 1, %42 ]
  %44 = load i32, ptr %1, align 4, !tbaa !5
  %45 = add i32 %storemerge.neg60, 1
  %46 = add i32 %45, %.159
  %47 = add i32 %46, %44
  %48 = add i32 %45, %44
  store i32 %48, ptr %6, align 4, !tbaa !5
  %49 = sext i32 %.159 to i64
  %50 = getelementptr inbounds double, ptr %9, i64 %49
  %51 = call double @ddot_(ptr noundef nonnull %6, ptr noundef nonnull %50, ptr noundef nonnull @c__1, ptr noundef nonnull %50, ptr noundef nonnull @c__1) #3
  store double %51, ptr %50, align 8, !tbaa !9
  %52 = load i32, ptr %1, align 4, !tbaa !5
  %53 = icmp slt i32 %43, %52
  br i1 %53, label %54, label %59

54:                                               ; preds = %.lr.ph61
  %55 = sub nsw i32 %52, %43
  store i32 %55, ptr %6, align 4, !tbaa !5
  %56 = sext i32 %47 to i64
  %57 = getelementptr inbounds double, ptr %9, i64 %56
  %58 = getelementptr i8, ptr %50, i64 8
  call void @dtpmv_(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.3, ptr noundef nonnull %6, ptr noundef nonnull %57, ptr noundef %58, ptr noundef nonnull @c__1) #3
  br label %59

59:                                               ; preds = %54, %.lr.ph61
  %60 = add nuw nsw i32 %43, 1
  %storemerge.neg = xor i32 %43, -1
  %.not50.not = icmp slt i32 %43, %26
  br i1 %.not50.not, label %.lr.ph61, label %.loopexit, !llvm.loop !13

.loopexit:                                        ; preds = %35, %59, %27, %42, %22, %20, %.thread
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
  ret void
}

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

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

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

declare void @dtptri_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @dspr_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @dscal_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare double @ddot_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @dtpmv_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; 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 = { 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 = !{!"double", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}


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