; LLVM IR from rdguez-mariano/fast_imas_IPOL :: libUSAC/utils/FundmatrixFunctions.ll (ZN6FTools14nullspaceQR7x9EPKdPd)

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN6FTools14nullspaceQR7x9EPKdPd(ptr noundef %0, ptr noundef %1) #2 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca [63 x double], align 16
  %11 = alloca [9 x double], align 16
  %12 = alloca [28 x double], align 16
  %13 = alloca [9 x i32], align 16
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca double, align 8
  %22 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 7, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 9, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 504, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 72, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 224, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 36, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  store i32 28, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  store i32 2, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %23, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %24

24:                                               ; preds = %50, %2
  %25 = load i32, ptr %8, align 4, !tbaa !9
  %26 = icmp slt i32 %25, 7
  br i1 %26, label %27, label %53

27:                                               ; preds = %24
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %28

28:                                               ; preds = %46, %27
  %29 = load i32, ptr %9, align 4, !tbaa !9
  %30 = icmp slt i32 %29, 9
  br i1 %30, label %31, label %49

31:                                               ; preds = %28
  %32 = load ptr, ptr %4, align 8, !tbaa !5
  %33 = load i32, ptr %8, align 4, !tbaa !9
  %34 = mul nsw i32 9, %33
  %35 = load i32, ptr %9, align 4, !tbaa !9
  %36 = add nsw i32 %34, %35
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds double, ptr %32, i64 %37
  %39 = load double, ptr %38, align 8, !tbaa !11
  %40 = load i32, ptr %8, align 4, !tbaa !9
  %41 = load i32, ptr %9, align 4, !tbaa !9
  %42 = mul nsw i32 7, %41
  %43 = add nsw i32 %40, %42
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds [63 x double], ptr %10, i64 0, i64 %44
  store double %39, ptr %45, align 8, !tbaa !11
  br label %46

46:                                               ; preds = %31
  %47 = load i32, ptr %9, align 4, !tbaa !9
  %48 = add nsw i32 %47, 1
  store i32 %48, ptr %9, align 4, !tbaa !9
  br label %28, !llvm.loop !13

49:                                               ; preds = %28
  br label %50

50:                                               ; preds = %49
  %51 = load i32, ptr %8, align 4, !tbaa !9
  %52 = add nsw i32 %51, 1
  store i32 %52, ptr %8, align 4, !tbaa !9
  br label %24, !llvm.loop !15

53:                                               ; preds = %24
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %54

54:                                               ; preds = %61, %53
  %55 = load i32, ptr %9, align 4, !tbaa !9
  %56 = icmp slt i32 %55, 9
  br i1 %56, label %57, label %64

57:                                               ; preds = %54
  %58 = load i32, ptr %9, align 4, !tbaa !9
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds [9 x i32], ptr %13, i64 0, i64 %59
  store i32 0, ptr %60, align 4, !tbaa !9
  br label %61

61:                                               ; preds = %57
  %62 = load i32, ptr %9, align 4, !tbaa !9
  %63 = add nsw i32 %62, 1
  store i32 %63, ptr %9, align 4, !tbaa !9
  br label %54, !llvm.loop !16

64:                                               ; preds = %54
  %65 = getelementptr inbounds [63 x double], ptr %10, i64 0, i64 0
  %66 = getelementptr inbounds [9 x i32], ptr %13, i64 0, i64 0
  %67 = getelementptr inbounds [9 x double], ptr %11, i64 0, i64 0
  %68 = getelementptr inbounds [28 x double], ptr %12, i64 0, i64 0
  %69 = call i32 @dgeqp3_(ptr noundef %6, ptr noundef %7, ptr noundef %65, ptr noundef %6, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %14, ptr noundef %15)
  %70 = load i32, ptr %15, align 4, !tbaa !9
  %71 = icmp ne i32 %70, 0
  br i1 %71, label %72, label %73

72:                                               ; preds = %64
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %22, align 4
  br label %183

73:                                               ; preds = %64
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %74

74:                                               ; preds = %83, %73
  %75 = load i32, ptr %9, align 4, !tbaa !9
  %76 = icmp slt i32 %75, 9
  br i1 %76, label %77, label %86

77:                                               ; preds = %74
  %78 = load i32, ptr %9, align 4, !tbaa !9
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds [9 x i32], ptr %13, i64 0, i64 %79
  %81 = load i32, ptr %80, align 4, !tbaa !9
  %82 = add nsw i32 %81, -1
  store i32 %82, ptr %80, align 4, !tbaa !9
  br label %83

83:                                               ; preds = %77
  %84 = load i32, ptr %9, align 4, !tbaa !9
  %85 = add nsw i32 %84, 1
  store i32 %85, ptr %9, align 4, !tbaa !9
  br label %74, !llvm.loop !17

86:                                               ; preds = %74
  store i32 1, ptr %17, align 4, !tbaa !9
  br label %87

87:                                               ; preds = %179, %86
  %88 = load i32, ptr %17, align 4, !tbaa !9
  %89 = load i32, ptr %16, align 4, !tbaa !9
  %90 = icmp sle i32 %88, %89
  br i1 %90, label %91, label %182

91:                                               ; preds = %87
  store i32 7, ptr %19, align 4, !tbaa !9
  br label %92

92:                                               ; preds = %103, %91
  %93 = load i32, ptr %19, align 4, !tbaa !9
  %94 = icmp slt i32 %93, 9
  br i1 %94, label %95, label %106

95:                                               ; preds = %92
  %96 = load ptr, ptr %20, align 8, !tbaa !5
  %97 = load i32, ptr %19, align 4, !tbaa !9
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds [9 x i32], ptr %13, i64 0, i64 %98
  %100 = load i32, ptr %99, align 4, !tbaa !9
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds double, ptr %96, i64 %101
  store double 0.000000e+00, ptr %102, align 8, !tbaa !11
  br label %103

103:                                              ; preds = %95
  %104 = load i32, ptr %19, align 4, !tbaa !9
  %105 = add nsw i32 %104, 1
  store i32 %105, ptr %19, align 4, !tbaa !9
  br label %92, !llvm.loop !18

