; LLVM IR from niuyishuai/PDCABB :: LAPACK_BLAS/LAPACK (dsysv)

; 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
@c__1 = external hidden global i64, align 8
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1
@c_n1 = external hidden global i64, align 8
@.str.3 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @dsysv_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 {
  %12 = alloca i32, align 4
  %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 ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  %28 = alloca i64, align 8
  %29 = alloca i64, align 8
  %30 = alloca i64, align 8
  %31 = alloca i64, align 8
  %32 = alloca i32, align 4
  store ptr %0, ptr %13, align 8, !tbaa !5
  store ptr %1, ptr %14, align 8, !tbaa !5
  store ptr %2, ptr %15, align 8, !tbaa !5
  store ptr %3, ptr %16, align 8, !tbaa !5
  store ptr %4, ptr %17, align 8, !tbaa !5
  store ptr %5, ptr %18, align 8, !tbaa !5
  store ptr %6, ptr %19, align 8, !tbaa !5
  store ptr %7, ptr %20, align 8, !tbaa !5
  store ptr %8, ptr %21, align 8, !tbaa !5
  store ptr %9, ptr %22, align 8, !tbaa !5
  store ptr %10, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #3
  %33 = load ptr, ptr %17, align 8, !tbaa !5
  %34 = load i64, ptr %33, align 8, !tbaa !9
  store i64 %34, ptr %24, align 8, !tbaa !9
  %35 = load i64, ptr %24, align 8, !tbaa !9
  %36 = add nsw i64 1, %35
  store i64 %36, ptr %25, align 8, !tbaa !9
  %37 = load i64, ptr %25, align 8, !tbaa !9
  %38 = load ptr, ptr %16, align 8, !tbaa !5
  %39 = sub i64 0, %37
  %40 = getelementptr inbounds double, ptr %38, i64 %39
  store ptr %40, ptr %16, align 8, !tbaa !5
  %41 = load ptr, ptr %18, align 8, !tbaa !5
  %42 = getelementptr inbounds i64, ptr %41, i32 -1
  store ptr %42, ptr %18, align 8, !tbaa !5
  %43 = load ptr, ptr %20, align 8, !tbaa !5
  %44 = load i64, ptr %43, align 8, !tbaa !9
  store i64 %44, ptr %26, align 8, !tbaa !9
  %45 = load i64, ptr %26, align 8, !tbaa !9
  %46 = add nsw i64 1, %45
  store i64 %46, ptr %27, align 8, !tbaa !9
  %47 = load i64, ptr %27, align 8, !tbaa !9
  %48 = load ptr, ptr %19, align 8, !tbaa !5
  %49 = sub i64 0, %47
  %50 = getelementptr inbounds double, ptr %48, i64 %49
  store ptr %50, ptr %19, align 8, !tbaa !5
  %51 = load ptr, ptr %21, align 8, !tbaa !5
  %52 = getelementptr inbounds double, ptr %51, i32 -1
  store ptr %52, ptr %21, align 8, !tbaa !5
  %53 = load ptr, ptr %23, align 8, !tbaa !5
  store i64 0, ptr %53, align 8, !tbaa !9
  %54 = load ptr, ptr %22, align 8, !tbaa !5
  %55 = load i64, ptr %54, align 8, !tbaa !9
  %56 = icmp eq i64 %55, -1
  %57 = zext i1 %56 to i32
  %58 = sext i32 %57 to i64
  store i64 %58, ptr %31, align 8, !tbaa !9
  %59 = load ptr, ptr %13, align 8, !tbaa !5
  %60 = call i64 @lsame_(ptr noundef %59, ptr noundef @.str)
  %61 = icmp ne i64 %60, 0
  br i1 %61, label %68, label %62

62:                                               ; preds = %11
  %63 = load ptr, ptr %13, align 8, !tbaa !5
  %64 = call i64 @lsame_(ptr noundef %63, ptr noundef @.str.1)
  %65 = icmp ne i64 %64, 0
  br i1 %65, label %68, label %66

66:                                               ; preds = %62
  %67 = load ptr, ptr %23, align 8, !tbaa !5
  store i64 -1, ptr %67, align 8, !tbaa !9
  br label %124

68:                                               ; preds = %62, %11
  %69 = load ptr, ptr %14, align 8, !tbaa !5
  %70 = load i64, ptr %69, align 8, !tbaa !9
  %71 = icmp slt i64 %70, 0
  br i1 %71, label %72, label %74

72:                                               ; preds = %68
  %73 = load ptr, ptr %23, align 8, !tbaa !5
  store i64 -2, ptr %73, align 8, !tbaa !9
  br label %123

74:                                               ; preds = %68
  %75 = load ptr, ptr %15, align 8, !tbaa !5
  %76 = load i64, ptr %75, align 8, !tbaa !9
  %77 = icmp slt i64 %76, 0
  br i1 %77, label %78, label %80

78:                                               ; preds = %74
  %79 = load ptr, ptr %23, align 8, !tbaa !5
  store i64 -3, ptr %79, align 8, !tbaa !9
  br label %122

80:                                               ; preds = %74
  %81 = load ptr, ptr %17, align 8, !tbaa !5
  %82 = load i64, ptr %81, align 8, !tbaa !9
  %83 = load ptr, ptr %14, align 8, !tbaa !5
  %84 = load i64, ptr %83, align 8, !tbaa !9
  %85 = icmp sge i64 1, %84
  br i1 %85, label %86, label %87

86:                                               ; preds = %80
  br label %90

87:                                               ; preds = %80
  %88 = load ptr, ptr %14, align 8, !tbaa !5
  %89 = load i64, ptr %88, align 8, !tbaa !9
  br label %90

90:                                               ; preds = %87, %86
  %91 = phi i64 [ 1, %86 ], [ %89, %87 ]
  %92 = icmp slt i64 %82, %91
  br i1 %92, label %93, label %95

93:                                               ; preds = %90
  %94 = load ptr, ptr %23, align 8, !tbaa !5
  store i64 -5, ptr %94, align 8, !tbaa !9
  br label %121

95:                                               ; preds = %90
  %96 = load ptr, ptr %20, align 8, !tbaa !5
  %97 = load i64, ptr %96, align 8, !tbaa !9
  %98 = load ptr, ptr %14, align 8, !tbaa !5
  %99 = load i64, ptr %98, align 8, !tbaa !9
  %100 = icmp sge i64 1, %99
  br i1 %100, label %101, label %102

101:                                              ; preds = %95
  br label %105

102:                                              ; preds = %95
  %103 = load ptr, ptr %14, align 8, !tbaa !5
  %104 = load i64, ptr %103, align 8, !tbaa !9
  br label %105

105:                                              ; preds = %102, %101
  %106 = phi i64 [ 1, %101 ], [ %104, %102 ]
  %107 = icmp slt i64 %97, %106
  br i1 %107, label %108, label %110

108:                                              ; preds = %105
  %109 = load ptr, ptr %23, align 8, !tbaa !5
  store i64 -8, ptr %109, align 8, !tbaa !9
  br label %120

110:                                              ; preds = %105
  %111 = load ptr, ptr %22, align 8, !tbaa !5
  %112 = load i64, ptr %111, align 8, !tbaa !9
  %113 = icmp slt i64 %112, 1
  br i1 %113, label %114, label %119

114:                                              ; preds = %110
  %115 = load i64, ptr %31, align 8, !tbaa !9
  %116 = icmp ne i64 %115, 0
  br i1 %116, label %119, label %117

117:                                              ; preds = %114
  %118 = load ptr, ptr %23, align 8, !tbaa !5
  store i64 -10, ptr %118, align 8, !tbaa !9
  br label %119

119:                                              ; preds = %117, %114, %110
  br label %120

120:                                              ; preds = %119, %108
  br label %121

121:                                              ; preds = %120, %93
  br label %122

122:                                              ; preds = %121, %78
  br label %123

123:                                              ; preds = %122, %72
  br label %124

124:                                              ; preds = %123, %66
  %125 = load ptr, ptr %23, align 8, !tbaa !5
  %126 = load i64, ptr %125, align 8, !tbaa !9
  %127 = icmp eq i64 %126, 0
  br i1 %127, label %128, label %146

128:                                              ; preds = %124
  %129 = load ptr, ptr %14, align 8, !tbaa !5
  %130 = load i64, ptr %129, align 8, !tbaa !9
  %131 = icmp eq i64 %130, 0
  br i1 %131, label %132, label %133

132:                                              ; preds = %128
  store i64 1, ptr %30, align 8, !tbaa !9
  br label %141

133:                                              ; preds = %128
  %134 = load ptr, ptr %13, align 8, !tbaa !5
  %135 = load ptr, ptr %14, align 8, !tbaa !5
  %136 = call i64 @ilaenv_(ptr noundef @c__1, ptr noundef @.str.2, ptr noundef %134, ptr noundef %135, ptr noundef @c_n1, ptr noundef @c_n1, ptr noundef @c_n1)
  store i64 %136, ptr %29, align 8, !tbaa !9
  %137 = load ptr, ptr %14, align 8, !tbaa !5
  %138 = load i64, ptr %137, align 8, !tbaa !9
  %139 = load i64, ptr %29, align 8, !tbaa !9
  %140 = mul nsw i64 %138, %139
  store i64 %140, ptr %30, align 8, !tbaa !9
  br label %141

141:                                              ; preds = %133, %132
  %142 = load i64, ptr %30, align 8, !tbaa !9
  %143 = sitofp i64 %142 to double
  %144 = load ptr, ptr %21, align 8, !tbaa !5
  %145 = getelementptr inbounds double, ptr %144, i64 1
  store double %143, ptr %145, align 8, !tbaa !11
  br label %146

146:                                              ; preds = %141, %124
  %147 = load ptr, ptr %23, align 8, !tbaa !5
  %148 = load i64, ptr %147, align 8, !tbaa !9
  %149 = icmp ne i64 %148, 0
  br i1 %149, label %150, label %155

150:                                              ; preds = %146
  %151 = load ptr, ptr %23, align 8, !tbaa !5
  %152 = load i64, ptr %151, align 8, !tbaa !9
  %153 = sub nsw i64 0, %152
  store i64 %153, ptr %28, align 8, !tbaa !9
  %154 = call i32 @xerbla_(ptr noundef @.str.3, ptr noundef %28)
  store i32 0, ptr %12, align 4
  store i32 1, ptr %32, align 4
  br label %198

155:                                              ; preds = %146
  %156 = load i64, ptr %31, align 8, !tbaa !9
  %157 = icmp ne i64 %156, 0
  br i1 %157, label %158, label %159

158:                                              ; preds = %155
  store i32 0, ptr %12, align 4
  store i32 1, ptr %32, align 4
  br label %198

159:                                              ; preds = %155
  br label %160

160:                                              ; preds = %159
  %161 = load ptr, ptr %13, align 8, !tbaa !5
  %162 = load ptr, ptr %14, align 8, !tbaa !5
  %163 = load ptr, ptr %16, align 8, !tbaa !5
  %164 = load i64, ptr %25, align 8, !tbaa !9
  %165 = getelementptr inbounds double, ptr %163, i64 %164
  %166 = load ptr, ptr %17, align 8, !tbaa !5
  %167 = load ptr, ptr %18, align 8, !tbaa !5
  %168 = getelementptr inbounds i64, ptr %167, i64 1
  %169 = load ptr, ptr %21, align 8, !tbaa !5
  %170 = getelementptr inbounds double, ptr %169, i64 1
  %171 = load ptr, ptr %22, align 8, !tbaa !5
  %172 = load ptr, ptr %23, align 8, !tbaa !5
  %173 = call i32 @dsytrf_(ptr noundef %161, ptr noundef %162, ptr noundef %165, ptr noundef %166, ptr noundef %168, ptr noundef %170, ptr noundef %171, ptr noundef %172)
  %174 = load ptr, ptr %23, align 8, !tbaa !5
  %175 = load i64, ptr %174, align 8, !tbaa !9
  %176 = icmp eq i64 %175, 0
  br i1 %176, label %177, label %193

177:                                              ; preds = %160
  %178 = load ptr, ptr %13, align 8, !tbaa !5
  %179 = load ptr, ptr %14, align 8, !tbaa !5
  %180 = load ptr, ptr %15, align 8, !tbaa !5
  %181 = load ptr, ptr %16, align 8, !tbaa !5
  %182 = load i64, ptr %25, align 8, !tbaa !9
  %183 = getelementptr inbounds double, ptr %181, i64 %182
  %184 = load ptr, ptr %17, align 8, !tbaa !5
  %185 = load ptr, ptr %18, align 8, !tbaa !5
  %186 = getelementptr inbounds i64, ptr %185, i64 1
  %187 = load ptr, ptr %19, align 8, !tbaa !5
  %188 = load i64, ptr %27, align 8, !tbaa !9
  %189 = getelementptr inbounds double, ptr %187, i64 %188
  %190 = load ptr, ptr %20, align 8, !tbaa !5
  %191 = load ptr, ptr %23, align 8, !tbaa !5
  %192 = call i32 @dsytrs_(ptr noundef %178, ptr noundef %179, ptr noundef %180, ptr noundef %183, ptr noundef %184, ptr noundef %186, ptr noundef %189, ptr noundef %190, ptr noundef %191)
  br label %193

193:                                              ; preds = %177, %160
  %194 = load i64, ptr %30, align 8, !tbaa !9
  %195 = sitofp i64 %194 to double
  %196 = load ptr, ptr %21, align 8, !tbaa !5
  %197 = getelementptr inbounds double, ptr %196, i64 1
  store double %195, ptr %197, align 8, !tbaa !11
  store i32 0, ptr %12, align 4
  store i32 1, ptr %32, align 4
  br label %198

198:                                              ; preds = %193, %158, %150
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #3
  %199 = load i32, ptr %12, align 4
  ret i32 %199
}

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

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

