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

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

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

53:                                               ; preds = %12
  %54 = load ptr, ptr %14, align 8, !tbaa !5
  %55 = call i64 @lsame_(ptr noundef %54, ptr noundef @.str)
  %56 = icmp ne i64 %55, 0
  br label %57

57:                                               ; preds = %53, %12
  %58 = phi i1 [ true, %12 ], [ %56, %53 ]
  %59 = zext i1 %58 to i32
  %60 = sext i32 %59 to i64
  store i64 %60, ptr %32, align 8, !tbaa !9
  %61 = load i64, ptr %32, align 8, !tbaa !9
  %62 = icmp ne i64 %61, 0
  br i1 %62, label %69, label %63

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

67:                                               ; preds = %63
  %68 = load ptr, ptr %25, align 8, !tbaa !5
  store i64 -1, ptr %68, align 8, !tbaa !9
  br label %83

69:                                               ; preds = %63, %57
  %70 = load ptr, ptr %15, align 8, !tbaa !5
  %71 = load i64, ptr %70, align 8, !tbaa !9
  %72 = icmp slt i64 %71, 0
  br i1 %72, label %73, label %75

73:                                               ; preds = %69
  %74 = load ptr, ptr %25, align 8, !tbaa !5
  store i64 -2, ptr %74, align 8, !tbaa !9
  br label %82

75:                                               ; preds = %69
  %76 = load ptr, ptr %21, align 8, !tbaa !5
  %77 = load double, ptr %76, align 8, !tbaa !12
  %78 = fcmp olt double %77, 0.000000e+00
  br i1 %78, label %79, label %81

79:                                               ; preds = %75
  %80 = load ptr, ptr %25, align 8, !tbaa !5
  store i64 -8, ptr %80, align 8, !tbaa !9
  br label %81

81:                                               ; preds = %79, %75
  br label %82

82:                                               ; preds = %81, %73
  br label %83

83:                                               ; preds = %82, %67
  %84 = load ptr, ptr %25, align 8, !tbaa !5
  %85 = load i64, ptr %84, align 8, !tbaa !9
  %86 = icmp ne i64 %85, 0
  br i1 %86, label %87, label %92

87:                                               ; preds = %83
  %88 = load ptr, ptr %25, align 8, !tbaa !5
  %89 = load i64, ptr %88, align 8, !tbaa !9
  %90 = sub nsw i64 0, %89
  store i64 %90, ptr %26, align 8, !tbaa !9
  %91 = call i32 @xerbla_(ptr noundef @.str.2, ptr noundef %26)
  store i32 0, ptr %13, align 4
  store i32 1, ptr %33, align 4
  br label %194

92:                                               ; preds = %83
  %93 = load ptr, ptr %22, align 8, !tbaa !5
  store double 0.000000e+00, ptr %93, align 8, !tbaa !12
  %94 = load ptr, ptr %15, align 8, !tbaa !5
  %95 = load i64, ptr %94, align 8, !tbaa !9
  %96 = icmp eq i64 %95, 0
  br i1 %96, label %97, label %99

97:                                               ; preds = %92
  %98 = load ptr, ptr %22, align 8, !tbaa !5
  store double 1.000000e+00, ptr %98, align 8, !tbaa !12
  store i32 0, ptr %13, align 4
  store i32 1, ptr %33, align 4
  br label %194

99:                                               ; preds = %92
  %100 = load ptr, ptr %21, align 8, !tbaa !5
  %101 = load double, ptr %100, align 8, !tbaa !12
  %102 = fcmp oeq double %101, 0.000000e+00
  br i1 %102, label %103, label %104

103:                                              ; preds = %99
  store i32 0, ptr %13, align 4
  store i32 1, ptr %33, align 4
  br label %194

104:                                              ; preds = %99
  br label %105

105:                                              ; preds = %104
  %106 = load ptr, ptr %15, align 8, !tbaa !5
  %107 = load i64, ptr %106, align 8, !tbaa !9
  store i64 %107, ptr %26, align 8, !tbaa !9
  store i64 1, ptr %27, align 8, !tbaa !9
  br label %108

108:                                              ; preds = %120, %105
  %109 = load i64, ptr %27, align 8, !tbaa !9
  %110 = load i64, ptr %26, align 8, !tbaa !9
  %111 = icmp sle i64 %109, %110
  br i1 %111, label %112, label %123

