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

; 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
@.str.4 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@c_b11 = external hidden global float, align 4
@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1
@c__1 = external hidden global i32, align 4

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

76:                                               ; preds = %11
  %77 = load ptr, ptr %12, align 8, !tbaa !5
  %78 = call i32 @lsame_(ptr noundef %77, ptr noundef @.str.2)
  %79 = icmp ne i32 %78, 0
  br i1 %79, label %82, label %80

80:                                               ; preds = %76
  %81 = load ptr, ptr %22, align 8, !tbaa !5
  store i32 -1, ptr %81, align 4, !tbaa !9
  br label %132

82:                                               ; preds = %76, %11
  %83 = load i32, ptr %36, align 4, !tbaa !9
  %84 = icmp ne i32 %83, 0
  br i1 %84, label %91, label %85

85:                                               ; preds = %82
  %86 = load ptr, ptr %13, align 8, !tbaa !5
  %87 = call i32 @lsame_(ptr noundef %86, ptr noundef @.str.3)
  %88 = icmp ne i32 %87, 0
  br i1 %88, label %91, label %89

89:                                               ; preds = %85
  %90 = load ptr, ptr %22, align 8, !tbaa !5
  store i32 -2, ptr %90, align 4, !tbaa !9
  br label %131

91:                                               ; preds = %85, %82
  %92 = load ptr, ptr %14, align 8, !tbaa !5
  %93 = load i32, ptr %92, align 4, !tbaa !9
  %94 = icmp slt i32 %93, 0
  br i1 %94, label %95, label %97

95:                                               ; preds = %91
  %96 = load ptr, ptr %22, align 8, !tbaa !5
  store i32 -3, ptr %96, align 4, !tbaa !9
  br label %130

97:                                               ; preds = %91
  %98 = load ptr, ptr %15, align 8, !tbaa !5
  %99 = load i32, ptr %98, align 4, !tbaa !9
  %100 = icmp slt i32 %99, 0
  br i1 %100, label %101, label %103

101:                                              ; preds = %97
  %102 = load ptr, ptr %22, align 8, !tbaa !5
  store i32 -4, ptr %102, align 4, !tbaa !9
  br label %129

103:                                              ; preds = %97
  %104 = load ptr, ptr %17, align 8, !tbaa !5
  %105 = load i32, ptr %104, align 4, !tbaa !9
  %106 = load ptr, ptr %15, align 8, !tbaa !5
  %107 = load i32, ptr %106, align 4, !tbaa !9
  %108 = add nsw i32 %107, 1
  %109 = icmp slt i32 %105, %108
  br i1 %109, label %110, label %112

110:                                              ; preds = %103
  %111 = load ptr, ptr %22, align 8, !tbaa !5
  store i32 -6, ptr %111, align 4, !tbaa !9
  br label %128

112:                                              ; preds = %103
  %113 = load ptr, ptr %20, align 8, !tbaa !5
  %114 = load i32, ptr %113, align 4, !tbaa !9
  %115 = icmp slt i32 %114, 1
  br i1 %115, label %125, label %116

116:                                              ; preds = %112
  %117 = load i32, ptr %37, align 4, !tbaa !9
  %118 = icmp ne i32 %117, 0
  br i1 %118, label %119, label %127

119:                                              ; preds = %116
  %120 = load ptr, ptr %20, align 8, !tbaa !5
  %121 = load i32, ptr %120, align 4, !tbaa !9
  %122 = load ptr, ptr %14, align 8, !tbaa !5
  %123 = load i32, ptr %122, align 4, !tbaa !9
  %124 = icmp slt i32 %121, %123
  br i1 %124, label %125, label %127

125:                                              ; preds = %119, %112
  %126 = load ptr, ptr %22, align 8, !tbaa !5
  store i32 -9, ptr %126, align 4, !tbaa !9
  br label %127

127:                                              ; preds = %125, %119, %116
  br label %128

128:                                              ; preds = %127, %110
  br label %129

129:                                              ; preds = %128, %101
  br label %130

