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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@c__1 = external hidden global i32, align 4
@.str.4 = external hidden unnamed_addr constant [14 x i8], align 1
@c_n1 = external hidden global i32, align 4
@c__2 = external hidden global i32, align 4
@c__3 = external hidden global i32, align 4
@c__4 = external hidden global i32, align 4
@.str.5 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@c__0 = external hidden global i32, align 4
@c_b27 = external hidden global float, align 4

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

77:                                               ; preds = %11
  %78 = load ptr, ptr %21, align 8, !tbaa !5
  %79 = load i32, ptr %78, align 4, !tbaa !9
  %80 = icmp eq i32 %79, -1
  br label %81

81:                                               ; preds = %77, %11
  %82 = phi i1 [ true, %11 ], [ %80, %77 ]
  %83 = zext i1 %82 to i32
  store i32 %83, ptr %50, align 4, !tbaa !9
  %84 = load ptr, ptr %22, align 8, !tbaa !5
  store i32 0, ptr %84, align 4, !tbaa !9
  %85 = load ptr, ptr %12, align 8, !tbaa !5
  %86 = call i32 @lsame_(ptr noundef %85, ptr noundef @.str.2)
  %87 = icmp ne i32 %86, 0
  br i1 %87, label %90, label %88

88:                                               ; preds = %81
  %89 = load ptr, ptr %22, align 8, !tbaa !5
  store i32 -1, ptr %89, align 4, !tbaa !9
  br label %123

90:                                               ; preds = %81
  %91 = load i32, ptr %35, align 4, !tbaa !9
  %92 = icmp ne i32 %91, 0
  br i1 %92, label %99, label %93

93:                                               ; preds = %90
  %94 = load ptr, ptr %13, align 8, !tbaa !5
  %95 = call i32 @lsame_(ptr noundef %94, ptr noundef @.str.3)
  %96 = icmp ne i32 %95, 0
  br i1 %96, label %99, label %97

97:                                               ; preds = %93
  %98 = load ptr, ptr %22, align 8, !tbaa !5
  store i32 -2, ptr %98, align 4, !tbaa !9
  br label %122

99:                                               ; preds = %93, %90
  %100 = load ptr, ptr %14, align 8, !tbaa !5
  %101 = load i32, ptr %100, align 4, !tbaa !9
  %102 = icmp slt i32 %101, 0
  br i1 %102, label %103, label %105

103:                                              ; preds = %99
  %104 = load ptr, ptr %22, align 8, !tbaa !5
  store i32 -3, ptr %104, align 4, !tbaa !9
  br label %121

105:                                              ; preds = %99
  %106 = load ptr, ptr %16, align 8, !tbaa !5
  %107 = load i32, ptr %106, align 4, !tbaa !9
  %108 = load ptr, ptr %14, align 8, !tbaa !5
  %109 = load i32, ptr %108, align 4, !tbaa !9
  %110 = icmp sge i32 1, %109
  br i1 %110, label %111, label %112

111:                                              ; preds = %105
  br label %115

112:                                              ; preds = %105
  %113 = load ptr, ptr %14, align 8, !tbaa !5
  %114 = load i32, ptr %113, align 4, !tbaa !9
  br label %115

115:                                              ; preds = %112, %111
  %116 = phi i32 [ 1, %111 ], [ %114, %112 ]
  %117 = icmp slt i32 %107, %116
  br i1 %117, label %118, label %120

118:                                              ; preds = %115
  %119 = load ptr, ptr %22, align 8, !tbaa !5
  store i32 -5, ptr %119, align 4, !tbaa !9
  br label %120

120:                                              ; preds = %118, %115
  br label %121

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

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

123:                                              ; preds = %122, %88
  %124 = load ptr, ptr %22, align 8, !tbaa !5
  %125 = load i32, ptr %124, align 4, !tbaa !9
  %126 = icmp eq i32 %125, 0
  br i1 %126, label %127, label %202

127:                                              ; preds = %123
  %128 = load ptr, ptr %14, align 8, !tbaa !5
  %129 = load i32, ptr %128, align 4, !tbaa !9
  %130 = icmp sle i32 %129, 1
  br i1 %130, label %131, label %132

131:                                              ; preds = %127
  store i32 1, ptr %47, align 4, !tbaa !9
  store i32 1, ptr %34, align 4, !tbaa !9
  br label %173