112:                                              ; preds = %108
  %113 = load ptr, ptr %17, align 8, !tbaa !5
  %114 = load i64, ptr %27, align 8, !tbaa !9
  %115 = getelementptr inbounds double, ptr %113, i64 %114
  %116 = load double, ptr %115, align 8, !tbaa !12
  %117 = fcmp oeq double %116, 0.000000e+00
  br i1 %117, label %118, label %119

118:                                              ; preds = %112
  store i32 0, ptr %13, align 4
  store i32 1, ptr %33, align 4
  br label %194

119:                                              ; preds = %112
  br label %120

120:                                              ; preds = %119
  %121 = load i64, ptr %27, align 8, !tbaa !9
  %122 = add nsw i64 %121, 1
  store i64 %122, ptr %27, align 8, !tbaa !9
  br label %108, !llvm.loop !14

123:                                              ; preds = %108
  store double 0.000000e+00, ptr %31, align 8, !tbaa !12
  %124 = load i64, ptr %32, align 8, !tbaa !9
  %125 = icmp ne i64 %124, 0
  br i1 %125, label %126, label %127

126:                                              ; preds = %123
  store i64 1, ptr %29, align 8, !tbaa !9
  br label %128

127:                                              ; preds = %123
  store i64 2, ptr %29, align 8, !tbaa !9
  br label %128

128:                                              ; preds = %127, %126
  store i64 0, ptr %28, align 8, !tbaa !9
  br label %129

129:                                              ; preds = %182, %128
  %130 = load ptr, ptr %15, align 8, !tbaa !5
  %131 = load ptr, ptr %23, align 8, !tbaa !5
  %132 = load ptr, ptr %15, align 8, !tbaa !5
  %133 = load i64, ptr %132, align 8, !tbaa !9
  %134 = add nsw i64 %133, 1
  %135 = getelementptr inbounds double, ptr %131, i64 %134
  %136 = load ptr, ptr %23, align 8, !tbaa !5
  %137 = getelementptr inbounds double, ptr %136, i64 1
  %138 = load ptr, ptr %24, align 8, !tbaa !5
  %139 = getelementptr inbounds i64, ptr %138, i64 1
  %140 = getelementptr inbounds [3 x i64], ptr %30, i64 0, i64 0
  %141 = call i32 @dlacn2_(ptr noundef %130, ptr noundef %135, ptr noundef %137, ptr noundef %139, ptr noundef %31, ptr noundef %28, ptr noundef %140)
  %142 = load i64, ptr %28, align 8, !tbaa !9
  %143 = icmp ne i64 %142, 0
  br i1 %143, label %144, label %183

144:                                              ; preds = %129
  %145 = load i64, ptr %28, align 8, !tbaa !9
  %146 = load i64, ptr %29, align 8, !tbaa !9
  %147 = icmp eq i64 %145, %146
  br i1 %147, label %148, label %165

148:                                              ; preds = %144
  %149 = load ptr, ptr %15, align 8, !tbaa !5
  %150 = load ptr, ptr %16, align 8, !tbaa !5
  %151 = getelementptr inbounds double, ptr %150, i64 1
  %152 = load ptr, ptr %17, align 8, !tbaa !5
  %153 = getelementptr inbounds double, ptr %152, i64 1
  %154 = load ptr, ptr %18, align 8, !tbaa !5
  %155 = getelementptr inbounds double, ptr %154, i64 1
  %156 = load ptr, ptr %19, align 8, !tbaa !5
  %157 = getelementptr inbounds double, ptr %156, i64 1
  %158 = load ptr, ptr %20, align 8, !tbaa !5
  %159 = getelementptr inbounds i64, ptr %158, i64 1
  %160 = load ptr, ptr %23, align 8, !tbaa !5
  %161 = getelementptr inbounds double, ptr %160, i64 1
  %162 = load ptr, ptr %15, align 8, !tbaa !5
  %163 = load ptr, ptr %25, align 8, !tbaa !5
  %164 = call i32 @dgttrs_(ptr noundef @.str.3, ptr noundef %149, ptr noundef @c__1, ptr noundef %151, ptr noundef %153, ptr noundef %155, ptr noundef %157, ptr noundef %159, ptr noundef %161, ptr noundef %162, ptr noundef %163)
  br label %182