106:                                              ; preds = %92
  %107 = load ptr, ptr %20, align 8, !tbaa !5
  %108 = load i32, ptr %17, align 4, !tbaa !9
  %109 = sub nsw i32 9, %108
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds [9 x i32], ptr %13, i64 0, i64 %110
  %112 = load i32, ptr %111, align 4, !tbaa !9
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds double, ptr %107, i64 %113
  store double 1.000000e+00, ptr %114, align 8, !tbaa !11
  store i32 6, ptr %18, align 4, !tbaa !9
  br label %115

115:                                              ; preds = %173, %106
  %116 = load i32, ptr %18, align 4, !tbaa !9
  %117 = icmp sge i32 %116, 0
  br i1 %117, label %118, label %176

118:                                              ; preds = %115
  store double 0.000000e+00, ptr %21, align 8, !tbaa !11
  %119 = load i32, ptr %18, align 4, !tbaa !9
  %120 = mul nsw i32 %119, 7
  %121 = load i32, ptr %18, align 4, !tbaa !9
  %122 = add nsw i32 %120, %121
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds [63 x double], ptr %10, i64 0, i64 %123
  %125 = load double, ptr %124, align 8, !tbaa !11
  %126 = fcmp oeq double %125, 0.000000e+00
  br i1 %126, label %127, label %128

127:                                              ; preds = %118
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %22, align 4
  br label %183

128:                                              ; preds = %118
  %129 = load i32, ptr %18, align 4, !tbaa !9
  %130 = add nsw i32 %129, 1
  store i32 %130, ptr %19, align 4, !tbaa !9
  br label %131

131:                                              ; preds = %152, %128
  %132 = load i32, ptr %19, align 4, !tbaa !9
  %133 = icmp slt i32 %132, 9
  br i1 %133, label %134, label %155

134:                                              ; preds = %131
  %135 = load i32, ptr %19, align 4, !tbaa !9
  %136 = mul nsw i32 %135, 7
  %137 = load i32, ptr %18, align 4, !tbaa !9
  %138 = add nsw i32 %136, %137
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds [63 x double], ptr %10, i64 0, i64 %139
  %141 = load double, ptr %140, align 8, !tbaa !11
  %142 = load ptr, ptr %20, align 8, !tbaa !5
  %143 = load i32, ptr %19, align 4, !tbaa !9
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds [9 x i32], ptr %13, i64 0, i64 %144
  %146 = load i32, ptr %145, align 4, !tbaa !9
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds double, ptr %142, i64 %147
  %149 = load double, ptr %148, align 8, !tbaa !11
  %150 = load double, ptr %21, align 8, !tbaa !11
  %151 = call double @llvm.fmuladd.f64(double %141, double %149, double %150)
  store double %151, ptr %21, align 8, !tbaa !11
  br label %152

152:                                              ; preds = %134
  %153 = load i32, ptr %19, align 4, !tbaa !9
  %154 = add nsw i32 %153, 1
  store i32 %154, ptr %19, align 4, !tbaa !9
  br label %131, !llvm.loop !19

155:                                              ; preds = %131
  %156 = load double, ptr %21, align 8, !tbaa !11
  %157 = fneg double %156
  %158 = load i32, ptr %18, align 4, !tbaa !9
  %159 = mul nsw i32 %158, 7
  %160 = load i32, ptr %18, align 4, !tbaa !9
  %161 = add nsw i32 %159, %160
  %162 = sext i32 %161 to i64
  %163 = getelementptr inbounds [63 x double], ptr %10, i64 0, i64 %162
  %164 = load double, ptr %163, align 8, !tbaa !11
  %165 = fdiv double %157, %164
  %166 = load ptr, ptr %20, align 8, !tbaa !5
  %167 = load i32, ptr %18, align 4, !tbaa !9
  %168 = sext i32 %167 to i64
  %169 = getelementptr inbounds [9 x i32], ptr %13, i64 0, i64 %168
  %170 = load i32, ptr %169, align 4, !tbaa !9
  %171 = sext i32 %170 to i64
  %172 = getelementptr inbounds double, ptr %166, i64 %171
  store double %165, ptr %172, align 8, !tbaa !11
  br label %173

173:                                              ; preds = %155
  %174 = load i32, ptr %18, align 4, !tbaa !9
  %175 = add nsw i32 %174, -1
  store i32 %175, ptr %18, align 4, !tbaa !9
  br label %115, !llvm.loop !20

176:                                              ; preds = %115
  %177 = load ptr, ptr %20, align 8, !tbaa !5
  %178 = getelementptr inbounds double, ptr %177, i64 9
  store ptr %178, ptr %20, align 8, !tbaa !5
  br label %179

179:                                              ; preds = %176
  %180 = load i32, ptr %17, align 4, !tbaa !9
  %181 = add nsw i32 %180, 1
  store i32 %181, ptr %17, align 4, !tbaa !9
  br label %87, !llvm.loop !21

182:                                              ; preds = %87
  store i32 0, ptr %3, align 4
  store i32 1, ptr %22, align 4
  br label %183

183:                                              ; preds = %182, %127, %72
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 36, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 224, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 72, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 504, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  %184 = load i32, ptr %3, align 4
  ret i32 %184
}