132:                                              ; preds = %127
  %133 = load ptr, ptr %12, align 8, !tbaa !5
  %134 = load ptr, ptr %14, align 8, !tbaa !5
  %135 = call i32 @ilaenv2stage_(ptr noundef @c__1, ptr noundef @.str.4, ptr noundef %133, ptr noundef %134, ptr noundef @c_n1, ptr noundef @c_n1, ptr noundef @c_n1)
  store i32 %135, ptr %41, align 4, !tbaa !9
  %136 = load ptr, ptr %12, align 8, !tbaa !5
  %137 = load ptr, ptr %14, align 8, !tbaa !5
  %138 = call i32 @ilaenv2stage_(ptr noundef @c__2, ptr noundef @.str.4, ptr noundef %136, ptr noundef %137, ptr noundef %41, ptr noundef @c_n1, ptr noundef @c_n1)
  store i32 %138, ptr %39, align 4, !tbaa !9
  %139 = load ptr, ptr %12, align 8, !tbaa !5
  %140 = load ptr, ptr %14, align 8, !tbaa !5
  %141 = call i32 @ilaenv2stage_(ptr noundef @c__3, ptr noundef @.str.4, ptr noundef %139, ptr noundef %140, ptr noundef %41, ptr noundef %39, ptr noundef @c_n1)
  store i32 %141, ptr %33, align 4, !tbaa !9
  %142 = load ptr, ptr %12, align 8, !tbaa !5
  %143 = load ptr, ptr %14, align 8, !tbaa !5
  %144 = call i32 @ilaenv2stage_(ptr noundef @c__4, ptr noundef @.str.4, ptr noundef %142, ptr noundef %143, ptr noundef %41, ptr noundef %39, ptr noundef @c_n1)
  store i32 %144, ptr %36, align 4, !tbaa !9
  %145 = load i32, ptr %37, align 4, !tbaa !9
  %146 = icmp ne i32 %145, 0
  br i1 %146, label %147, label %163

147:                                              ; preds = %132
  %148 = load ptr, ptr %14, align 8, !tbaa !5
  %149 = load i32, ptr %148, align 4, !tbaa !9
  %150 = mul nsw i32 %149, 5
  %151 = add nsw i32 %150, 3
  store i32 %151, ptr %47, align 4, !tbaa !9
  %152 = load ptr, ptr %14, align 8, !tbaa !5
  %153 = load i32, ptr %152, align 4, !tbaa !9
  store i32 %153, ptr %25, align 4, !tbaa !9
  %154 = load ptr, ptr %14, align 8, !tbaa !5
  %155 = load i32, ptr %154, align 4, !tbaa !9
  %156 = mul nsw i32 %155, 6
  %157 = add nsw i32 %156, 1
  %158 = load i32, ptr %25, align 4, !tbaa !9
  %159 = load i32, ptr %25, align 4, !tbaa !9
  %160 = mul nsw i32 %158, %159
  %161 = shl i32 %160, 1
  %162 = add nsw i32 %157, %161
  store i32 %162, ptr %34, align 4, !tbaa !9
  br label %172

163:                                              ; preds = %132
  store i32 1, ptr %47, align 4, !tbaa !9
  %164 = load ptr, ptr %14, align 8, !tbaa !5
  %165 = load i32, ptr %164, align 4, !tbaa !9
  %166 = shl i32 %165, 1
  %167 = add nsw i32 %166, 1
  %168 = load i32, ptr %33, align 4, !tbaa !9
  %169 = add nsw i32 %167, %168
  %170 = load i32, ptr %36, align 4, !tbaa !9
  %171 = add nsw i32 %169, %170
  store i32 %171, ptr %34, align 4, !tbaa !9
  br label %172

172:                                              ; preds = %163, %147
  br label %173

173:                                              ; preds = %172, %131
  %174 = load i32, ptr %34, align 4, !tbaa !9
  %175 = sitofp i32 %174 to float
  %176 = load ptr, ptr %18, align 8, !tbaa !5
  %177 = getelementptr inbounds float, ptr %176, i64 1
  store float %175, ptr %177, align 4, !tbaa !11
  %178 = load i32, ptr %47, align 4, !tbaa !9
  %179 = load ptr, ptr %20, align 8, !tbaa !5
  %180 = getelementptr inbounds i32, ptr %179, i64 1
  store i32 %178, ptr %180, align 4, !tbaa !9
  %181 = load ptr, ptr %19, align 8, !tbaa !5
  %182 = load i32, ptr %181, align 4, !tbaa !9
  %183 = load i32, ptr %34, align 4, !tbaa !9
  %184 = icmp slt i32 %182, %183
  br i1 %184, label %185, label %190

185:                                              ; preds = %173
  %186 = load i32, ptr %50, align 4, !tbaa !9
  %187 = icmp ne i32 %186, 0
  br i1 %187, label %190, label %188