165:                                              ; preds = %144
  %166 = load ptr, ptr %15, align 8, !tbaa !5
  %167 = load ptr, ptr %16, align 8, !tbaa !5
  %168 = getelementptr inbounds double, ptr %167, i64 1
  %169 = load ptr, ptr %17, align 8, !tbaa !5
  %170 = getelementptr inbounds double, ptr %169, i64 1
  %171 = load ptr, ptr %18, align 8, !tbaa !5
  %172 = getelementptr inbounds double, ptr %171, i64 1
  %173 = load ptr, ptr %19, align 8, !tbaa !5
  %174 = getelementptr inbounds double, ptr %173, i64 1
  %175 = load ptr, ptr %20, align 8, !tbaa !5
  %176 = getelementptr inbounds i64, ptr %175, i64 1
  %177 = load ptr, ptr %23, align 8, !tbaa !5
  %178 = getelementptr inbounds double, ptr %177, i64 1
  %179 = load ptr, ptr %15, align 8, !tbaa !5
  %180 = load ptr, ptr %25, align 8, !tbaa !5
  %181 = call i32 @dgttrs_(ptr noundef @.str.4, ptr noundef %166, ptr noundef @c__1, ptr noundef %168, ptr noundef %170, ptr noundef %172, ptr noundef %174, ptr noundef %176, ptr noundef %178, ptr noundef %179, ptr noundef %180)
  br label %182

182:                                              ; preds = %165, %148
  br label %129

183:                                              ; preds = %129
  %184 = load double, ptr %31, align 8, !tbaa !12
  %185 = fcmp une double %184, 0.000000e+00
  br i1 %185, label %186, label %193

186:                                              ; preds = %183
  %187 = load double, ptr %31, align 8, !tbaa !12
  %188 = fdiv double 1.000000e+00, %187
  %189 = load ptr, ptr %21, align 8, !tbaa !5
  %190 = load double, ptr %189, align 8, !tbaa !12
  %191 = fdiv double %188, %190
  %192 = load ptr, ptr %22, align 8, !tbaa !5
  store double %191, ptr %192, align 8, !tbaa !12
  br label %193

193:                                              ; preds = %186, %183
  store i32 0, ptr %13, align 4
  store i32 1, ptr %33, align 4
  br label %194

194:                                              ; preds = %193, %118, %103, %97, %87
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #3
  call void @llvm.lifetime.end.p0(i64 24, 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
  %195 = load i32, ptr %13, align 4
  ret i32 %195
}

; 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 i32 @xerbla_(ptr noundef, ptr noundef) #2

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

declare i32 @dgttrs_(ptr noundef, ptr noundef, 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 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"double", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}


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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @dgtcon_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr nocapture noundef readonly %7, ptr nocapture noundef writeonly %8, ptr noundef %9, ptr noundef %10, ptr noundef %11) local_unnamed_addr #0 {
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca [3 x i64], align 16
  %16 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #3
  %17 = getelementptr inbounds i8, ptr %3, i64 -8
  store i64 0, ptr %11, align 8, !tbaa !5
  %18 = load i8, ptr %0, align 1, !tbaa !9
  %19 = icmp eq i8 %18, 49
  br i1 %19, label %.thread, label %20

20:                                               ; preds = %12
  %21 = tail call i64 @lsame_(ptr noundef nonnull %0, ptr noundef nonnull @.str) #3
  %.not66 = icmp eq i64 %21, 0
  br i1 %.not66, label %22, label %.thread