declare i32 @dgeqp3_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { mustprogress 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 #3 = { "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 }

!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++ 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}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !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"

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 -1, 1) i32 @_ZN6FTools14nullspaceQR7x9EPKdPd(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) local_unnamed_addr #2 {
.preheader56:
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca [63 x double], align 16
  %5 = alloca [9 x double], align 16
  %6 = alloca [28 x double], align 16
  %7 = alloca [9 x i32], align 16
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #5
  store i32 7, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  store i32 9, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 504, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 224, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #5
  store i32 28, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #5
  %10 = load double, ptr %0, align 8, !tbaa !9
  store double %10, ptr %4, align 16, !tbaa !9
  %11 = getelementptr inbounds i8, ptr %0, i64 8
  %12 = load double, ptr %11, align 8, !tbaa !9
  %13 = getelementptr inbounds i8, ptr %4, i64 56
  store double %12, ptr %13, align 8, !tbaa !9
  %14 = getelementptr inbounds i8, ptr %0, i64 16
  %15 = load double, ptr %14, align 8, !tbaa !9
  %16 = getelementptr inbounds i8, ptr %4, i64 112
  store double %15, ptr %16, align 16, !tbaa !9
  %17 = getelementptr inbounds i8, ptr %0, i64 24
  %18 = load double, ptr %17, align 8, !tbaa !9
  %19 = getelementptr inbounds i8, ptr %4, i64 168
  store double %18, ptr %19, align 8, !tbaa !9
  %20 = getelementptr inbounds i8, ptr %0, i64 32
  %21 = load double, ptr %20, align 8, !tbaa !9
  %22 = getelementptr inbounds i8, ptr %4, i64 224
  store double %21, ptr %22, align 16, !tbaa !9
  %23 = getelementptr inbounds i8, ptr %0, i64 40
  %24 = load double, ptr %23, align 8, !tbaa !9
  %25 = getelementptr inbounds i8, ptr %4, i64 280
  store double %24, ptr %25, align 8, !tbaa !9
  %26 = getelementptr inbounds i8, ptr %0, i64 48
  %27 = load double, ptr %26, align 8, !tbaa !9
  %28 = getelementptr inbounds i8, ptr %4, i64 336
  store double %27, ptr %28, align 16, !tbaa !9
  %29 = getelementptr inbounds i8, ptr %0, i64 56
  %30 = load double, ptr %29, align 8, !tbaa !9
  %31 = getelementptr inbounds i8, ptr %4, i64 392
  store double %30, ptr %31, align 8, !tbaa !9
  %32 = getelementptr inbounds i8, ptr %0, i64 64
  %33 = load double, ptr %32, align 8, !tbaa !9
  %34 = getelementptr inbounds i8, ptr %4, i64 448
  store double %33, ptr %34, align 16, !tbaa !9
  %35 = getelementptr inbounds i8, ptr %0, i64 72
  %36 = load double, ptr %35, align 8, !tbaa !9
  %37 = getelementptr inbounds i8, ptr %4, i64 8
  store double %36, ptr %37, align 8, !tbaa !9
  %38 = getelementptr inbounds i8, ptr %0, i64 80
  %39 = load double, ptr %38, align 8, !tbaa !9
  %40 = getelementptr inbounds i8, ptr %4, i64 64
  store double %39, ptr %40, align 16, !tbaa !9
  %41 = getelementptr inbounds i8, ptr %0, i64 88
  %42 = load double, ptr %41, align 8, !tbaa !9
  %43 = getelementptr inbounds i8, ptr %4, i64 120
  store double %42, ptr %43, align 8, !tbaa !9
  %44 = getelementptr inbounds i8, ptr %0, i64 96
  %45 = load double, ptr %44, align 8, !tbaa !9
  %46 = getelementptr inbounds i8, ptr %4, i64 176
  store double %45, ptr %46, align 16, !tbaa !9
  %47 = getelementptr inbounds i8, ptr %0, i64 104
  %48 = load double, ptr %47, align 8, !tbaa !9
  %49 = getelementptr inbounds i8, ptr %4, i64 232
  store double %48, ptr %49, align 8, !tbaa !9
  %50 = getelementptr inbounds i8, ptr %0, i64 112
  %51 = load double, ptr %50, align 8, !tbaa !9
  %52 = getelementptr inbounds i8, ptr %4, i64 288
  store double %51, ptr %52, align 16, !tbaa !9
  %53 = getelementptr inbounds i8, ptr %0, i64 120
  %54 = load double, ptr %53, align 8, !tbaa !9
  %55 = getelementptr inbounds i8, ptr %4, i64 344
  store double %54, ptr %55, align 8, !tbaa !9
  %56 = getelementptr inbounds i8, ptr %0, i64 128
  %57 = load double, ptr %56, align 8, !tbaa !9
  %58 = getelementptr inbounds i8, ptr %4, i64 400
  store double %57, ptr %58, align 16, !tbaa !9
  %59 = getelementptr inbounds i8, ptr %0, i64 136
  %60 = load double, ptr %59, align 8, !tbaa !9
  %61 = getelementptr inbounds i8, ptr %4, i64 456
  store double %60, ptr %61, align 8, !tbaa !9
  %62 = getelementptr inbounds i8, ptr %0, i64 144
  %63 = load double, ptr %62, align 8, !tbaa !9
  %64 = getelementptr inbounds i8, ptr %4, i64 16
  store double %63, ptr %64, align 16, !tbaa !9
  %65 = getelementptr inbounds i8, ptr %0, i64 152
  %66 = load double, ptr %65, align 8, !tbaa !9
  %67 = getelementptr inbounds i8, ptr %4, i64 72
  store double %66, ptr %67, align 8, !tbaa !9
  %68 = getelementptr inbounds i8, ptr %0, i64 160
  %69 = load double, ptr %68, align 8, !tbaa !9
  %70 = getelementptr inbounds i8, ptr %4, i64 128
  store double %69, ptr %70, align 16, !tbaa !9
  %71 = getelementptr inbounds i8, ptr %0, i64 168
  %72 = load double, ptr %71, align 8, !tbaa !9
  %73 = getelementptr inbounds i8, ptr %4, i64 184
  store double %72, ptr %73, align 8, !tbaa !9
  %74 = getelementptr inbounds i8, ptr %0, i64 176
  %75 = load double, ptr %74, align 8, !tbaa !9
  %76 = getelementptr inbounds i8, ptr %4, i64 240
  store double %75, ptr %76, align 16, !tbaa !9
  %77 = getelementptr inbounds i8, ptr %0, i64 184
  %78 = load double, ptr %77, align 8, !tbaa !9
  %79 = getelementptr inbounds i8, ptr %4, i64 296
  store double %78, ptr %79, align 8, !tbaa !9
  %80 = getelementptr inbounds i8, ptr %0, i64 192
  %81 = load double, ptr %80, align 8, !tbaa !9
  %82 = getelementptr inbounds i8, ptr %4, i64 352
  store double %81, ptr %82, align 16, !tbaa !9
  %83 = getelementptr inbounds i8, ptr %0, i64 200
  %84 = load double, ptr %83, align 8, !tbaa !9
  %85 = getelementptr inbounds i8, ptr %4, i64 408
  store double %84, ptr %85, align 8, !tbaa !9
  %86 = getelementptr inbounds i8, ptr %0, i64 208
  %87 = load double, ptr %86, align 8, !tbaa !9
  %88 = getelementptr inbounds i8, ptr %4, i64 464
  store double %87, ptr %88, align 16, !tbaa !9
  %89 = getelementptr inbounds i8, ptr %0, i64 216
  %90 = load double, ptr %89, align 8, !tbaa !9
  %91 = getelementptr inbounds i8, ptr %4, i64 24
  store double %90, ptr %91, align 8, !tbaa !9
  %92 = getelementptr inbounds i8, ptr %0, i64 224
  %93 = load double, ptr %92, align 8, !tbaa !9
  %94 = getelementptr inbounds i8, ptr %4, i64 80
  store double %93, ptr %94, align 16, !tbaa !9
  %95 = getelementptr inbounds i8, ptr %0, i64 232
  %96 = load double, ptr %95, align 8, !tbaa !9
  %97 = getelementptr inbounds i8, ptr %4, i64 136
  store double %96, ptr %97, align 8, !tbaa !9
  %98 = getelementptr inbounds i8, ptr %0, i64 240
  %99 = load double, ptr %98, align 8, !tbaa !9
  %100 = getelementptr inbounds i8, ptr %4, i64 192
  store double %99, ptr %100, align 16, !tbaa !9
  %101 = getelementptr inbounds i8, ptr %0, i64 248
  %102 = load double, ptr %101, align 8, !tbaa !9
  %103 = getelementptr inbounds i8, ptr %4, i64 248
  store double %102, ptr %103, align 8, !tbaa !9
  %104 = getelementptr inbounds i8, ptr %0, i64 256
  %105 = load double, ptr %104, align 8, !tbaa !9
  %106 = getelementptr inbounds i8, ptr %4, i64 304
  store double %105, ptr %106, align 16, !tbaa !9
  %107 = getelementptr inbounds i8, ptr %0, i64 264
  %108 = load double, ptr %107, align 8, !tbaa !9
  %109 = getelementptr inbounds i8, ptr %4, i64 360
  store double %108, ptr %109, align 8, !tbaa !9
  %110 = getelementptr inbounds i8, ptr %0, i64 272
  %111 = load double, ptr %110, align 8, !tbaa !9
  %112 = getelementptr inbounds i8, ptr %4, i64 416
  store double %111, ptr %112, align 16, !tbaa !9
  %113 = getelementptr inbounds i8, ptr %0, i64 280
  %114 = load double, ptr %113, align 8, !tbaa !9
  %115 = getelementptr inbounds i8, ptr %4, i64 472
  store double %114, ptr %115, align 8, !tbaa !9
  %116 = getelementptr inbounds i8, ptr %0, i64 288
  %117 = load double, ptr %116, align 8, !tbaa !9
  %118 = getelementptr inbounds i8, ptr %4, i64 32
  store double %117, ptr %118, align 16, !tbaa !9
  %119 = getelementptr inbounds i8, ptr %0, i64 296
  %120 = load double, ptr %119, align 8, !tbaa !9
  %121 = getelementptr inbounds i8, ptr %4, i64 88
  store double %120, ptr %121, align 8, !tbaa !9
  %122 = getelementptr inbounds i8, ptr %0, i64 304
  %123 = load double, ptr %122, align 8, !tbaa !9
  %124 = getelementptr inbounds i8, ptr %4, i64 144
  store double %123, ptr %124, align 16, !tbaa !9
  %125 = getelementptr inbounds i8, ptr %0, i64 312
  %126 = load double, ptr %125, align 8, !tbaa !9
  %127 = getelementptr inbounds i8, ptr %4, i64 200
  store double %126, ptr %127, align 8, !tbaa !9
  %128 = getelementptr inbounds i8, ptr %0, i64 320
  %129 = load double, ptr %128, align 8, !tbaa !9
  %130 = getelementptr inbounds i8, ptr %4, i64 256
  store double %129, ptr %130, align 16, !tbaa !9
  %131 = getelementptr inbounds i8, ptr %0, i64 328
  %132 = load double, ptr %131, align 8, !tbaa !9
  %133 = getelementptr inbounds i8, ptr %4, i64 312
  store double %132, ptr %133, align 8, !tbaa !9
  %134 = getelementptr inbounds i8, ptr %0, i64 336
  %135 = load double, ptr %134, align 8, !tbaa !9
  %136 = getelementptr inbounds i8, ptr %4, i64 368
  store double %135, ptr %136, align 16, !tbaa !9
  %137 = getelementptr inbounds i8, ptr %0, i64 344
  %138 = load double, ptr %137, align 8, !tbaa !9
  %139 = getelementptr inbounds i8, ptr %4, i64 424
  store double %138, ptr %139, align 8, !tbaa !9
  %140 = getelementptr inbounds i8, ptr %0, i64 352
  %141 = load double, ptr %140, align 8, !tbaa !9
  %142 = getelementptr inbounds i8, ptr %4, i64 480
  store double %141, ptr %142, align 16, !tbaa !9
  %143 = getelementptr inbounds i8, ptr %0, i64 360
  %144 = load double, ptr %143, align 8, !tbaa !9
  %145 = getelementptr inbounds i8, ptr %4, i64 40
  store double %144, ptr %145, align 8, !tbaa !9
  %146 = getelementptr inbounds i8, ptr %0, i64 368
  %147 = load double, ptr %146, align 8, !tbaa !9
  %148 = getelementptr inbounds i8, ptr %4, i64 96
  store double %147, ptr %148, align 16, !tbaa !9
  %149 = getelementptr inbounds i8, ptr %0, i64 376
  %150 = load double, ptr %149, align 8, !tbaa !9
  %151 = getelementptr inbounds i8, ptr %4, i64 152
  store double %150, ptr %151, align 8, !tbaa !9
  %152 = getelementptr inbounds i8, ptr %0, i64 384
  %153 = load double, ptr %152, align 8, !tbaa !9
  %154 = getelementptr inbounds i8, ptr %4, i64 208
  store double %153, ptr %154, align 16, !tbaa !9
  %155 = getelementptr inbounds i8, ptr %0, i64 392
  %156 = load double, ptr %155, align 8, !tbaa !9
  %157 = getelementptr inbounds i8, ptr %4, i64 264
  store double %156, ptr %157, align 8, !tbaa !9
  %158 = getelementptr inbounds i8, ptr %0, i64 400
  %159 = load double, ptr %158, align 8, !tbaa !9
  %160 = getelementptr inbounds i8, ptr %4, i64 320
  store double %159, ptr %160, align 16, !tbaa !9
  %161 = getelementptr inbounds i8, ptr %0, i64 408
  %162 = load double, ptr %161, align 8, !tbaa !9
  %163 = getelementptr inbounds i8, ptr %4, i64 376
  store double %162, ptr %163, align 8, !tbaa !9
  %164 = getelementptr inbounds i8, ptr %0, i64 416
  %165 = load double, ptr %164, align 8, !tbaa !9
  %166 = getelementptr inbounds i8, ptr %4, i64 432
  store double %165, ptr %166, align 16, !tbaa !9
  %167 = getelementptr inbounds i8, ptr %0, i64 424
  %168 = load double, ptr %167, align 8, !tbaa !9
  %169 = getelementptr inbounds i8, ptr %4, i64 488
  store double %168, ptr %169, align 8, !tbaa !9
  %170 = getelementptr inbounds i8, ptr %0, i64 432
  %171 = load double, ptr %170, align 8, !tbaa !9
  %172 = getelementptr inbounds i8, ptr %4, i64 48
  store double %171, ptr %172, align 16, !tbaa !9
  %173 = getelementptr inbounds i8, ptr %0, i64 440
  %174 = load double, ptr %173, align 8, !tbaa !9
  %175 = getelementptr inbounds i8, ptr %4, i64 104
  store double %174, ptr %175, align 8, !tbaa !9
  %176 = getelementptr inbounds i8, ptr %0, i64 448
  %177 = load double, ptr %176, align 8, !tbaa !9
  %178 = getelementptr inbounds i8, ptr %4, i64 160
  store double %177, ptr %178, align 16, !tbaa !9
  %179 = getelementptr inbounds i8, ptr %0, i64 456
  %180 = load double, ptr %179, align 8, !tbaa !9
  %181 = getelementptr inbounds i8, ptr %4, i64 216
  store double %180, ptr %181, align 8, !tbaa !9
  %182 = getelementptr inbounds i8, ptr %0, i64 464
  %183 = load double, ptr %182, align 8, !tbaa !9
  %184 = getelementptr inbounds i8, ptr %4, i64 272
  store double %183, ptr %184, align 16, !tbaa !9
  %185 = getelementptr inbounds i8, ptr %0, i64 472
  %186 = load double, ptr %185, align 8, !tbaa !9
  %187 = getelementptr inbounds i8, ptr %4, i64 328
  store double %186, ptr %187, align 8, !tbaa !9
  %188 = getelementptr inbounds i8, ptr %0, i64 480
  %189 = load double, ptr %188, align 8, !tbaa !9
  %190 = getelementptr inbounds i8, ptr %4, i64 384
  store double %189, ptr %190, align 16, !tbaa !9
  %191 = getelementptr inbounds i8, ptr %0, i64 488
  %192 = load double, ptr %191, align 8, !tbaa !9
  %193 = getelementptr inbounds i8, ptr %4, i64 440
  store double %192, ptr %193, align 8, !tbaa !9
  %194 = getelementptr inbounds i8, ptr %0, i64 496
  %195 = load double, ptr %194, align 8, !tbaa !9
  %196 = getelementptr inbounds i8, ptr %4, i64 496
  store double %195, ptr %196, align 16, !tbaa !9
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(36) %7, i8 0, i64 36, i1 false), !tbaa !5
  %197 = call i32 @dgeqp3_(ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %2, ptr noundef nonnull %7, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %8, ptr noundef nonnull %9)
  %198 = load i32, ptr %9, align 4, !tbaa !5
  %.not = icmp eq i32 %198, 0
  br i1 %.not, label %.preheader54.preheader, label %.loopexit

