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

; 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 [8 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@c_b4 = external hidden global double, align 8
@c_b5 = external hidden global double, align 8
@c__1 = external hidden global i32, align 4
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@c_b12 = external hidden global double, align 8

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

74:                                               ; preds = %14
  %75 = load ptr, ptr %28, align 8, !tbaa !5
  store i32 -1, ptr %75, align 4, !tbaa !9
  br label %145

76:                                               ; preds = %14
  %77 = load ptr, ptr %16, align 8, !tbaa !5
  %78 = load i32, ptr %77, align 4, !tbaa !9
  %79 = icmp slt i32 %78, 0
  br i1 %79, label %80, label %82

80:                                               ; preds = %76
  %81 = load ptr, ptr %28, align 8, !tbaa !5
  store i32 -2, ptr %81, align 4, !tbaa !9
  br label %144

82:                                               ; preds = %76
  %83 = load ptr, ptr %17, align 8, !tbaa !5
  %84 = load i32, ptr %83, align 4, !tbaa !9
  %85 = icmp slt i32 %84, 0
  br i1 %85, label %86, label %88

86:                                               ; preds = %82
  %87 = load ptr, ptr %28, align 8, !tbaa !5
  store i32 -3, ptr %87, align 4, !tbaa !9
  br label %143

88:                                               ; preds = %82
  %89 = load ptr, ptr %19, align 8, !tbaa !5
  %90 = load i32, ptr %89, align 4, !tbaa !9
  %91 = icmp slt i32 %90, 1
  br i1 %91, label %92, label %94

92:                                               ; preds = %88
  %93 = load ptr, ptr %28, align 8, !tbaa !5
  store i32 -5, ptr %93, align 4, !tbaa !9
  br label %142

94:                                               ; preds = %88
  %95 = load ptr, ptr %21, align 8, !tbaa !5
  %96 = load i32, ptr %95, align 4, !tbaa !9
  %97 = icmp slt i32 %96, 1
  br i1 %97, label %98, label %100

98:                                               ; preds = %94
  %99 = load ptr, ptr %28, align 8, !tbaa !5
  store i32 -7, ptr %99, align 4, !tbaa !9
  br label %141

100:                                              ; preds = %94
  %101 = load ptr, ptr %23, align 8, !tbaa !5
  %102 = load i32, ptr %101, align 4, !tbaa !9
  %103 = load ptr, ptr %15, align 8, !tbaa !5
  %104 = load i32, ptr %103, align 4, !tbaa !9
  %105 = icmp sge i32 1, %104
  br i1 %105, label %106, label %107

106:                                              ; preds = %100
  br label %110

107:                                              ; preds = %100
  %108 = load ptr, ptr %15, align 8, !tbaa !5
  %109 = load i32, ptr %108, align 4, !tbaa !9
  br label %110

110:                                              ; preds = %107, %106
  %111 = phi i32 [ 1, %106 ], [ %109, %107 ]
  %112 = icmp slt i32 %102, %111
  br i1 %112, label %113, label %115

113:                                              ; preds = %110
  %114 = load ptr, ptr %28, align 8, !tbaa !5
  store i32 -9, ptr %114, align 4, !tbaa !9
  br label %140

115:                                              ; preds = %110
  %116 = load ptr, ptr %25, align 8, !tbaa !5
  %117 = load i32, ptr %116, align 4, !tbaa !9
  %118 = load ptr, ptr %16, align 8, !tbaa !5
  %119 = load i32, ptr %118, align 4, !tbaa !9
  %120 = icmp sge i32 1, %119
  br i1 %120, label %121, label %122

121:                                              ; preds = %115
  br label %125

122:                                              ; preds = %115
  %123 = load ptr, ptr %16, align 8, !tbaa !5
  %124 = load i32, ptr %123, align 4, !tbaa !9
  br label %125

125:                                              ; preds = %122, %121
  %126 = phi i32 [ 1, %121 ], [ %124, %122 ]
  %127 = icmp slt i32 %117, %126
  br i1 %127, label %128, label %130

128:                                              ; preds = %125
  %129 = load ptr, ptr %28, align 8, !tbaa !5
  store i32 -11, ptr %129, align 4, !tbaa !9
  br label %139

130:                                              ; preds = %125
  %131 = load ptr, ptr %27, align 8, !tbaa !5
  %132 = load i32, ptr %131, align 4, !tbaa !9
  %133 = load ptr, ptr %17, align 8, !tbaa !5
  %134 = load i32, ptr %133, align 4, !tbaa !9
  %135 = icmp slt i32 %132, %134
  br i1 %135, label %136, label %138

136:                                              ; preds = %130
  %137 = load ptr, ptr %28, align 8, !tbaa !5
  store i32 -13, ptr %137, align 4, !tbaa !9
  br label %138

138:                                              ; preds = %136, %130
  br label %139

139:                                              ; preds = %138, %128
  br label %140

140:                                              ; preds = %139, %113
  br label %141

141:                                              ; preds = %140, %98
  br label %142

142:                                              ; preds = %141, %92
  br label %143

143:                                              ; preds = %142, %86
  br label %144

144:                                              ; preds = %143, %80
  br label %145

145:                                              ; preds = %144, %74
  %146 = load ptr, ptr %28, align 8, !tbaa !5
  %147 = load i32, ptr %146, align 4, !tbaa !9
  %148 = icmp ne i32 %147, 0
  br i1 %148, label %149, label %154

149:                                              ; preds = %145
  %150 = load ptr, ptr %28, align 8, !tbaa !5
  %151 = load i32, ptr %150, align 4, !tbaa !9
  %152 = sub nsw i32 0, %151
  store i32 %152, ptr %33, align 4, !tbaa !9
  %153 = call i32 @xerbla_(ptr noundef @.str, ptr noundef %33, i32 noundef 7)
  store i32 1, ptr %43, align 4
  br label %415

154:                                              ; preds = %145
  store double 0.000000e+00, ptr %39, align 8, !tbaa !11
  store double 1.000000e+00, ptr %41, align 8, !tbaa !11
  %155 = load ptr, ptr %15, align 8, !tbaa !5
  %156 = load ptr, ptr %18, align 8, !tbaa !5
  %157 = getelementptr inbounds double, ptr %156, i64 1
  %158 = load ptr, ptr %19, align 8, !tbaa !5
  call void @dlassq_(ptr noundef %155, ptr noundef %157, ptr noundef %158, ptr noundef %39, ptr noundef %41)
  store double 0.000000e+00, ptr %40, align 8, !tbaa !11
  store double 1.000000e+00, ptr %42, align 8, !tbaa !11
  %159 = load ptr, ptr %16, align 8, !tbaa !5
  %160 = load ptr, ptr %20, align 8, !tbaa !5
  %161 = getelementptr inbounds double, ptr %160, i64 1
  %162 = load ptr, ptr %21, align 8, !tbaa !5
  call void @dlassq_(ptr noundef %159, ptr noundef %161, ptr noundef %162, ptr noundef %40, ptr noundef %42)
  %163 = load double, ptr %39, align 8, !tbaa !11
  store double %163, ptr %34, align 8, !tbaa !11
  %164 = load double, ptr %40, align 8, !tbaa !11
  store double %164, ptr %35, align 8, !tbaa !11
  %165 = load double, ptr %34, align 8, !tbaa !11
  %166 = load double, ptr %34, align 8, !tbaa !11
  %167 = fmul double %165, %166
  %168 = load double, ptr %41, align 8, !tbaa !11
  %169 = load double, ptr %35, align 8, !tbaa !11
  %170 = load double, ptr %35, align 8, !tbaa !11
  %171 = fmul double %169, %170
  %172 = load double, ptr %42, align 8, !tbaa !11
  %173 = fmul double %171, %172
  %174 = call double @llvm.fmuladd.f64(double %167, double %168, double %173)
  store double %174, ptr %37, align 8, !tbaa !11
  %175 = load ptr, ptr %15, align 8, !tbaa !5
  %176 = load i32, ptr %175, align 4, !tbaa !9
  %177 = icmp eq i32 %176, 0
  br i1 %177, label %178, label %194

178:                                              ; preds = %154
  %179 = load ptr, ptr %17, align 8, !tbaa !5
  %180 = load i32, ptr %179, align 4, !tbaa !9
  store i32 %180, ptr %33, align 4, !tbaa !9
  store i32 1, ptr %36, align 4, !tbaa !9
  br label %181

181:                                              ; preds = %190, %178
  %182 = load i32, ptr %36, align 4, !tbaa !9
  %183 = load i32, ptr %33, align 4, !tbaa !9
  %184 = icmp sle i32 %182, %183
  br i1 %184, label %185, label %193

185:                                              ; preds = %181
  %186 = load ptr, ptr %26, align 8, !tbaa !5
  %187 = load i32, ptr %36, align 4, !tbaa !9
  %188 = sext i32 %187 to i64
  %189 = getelementptr inbounds double, ptr %186, i64 %188
  store double 0.000000e+00, ptr %189, align 8, !tbaa !11
  br label %190

190:                                              ; preds = %185
  %191 = load i32, ptr %36, align 4, !tbaa !9
  %192 = add nsw i32 %191, 1
  store i32 %192, ptr %36, align 4, !tbaa !9
  br label %181, !llvm.loop !13

193:                                              ; preds = %181
  br label %207

194:                                              ; preds = %154
  %195 = load ptr, ptr %15, align 8, !tbaa !5
  %196 = load ptr, ptr %17, align 8, !tbaa !5
  %197 = load ptr, ptr %22, align 8, !tbaa !5
  %198 = load i32, ptr %30, align 4, !tbaa !9
  %199 = sext i32 %198 to i64
  %200 = getelementptr inbounds double, ptr %197, i64 %199
  %201 = load ptr, ptr %23, align 8, !tbaa !5
  %202 = load ptr, ptr %18, align 8, !tbaa !5
  %203 = getelementptr inbounds double, ptr %202, i64 1
  %204 = load ptr, ptr %19, align 8, !tbaa !5
  %205 = load ptr, ptr %26, align 8, !tbaa !5
  %206 = getelementptr inbounds double, ptr %205, i64 1
  call void @dgemv_(ptr noundef @.str.1, ptr noundef %195, ptr noundef %196, ptr noundef @c_b4, ptr noundef %200, ptr noundef %201, ptr noundef %203, ptr noundef %204, ptr noundef @c_b5, ptr noundef %206, ptr noundef @c__1)
  br label %207

207:                                              ; preds = %194, %193
  %208 = load ptr, ptr %16, align 8, !tbaa !5
  %209 = load ptr, ptr %17, align 8, !tbaa !5
  %210 = load ptr, ptr %24, align 8, !tbaa !5
  %211 = load i32, ptr %32, align 4, !tbaa !9
  %212 = sext i32 %211 to i64
  %213 = getelementptr inbounds double, ptr %210, i64 %212
  %214 = load ptr, ptr %25, align 8, !tbaa !5
  %215 = load ptr, ptr %20, align 8, !tbaa !5
  %216 = getelementptr inbounds double, ptr %215, i64 1
  %217 = load ptr, ptr %21, align 8, !tbaa !5
  %218 = load ptr, ptr %26, align 8, !tbaa !5
  %219 = getelementptr inbounds double, ptr %218, i64 1
  call void @dgemv_(ptr noundef @.str.1, ptr noundef %208, ptr noundef %209, ptr noundef @c_b4, ptr noundef %213, ptr noundef %214, ptr noundef %216, ptr noundef %217, ptr noundef @c_b4, ptr noundef %219, ptr noundef @c__1)
  %220 = load ptr, ptr %15, align 8, !tbaa !5
  %221 = load ptr, ptr %17, align 8, !tbaa !5
  %222 = load ptr, ptr %22, align 8, !tbaa !5
  %223 = load i32, ptr %30, align 4, !tbaa !9
  %224 = sext i32 %223 to i64
  %225 = getelementptr inbounds double, ptr %222, i64 %224
  %226 = load ptr, ptr %23, align 8, !tbaa !5
  %227 = load ptr, ptr %26, align 8, !tbaa !5
  %228 = getelementptr inbounds double, ptr %227, i64 1
  %229 = load ptr, ptr %18, align 8, !tbaa !5
  %230 = getelementptr inbounds double, ptr %229, i64 1
  %231 = load ptr, ptr %19, align 8, !tbaa !5
  call void @dgemv_(ptr noundef @.str.2, ptr noundef %220, ptr noundef %221, ptr noundef @c_b12, ptr noundef %225, ptr noundef %226, ptr noundef %228, ptr noundef @c__1, ptr noundef @c_b4, ptr noundef %230, ptr noundef %231)
  %232 = load ptr, ptr %16, align 8, !tbaa !5
  %233 = load ptr, ptr %17, align 8, !tbaa !5
  %234 = load ptr, ptr %24, align 8, !tbaa !5
  %235 = load i32, ptr %32, align 4, !tbaa !9
  %236 = sext i32 %235 to i64
  %237 = getelementptr inbounds double, ptr %234, i64 %236
  %238 = load ptr, ptr %25, align 8, !tbaa !5
  %239 = load ptr, ptr %26, align 8, !tbaa !5
  %240 = getelementptr inbounds double, ptr %239, i64 1
  %241 = load ptr, ptr %20, align 8, !tbaa !5
  %242 = getelementptr inbounds double, ptr %241, i64 1
  %243 = load ptr, ptr %21, align 8, !tbaa !5
  call void @dgemv_(ptr noundef @.str.2, ptr noundef %232, ptr noundef %233, ptr noundef @c_b12, ptr noundef %237, ptr noundef %238, ptr noundef %240, ptr noundef @c__1, ptr noundef @c_b4, ptr noundef %242, ptr noundef %243)
  store double 0.000000e+00, ptr %39, align 8, !tbaa !11
  store double 1.000000e+00, ptr %41, align 8, !tbaa !11
  %244 = load ptr, ptr %15, align 8, !tbaa !5
  %245 = load ptr, ptr %18, align 8, !tbaa !5
  %246 = getelementptr inbounds double, ptr %245, i64 1
  %247 = load ptr, ptr %19, align 8, !tbaa !5
  call void @dlassq_(ptr noundef %244, ptr noundef %246, ptr noundef %247, ptr noundef %39, ptr noundef %41)
  store double 0.000000e+00, ptr %40, align 8, !tbaa !11
  store double 1.000000e+00, ptr %42, align 8, !tbaa !11
  %248 = load ptr, ptr %16, align 8, !tbaa !5
  %249 = load ptr, ptr %20, align 8, !tbaa !5
  %250 = getelementptr inbounds double, ptr %249, i64 1
  %251 = load ptr, ptr %21, align 8, !tbaa !5
  call void @dlassq_(ptr noundef %248, ptr noundef %250, ptr noundef %251, ptr noundef %40, ptr noundef %42)
  %252 = load double, ptr %39, align 8, !tbaa !11
  store double %252, ptr %34, align 8, !tbaa !11
  %253 = load double, ptr %40, align 8, !tbaa !11
  store double %253, ptr %35, align 8, !tbaa !11
  %254 = load double, ptr %34, align 8, !tbaa !11
  %255 = load double, ptr %34, align 8, !tbaa !11
  %256 = fmul double %254, %255
  %257 = load double, ptr %41, align 8, !tbaa !11
  %258 = load double, ptr %35, align 8, !tbaa !11
  %259 = load double, ptr %35, align 8, !tbaa !11
  %260 = fmul double %258, %259
  %261 = load double, ptr %42, align 8, !tbaa !11
  %262 = fmul double %260, %261
  %263 = call double @llvm.fmuladd.f64(double %256, double %257, double %262)
  store double %263, ptr %38, align 8, !tbaa !11
  %264 = load double, ptr %38, align 8, !tbaa !11
  %265 = load double, ptr %37, align 8, !tbaa !11
  %266 = fmul double %265, 1.000000e-02
  %267 = fcmp oge double %264, %266
  br i1 %267, label %268, label %269

268:                                              ; preds = %207
  store i32 1, ptr %43, align 4
  br label %415

269:                                              ; preds = %207
  %270 = load double, ptr %38, align 8, !tbaa !11
  %271 = fcmp oeq double %270, 0.000000e+00
  br i1 %271, label %272, label %273

272:                                              ; preds = %269
  store i32 1, ptr %43, align 4
  br label %415

273:                                              ; preds = %269
  %274 = load double, ptr %38, align 8, !tbaa !11
  store double %274, ptr %37, align 8, !tbaa !11
  %275 = load ptr, ptr %17, align 8, !tbaa !5
  %276 = load i32, ptr %275, align 4, !tbaa !9
  store i32 %276, ptr %33, align 4, !tbaa !9
  store i32 1, ptr %36, align 4, !tbaa !9
  br label %277

277:                                              ; preds = %286, %273
  %278 = load i32, ptr %36, align 4, !tbaa !9
  %279 = load i32, ptr %33, align 4, !tbaa !9
  %280 = icmp sle i32 %278, %279
  br i1 %280, label %281, label %289

281:                                              ; preds = %277
  %282 = load ptr, ptr %26, align 8, !tbaa !5
  %283 = load i32, ptr %36, align 4, !tbaa !9
  %284 = sext i32 %283 to i64
  %285 = getelementptr inbounds double, ptr %282, i64 %284
  store double 0.000000e+00, ptr %285, align 8, !tbaa !11
  br label %286

286:                                              ; preds = %281
  %287 = load i32, ptr %36, align 4, !tbaa !9
  %288 = add nsw i32 %287, 1
  store i32 %288, ptr %36, align 4, !tbaa !9
  br label %277, !llvm.loop !15

289:                                              ; preds = %277
  %290 = load ptr, ptr %15, align 8, !tbaa !5
  %291 = load i32, ptr %290, align 4, !tbaa !9
  %292 = icmp eq i32 %291, 0
  br i1 %292, label %293, label %309

293:                                              ; preds = %289
  %294 = load ptr, ptr %17, align 8, !tbaa !5
  %295 = load i32, ptr %294, align 4, !tbaa !9
  store i32 %295, ptr %33, align 4, !tbaa !9
  store i32 1, ptr %36, align 4, !tbaa !9
  br label %296

296:                                              ; preds = %305, %293
  %297 = load i32, ptr %36, align 4, !tbaa !9
  %298 = load i32, ptr %33, align 4, !tbaa !9
  %299 = icmp sle i32 %297, %298
  br i1 %299, label %300, label %308

300:                                              ; preds = %296
  %301 = load ptr, ptr %26, align 8, !tbaa !5
  %302 = load i32, ptr %36, align 4, !tbaa !9
  %303 = sext i32 %302 to i64
  %304 = getelementptr inbounds double, ptr %301, i64 %303
  store double 0.000000e+00, ptr %304, align 8, !tbaa !11
  br label %305

305:                                              ; preds = %300
  %306 = load i32, ptr %36, align 4, !tbaa !9
  %307 = add nsw i32 %306, 1
  store i32 %307, ptr %36, align 4, !tbaa !9
  br label %296, !llvm.loop !16

308:                                              ; preds = %296
  br label %322

309:                                              ; preds = %289
  %310 = load ptr, ptr %15, align 8, !tbaa !5
  %311 = load ptr, ptr %17, align 8, !tbaa !5
  %312 = load ptr, ptr %22, align 8, !tbaa !5
  %313 = load i32, ptr %30, align 4, !tbaa !9
  %314 = sext i32 %313 to i64
  %315 = getelementptr inbounds double, ptr %312, i64 %314
  %316 = load ptr, ptr %23, align 8, !tbaa !5
  %317 = load ptr, ptr %18, align 8, !tbaa !5
  %318 = getelementptr inbounds double, ptr %317, i64 1
  %319 = load ptr, ptr %19, align 8, !tbaa !5
  %320 = load ptr, ptr %26, align 8, !tbaa !5
  %321 = getelementptr inbounds double, ptr %320, i64 1
  call void @dgemv_(ptr noundef @.str.1, ptr noundef %310, ptr noundef %311, ptr noundef @c_b4, ptr noundef %315, ptr noundef %316, ptr noundef %318, ptr noundef %319, ptr noundef @c_b5, ptr noundef %321, ptr noundef @c__1)
  br label %322

322:                                              ; preds = %309, %308
  %323 = load ptr, ptr %16, align 8, !tbaa !5
  %324 = load ptr, ptr %17, align 8, !tbaa !5
  %325 = load ptr, ptr %24, align 8, !tbaa !5
  %326 = load i32, ptr %32, align 4, !tbaa !9
  %327 = sext i32 %326 to i64
  %328 = getelementptr inbounds double, ptr %325, i64 %327
  %329 = load ptr, ptr %25, align 8, !tbaa !5
  %330 = load ptr, ptr %20, align 8, !tbaa !5
  %331 = getelementptr inbounds double, ptr %330, i64 1
  %332 = load ptr, ptr %21, align 8, !tbaa !5
  %333 = load ptr, ptr %26, align 8, !tbaa !5
  %334 = getelementptr inbounds double, ptr %333, i64 1
  call void @dgemv_(ptr noundef @.str.1, ptr noundef %323, ptr noundef %324, ptr noundef @c_b4, ptr noundef %328, ptr noundef %329, ptr noundef %331, ptr noundef %332, ptr noundef @c_b4, ptr noundef %334, ptr noundef @c__1)
  %335 = load ptr, ptr %15, align 8, !tbaa !5
  %336 = load ptr, ptr %17, align 8, !tbaa !5
  %337 = load ptr, ptr %22, align 8, !tbaa !5
  %338 = load i32, ptr %30, align 4, !tbaa !9
  %339 = sext i32 %338 to i64
  %340 = getelementptr inbounds double, ptr %337, i64 %339
  %341 = load ptr, ptr %23, align 8, !tbaa !5
  %342 = load ptr, ptr %26, align 8, !tbaa !5
  %343 = getelementptr inbounds double, ptr %342, i64 1
  %344 = load ptr, ptr %18, align 8, !tbaa !5
  %345 = getelementptr inbounds double, ptr %344, i64 1
  %346 = load ptr, ptr %19, align 8, !tbaa !5
  call void @dgemv_(ptr noundef @.str.2, ptr noundef %335, ptr noundef %336, ptr noundef @c_b12, ptr noundef %340, ptr noundef %341, ptr noundef %343, ptr noundef @c__1, ptr noundef @c_b4, ptr noundef %345, ptr noundef %346)
  %347 = load ptr, ptr %16, align 8, !tbaa !5
  %348 = load ptr, ptr %17, align 8, !tbaa !5
  %349 = load ptr, ptr %24, align 8, !tbaa !5
  %350 = load i32, ptr %32, align 4, !tbaa !9
  %351 = sext i32 %350 to i64
  %352 = getelementptr inbounds double, ptr %349, i64 %351
  %353 = load ptr, ptr %25, align 8, !tbaa !5
  %354 = load ptr, ptr %26, align 8, !tbaa !5
  %355 = getelementptr inbounds double, ptr %354, i64 1
  %356 = load ptr, ptr %20, align 8, !tbaa !5
  %357 = getelementptr inbounds double, ptr %356, i64 1
  %358 = load ptr, ptr %21, align 8, !tbaa !5
  call void @dgemv_(ptr noundef @.str.2, ptr noundef %347, ptr noundef %348, ptr noundef @c_b12, ptr noundef %352, ptr noundef %353, ptr noundef %355, ptr noundef @c__1, ptr noundef @c_b4, ptr noundef %357, ptr noundef %358)
  store double 0.000000e+00, ptr %39, align 8, !tbaa !11
  store double 1.000000e+00, ptr %41, align 8, !tbaa !11
  %359 = load ptr, ptr %15, align 8, !tbaa !5
  %360 = load ptr, ptr %18, align 8, !tbaa !5
  %361 = getelementptr inbounds double, ptr %360, i64 1
  %362 = load ptr, ptr %19, align 8, !tbaa !5
  call void @dlassq_(ptr noundef %359, ptr noundef %361, ptr noundef %362, ptr noundef %39, ptr noundef %41)
  store double 0.000000e+00, ptr %40, align 8, !tbaa !11
  store double 1.000000e+00, ptr %42, align 8, !tbaa !11
  %363 = load ptr, ptr %15, align 8, !tbaa !5
  %364 = load ptr, ptr %18, align 8, !tbaa !5
  %365 = getelementptr inbounds double, ptr %364, i64 1
  %366 = load ptr, ptr %19, align 8, !tbaa !5
  call void @dlassq_(ptr noundef %363, ptr noundef %365, ptr noundef %366, ptr noundef %39, ptr noundef %41)
  %367 = load double, ptr %39, align 8, !tbaa !11
  store double %367, ptr %34, align 8, !tbaa !11
  %368 = load double, ptr %40, align 8, !tbaa !11
  store double %368, ptr %35, align 8, !tbaa !11
  %369 = load double, ptr %34, align 8, !tbaa !11
  %370 = load double, ptr %34, align 8, !tbaa !11
  %371 = fmul double %369, %370
  %372 = load double, ptr %41, align 8, !tbaa !11
  %373 = load double, ptr %35, align 8, !tbaa !11
  %374 = load double, ptr %35, align 8, !tbaa !11
  %375 = fmul double %373, %374
  %376 = load double, ptr %42, align 8, !tbaa !11
  %377 = fmul double %375, %376
  %378 = call double @llvm.fmuladd.f64(double %371, double %372, double %377)
  store double %378, ptr %38, align 8, !tbaa !11
  %379 = load double, ptr %38, align 8, !tbaa !11
  %380 = load double, ptr %37, align 8, !tbaa !11
  %381 = fmul double %380, 1.000000e-02
  %382 = fcmp olt double %379, %381
  br i1 %382, label %383, label %414

383:                                              ; preds = %322
  %384 = load ptr, ptr %15, align 8, !tbaa !5
  %385 = load i32, ptr %384, align 4, !tbaa !9
  store i32 %385, ptr %33, align 4, !tbaa !9
  store i32 1, ptr %36, align 4, !tbaa !9
  br label %386

386:                                              ; preds = %395, %383
  %387 = load i32, ptr %36, align 4, !tbaa !9
  %388 = load i32, ptr %33, align 4, !tbaa !9
  %389 = icmp sle i32 %387, %388
  br i1 %389, label %390, label %398

390:                                              ; preds = %386
  %391 = load ptr, ptr %18, align 8, !tbaa !5
  %392 = load i32, ptr %36, align 4, !tbaa !9
  %393 = sext i32 %392 to i64
  %394 = getelementptr inbounds double, ptr %391, i64 %393
  store double 0.000000e+00, ptr %394, align 8, !tbaa !11
  br label %395

395:                                              ; preds = %390
  %396 = load i32, ptr %36, align 4, !tbaa !9
  %397 = add nsw i32 %396, 1
  store i32 %397, ptr %36, align 4, !tbaa !9
  br label %386, !llvm.loop !17

398:                                              ; preds = %386
  %399 = load ptr, ptr %16, align 8, !tbaa !5
  %400 = load i32, ptr %399, align 4, !tbaa !9
  store i32 %400, ptr %33, align 4, !tbaa !9
  store i32 1, ptr %36, align 4, !tbaa !9
  br label %401

401:                                              ; preds = %410, %398
  %402 = load i32, ptr %36, align 4, !tbaa !9
  %403 = load i32, ptr %33, align 4, !tbaa !9
  %404 = icmp sle i32 %402, %403
  br i1 %404, label %405, label %413

405:                                              ; preds = %401
  %406 = load ptr, ptr %20, align 8, !tbaa !5
  %407 = load i32, ptr %36, align 4, !tbaa !9
  %408 = sext i32 %407 to i64
  %409 = getelementptr inbounds double, ptr %406, i64 %408
  store double 0.000000e+00, ptr %409, align 8, !tbaa !11
  br label %410

410:                                              ; preds = %405
  %411 = load i32, ptr %36, align 4, !tbaa !9
  %412 = add nsw i32 %411, 1
  store i32 %412, ptr %36, align 4, !tbaa !9
  br label %401, !llvm.loop !18

413:                                              ; preds = %401
  br label %414

414:                                              ; preds = %413, %322
  store i32 1, ptr %43, align 4
  br label %415

415:                                              ; preds = %414, %272, %268, %149
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #4
  ret void
}

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

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

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

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