22:                                               ; preds = %20
  %23 = tail call i64 @lsame_(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #3
  %.not = icmp eq i64 %23, 0
  br i1 %.not, label %.thread64.sink.split, label %.thread

.thread:                                          ; preds = %12, %22, %20
  %. = phi i64 [ 2, %22 ], [ 1, %20 ], [ 1, %12 ]
  %24 = load i64, ptr %1, align 8, !tbaa !5
  %25 = icmp slt i64 %24, 0
  br i1 %25, label %.thread64.sink.split, label %26

26:                                               ; preds = %.thread
  %27 = load double, ptr %7, align 8, !tbaa !10
  %28 = fcmp olt double %27, 0.000000e+00
  br i1 %28, label %.thread64.sink.split, label %29

29:                                               ; preds = %26
  %.pr = load i64, ptr %11, align 8, !tbaa !5
  %.not60 = icmp eq i64 %.pr, 0
  br i1 %.not60, label %33, label %.thread64

.thread64.sink.split:                             ; preds = %26, %.thread, %22
  %.sink = phi i64 [ -1, %22 ], [ -2, %.thread ], [ -8, %26 ]
  store i64 %.sink, ptr %11, align 8, !tbaa !5
  br label %.thread64

.thread64:                                        ; preds = %.thread64.sink.split, %29
  %30 = phi i64 [ %.pr, %29 ], [ %.sink, %.thread64.sink.split ]
  %31 = sub nsw i64 0, %30
  store i64 %31, ptr %13, align 8, !tbaa !5
  %32 = call i32 @xerbla_(ptr noundef nonnull @.str.2, ptr noundef nonnull %13) #3
  br label %.loopexit

33:                                               ; preds = %29
  store double 0.000000e+00, ptr %8, align 8, !tbaa !10
  %34 = icmp eq i64 %24, 0
  br i1 %34, label %35, label %36

35:                                               ; preds = %33
  store double 1.000000e+00, ptr %8, align 8, !tbaa !10
  br label %.loopexit

36:                                               ; preds = %33
  %37 = load double, ptr %7, align 8, !tbaa !10
  %38 = fcmp oeq double %37, 0.000000e+00
  br i1 %38, label %.loopexit, label %.lr.ph

39:                                               ; preds = %.lr.ph
  %40 = add nuw i64 %.05668, 1
  %exitcond.not = icmp eq i64 %.05668, %24
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !12

.lr.ph:                                           ; preds = %36, %39
  %.05668 = phi i64 [ %40, %39 ], [ 1, %36 ]
  %41 = getelementptr inbounds double, ptr %17, i64 %.05668
  %42 = load double, ptr %41, align 8, !tbaa !10
  %43 = fcmp oeq double %42, 0.000000e+00
  br i1 %43, label %.loopexit, label %39

._crit_edge:                                      ; preds = %39
  store double 0.000000e+00, ptr %16, align 8, !tbaa !10
  store i64 0, ptr %14, align 8, !tbaa !5
  %44 = getelementptr double, ptr %9, i64 %24
  %45 = call i32 @dlacn2_(ptr noundef nonnull %1, ptr noundef %44, ptr noundef %9, ptr noundef %10, ptr noundef nonnull %16, ptr noundef nonnull %14, ptr noundef nonnull %15) #3
  %46 = load i64, ptr %14, align 8, !tbaa !5
  %.not6269 = icmp eq i64 %46, 0
  br i1 %.not6269, label %._crit_edge72, label %.lr.ph71

.lr.ph71:                                         ; preds = %._crit_edge, %.lr.ph71
  %47 = phi i64 [ %53, %.lr.ph71 ], [ %46, %._crit_edge ]
  %48 = icmp eq i64 %47, %.
  %.str.3..str.4 = select i1 %48, ptr @.str.3, ptr @.str.4
  %49 = call i32 @dgttrs_(ptr noundef nonnull %.str.3..str.4, ptr noundef nonnull %1, ptr noundef nonnull @c__1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %9, ptr noundef nonnull %1, ptr noundef nonnull %11) #3
  %50 = load i64, ptr %1, align 8, !tbaa !5
  %51 = getelementptr double, ptr %9, i64 %50
  %52 = call i32 @dlacn2_(ptr noundef nonnull %1, ptr noundef %51, ptr noundef %9, ptr noundef %10, ptr noundef nonnull %16, ptr noundef nonnull %14, ptr noundef nonnull %15) #3
  %53 = load i64, ptr %14, align 8, !tbaa !5
  %.not62 = icmp eq i64 %53, 0
  br i1 %.not62, label %._crit_edge72, label %.lr.ph71

._crit_edge72:                                    ; preds = %.lr.ph71, %._crit_edge
  %54 = load double, ptr %16, align 8, !tbaa !10
  %55 = fcmp une double %54, 0.000000e+00
  br i1 %55, label %56, label %.loopexit

56:                                               ; preds = %._crit_edge72
  %57 = fdiv double 1.000000e+00, %54
  %58 = load double, ptr %7, align 8, !tbaa !10
  %59 = fdiv double %57, %58
  store double %59, ptr %8, align 8, !tbaa !10
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph, %._crit_edge72, %56, %36, %35, %.thread64
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #3
  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 i32 @xerbla_(ptr noundef, ptr noundef) local_unnamed_addr #2

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

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

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


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