.preheader54.preheader:                           ; preds = %.preheader56
  %199 = load <4 x i32>, ptr %7, align 16, !tbaa !5
  %200 = add nsw <4 x i32> %199, <i32 -1, i32 -1, i32 -1, i32 -1>
  store <4 x i32> %200, ptr %7, align 16, !tbaa !5
  %201 = getelementptr inbounds i8, ptr %7, i64 16
  %202 = load <4 x i32>, ptr %201, align 16, !tbaa !5
  %203 = add nsw <4 x i32> %202, <i32 -1, i32 -1, i32 -1, i32 -1>
  store <4 x i32> %203, ptr %201, align 16, !tbaa !5
  %204 = getelementptr inbounds i8, ptr %7, i64 32
  %205 = load i32, ptr %204, align 16, !tbaa !5
  %206 = add nsw i32 %205, -1
  store i32 %206, ptr %204, align 16, !tbaa !5
  %.pre = load double, ptr %190, align 16, !tbaa !9
  %207 = extractelement <4 x i32> %203, i64 3
  %208 = sext i32 %207 to i64
  %209 = sext i32 %206 to i64
  %210 = fcmp oeq double %.pre, 0.000000e+00
  %211 = load double, ptr %196, align 16
  %212 = load double, ptr %193, align 8
  %213 = extractelement <4 x i32> %203, i64 2
  %214 = sext i32 %213 to i64
  %215 = load double, ptr %160, align 16
  %216 = fcmp oeq double %215, 0.000000e+00
  %217 = load double, ptr %169, align 8
  %218 = load double, ptr %166, align 16
  %219 = load double, ptr %163, align 8
  %220 = extractelement <4 x i32> %203, i64 1
  %221 = sext i32 %220 to i64
  %222 = load double, ptr %130, align 16
  %223 = fcmp oeq double %222, 0.000000e+00
  %224 = load double, ptr %142, align 16
  %225 = load double, ptr %139, align 8
  %226 = load double, ptr %136, align 16
  %227 = load double, ptr %133, align 8
  %228 = extractelement <4 x i32> %203, i64 0
  %229 = sext i32 %228 to i64
  %230 = load double, ptr %100, align 16
  %231 = fcmp oeq double %230, 0.000000e+00
  %232 = load double, ptr %115, align 8
  %233 = load double, ptr %112, align 16
  %234 = load double, ptr %109, align 8
  %235 = load double, ptr %106, align 16
  %236 = load double, ptr %103, align 8
  %237 = extractelement <4 x i32> %200, i64 3
  %238 = sext i32 %237 to i64
  %239 = load double, ptr %70, align 16
  %240 = fcmp oeq double %239, 0.000000e+00
  %241 = load double, ptr %88, align 16
  %242 = load double, ptr %85, align 8
  %243 = load double, ptr %82, align 16
  %244 = load double, ptr %79, align 8
  %245 = load double, ptr %76, align 16
  %246 = load double, ptr %73, align 8
  %247 = extractelement <4 x i32> %200, i64 2
  %248 = sext i32 %247 to i64
  %249 = load double, ptr %40, align 16
  %250 = fcmp oeq double %249, 0.000000e+00
  %251 = load double, ptr %61, align 8
  %252 = load double, ptr %58, align 16
  %253 = load double, ptr %55, align 8
  %254 = load double, ptr %52, align 16
  %255 = load double, ptr %49, align 8
  %256 = load double, ptr %46, align 16
  %257 = load double, ptr %43, align 8
  %258 = extractelement <4 x i32> %200, i64 1
  %259 = sext i32 %258 to i64
  %260 = load double, ptr %4, align 16
  %261 = fcmp oeq double %260, 0.000000e+00
  %262 = load double, ptr %34, align 16
  %263 = load double, ptr %31, align 8
  %264 = load double, ptr %28, align 16
  %265 = load double, ptr %25, align 8
  %266 = load double, ptr %22, align 16
  %267 = load double, ptr %19, align 8
  %268 = load double, ptr %16, align 16
  %269 = load double, ptr %13, align 8
  %270 = extractelement <4 x i32> %200, i64 0
  %271 = sext i32 %270 to i64
  %272 = getelementptr inbounds double, ptr %1, i64 %208
  store double 0.000000e+00, ptr %272, align 8, !tbaa !9
  %273 = getelementptr inbounds double, ptr %1, i64 %209
  store double 0.000000e+00, ptr %273, align 8, !tbaa !9
  %274 = getelementptr inbounds i8, ptr %7, i64 32
  %275 = load i32, ptr %274, align 16, !tbaa !5
  %276 = sext i32 %275 to i64
  %277 = getelementptr inbounds double, ptr %1, i64 %276
  store double 1.000000e+00, ptr %277, align 8, !tbaa !9
  br i1 %210, label %.loopexit, label %._crit_edge