188:                                              ; preds = %185
  %189 = load ptr, ptr %22, align 8, !tbaa !5
  store i32 -8, ptr %189, align 4, !tbaa !9
  br label %201

190:                                              ; preds = %185, %173
  %191 = load ptr, ptr %21, align 8, !tbaa !5
  %192 = load i32, ptr %191, align 4, !tbaa !9
  %193 = load i32, ptr %47, align 4, !tbaa !9
  %194 = icmp slt i32 %192, %193
  br i1 %194, label %195, label %200

195:                                              ; preds = %190
  %196 = load i32, ptr %50, align 4, !tbaa !9
  %197 = icmp ne i32 %196, 0
  br i1 %197, label %200, label %198

198:                                              ; preds = %195
  %199 = load ptr, ptr %22, align 8, !tbaa !5
  store i32 -10, ptr %199, align 4, !tbaa !9
  br label %200

200:                                              ; preds = %198, %195, %190
  br label %201

201:                                              ; preds = %200, %188
  br label %202

202:                                              ; preds = %201, %123
  %203 = load ptr, ptr %22, align 8, !tbaa !5
  %204 = load i32, ptr %203, align 4, !tbaa !9
  %205 = icmp ne i32 %204, 0
  br i1 %205, label %206, label %211

206:                                              ; preds = %202
  %207 = load ptr, ptr %22, align 8, !tbaa !5
  %208 = load i32, ptr %207, align 4, !tbaa !9
  %209 = sub nsw i32 0, %208
  store i32 %209, ptr %25, align 4, !tbaa !9
  %210 = call i32 @xerbla_(ptr noundef @.str.5, ptr noundef %25, i32 noundef 13)
  store i32 1, ptr %53, align 4
  br label %385

211:                                              ; preds = %202
  %212 = load i32, ptr %50, align 4, !tbaa !9
  %213 = icmp ne i32 %212, 0
  br i1 %213, label %214, label %215

214:                                              ; preds = %211
  store i32 1, ptr %53, align 4
  br label %385

215:                                              ; preds = %211
  br label %216

216:                                              ; preds = %215
  %217 = load ptr, ptr %14, align 8, !tbaa !5
  %218 = load i32, ptr %217, align 4, !tbaa !9
  %219 = icmp eq i32 %218, 0
  br i1 %219, label %220, label %221

220:                                              ; preds = %216
  store i32 1, ptr %53, align 4
  br label %385

221:                                              ; preds = %216
  %222 = load ptr, ptr %14, align 8, !tbaa !5
  %223 = load i32, ptr %222, align 4, !tbaa !9
  %224 = icmp eq i32 %223, 1
  br i1 %224, label %225, label %243

225:                                              ; preds = %221
  %226 = load ptr, ptr %15, align 8, !tbaa !5
  %227 = load i32, ptr %23, align 4, !tbaa !9
  %228 = add nsw i32 %227, 1
  %229 = sext i32 %228 to i64
  %230 = getelementptr inbounds float, ptr %226, i64 %229
  %231 = load float, ptr %230, align 4, !tbaa !11
  %232 = load ptr, ptr %17, align 8, !tbaa !5
  %233 = getelementptr inbounds float, ptr %232, i64 1
  store float %231, ptr %233, align 4, !tbaa !11
  %234 = load i32, ptr %37, align 4, !tbaa !9
  %235 = icmp ne i32 %234, 0
  br i1 %235, label %236, label %242

236:                                              ; preds = %225
  %237 = load ptr, ptr %15, align 8, !tbaa !5
  %238 = load i32, ptr %23, align 4, !tbaa !9
  %239 = add nsw i32 %238, 1
  %240 = sext i32 %239 to i64
  %241 = getelementptr inbounds float, ptr %237, i64 %240
  store float 1.000000e+00, ptr %241, align 4, !tbaa !11
  br label %242

242:                                              ; preds = %236, %225
  store i32 1, ptr %53, align 4
  br label %385