130:                                              ; preds = %129, %95
  br label %131

131:                                              ; preds = %130, %89
  br label %132

132:                                              ; preds = %131, %80
  %133 = load ptr, ptr %22, align 8, !tbaa !5
  %134 = load i32, ptr %133, align 4, !tbaa !9
  %135 = icmp ne i32 %134, 0
  br i1 %135, label %136, label %141

136:                                              ; preds = %132
  %137 = load ptr, ptr %22, align 8, !tbaa !5
  %138 = load i32, ptr %137, align 4, !tbaa !9
  %139 = sub nsw i32 0, %138
  store i32 %139, ptr %27, align 4, !tbaa !9
  %140 = call i32 @xerbla_(ptr noundef @.str.4, ptr noundef %27, i32 noundef 6)
  store i32 1, ptr %44, align 4
  br label %338

141:                                              ; preds = %132
  %142 = load ptr, ptr %14, align 8, !tbaa !5
  %143 = load i32, ptr %142, align 4, !tbaa !9
  %144 = icmp eq i32 %143, 0
  br i1 %144, label %145, label %146

145:                                              ; preds = %141
  store i32 1, ptr %44, align 4
  br label %338

146:                                              ; preds = %141
  %147 = load ptr, ptr %14, align 8, !tbaa !5
  %148 = load i32, ptr %147, align 4, !tbaa !9
  %149 = icmp eq i32 %148, 1
  br i1 %149, label %150, label %184

150:                                              ; preds = %146
  %151 = load i32, ptr %36, align 4, !tbaa !9
  %152 = icmp ne i32 %151, 0
  br i1 %152, label %153, label %162

153:                                              ; preds = %150
  %154 = load ptr, ptr %16, align 8, !tbaa !5
  %155 = load i32, ptr %23, align 4, !tbaa !9
  %156 = add nsw i32 %155, 1
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds float, ptr %154, i64 %157
  %159 = load float, ptr %158, align 4, !tbaa !11
  %160 = load ptr, ptr %18, align 8, !tbaa !5
  %161 = getelementptr inbounds float, ptr %160, i64 1
  store float %159, ptr %161, align 4, !tbaa !11
  br label %174

162:                                              ; preds = %150
  %163 = load ptr, ptr %16, align 8, !tbaa !5
  %164 = load ptr, ptr %15, align 8, !tbaa !5
  %165 = load i32, ptr %164, align 4, !tbaa !9
  %166 = add nsw i32 %165, 1
  %167 = load i32, ptr %23, align 4, !tbaa !9
  %168 = add nsw i32 %166, %167
  %169 = sext i32 %168 to i64
  %170 = getelementptr inbounds float, ptr %163, i64 %169
  %171 = load float, ptr %170, align 4, !tbaa !11
  %172 = load ptr, ptr %18, align 8, !tbaa !5
  %173 = getelementptr inbounds float, ptr %172, i64 1
  store float %171, ptr %173, align 4, !tbaa !11
  br label %174

174:                                              ; preds = %162, %153
  %175 = load i32, ptr %37, align 4, !tbaa !9
  %176 = icmp ne i32 %175, 0
  br i1 %176, label %177, label %183

177:                                              ; preds = %174
  %178 = load ptr, ptr %19, align 8, !tbaa !5
  %179 = load i32, ptr %25, align 4, !tbaa !9
  %180 = add nsw i32 %179, 1
  %181 = sext i32 %180 to i64
  %182 = getelementptr inbounds float, ptr %178, i64 %181
  store float 1.000000e+00, ptr %182, align 4, !tbaa !11
  br label %183

183:                                              ; preds = %177, %174
  store i32 1, ptr %44, align 4
  br label %338