._crit_edge:                                      ; preds = %.preheader54.preheader
  %278 = load double, ptr %273, align 8, !tbaa !9
  %279 = load double, ptr %272, align 8, !tbaa !9
  %280 = call double @llvm.fmuladd.f64(double %212, double %279, double 0.000000e+00)
  %281 = call double @llvm.fmuladd.f64(double %211, double %278, double %280)
  %282 = fneg double %281
  %283 = fdiv double %282, %.pre
  %284 = getelementptr inbounds double, ptr %1, i64 %214
  store double %283, ptr %284, align 8, !tbaa !9
  br i1 %216, label %.loopexit, label %._crit_edge.1

._crit_edge.1:                                    ; preds = %._crit_edge
  %285 = load double, ptr %273, align 8, !tbaa !9
  %286 = load double, ptr %272, align 8, !tbaa !9
  %287 = call double @llvm.fmuladd.f64(double %219, double %283, double 0.000000e+00)
  %288 = call double @llvm.fmuladd.f64(double %218, double %286, double %287)
  %289 = call double @llvm.fmuladd.f64(double %217, double %285, double %288)
  %290 = fneg double %289
  %291 = fdiv double %290, %215
  %292 = getelementptr inbounds double, ptr %1, i64 %221
  store double %291, ptr %292, align 8, !tbaa !9
  br i1 %223, label %.loopexit, label %._crit_edge.2