243:                                              ; preds = %221
  %244 = call float @slamch_(ptr noundef @.str.6)
  store float %244, ptr %43, align 4, !tbaa !11
  %245 = call float @slamch_(ptr noundef @.str.7)
  store float %245, ptr %51, align 4, !tbaa !11
  %246 = load float, ptr %43, align 4, !tbaa !11
  %247 = load float, ptr %51, align 4, !tbaa !11
  %248 = fdiv float %246, %247
  store float %248, ptr %49, align 4, !tbaa !11
  %249 = load float, ptr %49, align 4, !tbaa !11
  %250 = fdiv float 1.000000e+00, %249
  store float %250, ptr %44, align 4, !tbaa !11
  %251 = load float, ptr %49, align 4, !tbaa !11
  %252 = fpext float %251 to double
  %253 = call double @sqrt(double noundef %252) #4
  %254 = fptrunc double %253 to float
  store float %254, ptr %29, align 4, !tbaa !11
  %255 = load float, ptr %44, align 4, !tbaa !11
  %256 = fpext float %255 to double
  %257 = call double @sqrt(double noundef %256) #4
  %258 = fptrunc double %257 to float
  store float %258, ptr %30, align 4, !tbaa !11
  %259 = load ptr, ptr %13, align 8, !tbaa !5
  %260 = load ptr, ptr %14, align 8, !tbaa !5
  %261 = load ptr, ptr %15, align 8, !tbaa !5
  %262 = load i32, ptr %24, align 4, !tbaa !9
  %263 = sext i32 %262 to i64
  %264 = getelementptr inbounds float, ptr %261, i64 %263
  %265 = load ptr, ptr %16, align 8, !tbaa !5
  %266 = load ptr, ptr %18, align 8, !tbaa !5
  %267 = getelementptr inbounds float, ptr %266, i64 1
  %268 = call float @slansy_(ptr noundef @.str.8, ptr noundef %259, ptr noundef %260, ptr noundef %264, ptr noundef %265, ptr noundef %267)
  store float %268, ptr %28, align 4, !tbaa !11
  store i32 0, ptr %42, align 4, !tbaa !9
  %269 = load float, ptr %28, align 4, !tbaa !11
  %270 = fcmp ogt float %269, 0.000000e+00
  br i1 %270, label %271, label %279

271:                                              ; preds = %243
  %272 = load float, ptr %28, align 4, !tbaa !11
  %273 = load float, ptr %29, align 4, !tbaa !11
  %274 = fcmp olt float %272, %273
  br i1 %274, label %275, label %279

275:                                              ; preds = %271
  store i32 1, ptr %42, align 4, !tbaa !9
  %276 = load float, ptr %29, align 4, !tbaa !11
  %277 = load float, ptr %28, align 4, !tbaa !11
  %278 = fdiv float %276, %277
  store float %278, ptr %31, align 4, !tbaa !11
  br label %288

279:                                              ; preds = %271, %243
  %280 = load float, ptr %28, align 4, !tbaa !11
  %281 = load float, ptr %30, align 4, !tbaa !11
  %282 = fcmp ogt float %280, %281
  br i1 %282, label %283, label %287

283:                                              ; preds = %279
  store i32 1, ptr %42, align 4, !tbaa !9
  %284 = load float, ptr %30, align 4, !tbaa !11
  %285 = load float, ptr %28, align 4, !tbaa !11
  %286 = fdiv float %284, %285
  store float %286, ptr %31, align 4, !tbaa !11
  br label %287

287:                                              ; preds = %283, %279
  br label %288

288:                                              ; preds = %287, %275
  %289 = load i32, ptr %42, align 4, !tbaa !9
  %290 = icmp eq i32 %289, 1
  br i1 %290, label %291, label %301

291:                                              ; preds = %288
  %292 = load ptr, ptr %13, align 8, !tbaa !5
  %293 = load ptr, ptr %14, align 8, !tbaa !5
  %294 = load ptr, ptr %14, align 8, !tbaa !5
  %295 = load ptr, ptr %15, align 8, !tbaa !5
  %296 = load i32, ptr %24, align 4, !tbaa !9
  %297 = sext i32 %296 to i64
  %298 = getelementptr inbounds float, ptr %295, i64 %297
  %299 = load ptr, ptr %16, align 8, !tbaa !5
  %300 = load ptr, ptr %22, align 8, !tbaa !5
  call void @slascl_(ptr noundef %292, ptr noundef @c__0, ptr noundef @c__0, ptr noundef @c_b27, ptr noundef %31, ptr noundef %293, ptr noundef %294, ptr noundef %298, ptr noundef %299, ptr noundef %300)
  br label %301