184:                                              ; preds = %146
  %185 = call float @slamch_(ptr noundef @.str.5)
  store float %185, ptr %39, align 4, !tbaa !11
  %186 = call float @slamch_(ptr noundef @.str.6)
  store float %186, ptr %43, align 4, !tbaa !11
  %187 = load float, ptr %39, align 4, !tbaa !11
  %188 = load float, ptr %43, align 4, !tbaa !11
  %189 = fdiv float %187, %188
  store float %189, ptr %42, align 4, !tbaa !11
  %190 = load float, ptr %42, align 4, !tbaa !11
  %191 = fdiv float 1.000000e+00, %190
  store float %191, ptr %40, align 4, !tbaa !11
  %192 = load float, ptr %42, align 4, !tbaa !11
  %193 = fpext float %192 to double
  %194 = call double @sqrt(double noundef %193) #4
  %195 = fptrunc double %194 to float
  store float %195, ptr %32, align 4, !tbaa !11
  %196 = load float, ptr %40, align 4, !tbaa !11
  %197 = fpext float %196 to double
  %198 = call double @sqrt(double noundef %197) #4
  %199 = fptrunc double %198 to float
  store float %199, ptr %33, align 4, !tbaa !11
  %200 = load ptr, ptr %13, align 8, !tbaa !5
  %201 = load ptr, ptr %14, align 8, !tbaa !5
  %202 = load ptr, ptr %15, align 8, !tbaa !5
  %203 = load ptr, ptr %16, align 8, !tbaa !5
  %204 = load i32, ptr %24, align 4, !tbaa !9
  %205 = sext i32 %204 to i64
  %206 = getelementptr inbounds float, ptr %203, i64 %205
  %207 = load ptr, ptr %17, align 8, !tbaa !5
  %208 = load ptr, ptr %21, align 8, !tbaa !5
  %209 = getelementptr inbounds float, ptr %208, i64 1
  %210 = call float @slansb_(ptr noundef @.str.7, ptr noundef %200, ptr noundef %201, ptr noundef %202, ptr noundef %206, ptr noundef %207, ptr noundef %209)
  store float %210, ptr %30, align 4, !tbaa !11
  store i32 0, ptr %38, align 4, !tbaa !9
  %211 = load float, ptr %30, align 4, !tbaa !11
  %212 = fcmp ogt float %211, 0.000000e+00
  br i1 %212, label %213, label %221

213:                                              ; preds = %184
  %214 = load float, ptr %30, align 4, !tbaa !11
  %215 = load float, ptr %32, align 4, !tbaa !11
  %216 = fcmp olt float %214, %215
  br i1 %216, label %217, label %221

217:                                              ; preds = %213
  store i32 1, ptr %38, align 4, !tbaa !9
  %218 = load float, ptr %32, align 4, !tbaa !11
  %219 = load float, ptr %30, align 4, !tbaa !11
  %220 = fdiv float %218, %219
  store float %220, ptr %34, align 4, !tbaa !11
  br label %230

221:                                              ; preds = %213, %184
  %222 = load float, ptr %30, align 4, !tbaa !11
  %223 = load float, ptr %33, align 4, !tbaa !11
  %224 = fcmp ogt float %222, %223
  br i1 %224, label %225, label %229

225:                                              ; preds = %221
  store i32 1, ptr %38, align 4, !tbaa !9
  %226 = load float, ptr %33, align 4, !tbaa !11
  %227 = load float, ptr %30, align 4, !tbaa !11
  %228 = fdiv float %226, %227
  store float %228, ptr %34, align 4, !tbaa !11
  br label %229

229:                                              ; preds = %225, %221
  br label %230

230:                                              ; preds = %229, %217
  %231 = load i32, ptr %38, align 4, !tbaa !9
  %232 = icmp eq i32 %231, 1
  br i1 %232, label %233, label %259

233:                                              ; preds = %230
  %234 = load i32, ptr %36, align 4, !tbaa !9
  %235 = icmp ne i32 %234, 0
  br i1 %235, label %236, label %247