declare void @dgemv_(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 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str = external hidden unnamed_addr constant [8 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@c_b4 = external hidden global double, align 8
@c_b5 = external hidden global double, align 8
@c__1 = external hidden global i32, align 4
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@c_b12 = external hidden global double, align 8

; Function Attrs: nounwind uwtable
define dso_local void @dorbdb6_(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, ptr nocapture noundef readonly %12, ptr nocapture noundef writeonly %13) local_unnamed_addr #0 {
  %15 = alloca i32, align 4
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #6
  store i32 0, ptr %13, align 4, !tbaa !5
  %20 = load i32, ptr %0, align 4, !tbaa !5
  %21 = icmp slt i32 %20, 0
  br i1 %21, label %.thread, label %22

22:                                               ; preds = %14
  %23 = load i32, ptr %1, align 4, !tbaa !5
  %24 = icmp slt i32 %23, 0
  br i1 %24, label %.thread, label %25

25:                                               ; preds = %22
  %26 = load i32, ptr %2, align 4, !tbaa !5
  %27 = icmp slt i32 %26, 0
  br i1 %27, label %.thread, label %28

28:                                               ; preds = %25
  %29 = load i32, ptr %4, align 4, !tbaa !5
  %30 = icmp slt i32 %29, 1
  br i1 %30, label %.thread, label %31

31:                                               ; preds = %28
  %32 = load i32, ptr %6, align 4, !tbaa !5
  %33 = icmp slt i32 %32, 1
  br i1 %33, label %.thread, label %34

34:                                               ; preds = %31
  %35 = load i32, ptr %8, align 4, !tbaa !5
  %spec.select = tail call i32 @llvm.umax.i32(i32 %20, i32 1)
  %36 = icmp slt i32 %35, %spec.select
  br i1 %36, label %.thread, label %37

37:                                               ; preds = %34
  %38 = load i32, ptr %10, align 4, !tbaa !5
  %spec.select170 = tail call i32 @llvm.umax.i32(i32 %23, i32 1)
  %39 = icmp slt i32 %38, %spec.select170
  br i1 %39, label %.thread, label %40

40:                                               ; preds = %37
  %41 = load i32, ptr %12, align 4, !tbaa !5
  %42 = icmp slt i32 %41, %26
  br i1 %42, label %.thread, label %44

.thread:                                          ; preds = %40, %37, %34, %31, %28, %25, %22, %14
  %.sink = phi i32 [ -1, %14 ], [ -2, %22 ], [ -3, %25 ], [ -5, %28 ], [ -7, %31 ], [ -9, %34 ], [ -11, %37 ], [ -13, %40 ]
  %.neg = phi i32 [ 1, %14 ], [ 2, %22 ], [ 3, %25 ], [ 5, %28 ], [ 7, %31 ], [ 9, %34 ], [ 11, %37 ], [ 13, %40 ]
  store i32 %.sink, ptr %13, align 4, !tbaa !5
  store i32 %.neg, ptr %15, align 4, !tbaa !5
  %43 = call i32 @xerbla_(ptr noundef nonnull @.str, ptr noundef nonnull %15, i32 noundef 7) #6
  br label %.loopexit

44:                                               ; preds = %40
  store double 0.000000e+00, ptr %16, align 8, !tbaa !9
  store double 1.000000e+00, ptr %18, align 8, !tbaa !9
  call void @dlassq_(ptr noundef nonnull %0, ptr noundef %3, ptr noundef nonnull %4, ptr noundef nonnull %16, ptr noundef nonnull %18) #6
  store double 0.000000e+00, ptr %17, align 8, !tbaa !9
  store double 1.000000e+00, ptr %19, align 8, !tbaa !9
  call void @dlassq_(ptr noundef nonnull %1, ptr noundef %5, ptr noundef nonnull %6, ptr noundef nonnull %17, ptr noundef nonnull %19) #6
  %45 = load double, ptr %16, align 8, !tbaa !9
  %46 = load double, ptr %17, align 8, !tbaa !9
  %47 = fmul double %45, %45
  %48 = load double, ptr %18, align 8, !tbaa !9
  %49 = fmul double %46, %46
  %50 = load double, ptr %19, align 8, !tbaa !9
  %51 = fmul double %49, %50
  %52 = call double @llvm.fmuladd.f64(double %47, double %48, double %51)
  %53 = load i32, ptr %0, align 4, !tbaa !5
  %54 = icmp eq i32 %53, 0
  br i1 %54, label %55, label %59

55:                                               ; preds = %44
  %56 = load i32, ptr %2, align 4, !tbaa !5
  %.not165174 = icmp slt i32 %56, 1
  br i1 %.not165174, label %.loopexit173, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %55
  %57 = zext nneg i32 %56 to i64
  %58 = shl nuw nsw i64 %57, 3
  call void @llvm.memset.p0.i64(ptr align 8 %11, i8 0, i64 %58, i1 false), !tbaa !9
  br label %.loopexit173

59:                                               ; preds = %44
  call void @dgemv_(ptr noundef nonnull @.str.1, ptr noundef nonnull %0, ptr noundef nonnull %2, ptr noundef nonnull @c_b4, ptr noundef %7, ptr noundef nonnull %8, ptr noundef %3, ptr noundef nonnull %4, ptr noundef nonnull @c_b5, ptr noundef %11, ptr noundef nonnull @c__1) #6
  br label %.loopexit173

.loopexit173:                                     ; preds = %.lr.ph.preheader, %55, %59
  call void @dgemv_(ptr noundef nonnull @.str.1, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull @c_b4, ptr noundef %9, ptr noundef nonnull %10, ptr noundef %5, ptr noundef nonnull %6, ptr noundef nonnull @c_b4, ptr noundef %11, ptr noundef nonnull @c__1) #6
  call void @dgemv_(ptr noundef nonnull @.str.2, ptr noundef nonnull %0, ptr noundef nonnull %2, ptr noundef nonnull @c_b12, ptr noundef %7, ptr noundef nonnull %8, ptr noundef %11, ptr noundef nonnull @c__1, ptr noundef nonnull @c_b4, ptr noundef %3, ptr noundef nonnull %4) #6
  call void @dgemv_(ptr noundef nonnull @.str.2, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull @c_b12, ptr noundef %9, ptr noundef nonnull %10, ptr noundef %11, ptr noundef nonnull @c__1, ptr noundef nonnull @c_b4, ptr noundef %5, ptr noundef nonnull %6) #6
  store double 0.000000e+00, ptr %16, align 8, !tbaa !9
  store double 1.000000e+00, ptr %18, align 8, !tbaa !9
  call void @dlassq_(ptr noundef nonnull %0, ptr noundef %3, ptr noundef nonnull %4, ptr noundef nonnull %16, ptr noundef nonnull %18) #6
  store double 0.000000e+00, ptr %17, align 8, !tbaa !9
  store double 1.000000e+00, ptr %19, align 8, !tbaa !9
  call void @dlassq_(ptr noundef nonnull %1, ptr noundef %5, ptr noundef nonnull %6, ptr noundef nonnull %17, ptr noundef nonnull %19) #6
  %60 = load double, ptr %16, align 8, !tbaa !9
  %61 = load double, ptr %17, align 8, !tbaa !9
  %62 = fmul double %60, %60
  %63 = load double, ptr %18, align 8, !tbaa !9
  %64 = fmul double %61, %61
  %65 = load double, ptr %19, align 8, !tbaa !9
  %66 = fmul double %64, %65
  %67 = call double @llvm.fmuladd.f64(double %62, double %63, double %66)
  %68 = fmul double %52, 1.000000e-02
  %69 = fcmp oge double %67, %68
  %70 = fcmp oeq double %67, 0.000000e+00
  %or.cond = or i1 %69, %70
  br i1 %or.cond, label %.loopexit, label %71

71:                                               ; preds = %.loopexit173
  %72 = load i32, ptr %2, align 4, !tbaa !5
  %.not166176 = icmp slt i32 %72, 1
  br i1 %.not166176, label %._crit_edge, label %._crit_edge.thread

._crit_edge:                                      ; preds = %71
  %73 = load i32, ptr %0, align 4, !tbaa !5
  %74 = icmp eq i32 %73, 0
  br i1 %74, label %.loopexit172, label %81

._crit_edge.thread:                               ; preds = %71
  %75 = zext nneg i32 %72 to i64
  %76 = shl nuw nsw i64 %75, 3
  call void @llvm.memset.p0.i64(ptr align 8 %11, i8 0, i64 %76, i1 false), !tbaa !9
  %77 = load i32, ptr %0, align 4, !tbaa !5
  %78 = icmp eq i32 %77, 0
  br i1 %78, label %.lr.ph182.preheader, label %81

.lr.ph182.preheader:                              ; preds = %._crit_edge.thread
  %79 = zext nneg i32 %72 to i64
  %80 = shl nuw nsw i64 %79, 3
  call void @llvm.memset.p0.i64(ptr align 8 %11, i8 0, i64 %80, i1 false), !tbaa !9
  br label %.loopexit172

81:                                               ; preds = %._crit_edge.thread, %._crit_edge
  call void @dgemv_(ptr noundef nonnull @.str.1, ptr noundef nonnull %0, ptr noundef nonnull %2, ptr noundef nonnull @c_b4, ptr noundef %7, ptr noundef nonnull %8, ptr noundef %3, ptr noundef nonnull %4, ptr noundef nonnull @c_b5, ptr noundef %11, ptr noundef nonnull @c__1) #6
  br label %.loopexit172

.loopexit172:                                     ; preds = %._crit_edge, %.lr.ph182.preheader, %81
  call void @dgemv_(ptr noundef nonnull @.str.1, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull @c_b4, ptr noundef %9, ptr noundef nonnull %10, ptr noundef %5, ptr noundef nonnull %6, ptr noundef nonnull @c_b4, ptr noundef %11, ptr noundef nonnull @c__1) #6
  call void @dgemv_(ptr noundef nonnull @.str.2, ptr noundef nonnull %0, ptr noundef nonnull %2, ptr noundef nonnull @c_b12, ptr noundef %7, ptr noundef nonnull %8, ptr noundef %11, ptr noundef nonnull @c__1, ptr noundef nonnull @c_b4, ptr noundef %3, ptr noundef nonnull %4) #6
  call void @dgemv_(ptr noundef nonnull @.str.2, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull @c_b12, ptr noundef %9, ptr noundef nonnull %10, ptr noundef %11, ptr noundef nonnull @c__1, ptr noundef nonnull @c_b4, ptr noundef %5, ptr noundef nonnull %6) #6
  store double 0.000000e+00, ptr %16, align 8, !tbaa !9
  store double 1.000000e+00, ptr %18, align 8, !tbaa !9
  call void @dlassq_(ptr noundef nonnull %0, ptr noundef %3, ptr noundef nonnull %4, ptr noundef nonnull %16, ptr noundef nonnull %18) #6
  store double 0.000000e+00, ptr %17, align 8, !tbaa !9
  store double 1.000000e+00, ptr %19, align 8, !tbaa !9
  call void @dlassq_(ptr noundef nonnull %0, ptr noundef %3, ptr noundef nonnull %4, ptr noundef nonnull %16, ptr noundef nonnull %18) #6
  %82 = load double, ptr %16, align 8, !tbaa !9
  %83 = load double, ptr %17, align 8, !tbaa !9
  %84 = fmul double %82, %82
  %85 = load double, ptr %18, align 8, !tbaa !9
  %86 = fmul double %83, %83
  %87 = load double, ptr %19, align 8, !tbaa !9
  %88 = fmul double %86, %87
  %89 = call double @llvm.fmuladd.f64(double %84, double %85, double %88)
  %90 = fmul double %67, 1.000000e-02
  %91 = fcmp olt double %89, %90
  br i1 %91, label %92, label %.loopexit

92:                                               ; preds = %.loopexit172
  %93 = load i32, ptr %0, align 4, !tbaa !5
  %.not168183 = icmp slt i32 %93, 1
  br i1 %.not168183, label %._crit_edge187, label %.lr.ph186.preheader

.lr.ph186.preheader:                              ; preds = %92
  %94 = zext nneg i32 %93 to i64
  %95 = shl nuw nsw i64 %94, 3
  call void @llvm.memset.p0.i64(ptr align 8 %3, i8 0, i64 %95, i1 false), !tbaa !9
  br label %._crit_edge187

._crit_edge187:                                   ; preds = %.lr.ph186.preheader, %92
  %96 = load i32, ptr %1, align 4, !tbaa !5
  %.not169188 = icmp slt i32 %96, 1
  br i1 %.not169188, label %.loopexit, label %.lr.ph191.preheader

.lr.ph191.preheader:                              ; preds = %._crit_edge187
  %97 = zext nneg i32 %96 to i64
  %98 = shl nuw nsw i64 %97, 3
  call void @llvm.memset.p0.i64(ptr align 8 %5, i8 0, i64 %98, i1 false), !tbaa !9
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph191.preheader, %._crit_edge187, %.loopexit172, %.loopexit173, %.thread
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #6
  ret void
}

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

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

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

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

declare void @dgemv_(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

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

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}


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