301:                                              ; preds = %291, %288
  store i32 1, ptr %27, align 4, !tbaa !9
  %302 = load i32, ptr %27, align 4, !tbaa !9
  %303 = load ptr, ptr %14, align 8, !tbaa !5
  %304 = load i32, ptr %303, align 4, !tbaa !9
  %305 = add nsw i32 %302, %304
  store i32 %305, ptr %45, align 4, !tbaa !9
  %306 = load i32, ptr %45, align 4, !tbaa !9
  %307 = load ptr, ptr %14, align 8, !tbaa !5
  %308 = load i32, ptr %307, align 4, !tbaa !9
  %309 = add nsw i32 %306, %308
  store i32 %309, ptr %52, align 4, !tbaa !9
  %310 = load i32, ptr %52, align 4, !tbaa !9
  %311 = load i32, ptr %33, align 4, !tbaa !9
  %312 = add nsw i32 %310, %311
  store i32 %312, ptr %46, align 4, !tbaa !9
  %313 = load ptr, ptr %19, align 8, !tbaa !5
  %314 = load i32, ptr %313, align 4, !tbaa !9
  %315 = load i32, ptr %46, align 4, !tbaa !9
  %316 = sub nsw i32 %314, %315
  %317 = add nsw i32 %316, 1
  store i32 %317, ptr %48, align 4, !tbaa !9
  %318 = load i32, ptr %46, align 4, !tbaa !9
  %319 = load ptr, ptr %14, align 8, !tbaa !5
  %320 = load i32, ptr %319, align 4, !tbaa !9
  %321 = load ptr, ptr %14, align 8, !tbaa !5
  %322 = load i32, ptr %321, align 4, !tbaa !9
  %323 = mul nsw i32 %320, %322
  %324 = add nsw i32 %318, %323
  store i32 %324, ptr %38, align 4, !tbaa !9
  %325 = load ptr, ptr %19, align 8, !tbaa !5
  %326 = load i32, ptr %325, align 4, !tbaa !9
  %327 = load i32, ptr %38, align 4, !tbaa !9
  %328 = sub nsw i32 %326, %327
  %329 = add nsw i32 %328, 1
  store i32 %329, ptr %40, align 4, !tbaa !9
  %330 = load ptr, ptr %12, align 8, !tbaa !5
  %331 = load ptr, ptr %13, align 8, !tbaa !5
  %332 = load ptr, ptr %14, align 8, !tbaa !5
  %333 = load ptr, ptr %15, align 8, !tbaa !5
  %334 = load i32, ptr %24, align 4, !tbaa !9
  %335 = sext i32 %334 to i64
  %336 = getelementptr inbounds float, ptr %333, i64 %335
  %337 = load ptr, ptr %16, align 8, !tbaa !5
  %338 = load ptr, ptr %17, align 8, !tbaa !5
  %339 = getelementptr inbounds float, ptr %338, i64 1
  %340 = load ptr, ptr %18, align 8, !tbaa !5
  %341 = load i32, ptr %27, align 4, !tbaa !9
  %342 = sext i32 %341 to i64
  %343 = getelementptr inbounds float, ptr %340, i64 %342
  %344 = load ptr, ptr %18, align 8, !tbaa !5
  %345 = load i32, ptr %45, align 4, !tbaa !9
  %346 = sext i32 %345 to i64
  %347 = getelementptr inbounds float, ptr %344, i64 %346
  %348 = load ptr, ptr %18, align 8, !tbaa !5
  %349 = load i32, ptr %52, align 4, !tbaa !9
  %350 = sext i32 %349 to i64
  %351 = getelementptr inbounds float, ptr %348, i64 %350
  %352 = load ptr, ptr %18, align 8, !tbaa !5
  %353 = load i32, ptr %46, align 4, !tbaa !9
  %354 = sext i32 %353 to i64
  %355 = getelementptr inbounds float, ptr %352, i64 %354
  call void @ssytrd_2stage_(ptr noundef %330, ptr noundef %331, ptr noundef %332, ptr noundef %336, ptr noundef %337, ptr noundef %339, ptr noundef %343, ptr noundef %347, ptr noundef %351, ptr noundef %33, ptr noundef %355, ptr noundef %48, ptr noundef %32)
  %356 = load i32, ptr %37, align 4, !tbaa !9
  %357 = icmp ne i32 %356, 0
  br i1 %357, label %367, label %358

358:                                              ; preds = %301
  %359 = load ptr, ptr %14, align 8, !tbaa !5
  %360 = load ptr, ptr %17, align 8, !tbaa !5
  %361 = getelementptr inbounds float, ptr %360, i64 1
  %362 = load ptr, ptr %18, align 8, !tbaa !5
  %363 = load i32, ptr %27, align 4, !tbaa !9
  %364 = sext i32 %363 to i64
  %365 = getelementptr inbounds float, ptr %362, i64 %364
  %366 = load ptr, ptr %22, align 8, !tbaa !5
  call void @ssterf_(ptr noundef %359, ptr noundef %361, ptr noundef %365, ptr noundef %366)
  br label %368

367:                                              ; preds = %301
  store i32 1, ptr %53, align 4
  br label %385