236:                                              ; preds = %233
  %237 = load ptr, ptr %15, align 8, !tbaa !5
  %238 = load ptr, ptr %15, align 8, !tbaa !5
  %239 = load ptr, ptr %14, align 8, !tbaa !5
  %240 = load ptr, ptr %14, align 8, !tbaa !5
  %241 = load ptr, ptr %16, align 8, !tbaa !5
  %242 = load i32, ptr %24, align 4, !tbaa !9
  %243 = sext i32 %242 to i64
  %244 = getelementptr inbounds float, ptr %241, i64 %243
  %245 = load ptr, ptr %17, align 8, !tbaa !5
  %246 = load ptr, ptr %22, align 8, !tbaa !5
  call void @slascl_(ptr noundef @.str.8, ptr noundef %237, ptr noundef %238, ptr noundef @c_b11, ptr noundef %34, ptr noundef %239, ptr noundef %240, ptr noundef %244, ptr noundef %245, ptr noundef %246)
  br label %258

247:                                              ; preds = %233
  %248 = load ptr, ptr %15, align 8, !tbaa !5
  %249 = load ptr, ptr %15, align 8, !tbaa !5
  %250 = load ptr, ptr %14, align 8, !tbaa !5
  %251 = load ptr, ptr %14, align 8, !tbaa !5
  %252 = load ptr, ptr %16, align 8, !tbaa !5
  %253 = load i32, ptr %24, align 4, !tbaa !9
  %254 = sext i32 %253 to i64
  %255 = getelementptr inbounds float, ptr %252, i64 %254
  %256 = load ptr, ptr %17, align 8, !tbaa !5
  %257 = load ptr, ptr %22, align 8, !tbaa !5
  call void @slascl_(ptr noundef @.str.9, ptr noundef %248, ptr noundef %249, ptr noundef @c_b11, ptr noundef %34, ptr noundef %250, ptr noundef %251, ptr noundef %255, ptr noundef %256, ptr noundef %257)
  br label %258

258:                                              ; preds = %247, %236
  br label %259

259:                                              ; preds = %258, %230
  store i32 1, ptr %29, align 4, !tbaa !9
  %260 = load i32, ptr %29, align 4, !tbaa !9
  %261 = load ptr, ptr %14, align 8, !tbaa !5
  %262 = load i32, ptr %261, align 4, !tbaa !9
  %263 = add nsw i32 %260, %262
  store i32 %263, ptr %41, align 4, !tbaa !9
  %264 = load ptr, ptr %12, align 8, !tbaa !5
  %265 = load ptr, ptr %13, align 8, !tbaa !5
  %266 = load ptr, ptr %14, align 8, !tbaa !5
  %267 = load ptr, ptr %15, align 8, !tbaa !5
  %268 = load ptr, ptr %16, align 8, !tbaa !5
  %269 = load i32, ptr %24, align 4, !tbaa !9
  %270 = sext i32 %269 to i64
  %271 = getelementptr inbounds float, ptr %268, i64 %270
  %272 = load ptr, ptr %17, align 8, !tbaa !5
  %273 = load ptr, ptr %18, align 8, !tbaa !5
  %274 = getelementptr inbounds float, ptr %273, i64 1
  %275 = load ptr, ptr %21, align 8, !tbaa !5
  %276 = load i32, ptr %29, align 4, !tbaa !9
  %277 = sext i32 %276 to i64
  %278 = getelementptr inbounds float, ptr %275, i64 %277
  %279 = load ptr, ptr %19, align 8, !tbaa !5
  %280 = load i32, ptr %26, align 4, !tbaa !9
  %281 = sext i32 %280 to i64
  %282 = getelementptr inbounds float, ptr %279, i64 %281
  %283 = load ptr, ptr %20, align 8, !tbaa !5
  %284 = load ptr, ptr %21, align 8, !tbaa !5
  %285 = load i32, ptr %41, align 4, !tbaa !9
  %286 = sext i32 %285 to i64
  %287 = getelementptr inbounds float, ptr %284, i64 %286
  call void @ssbtrd_(ptr noundef %264, ptr noundef %265, ptr noundef %266, ptr noundef %267, ptr noundef %271, ptr noundef %272, ptr noundef %274, ptr noundef %278, ptr noundef %282, ptr noundef %283, ptr noundef %287, ptr noundef %35)
  %288 = load i32, ptr %37, align 4, !tbaa !9
  %289 = icmp ne i32 %288, 0
  br i1 %289, label %299, label %290