._crit_edge.2:                                    ; preds = %._crit_edge.1
  %293 = load double, ptr %273, align 8, !tbaa !9
  %294 = load double, ptr %272, align 8, !tbaa !9
  %295 = load double, ptr %284, align 8, !tbaa !9
  %296 = call double @llvm.fmuladd.f64(double %227, double %291, double 0.000000e+00)
  %297 = call double @llvm.fmuladd.f64(double %226, double %295, double %296)
  %298 = call double @llvm.fmuladd.f64(double %225, double %294, double %297)
  %299 = call double @llvm.fmuladd.f64(double %224, double %293, double %298)
  %300 = fneg double %299
  %301 = fdiv double %300, %222
  %302 = getelementptr inbounds double, ptr %1, i64 %229
  store double %301, ptr %302, align 8, !tbaa !9
  br i1 %231, label %.loopexit, label %._crit_edge.3

._crit_edge.3:                                    ; preds = %._crit_edge.2
  %303 = load double, ptr %273, align 8, !tbaa !9
  %304 = load double, ptr %272, align 8, !tbaa !9
  %305 = load double, ptr %284, align 8, !tbaa !9
  %306 = load double, ptr %292, align 8, !tbaa !9
  %307 = call double @llvm.fmuladd.f64(double %236, double %301, double 0.000000e+00)
  %308 = call double @llvm.fmuladd.f64(double %235, double %306, double %307)
  %309 = call double @llvm.fmuladd.f64(double %234, double %305, double %308)
  %310 = call double @llvm.fmuladd.f64(double %233, double %304, double %309)
  %311 = call double @llvm.fmuladd.f64(double %232, double %303, double %310)
  %312 = fneg double %311
  %313 = fdiv double %312, %230
  %314 = getelementptr inbounds double, ptr %1, i64 %238
  store double %313, ptr %314, align 8, !tbaa !9
  br i1 %240, label %.loopexit, label %._crit_edge.4

._crit_edge.4:                                    ; preds = %._crit_edge.3
  %315 = load double, ptr %273, align 8, !tbaa !9
  %316 = load double, ptr %272, align 8, !tbaa !9
  %317 = load double, ptr %284, align 8, !tbaa !9
  %318 = load double, ptr %292, align 8, !tbaa !9
  %319 = load double, ptr %302, align 8, !tbaa !9
  %320 = call double @llvm.fmuladd.f64(double %246, double %313, double 0.000000e+00)
  %321 = call double @llvm.fmuladd.f64(double %245, double %319, double %320)
  %322 = call double @llvm.fmuladd.f64(double %244, double %318, double %321)
  %323 = call double @llvm.fmuladd.f64(double %243, double %317, double %322)
  %324 = call double @llvm.fmuladd.f64(double %242, double %316, double %323)
  %325 = call double @llvm.fmuladd.f64(double %241, double %315, double %324)
  %326 = fneg double %325
  %327 = fdiv double %326, %239
  %328 = getelementptr inbounds double, ptr %1, i64 %248
  store double %327, ptr %328, align 8, !tbaa !9
  br i1 %250, label %.loopexit, label %._crit_edge.5