368:                                              ; preds = %358
  %369 = load i32, ptr %42, align 4, !tbaa !9
  %370 = icmp eq i32 %369, 1
  br i1 %370, label %371, label %377

371:                                              ; preds = %368
  %372 = load float, ptr %31, align 4, !tbaa !11
  %373 = fdiv float 1.000000e+00, %372
  store float %373, ptr %26, align 4, !tbaa !11
  %374 = load ptr, ptr %14, align 8, !tbaa !5
  %375 = load ptr, ptr %17, align 8, !tbaa !5
  %376 = getelementptr inbounds float, ptr %375, i64 1
  call void @sscal_(ptr noundef %374, ptr noundef %26, ptr noundef %376, ptr noundef @c__1)
  br label %377

377:                                              ; preds = %371, %368
  %378 = load i32, ptr %34, align 4, !tbaa !9
  %379 = sitofp i32 %378 to float
  %380 = load ptr, ptr %18, align 8, !tbaa !5
  %381 = getelementptr inbounds float, ptr %380, i64 1
  store float %379, ptr %381, align 4, !tbaa !11
  %382 = load i32, ptr %47, align 4, !tbaa !9
  %383 = load ptr, ptr %20, align 8, !tbaa !5
  %384 = getelementptr inbounds i32, ptr %383, i64 1
  store i32 %382, ptr %384, align 4, !tbaa !9
  store i32 1, ptr %53, align 4
  br label %385

385:                                              ; preds = %377, %367, %242, %220, %214, %206
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 4, 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #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 @lsame_(ptr noundef, ptr noundef) #2

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

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

declare float @slamch_(ptr noundef) #2

; Function Attrs: nounwind
declare double @sqrt(double noundef) #3

declare float @slansy_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

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

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

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

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

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}


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

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@c__1 = external hidden global i32, align 4
@.str.4 = external hidden unnamed_addr constant [14 x i8], align 1
@c_n1 = external hidden global i32, align 4
@c__2 = external hidden global i32, align 4
@c__3 = external hidden global i32, align 4
@c__4 = external hidden global i32, align 4
@.str.5 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@c__0 = external hidden global i32, align 4
@c_b27 = external hidden global float, align 4

; Function Attrs: nounwind uwtable
define dso_local void @ssyevd_2stage_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr nocapture noundef readonly %7, ptr nocapture noundef writeonly %8, ptr nocapture noundef readonly %9, ptr noundef %10) local_unnamed_addr #0 {
  %12 = alloca i32, align 4
  %13 = alloca float, align 4
  %14 = alloca float, 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
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #4
  %20 = getelementptr inbounds i8, ptr %6, i64 -4
  %21 = tail call i32 @lsame_(ptr noundef %0, ptr noundef nonnull @.str) #4
  %22 = tail call i32 @lsame_(ptr noundef %1, ptr noundef nonnull @.str.1) #4
  %23 = load i32, ptr %7, align 4, !tbaa !5
  %24 = icmp eq i32 %23, -1
  br i1 %24, label %28, label %25

25:                                               ; preds = %11
  %26 = load i32, ptr %9, align 4, !tbaa !5
  %27 = icmp eq i32 %26, -1
  br label %28

28:                                               ; preds = %25, %11
  %29 = phi i1 [ true, %11 ], [ %27, %25 ]
  store i32 0, ptr %10, align 4, !tbaa !5
  %30 = tail call i32 @lsame_(ptr noundef %0, ptr noundef nonnull @.str.2) #4
  %.not = icmp eq i32 %30, 0
  br i1 %.not, label %.thread154.sink.split, label %31

31:                                               ; preds = %28
  %.not141 = icmp eq i32 %22, 0
  br i1 %.not141, label %32, label %34

32:                                               ; preds = %31
  %33 = tail call i32 @lsame_(ptr noundef %1, ptr noundef nonnull @.str.3) #4
  %.not142 = icmp eq i32 %33, 0
  br i1 %.not142, label %.thread154.sink.split, label %34

34:                                               ; preds = %32, %31
  %35 = load i32, ptr %2, align 4, !tbaa !5
  %36 = icmp slt i32 %35, 0
  br i1 %36, label %.thread154.sink.split, label %37

37:                                               ; preds = %34
  %38 = load i32, ptr %4, align 4, !tbaa !5
  %spec.select = tail call i32 @llvm.umax.i32(i32 %35, i32 1)
  %39 = icmp slt i32 %38, %spec.select
  br i1 %39, label %.thread154.sink.split, label %40

40:                                               ; preds = %37
  %.pr = load i32, ptr %10, align 4, !tbaa !5
  %41 = icmp eq i32 %.pr, 0
  br i1 %41, label %42, label %.thread154