290:                                              ; preds = %259
  %291 = load ptr, ptr %14, align 8, !tbaa !5
  %292 = load ptr, ptr %18, align 8, !tbaa !5
  %293 = getelementptr inbounds float, ptr %292, i64 1
  %294 = load ptr, ptr %21, align 8, !tbaa !5
  %295 = load i32, ptr %29, align 4, !tbaa !9
  %296 = sext i32 %295 to i64
  %297 = getelementptr inbounds float, ptr %294, i64 %296
  %298 = load ptr, ptr %22, align 8, !tbaa !5
  call void @ssterf_(ptr noundef %291, ptr noundef %293, ptr noundef %297, ptr noundef %298)
  br label %318

299:                                              ; preds = %259
  %300 = load ptr, ptr %12, align 8, !tbaa !5
  %301 = load ptr, ptr %14, align 8, !tbaa !5
  %302 = load ptr, ptr %18, align 8, !tbaa !5
  %303 = getelementptr inbounds float, ptr %302, i64 1
  %304 = load ptr, ptr %21, align 8, !tbaa !5
  %305 = load i32, ptr %29, align 4, !tbaa !9
  %306 = sext i32 %305 to i64
  %307 = getelementptr inbounds float, ptr %304, i64 %306
  %308 = load ptr, ptr %19, align 8, !tbaa !5
  %309 = load i32, ptr %26, align 4, !tbaa !9
  %310 = sext i32 %309 to i64
  %311 = getelementptr inbounds float, ptr %308, i64 %310
  %312 = load ptr, ptr %20, align 8, !tbaa !5
  %313 = load ptr, ptr %21, align 8, !tbaa !5
  %314 = load i32, ptr %41, align 4, !tbaa !9
  %315 = sext i32 %314 to i64
  %316 = getelementptr inbounds float, ptr %313, i64 %315
  %317 = load ptr, ptr %22, align 8, !tbaa !5
  call void @ssteqr_(ptr noundef %300, ptr noundef %301, ptr noundef %303, ptr noundef %307, ptr noundef %311, ptr noundef %312, ptr noundef %316, ptr noundef %317)
  br label %318

318:                                              ; preds = %299, %290
  %319 = load i32, ptr %38, align 4, !tbaa !9
  %320 = icmp eq i32 %319, 1
  br i1 %320, label %321, label %337

321:                                              ; preds = %318
  %322 = load ptr, ptr %22, align 8, !tbaa !5
  %323 = load i32, ptr %322, align 4, !tbaa !9
  %324 = icmp eq i32 %323, 0
  br i1 %324, label %325, label %328

325:                                              ; preds = %321
  %326 = load ptr, ptr %14, align 8, !tbaa !5
  %327 = load i32, ptr %326, align 4, !tbaa !9
  store i32 %327, ptr %31, align 4, !tbaa !9
  br label %332

328:                                              ; preds = %321
  %329 = load ptr, ptr %22, align 8, !tbaa !5
  %330 = load i32, ptr %329, align 4, !tbaa !9
  %331 = sub nsw i32 %330, 1
  store i32 %331, ptr %31, align 4, !tbaa !9
  br label %332

332:                                              ; preds = %328, %325
  %333 = load float, ptr %34, align 4, !tbaa !11
  %334 = fdiv float 1.000000e+00, %333
  store float %334, ptr %28, align 4, !tbaa !11
  %335 = load ptr, ptr %18, align 8, !tbaa !5
  %336 = getelementptr inbounds float, ptr %335, i64 1
  call void @sscal_(ptr noundef %31, ptr noundef %28, ptr noundef %336, ptr noundef @c__1)
  br label %337

337:                                              ; preds = %332, %318
  store i32 1, ptr %44, align 4
  br label %338