declare i64 @ilaenv_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

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

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

declare i32 @dsytrs_(ptr noundef, ptr noundef, 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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"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 [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@c__1 = external hidden global i64, align 8
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1
@c_n1 = external hidden global i64, align 8
@.str.3 = external hidden unnamed_addr constant [7 x i8], align 1

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

16:                                               ; preds = %11
  %17 = tail call i64 @lsame_(ptr noundef %0, ptr noundef nonnull @.str.1) #4
  %.not68 = icmp eq i64 %17, 0
  br i1 %.not68, label %.thread73.sink.split, label %18

18:                                               ; preds = %16, %11
  %19 = load i64, ptr %1, align 8, !tbaa !5
  %20 = icmp slt i64 %19, 0
  br i1 %20, label %.thread73.sink.split, label %21

21:                                               ; preds = %18
  %22 = load i64, ptr %2, align 8, !tbaa !5
  %23 = icmp slt i64 %22, 0
  br i1 %23, label %.thread73.sink.split, label %24

24:                                               ; preds = %21
  %25 = load i64, ptr %4, align 8, !tbaa !5
  %spec.select = tail call i64 @llvm.umax.i64(i64 %19, i64 1)
  %26 = icmp slt i64 %25, %spec.select
  br i1 %26, label %.thread73.sink.split, label %27

27:                                               ; preds = %24
  %28 = load i64, ptr %7, align 8, !tbaa !5
  %29 = icmp slt i64 %28, %spec.select
  br i1 %29, label %.thread73.sink.split, label %30

30:                                               ; preds = %27
  %31 = load i64, ptr %9, align 8, !tbaa !5
  %32 = icmp sgt i64 %31, 0
  %or.cond = select i1 %32, i1 true, i1 %14
  br i1 %or.cond, label %33, label %.thread73.sink.split

33:                                               ; preds = %30
  %.pr = load i64, ptr %10, align 8, !tbaa !5
  %34 = icmp eq i64 %.pr, 0
  br i1 %34, label %35, label %.thread73

35:                                               ; preds = %33
  %36 = icmp eq i64 %19, 0
  br i1 %36, label %.thread.thread79, label %.thread

.thread.thread79:                                 ; preds = %35
  store double 1.000000e+00, ptr %8, align 8, !tbaa !9
  br label %44

.thread:                                          ; preds = %35
  %37 = tail call i64 @ilaenv_(ptr noundef nonnull @c__1, ptr noundef nonnull @.str.2, ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull @c_n1, ptr noundef nonnull @c_n1, ptr noundef nonnull @c_n1) #4
  %38 = load i64, ptr %1, align 8, !tbaa !5
  %39 = mul nsw i64 %38, %37
  %40 = sitofp i64 %39 to double
  %.pr72.pr.pr = load i64, ptr %10, align 8, !tbaa !5
  store double %40, ptr %8, align 8, !tbaa !9
  %.not69 = icmp eq i64 %.pr72.pr.pr, 0
  br i1 %.not69, label %44, label %.thread73

.thread73.sink.split:                             ; preds = %30, %27, %24, %21, %18, %16
  %.sink = phi i64 [ -1, %16 ], [ -2, %18 ], [ -3, %21 ], [ -5, %24 ], [ -8, %27 ], [ -10, %30 ]
  store i64 %.sink, ptr %10, align 8, !tbaa !5
  br label %.thread73

.thread73:                                        ; preds = %.thread73.sink.split, %33, %.thread
  %41 = phi i64 [ %.pr72.pr.pr, %.thread ], [ %.pr, %33 ], [ %.sink, %.thread73.sink.split ]
  %42 = sub nsw i64 0, %41
  store i64 %42, ptr %12, align 8, !tbaa !5
  %43 = call i32 @xerbla_(ptr noundef nonnull @.str.3, ptr noundef nonnull %12) #4
  br label %52

44:                                               ; preds = %.thread.thread79, %.thread
  %.06583 = phi double [ 1.000000e+00, %.thread.thread79 ], [ %40, %.thread ]
  br i1 %14, label %52, label %45

45:                                               ; preds = %44
  %46 = tail call i32 @dsytrf_(ptr noundef %0, ptr noundef nonnull %1, ptr noundef %3, ptr noundef nonnull %4, ptr noundef %5, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %10) #4
  %47 = load i64, ptr %10, align 8, !tbaa !5
  %48 = icmp eq i64 %47, 0
  br i1 %48, label %49, label %51

49:                                               ; preds = %45
  %50 = tail call i32 @dsytrs_(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef %3, ptr noundef nonnull %4, ptr noundef %5, ptr noundef %6, ptr noundef nonnull %7, ptr noundef nonnull %10) #4
  br label %51

51:                                               ; preds = %49, %45
  store double %.06583, ptr %8, align 8, !tbaa !9
  br label %52

52:                                               ; preds = %44, %51, %.thread73
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #4
  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

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

declare i64 @ilaenv_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

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

declare i32 @dsytrs_(ptr noundef, ptr noundef, 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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umax.i64(i64, i64) #3

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


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