42:                                               ; preds = %40
  %43 = icmp ult i32 %35, 2
  br i1 %43, label %60, label %44

44:                                               ; preds = %42
  %45 = tail call i32 @ilaenv2stage_(ptr noundef nonnull @c__1, ptr noundef nonnull @.str.4, ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull @c_n1, ptr noundef nonnull @c_n1, ptr noundef nonnull @c_n1) #4
  store i32 %45, ptr %18, align 4, !tbaa !5
  %46 = call i32 @ilaenv2stage_(ptr noundef nonnull @c__2, ptr noundef nonnull @.str.4, ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %18, ptr noundef nonnull @c_n1, ptr noundef nonnull @c_n1) #4
  store i32 %46, ptr %17, align 4, !tbaa !5
  %47 = call i32 @ilaenv2stage_(ptr noundef nonnull @c__3, ptr noundef nonnull @.str.4, ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %18, ptr noundef nonnull %17, ptr noundef nonnull @c_n1) #4
  store i32 %47, ptr %16, align 4, !tbaa !5
  %48 = call i32 @ilaenv2stage_(ptr noundef nonnull @c__4, ptr noundef nonnull @.str.4, ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %18, ptr noundef nonnull %17, ptr noundef nonnull @c_n1) #4
  %.not143 = icmp eq i32 %21, 0
  %49 = load i32, ptr %2, align 4, !tbaa !5
  br i1 %.not143, label %55, label %50

50:                                               ; preds = %44
  %51 = mul nsw i32 %49, 5
  %52 = add nsw i32 %51, 3
  store i32 %49, ptr %12, align 4, !tbaa !5
  %53 = shl i32 %49, 1
  %reass.add = add i32 %53, 6
  %reass.mul = mul i32 %reass.add, %49
  %54 = or disjoint i32 %reass.mul, 1
  br label %60

55:                                               ; preds = %44
  %56 = shl i32 %49, 1
  %57 = add i32 %48, 1
  %58 = add i32 %57, %56
  %59 = add i32 %58, %47
  br label %60

60:                                               ; preds = %42, %50, %55
  %61 = phi i32 [ %47, %50 ], [ %47, %55 ], [ undef, %42 ]
  %.0132 = phi i32 [ %54, %50 ], [ %59, %55 ], [ 1, %42 ]
  %.0 = phi i32 [ %52, %50 ], [ 1, %55 ], [ 1, %42 ]
  %62 = sitofp i32 %.0132 to float
  store float %62, ptr %6, align 4, !tbaa !9
  store i32 %.0, ptr %8, align 4, !tbaa !5
  %63 = load i32, ptr %7, align 4, !tbaa !5
  %64 = icmp sge i32 %63, %.0132
  %or.cond = select i1 %64, i1 true, i1 %29
  br i1 %or.cond, label %65, label %.thread154.sink.split

65:                                               ; preds = %60
  %66 = load i32, ptr %9, align 4, !tbaa !5
  %67 = icmp sge i32 %66, %.0
  %or.cond3 = select i1 %67, i1 true, i1 %29
  br i1 %or.cond3, label %.thread, label %.thread154.sink.split

.thread:                                          ; preds = %65
  %.pr150.pr = load i32, ptr %10, align 4, !tbaa !5
  %.not144 = icmp eq i32 %.pr150.pr, 0
  br i1 %.not144, label %71, label %.thread154

.thread154.sink.split:                            ; preds = %65, %60, %37, %34, %32, %28
  %.sink = phi i32 [ -1, %28 ], [ -2, %32 ], [ -3, %34 ], [ -5, %37 ], [ -8, %60 ], [ -10, %65 ]
  store i32 %.sink, ptr %10, align 4, !tbaa !5
  br label %.thread154

.thread154:                                       ; preds = %.thread154.sink.split, %40, %.thread
  %68 = phi i32 [ %.pr150.pr, %.thread ], [ %.pr, %40 ], [ %.sink, %.thread154.sink.split ]
  %69 = sub nsw i32 0, %68
  store i32 %69, ptr %12, align 4, !tbaa !5
  %70 = call i32 @xerbla_(ptr noundef nonnull @.str.5, ptr noundef nonnull %12, i32 noundef 13) #4
  br label %108

71:                                               ; preds = %.thread
  br i1 %29, label %108, label %72

72:                                               ; preds = %71
  %73 = load i32, ptr %2, align 4, !tbaa !5
  switch i32 %73, label %77 [
    i32 0, label %108
    i32 1, label %74
  ]