._crit_edge.5:                                    ; preds = %._crit_edge.4
  %329 = load double, ptr %273, align 8, !tbaa !9
  %330 = load double, ptr %272, align 8, !tbaa !9
  %331 = load double, ptr %284, align 8, !tbaa !9
  %332 = load double, ptr %292, align 8, !tbaa !9
  %333 = load double, ptr %302, align 8, !tbaa !9
  %334 = load double, ptr %314, align 8, !tbaa !9
  %335 = call double @llvm.fmuladd.f64(double %257, double %327, double 0.000000e+00)
  %336 = call double @llvm.fmuladd.f64(double %256, double %334, double %335)
  %337 = call double @llvm.fmuladd.f64(double %255, double %333, double %336)
  %338 = call double @llvm.fmuladd.f64(double %254, double %332, double %337)
  %339 = call double @llvm.fmuladd.f64(double %253, double %331, double %338)
  %340 = call double @llvm.fmuladd.f64(double %252, double %330, double %339)
  %341 = call double @llvm.fmuladd.f64(double %251, double %329, double %340)
  %342 = fneg double %341
  %343 = fdiv double %342, %249
  %344 = getelementptr inbounds double, ptr %1, i64 %259
  store double %343, ptr %344, align 8, !tbaa !9
  br i1 %261, label %.loopexit, label %._crit_edge.6

._crit_edge.6:                                    ; preds = %._crit_edge.5
  %345 = load double, ptr %273, align 8, !tbaa !9
  %346 = load double, ptr %272, align 8, !tbaa !9
  %347 = load double, ptr %284, align 8, !tbaa !9
  %348 = load double, ptr %292, align 8, !tbaa !9
  %349 = load double, ptr %302, align 8, !tbaa !9
  %350 = load double, ptr %314, align 8, !tbaa !9
  %351 = load double, ptr %328, align 8, !tbaa !9
  %352 = call double @llvm.fmuladd.f64(double %269, double %343, double 0.000000e+00)
  %353 = call double @llvm.fmuladd.f64(double %268, double %351, double %352)
  %354 = call double @llvm.fmuladd.f64(double %267, double %350, double %353)
  %355 = call double @llvm.fmuladd.f64(double %266, double %349, double %354)
  %356 = call double @llvm.fmuladd.f64(double %265, double %348, double %355)
  %357 = call double @llvm.fmuladd.f64(double %264, double %347, double %356)
  %358 = call double @llvm.fmuladd.f64(double %263, double %346, double %357)
  %359 = call double @llvm.fmuladd.f64(double %262, double %345, double %358)
  %360 = fneg double %359
  %361 = fdiv double %360, %260
  %362 = getelementptr inbounds double, ptr %1, i64 %271
  store double %361, ptr %362, align 8, !tbaa !9
  %363 = getelementptr inbounds i8, ptr %1, i64 72
  %364 = getelementptr inbounds double, ptr %363, i64 %208
  store double 0.000000e+00, ptr %364, align 8, !tbaa !9
  %365 = getelementptr inbounds double, ptr %363, i64 %209
  store double 0.000000e+00, ptr %365, align 8, !tbaa !9
  %366 = getelementptr inbounds i8, ptr %7, i64 28
  %367 = load i32, ptr %366, align 4, !tbaa !5
  %368 = sext i32 %367 to i64
  %369 = getelementptr inbounds double, ptr %363, i64 %368
  store double 1.000000e+00, ptr %369, align 8, !tbaa !9
  br i1 %210, label %.loopexit, label %._crit_edge.179

._crit_edge.179:                                  ; preds = %._crit_edge.6
  %370 = load double, ptr %365, align 8, !tbaa !9
  %371 = load double, ptr %364, align 8, !tbaa !9
  %372 = call double @llvm.fmuladd.f64(double %212, double %371, double 0.000000e+00)
  %373 = call double @llvm.fmuladd.f64(double %211, double %370, double %372)
  %374 = fneg double %373
  %375 = fdiv double %374, %.pre
  %376 = getelementptr inbounds double, ptr %363, i64 %214
  store double %375, ptr %376, align 8, !tbaa !9
  br i1 %216, label %.loopexit, label %._crit_edge.1.1

._crit_edge.1.1:                                  ; preds = %._crit_edge.179
  %377 = load double, ptr %365, align 8, !tbaa !9
  %378 = load double, ptr %364, align 8, !tbaa !9
  %379 = call double @llvm.fmuladd.f64(double %219, double %375, double 0.000000e+00)
  %380 = call double @llvm.fmuladd.f64(double %218, double %378, double %379)
  %381 = call double @llvm.fmuladd.f64(double %217, double %377, double %380)
  %382 = fneg double %381
  %383 = fdiv double %382, %215
  %384 = getelementptr inbounds double, ptr %363, i64 %221
  store double %383, ptr %384, align 8, !tbaa !9
  br i1 %223, label %.loopexit, label %._crit_edge.2.1

._crit_edge.2.1:                                  ; preds = %._crit_edge.1.1
  %385 = load double, ptr %365, align 8, !tbaa !9
  %386 = load double, ptr %364, align 8, !tbaa !9
  %387 = load double, ptr %376, align 8, !tbaa !9
  %388 = call double @llvm.fmuladd.f64(double %227, double %383, double 0.000000e+00)
  %389 = call double @llvm.fmuladd.f64(double %226, double %387, double %388)
  %390 = call double @llvm.fmuladd.f64(double %225, double %386, double %389)
  %391 = call double @llvm.fmuladd.f64(double %224, double %385, double %390)
  %392 = fneg double %391
  %393 = fdiv double %392, %222
  %394 = getelementptr inbounds double, ptr %363, i64 %229
  store double %393, ptr %394, align 8, !tbaa !9
  br i1 %231, label %.loopexit, label %._crit_edge.3.1