338:                                              ; preds = %337, %183, %145, %136
  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 @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 @slansb_(ptr noundef, 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 @ssbtrd_(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 @ssteqr_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, 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
@.str.4 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@c_b11 = external hidden global float, align 4
@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1
@c__1 = external hidden global i32, align 4

; Function Attrs: nounwind uwtable
define dso_local void @ssbev_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) local_unnamed_addr #0 {
  %12 = alloca i32, align 4
  %13 = alloca float, align 4
  %14 = alloca i32, align 4
  %15 = alloca float, align 4
  %16 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #3
  %17 = load i32, ptr %5, align 4, !tbaa !5
  %narrow = xor i32 %17, -1
  %18 = sext i32 %narrow to i64
  %19 = getelementptr inbounds float, ptr %4, i64 %18
  %20 = getelementptr inbounds i8, ptr %9, i64 -4
  %21 = tail call i32 @lsame_(ptr noundef %0, ptr noundef nonnull @.str) #3
  %22 = tail call i32 @lsame_(ptr noundef %1, ptr noundef nonnull @.str.1) #3
  store i32 0, ptr %10, align 4, !tbaa !5
  %.not = icmp ne i32 %21, 0
  br i1 %.not, label %25, label %23

23:                                               ; preds = %11
  %24 = tail call i32 @lsame_(ptr noundef %0, ptr noundef nonnull @.str.2) #3
  %.not132 = icmp eq i32 %24, 0
  br i1 %.not132, label %.thread.sink.split, label %25

25:                                               ; preds = %23, %11
  %.not133 = icmp eq i32 %22, 0
  br i1 %.not133, label %26, label %28

26:                                               ; preds = %25
  %27 = tail call i32 @lsame_(ptr noundef %1, ptr noundef nonnull @.str.3) #3
  %.not134 = icmp eq i32 %27, 0
  br i1 %.not134, label %.thread.sink.split, label %28

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

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

34:                                               ; preds = %31
  %35 = load i32, ptr %5, align 4, !tbaa !5
  %.not135 = icmp sgt i32 %35, %32
  br i1 %.not135, label %36, label %.thread.sink.split

36:                                               ; preds = %34
  %37 = load i32, ptr %8, align 4, !tbaa !5
  %38 = icmp slt i32 %37, 1
  %39 = icmp ult i32 %37, %29
  %or.cond = and i1 %.not, %39
  %or.cond146 = or i1 %38, %or.cond
  br i1 %or.cond146, label %.thread.sink.split, label %40

40:                                               ; preds = %36
  %.pr = load i32, ptr %10, align 4, !tbaa !5
  %.not136 = icmp eq i32 %.pr, 0
  br i1 %.not136, label %44, label %.thread

.thread.sink.split:                               ; preds = %36, %34, %31, %28, %26, %23
  %.sink = phi i32 [ -1, %23 ], [ -2, %26 ], [ -3, %28 ], [ -4, %31 ], [ -6, %34 ], [ -9, %36 ]
  store i32 %.sink, ptr %10, align 4, !tbaa !5
  br label %.thread

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

44:                                               ; preds = %40
  switch i32 %29, label %51 [
    i32 0, label %80
    i32 1, label %45
  ]

45:                                               ; preds = %44
  %46 = add i32 %17, 1
  %47 = add i32 %46, %32
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds float, ptr %19, i64 %48
  %storemerge140.in = select i1 %.not133, ptr %49, ptr %4
  %storemerge140 = load float, ptr %storemerge140.in, align 4, !tbaa !9
  store float %storemerge140, ptr %6, align 4, !tbaa !9
  br i1 %.not, label %50, label %80

50:                                               ; preds = %45
  store float 1.000000e+00, ptr %7, align 4, !tbaa !9
  br label %80

51:                                               ; preds = %44
  %52 = tail call float @slamch_(ptr noundef nonnull @.str.5) #3
  %53 = tail call float @slamch_(ptr noundef nonnull @.str.6) #3
  %54 = fdiv float %52, %53
  %55 = fdiv float 1.000000e+00, %54
  %sqrtf = tail call float @sqrtf(float noundef %54) #4
  %sqrtf137 = tail call float @sqrtf(float noundef %55) #4
  %56 = tail call float @slansb_(ptr noundef nonnull @.str.7, ptr noundef %1, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef %4, ptr noundef nonnull %5, ptr noundef %9) #3
  %57 = fcmp ogt float %56, 0.000000e+00
  %58 = fcmp olt float %56, %sqrtf
  %or.cond141 = select i1 %57, i1 %58, i1 false
  br i1 %or.cond141, label %.sink.split, label %59

59:                                               ; preds = %51
  %60 = fcmp ogt float %56, %sqrtf137
  br i1 %60, label %.sink.split, label %61

.sink.split:                                      ; preds = %59, %51
  %sqrtf137.pn = phi float [ %sqrtf, %51 ], [ %sqrtf137, %59 ]
  %storemerge145 = fdiv float %sqrtf137.pn, %56
  store float %storemerge145, ptr %15, align 4, !tbaa !9
  %.str.9..str.8 = select i1 %.not133, ptr @.str.9, ptr @.str.8
  call void @slascl_(ptr noundef nonnull %.str.9..str.8, ptr noundef nonnull %3, ptr noundef nonnull %3, ptr noundef nonnull @c_b11, ptr noundef nonnull %15, ptr noundef nonnull %2, ptr noundef nonnull %2, ptr noundef %4, ptr noundef nonnull %5, ptr noundef nonnull %10) #3
  br label %61

61:                                               ; preds = %.sink.split, %59
  %62 = phi i1 [ false, %59 ], [ true, %.sink.split ]
  %63 = load i32, ptr %2, align 4, !tbaa !5
  %64 = sext i32 %63 to i64
  %65 = getelementptr float, ptr %20, i64 %64
  %66 = getelementptr i8, ptr %65, i64 4
  call void @ssbtrd_(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef %4, ptr noundef nonnull %5, ptr noundef %6, ptr noundef %9, ptr noundef %7, ptr noundef nonnull %8, ptr noundef %66, ptr noundef nonnull %16) #3
  br i1 %.not, label %68, label %67

67:                                               ; preds = %61
  call void @ssterf_(ptr noundef nonnull %2, ptr noundef %6, ptr noundef %9, ptr noundef nonnull %10) #3
  br label %69

68:                                               ; preds = %61
  call void @ssteqr_(ptr noundef %0, ptr noundef nonnull %2, ptr noundef %6, ptr noundef %9, ptr noundef %7, ptr noundef nonnull %8, ptr noundef %66, ptr noundef nonnull %10) #3
  br label %69

69:                                               ; preds = %68, %67
  br i1 %62, label %70, label %80

70:                                               ; preds = %69
  %71 = load i32, ptr %10, align 4, !tbaa !5
  %72 = icmp eq i32 %71, 0
  br i1 %72, label %73, label %75

73:                                               ; preds = %70
  %74 = load i32, ptr %2, align 4, !tbaa !5
  br label %77

75:                                               ; preds = %70
  %76 = add nsw i32 %71, -1
  br label %77

77:                                               ; preds = %75, %73
  %storemerge = phi i32 [ %76, %75 ], [ %74, %73 ]
  store i32 %storemerge, ptr %14, align 4, !tbaa !5
  %78 = load float, ptr %15, align 4, !tbaa !9
  %79 = fdiv float 1.000000e+00, %78
  store float %79, ptr %13, align 4, !tbaa !9
  call void @sscal_(ptr noundef nonnull %14, ptr noundef nonnull %13, ptr noundef %6, ptr noundef nonnull @c__1) #3
  br label %80

80:                                               ; preds = %69, %77, %45, %50, %44, %.thread
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #3
  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 @xerbla_(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

declare float @slamch_(ptr noundef) local_unnamed_addr #2

declare float @slansb_(ptr noundef, 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 @ssbtrd_(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 @ssteqr_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, 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

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