74:                                               ; preds = %72
  %75 = load float, ptr %3, align 4, !tbaa !9
  store float %75, ptr %5, align 4, !tbaa !9
  %.not147 = icmp eq i32 %21, 0
  br i1 %.not147, label %108, label %76

76:                                               ; preds = %74
  store float 1.000000e+00, ptr %3, align 4, !tbaa !9
  br label %108

77:                                               ; preds = %72
  %78 = call float @slamch_(ptr noundef nonnull @.str.6) #4
  %79 = call float @slamch_(ptr noundef nonnull @.str.7) #4
  %80 = fdiv float %78, %79
  %81 = fdiv float 1.000000e+00, %80
  %sqrtf = call float @sqrtf(float noundef %80) #5
  %sqrtf145 = call float @sqrtf(float noundef %81) #5
  %82 = call float @slansy_(ptr noundef nonnull @.str.8, ptr noundef %1, ptr noundef nonnull %2, ptr noundef %3, ptr noundef nonnull %4, ptr noundef nonnull %6) #4
  %83 = fcmp ogt float %82, 0.000000e+00
  %84 = fcmp olt float %82, %sqrtf
  %or.cond148 = select i1 %83, i1 %84, i1 false
  br i1 %or.cond148, label %87, label %85

85:                                               ; preds = %77
  %86 = fcmp ogt float %82, %sqrtf145
  br i1 %86, label %87, label %88

87:                                               ; preds = %85, %77
  %sqrtf145.pn = phi float [ %sqrtf, %77 ], [ %sqrtf145, %85 ]
  %storemerge = fdiv float %sqrtf145.pn, %82
  store float %storemerge, ptr %14, align 4, !tbaa !9
  call void @slascl_(ptr noundef %1, ptr noundef nonnull @c__0, ptr noundef nonnull @c__0, ptr noundef nonnull @c_b27, ptr noundef nonnull %14, ptr noundef nonnull %2, ptr noundef nonnull %2, ptr noundef %3, ptr noundef nonnull %4, ptr noundef nonnull %10) #4
  br label %88

88:                                               ; preds = %85, %87
  %89 = phi i1 [ true, %87 ], [ false, %85 ]
  %90 = load i32, ptr %2, align 4, !tbaa !5
  %91 = add nsw i32 %90, 1
  %92 = add nsw i32 %91, %90
  %93 = add nsw i32 %92, %61
  %94 = load i32, ptr %7, align 4, !tbaa !5
  %95 = add i32 %94, 1
  %96 = sub i32 %95, %93
  store i32 %96, ptr %19, align 4, !tbaa !5
  %97 = sext i32 %91 to i64
  %98 = getelementptr inbounds float, ptr %20, i64 %97
  %99 = sext i32 %92 to i64
  %100 = getelementptr inbounds float, ptr %20, i64 %99
  %101 = sext i32 %93 to i64
  %102 = getelementptr inbounds float, ptr %20, i64 %101
  call void @ssytrd_2stage_(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %2, ptr noundef %3, ptr noundef nonnull %4, ptr noundef %5, ptr noundef nonnull %6, ptr noundef nonnull %98, ptr noundef nonnull %100, ptr noundef nonnull %16, ptr noundef nonnull %102, ptr noundef nonnull %19, ptr noundef nonnull %15) #4
  %.not146 = icmp eq i32 %21, 0
  br i1 %.not146, label %103, label %108

103:                                              ; preds = %88
  call void @ssterf_(ptr noundef nonnull %2, ptr noundef %5, ptr noundef nonnull %6, ptr noundef nonnull %10) #4
  br i1 %89, label %104, label %107

104:                                              ; preds = %103
  %105 = load float, ptr %14, align 4, !tbaa !9
  %106 = fdiv float 1.000000e+00, %105
  store float %106, ptr %13, align 4, !tbaa !9
  call void @sscal_(ptr noundef nonnull %2, ptr noundef nonnull %13, ptr noundef %5, ptr noundef nonnull @c__1) #4
  br label %107

107:                                              ; preds = %104, %103
  store float %62, ptr %6, align 4, !tbaa !9
  store i32 %.0, ptr %8, align 4, !tbaa !5
  br label %108

108:                                              ; preds = %88, %74, %76, %72, %71, %107, %.thread154
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #4
  ret void
}

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

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

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

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

declare float @slamch_(ptr noundef) local_unnamed_addr #2

declare float @slansy_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

declare void @ssytrd_2stage_(ptr noundef, ptr noundef, 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

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

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

declare float @sqrtf(float) local_unnamed_addr

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

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

!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 = !{!"float", !7, i64 0}


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