._crit_edge.3.1:                                  ; preds = %._crit_edge.2.1
  %395 = load double, ptr %365, align 8, !tbaa !9
  %396 = load double, ptr %364, align 8, !tbaa !9
  %397 = load double, ptr %376, align 8, !tbaa !9
  %398 = load double, ptr %384, align 8, !tbaa !9
  %399 = call double @llvm.fmuladd.f64(double %236, double %393, double 0.000000e+00)
  %400 = call double @llvm.fmuladd.f64(double %235, double %398, double %399)
  %401 = call double @llvm.fmuladd.f64(double %234, double %397, double %400)
  %402 = call double @llvm.fmuladd.f64(double %233, double %396, double %401)
  %403 = call double @llvm.fmuladd.f64(double %232, double %395, double %402)
  %404 = fneg double %403
  %405 = fdiv double %404, %230
  %406 = getelementptr inbounds double, ptr %363, i64 %238
  store double %405, ptr %406, align 8, !tbaa !9
  br i1 %240, label %.loopexit, label %._crit_edge.4.1

._crit_edge.4.1:                                  ; preds = %._crit_edge.3.1
  %407 = load double, ptr %365, align 8, !tbaa !9
  %408 = load double, ptr %364, align 8, !tbaa !9
  %409 = load double, ptr %376, align 8, !tbaa !9
  %410 = load double, ptr %384, align 8, !tbaa !9
  %411 = load double, ptr %394, align 8, !tbaa !9
  %412 = call double @llvm.fmuladd.f64(double %246, double %405, double 0.000000e+00)
  %413 = call double @llvm.fmuladd.f64(double %245, double %411, double %412)
  %414 = call double @llvm.fmuladd.f64(double %244, double %410, double %413)
  %415 = call double @llvm.fmuladd.f64(double %243, double %409, double %414)
  %416 = call double @llvm.fmuladd.f64(double %242, double %408, double %415)
  %417 = call double @llvm.fmuladd.f64(double %241, double %407, double %416)
  %418 = fneg double %417
  %419 = fdiv double %418, %239
  %420 = getelementptr inbounds double, ptr %363, i64 %248
  store double %419, ptr %420, align 8, !tbaa !9
  br i1 %250, label %.loopexit, label %._crit_edge.5.1

._crit_edge.5.1:                                  ; preds = %._crit_edge.4.1
  %421 = load double, ptr %365, align 8, !tbaa !9
  %422 = load double, ptr %364, align 8, !tbaa !9
  %423 = load double, ptr %376, align 8, !tbaa !9
  %424 = load double, ptr %384, align 8, !tbaa !9
  %425 = load double, ptr %394, align 8, !tbaa !9
  %426 = load double, ptr %406, align 8, !tbaa !9
  %427 = call double @llvm.fmuladd.f64(double %257, double %419, double 0.000000e+00)
  %428 = call double @llvm.fmuladd.f64(double %256, double %426, double %427)
  %429 = call double @llvm.fmuladd.f64(double %255, double %425, double %428)
  %430 = call double @llvm.fmuladd.f64(double %254, double %424, double %429)
  %431 = call double @llvm.fmuladd.f64(double %253, double %423, double %430)
  %432 = call double @llvm.fmuladd.f64(double %252, double %422, double %431)
  %433 = call double @llvm.fmuladd.f64(double %251, double %421, double %432)
  %434 = fneg double %433
  %435 = fdiv double %434, %249
  %436 = getelementptr inbounds double, ptr %363, i64 %259
  store double %435, ptr %436, align 8, !tbaa !9
  br i1 %261, label %.loopexit, label %._crit_edge.6.1

._crit_edge.6.1:                                  ; preds = %._crit_edge.5.1
  %437 = load double, ptr %365, align 8, !tbaa !9
  %438 = load double, ptr %364, align 8, !tbaa !9
  %439 = load double, ptr %376, align 8, !tbaa !9
  %440 = load double, ptr %384, align 8, !tbaa !9
  %441 = load double, ptr %394, align 8, !tbaa !9
  %442 = load double, ptr %406, align 8, !tbaa !9
  %443 = load double, ptr %420, align 8, !tbaa !9
  %444 = call double @llvm.fmuladd.f64(double %269, double %435, double 0.000000e+00)
  %445 = call double @llvm.fmuladd.f64(double %268, double %443, double %444)
  %446 = call double @llvm.fmuladd.f64(double %267, double %442, double %445)
  %447 = call double @llvm.fmuladd.f64(double %266, double %441, double %446)
  %448 = call double @llvm.fmuladd.f64(double %265, double %440, double %447)
  %449 = call double @llvm.fmuladd.f64(double %264, double %439, double %448)
  %450 = call double @llvm.fmuladd.f64(double %263, double %438, double %449)
  %451 = call double @llvm.fmuladd.f64(double %262, double %437, double %450)
  %452 = fneg double %451
  %453 = fdiv double %452, %260
  %454 = getelementptr inbounds double, ptr %363, i64 %271
  store double %453, ptr %454, align 8, !tbaa !9
  br label %.loopexit

.loopexit:                                        ; preds = %.preheader54.preheader, %._crit_edge, %._crit_edge.1, %._crit_edge.2, %._crit_edge.3, %._crit_edge.4, %._crit_edge.5, %._crit_edge.6, %._crit_edge.179, %._crit_edge.1.1, %._crit_edge.2.1, %._crit_edge.3.1, %._crit_edge.4.1, %._crit_edge.5.1, %._crit_edge.6.1, %.preheader56
  %.047 = phi i32 [ -1, %.preheader56 ], [ -1, %.preheader54.preheader ], [ -1, %._crit_edge ], [ -1, %._crit_edge.1 ], [ -1, %._crit_edge.2 ], [ -1, %._crit_edge.3 ], [ -1, %._crit_edge.4 ], [ -1, %._crit_edge.5 ], [ -1, %._crit_edge.6 ], [ -1, %._crit_edge.179 ], [ -1, %._crit_edge.1.1 ], [ -1, %._crit_edge.2.1 ], [ -1, %._crit_edge.3.1 ], [ -1, %._crit_edge.4.1 ], [ -1, %._crit_edge.5.1 ], [ 0, %._crit_edge.6.1 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 224, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 504, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #5
  ret i32 %.047
}

declare i32 @dgeqp3_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { mustprogress 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 #3 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass