; LLVM IR from niuyishuai/PDCABB :: LAPACK_BLAS/LAPACK (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 i64, align 8

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

73:                                               ; preds = %11
  %74 = load ptr, ptr %13, align 8, !tbaa !5
  %75 = call i64 @lsame_(ptr noundef %74, ptr noundef @.str.2)
  %76 = icmp ne i64 %75, 0
  br i1 %76, label %79, label %77

77:                                               ; preds = %73
  %78 = load ptr, ptr %23, align 8, !tbaa !5
  store i64 -1, ptr %78, align 8, !tbaa !9
  br label %129

79:                                               ; preds = %73, %11
  %80 = load i64, ptr %38, align 8, !tbaa !9
  %81 = icmp ne i64 %80, 0
  br i1 %81, label %88, label %82

82:                                               ; preds = %79
  %83 = load ptr, ptr %14, align 8, !tbaa !5
  %84 = call i64 @lsame_(ptr noundef %83, ptr noundef @.str.3)
  %85 = icmp ne i64 %84, 0
  br i1 %85, label %88, label %86

86:                                               ; preds = %82
  %87 = load ptr, ptr %23, align 8, !tbaa !5
  store i64 -2, ptr %87, align 8, !tbaa !9
  br label %128

88:                                               ; preds = %82, %79
  %89 = load ptr, ptr %15, align 8, !tbaa !5
  %90 = load i64, ptr %89, align 8, !tbaa !9
  %91 = icmp slt i64 %90, 0
  br i1 %91, label %92, label %94

92:                                               ; preds = %88
  %93 = load ptr, ptr %23, align 8, !tbaa !5
  store i64 -3, ptr %93, align 8, !tbaa !9
  br label %127

94:                                               ; preds = %88
  %95 = load ptr, ptr %16, align 8, !tbaa !5
  %96 = load i64, ptr %95, align 8, !tbaa !9
  %97 = icmp slt i64 %96, 0
  br i1 %97, label %98, label %100

98:                                               ; preds = %94
  %99 = load ptr, ptr %23, align 8, !tbaa !5
  store i64 -4, ptr %99, align 8, !tbaa !9
  br label %126

100:                                              ; preds = %94
  %101 = load ptr, ptr %18, align 8, !tbaa !5
  %102 = load i64, ptr %101, align 8, !tbaa !9
  %103 = load ptr, ptr %16, align 8, !tbaa !5
  %104 = load i64, ptr %103, align 8, !tbaa !9
  %105 = add nsw i64 %104, 1
  %106 = icmp slt i64 %102, %105
  br i1 %106, label %107, label %109

107:                                              ; preds = %100
  %108 = load ptr, ptr %23, align 8, !tbaa !5
  store i64 -6, ptr %108, align 8, !tbaa !9
  br label %125

109:                                              ; preds = %100
  %110 = load ptr, ptr %21, align 8, !tbaa !5
  %111 = load i64, ptr %110, align 8, !tbaa !9
  %112 = icmp slt i64 %111, 1
  br i1 %112, label %122, label %113

113:                                              ; preds = %109
  %114 = load i64, ptr %39, align 8, !tbaa !9
  %115 = icmp ne i64 %114, 0
  br i1 %115, label %116, label %124

116:                                              ; preds = %113
  %117 = load ptr, ptr %21, align 8, !tbaa !5
  %118 = load i64, ptr %117, align 8, !tbaa !9
  %119 = load ptr, ptr %15, align 8, !tbaa !5
  %120 = load i64, ptr %119, align 8, !tbaa !9
  %121 = icmp slt i64 %118, %120
  br i1 %121, label %122, label %124

122:                                              ; preds = %116, %109
  %123 = load ptr, ptr %23, align 8, !tbaa !5
  store i64 -9, ptr %123, align 8, !tbaa !9
  br label %124

124:                                              ; preds = %122, %116, %113
  br label %125

125:                                              ; preds = %124, %107
  br label %126

126:                                              ; preds = %125, %98
  br label %127

127:                                              ; preds = %126, %92
  br label %128

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

129:                                              ; preds = %128, %77
  %130 = load ptr, ptr %23, align 8, !tbaa !5
  %131 = load i64, ptr %130, align 8, !tbaa !9
  %132 = icmp ne i64 %131, 0
  br i1 %132, label %133, label %138

133:                                              ; preds = %129
  %134 = load ptr, ptr %23, align 8, !tbaa !5
  %135 = load i64, ptr %134, align 8, !tbaa !9
  %136 = sub nsw i64 0, %135
  store i64 %136, ptr %28, align 8, !tbaa !9
  %137 = call i32 @xerbla_(ptr noundef @.str.4, ptr noundef %28)
  store i32 0, ptr %12, align 4
  store i32 1, ptr %45, align 4
  br label %330

138:                                              ; preds = %129
  %139 = load ptr, ptr %15, align 8, !tbaa !5
  %140 = load i64, ptr %139, align 8, !tbaa !9
  %141 = icmp eq i64 %140, 0
  br i1 %141, label %142, label %143

142:                                              ; preds = %138
  store i32 0, ptr %12, align 4
  store i32 1, ptr %45, align 4
  br label %330

143:                                              ; preds = %138
  %144 = load ptr, ptr %15, align 8, !tbaa !5
  %145 = load i64, ptr %144, align 8, !tbaa !9
  %146 = icmp eq i64 %145, 1
  br i1 %146, label %147, label %178

147:                                              ; preds = %143
  %148 = load i64, ptr %38, align 8, !tbaa !9
  %149 = icmp ne i64 %148, 0
  br i1 %149, label %150, label %158

150:                                              ; preds = %147
  %151 = load ptr, ptr %17, align 8, !tbaa !5
  %152 = load i64, ptr %24, align 8, !tbaa !9
  %153 = add nsw i64 %152, 1
  %154 = getelementptr inbounds float, ptr %151, i64 %153
  %155 = load float, ptr %154, align 4, !tbaa !11
  %156 = load ptr, ptr %19, align 8, !tbaa !5
  %157 = getelementptr inbounds float, ptr %156, i64 1
  store float %155, ptr %157, align 4, !tbaa !11
  br label %169

158:                                              ; preds = %147
  %159 = load ptr, ptr %17, align 8, !tbaa !5
  %160 = load ptr, ptr %16, align 8, !tbaa !5
  %161 = load i64, ptr %160, align 8, !tbaa !9
  %162 = add nsw i64 %161, 1
  %163 = load i64, ptr %24, align 8, !tbaa !9
  %164 = add nsw i64 %162, %163
  %165 = getelementptr inbounds float, ptr %159, i64 %164
  %166 = load float, ptr %165, align 4, !tbaa !11
  %167 = load ptr, ptr %19, align 8, !tbaa !5
  %168 = getelementptr inbounds float, ptr %167, i64 1
  store float %166, ptr %168, align 4, !tbaa !11
  br label %169

169:                                              ; preds = %158, %150
  %170 = load i64, ptr %39, align 8, !tbaa !9
  %171 = icmp ne i64 %170, 0
  br i1 %171, label %172, label %177

172:                                              ; preds = %169
  %173 = load ptr, ptr %20, align 8, !tbaa !5
  %174 = load i64, ptr %26, align 8, !tbaa !9
  %175 = add nsw i64 %174, 1
  %176 = getelementptr inbounds float, ptr %173, i64 %175
  store float 1.000000e+00, ptr %176, align 4, !tbaa !11
  br label %177

177:                                              ; preds = %172, %169
  store i32 0, ptr %12, align 4
  store i32 1, ptr %45, align 4
  br label %330

178:                                              ; preds = %143
  %179 = call double @slamch_(ptr noundef @.str.5)
  %180 = fptrunc double %179 to float
  store float %180, ptr %41, align 4, !tbaa !11
  %181 = call double @slamch_(ptr noundef @.str.6)
  %182 = fptrunc double %181 to float
  store float %182, ptr %30, align 4, !tbaa !11
  %183 = load float, ptr %41, align 4, !tbaa !11
  %184 = load float, ptr %30, align 4, !tbaa !11
  %185 = fdiv float %183, %184
  store float %185, ptr %44, align 4, !tbaa !11
  %186 = load float, ptr %44, align 4, !tbaa !11
  %187 = fdiv float 1.000000e+00, %186
  store float %187, ptr %42, align 4, !tbaa !11
  %188 = load float, ptr %44, align 4, !tbaa !11
  %189 = fpext float %188 to double
  %190 = call double @sqrt(double noundef %189) #4
  %191 = fptrunc double %190 to float
  store float %191, ptr %34, 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 %35, align 4, !tbaa !11
  %196 = load ptr, ptr %14, align 8, !tbaa !5
  %197 = load ptr, ptr %15, align 8, !tbaa !5
  %198 = load ptr, ptr %16, align 8, !tbaa !5
  %199 = load ptr, ptr %17, align 8, !tbaa !5
  %200 = load i64, ptr %25, align 8, !tbaa !9
  %201 = getelementptr inbounds float, ptr %199, i64 %200
  %202 = load ptr, ptr %18, align 8, !tbaa !5
  %203 = load ptr, ptr %22, align 8, !tbaa !5
  %204 = getelementptr inbounds float, ptr %203, i64 1
  %205 = call double @slansb_(ptr noundef @.str.7, ptr noundef %196, ptr noundef %197, ptr noundef %198, ptr noundef %201, ptr noundef %202, ptr noundef %204)
  %206 = fptrunc double %205 to float
  store float %206, ptr %32, align 4, !tbaa !11
  store i64 0, ptr %40, align 8, !tbaa !9
  %207 = load float, ptr %32, align 4, !tbaa !11
  %208 = fcmp ogt float %207, 0.000000e+00
  br i1 %208, label %209, label %217

209:                                              ; preds = %178
  %210 = load float, ptr %32, align 4, !tbaa !11
  %211 = load float, ptr %34, align 4, !tbaa !11
  %212 = fcmp olt float %210, %211
  br i1 %212, label %213, label %217

213:                                              ; preds = %209
  store i64 1, ptr %40, align 8, !tbaa !9
  %214 = load float, ptr %34, align 4, !tbaa !11
  %215 = load float, ptr %32, align 4, !tbaa !11
  %216 = fdiv float %214, %215
  store float %216, ptr %36, align 4, !tbaa !11
  br label %226

217:                                              ; preds = %209, %178
  %218 = load float, ptr %32, align 4, !tbaa !11
  %219 = load float, ptr %35, align 4, !tbaa !11
  %220 = fcmp ogt float %218, %219
  br i1 %220, label %221, label %225

221:                                              ; preds = %217
  store i64 1, ptr %40, align 8, !tbaa !9
  %222 = load float, ptr %35, align 4, !tbaa !11
  %223 = load float, ptr %32, align 4, !tbaa !11
  %224 = fdiv float %222, %223
  store float %224, ptr %36, align 4, !tbaa !11
  br label %225

225:                                              ; preds = %221, %217
  br label %226

226:                                              ; preds = %225, %213
  %227 = load i64, ptr %40, align 8, !tbaa !9
  %228 = icmp eq i64 %227, 1
  br i1 %228, label %229, label %255

229:                                              ; preds = %226
  %230 = load i64, ptr %38, align 8, !tbaa !9
  %231 = icmp ne i64 %230, 0
  br i1 %231, label %232, label %243

232:                                              ; preds = %229
  %233 = load ptr, ptr %16, align 8, !tbaa !5
  %234 = load ptr, ptr %16, align 8, !tbaa !5
  %235 = load ptr, ptr %15, align 8, !tbaa !5
  %236 = load ptr, ptr %15, align 8, !tbaa !5
  %237 = load ptr, ptr %17, align 8, !tbaa !5
  %238 = load i64, ptr %25, align 8, !tbaa !9
  %239 = getelementptr inbounds float, ptr %237, i64 %238
  %240 = load ptr, ptr %18, align 8, !tbaa !5
  %241 = load ptr, ptr %23, align 8, !tbaa !5
  %242 = call i32 @slascl_(ptr noundef @.str.8, ptr noundef %233, ptr noundef %234, ptr noundef @c_b11, ptr noundef %36, ptr noundef %235, ptr noundef %236, ptr noundef %239, ptr noundef %240, ptr noundef %241)
  br label %254

243:                                              ; preds = %229
  %244 = load ptr, ptr %16, align 8, !tbaa !5
  %245 = load ptr, ptr %16, align 8, !tbaa !5
  %246 = load ptr, ptr %15, align 8, !tbaa !5
  %247 = load ptr, ptr %15, align 8, !tbaa !5
  %248 = load ptr, ptr %17, align 8, !tbaa !5
  %249 = load i64, ptr %25, align 8, !tbaa !9
  %250 = getelementptr inbounds float, ptr %248, i64 %249
  %251 = load ptr, ptr %18, align 8, !tbaa !5
  %252 = load ptr, ptr %23, align 8, !tbaa !5
  %253 = call i32 @slascl_(ptr noundef @.str.9, ptr noundef %244, ptr noundef %245, ptr noundef @c_b11, ptr noundef %36, ptr noundef %246, ptr noundef %247, ptr noundef %250, ptr noundef %251, ptr noundef %252)
  br label %254

254:                                              ; preds = %243, %232
  br label %255

255:                                              ; preds = %254, %226
  store i64 1, ptr %31, align 8, !tbaa !9
  %256 = load i64, ptr %31, align 8, !tbaa !9
  %257 = load ptr, ptr %15, align 8, !tbaa !5
  %258 = load i64, ptr %257, align 8, !tbaa !9
  %259 = add nsw i64 %256, %258
  store i64 %259, ptr %43, align 8, !tbaa !9
  %260 = load ptr, ptr %13, align 8, !tbaa !5
  %261 = load ptr, ptr %14, align 8, !tbaa !5
  %262 = load ptr, ptr %15, align 8, !tbaa !5
  %263 = load ptr, ptr %16, align 8, !tbaa !5
  %264 = load ptr, ptr %17, align 8, !tbaa !5
  %265 = load i64, ptr %25, align 8, !tbaa !9
  %266 = getelementptr inbounds float, ptr %264, i64 %265
  %267 = load ptr, ptr %18, align 8, !tbaa !5
  %268 = load ptr, ptr %19, align 8, !tbaa !5
  %269 = getelementptr inbounds float, ptr %268, i64 1
  %270 = load ptr, ptr %22, align 8, !tbaa !5
  %271 = load i64, ptr %31, align 8, !tbaa !9
  %272 = getelementptr inbounds float, ptr %270, i64 %271
  %273 = load ptr, ptr %20, align 8, !tbaa !5
  %274 = load i64, ptr %27, align 8, !tbaa !9
  %275 = getelementptr inbounds float, ptr %273, i64 %274
  %276 = load ptr, ptr %21, align 8, !tbaa !5
  %277 = load ptr, ptr %22, align 8, !tbaa !5
  %278 = load i64, ptr %43, align 8, !tbaa !9
  %279 = getelementptr inbounds float, ptr %277, i64 %278
  %280 = call i32 @ssbtrd_(ptr noundef %260, ptr noundef %261, ptr noundef %262, ptr noundef %263, ptr noundef %266, ptr noundef %267, ptr noundef %269, ptr noundef %272, ptr noundef %275, ptr noundef %276, ptr noundef %279, ptr noundef %37)
  %281 = load i64, ptr %39, align 8, !tbaa !9
  %282 = icmp ne i64 %281, 0
  br i1 %282, label %292, label %283

283:                                              ; preds = %255
  %284 = load ptr, ptr %15, align 8, !tbaa !5
  %285 = load ptr, ptr %19, align 8, !tbaa !5
  %286 = getelementptr inbounds float, ptr %285, i64 1
  %287 = load ptr, ptr %22, align 8, !tbaa !5
  %288 = load i64, ptr %31, align 8, !tbaa !9
  %289 = getelementptr inbounds float, ptr %287, i64 %288
  %290 = load ptr, ptr %23, align 8, !tbaa !5
  %291 = call i32 @ssterf_(ptr noundef %284, ptr noundef %286, ptr noundef %289, ptr noundef %290)
  br label %309

292:                                              ; preds = %255
  %293 = load ptr, ptr %13, align 8, !tbaa !5
  %294 = load ptr, ptr %15, align 8, !tbaa !5
  %295 = load ptr, ptr %19, align 8, !tbaa !5
  %296 = getelementptr inbounds float, ptr %295, i64 1
  %297 = load ptr, ptr %22, align 8, !tbaa !5
  %298 = load i64, ptr %31, align 8, !tbaa !9
  %299 = getelementptr inbounds float, ptr %297, i64 %298
  %300 = load ptr, ptr %20, align 8, !tbaa !5
  %301 = load i64, ptr %27, align 8, !tbaa !9
  %302 = getelementptr inbounds float, ptr %300, i64 %301
  %303 = load ptr, ptr %21, align 8, !tbaa !5
  %304 = load ptr, ptr %22, align 8, !tbaa !5
  %305 = load i64, ptr %43, align 8, !tbaa !9
  %306 = getelementptr inbounds float, ptr %304, i64 %305
  %307 = load ptr, ptr %23, align 8, !tbaa !5
  %308 = call i32 @ssteqr_(ptr noundef %293, ptr noundef %294, ptr noundef %296, ptr noundef %299, ptr noundef %302, ptr noundef %303, ptr noundef %306, ptr noundef %307)
  br label %309

309:                                              ; preds = %292, %283
  %310 = load i64, ptr %40, align 8, !tbaa !9
  %311 = icmp eq i64 %310, 1
  br i1 %311, label %312, label %329

312:                                              ; preds = %309
  %313 = load ptr, ptr %23, align 8, !tbaa !5
  %314 = load i64, ptr %313, align 8, !tbaa !9
  %315 = icmp eq i64 %314, 0
  br i1 %315, label %316, label %319

316:                                              ; preds = %312
  %317 = load ptr, ptr %15, align 8, !tbaa !5
  %318 = load i64, ptr %317, align 8, !tbaa !9
  store i64 %318, ptr %33, align 8, !tbaa !9
  br label %323

319:                                              ; preds = %312
  %320 = load ptr, ptr %23, align 8, !tbaa !5
  %321 = load i64, ptr %320, align 8, !tbaa !9
  %322 = sub nsw i64 %321, 1
  store i64 %322, ptr %33, align 8, !tbaa !9
  br label %323

323:                                              ; preds = %319, %316
  %324 = load float, ptr %36, align 4, !tbaa !11
  %325 = fdiv float 1.000000e+00, %324
  store float %325, ptr %29, align 4, !tbaa !11
  %326 = load ptr, ptr %19, align 8, !tbaa !5
  %327 = getelementptr inbounds float, ptr %326, i64 1
  %328 = call i32 @f2c_sscal(ptr noundef %33, ptr noundef %29, ptr noundef %327, ptr noundef @c__1)
  br label %329

329:                                              ; preds = %323, %309
  store i32 0, ptr %12, align 4
  store i32 1, ptr %45, align 4
  br label %330

330:                                              ; preds = %329, %177, %142, %133
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #4
  call void @llvm.lifetime.end.p0(i64 8, 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 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 4, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 8, 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 8, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  %331 = load i32, ptr %12, align 4
  ret i32 %331
}

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

declare i64 @lsame_(ptr noundef, ptr noundef) #2

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

declare double @slamch_(ptr noundef) #2

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

declare double @slansb_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

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

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

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

declare i32 @f2c_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 = !{!"long", !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 i64, align 8

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @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 i64, align 8
  %13 = alloca float, align 4
  %14 = alloca i64, align 8
  %15 = alloca float, align 4
  %16 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #3
  %17 = tail call i64 @lsame_(ptr noundef %0, ptr noundef nonnull @.str) #3
  %18 = tail call i64 @lsame_(ptr noundef %1, ptr noundef nonnull @.str.1) #3
  store i64 0, ptr %10, align 8, !tbaa !5
  %.not = icmp ne i64 %17, 0
  br i1 %.not, label %21, label %19

19:                                               ; preds = %11
  %20 = tail call i64 @lsame_(ptr noundef %0, ptr noundef nonnull @.str.2) #3
  %.not133 = icmp eq i64 %20, 0
  br i1 %.not133, label %.thread.sink.split, label %21

21:                                               ; preds = %19, %11
  %.not134 = icmp eq i64 %18, 0
  br i1 %.not134, label %22, label %24

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

24:                                               ; preds = %22, %21
  %25 = load i64, ptr %2, align 8, !tbaa !5
  %26 = icmp slt i64 %25, 0
  br i1 %26, label %.thread.sink.split, label %27

27:                                               ; preds = %24
  %28 = load i64, ptr %3, align 8, !tbaa !5
  %29 = icmp slt i64 %28, 0
  br i1 %29, label %.thread.sink.split, label %30

30:                                               ; preds = %27
  %31 = load i64, ptr %5, align 8, !tbaa !5
  %.not136 = icmp sgt i64 %31, %28
  br i1 %.not136, label %32, label %.thread.sink.split

32:                                               ; preds = %30
  %33 = load i64, ptr %8, align 8, !tbaa !5
  %34 = icmp slt i64 %33, 1
  %35 = icmp ult i64 %33, %25
  %or.cond = and i1 %.not, %35
  %or.cond147 = or i1 %34, %or.cond
  br i1 %or.cond147, label %.thread.sink.split, label %36

36:                                               ; preds = %32
  %.pr = load i64, ptr %10, align 8, !tbaa !5
  %.not137 = icmp eq i64 %.pr, 0
  br i1 %.not137, label %40, label %.thread

.thread.sink.split:                               ; preds = %32, %30, %27, %24, %22, %19
  %.sink = phi i64 [ -1, %19 ], [ -2, %22 ], [ -3, %24 ], [ -4, %27 ], [ -6, %30 ], [ -9, %32 ]
  store i64 %.sink, ptr %10, align 8, !tbaa !5
  br label %.thread

.thread:                                          ; preds = %.thread.sink.split, %36
  %37 = phi i64 [ %.pr, %36 ], [ %.sink, %.thread.sink.split ]
  %38 = sub nsw i64 0, %37
  store i64 %38, ptr %12, align 8, !tbaa !5
  %39 = call i32 @xerbla_(ptr noundef nonnull @.str.4, ptr noundef nonnull %12) #3
  br label %78

40:                                               ; preds = %36
  switch i64 %25, label %43 [
    i64 0, label %78
    i64 1, label %41
  ]

41:                                               ; preds = %40
  %spec.select.idx = select i1 %.not134, i64 %28, i64 0
  %spec.select = getelementptr inbounds float, ptr %4, i64 %spec.select.idx
  %storemerge141 = load float, ptr %spec.select, align 4, !tbaa !9
  store float %storemerge141, ptr %6, align 4, !tbaa !9
  br i1 %.not, label %42, label %78

42:                                               ; preds = %41
  store float 1.000000e+00, ptr %7, align 4, !tbaa !9
  br label %78

43:                                               ; preds = %40
  %44 = tail call double @slamch_(ptr noundef nonnull @.str.5) #3
  %45 = fptrunc double %44 to float
  %46 = tail call double @slamch_(ptr noundef nonnull @.str.6) #3
  %47 = fptrunc double %46 to float
  %48 = fdiv float %45, %47
  %49 = fdiv float 1.000000e+00, %48
  %sqrtf = tail call float @sqrtf(float noundef %48) #4
  %sqrtf138 = tail call float @sqrtf(float noundef %49) #4
  %50 = tail call double @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
  %51 = fptrunc double %50 to float
  %52 = fcmp ogt float %51, 0.000000e+00
  %53 = fcmp ogt float %sqrtf, %51
  %or.cond142 = select i1 %52, i1 %53, i1 false
  br i1 %or.cond142, label %.sink.split, label %54

54:                                               ; preds = %43
  %55 = fcmp olt float %sqrtf138, %51
  br i1 %55, label %.sink.split, label %57

.sink.split:                                      ; preds = %54, %43
  %sqrtf138.pn = phi float [ %sqrtf, %43 ], [ %sqrtf138, %54 ]
  %storemerge146 = fdiv float %sqrtf138.pn, %51
  store float %storemerge146, ptr %15, align 4, !tbaa !9
  %.str.9..str.8 = select i1 %.not134, ptr @.str.9, ptr @.str.8
  %56 = call i32 @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 %57

57:                                               ; preds = %.sink.split, %54
  %58 = phi i1 [ false, %54 ], [ true, %.sink.split ]
  %59 = load i64, ptr %2, align 8, !tbaa !5
  %60 = getelementptr float, ptr %9, i64 %59
  %61 = call i32 @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 %60, ptr noundef nonnull %16) #3
  br i1 %.not, label %64, label %62

62:                                               ; preds = %57
  %63 = call i32 @ssterf_(ptr noundef nonnull %2, ptr noundef %6, ptr noundef %9, ptr noundef nonnull %10) #3
  br label %66

64:                                               ; preds = %57
  %65 = call i32 @ssteqr_(ptr noundef %0, ptr noundef nonnull %2, ptr noundef %6, ptr noundef %9, ptr noundef %7, ptr noundef nonnull %8, ptr noundef %60, ptr noundef nonnull %10) #3
  br label %66

66:                                               ; preds = %64, %62
  br i1 %58, label %67, label %78

67:                                               ; preds = %66
  %68 = load i64, ptr %10, align 8, !tbaa !5
  %69 = icmp eq i64 %68, 0
  br i1 %69, label %70, label %72

70:                                               ; preds = %67
  %71 = load i64, ptr %2, align 8, !tbaa !5
  br label %74

72:                                               ; preds = %67
  %73 = add nsw i64 %68, -1
  br label %74

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

78:                                               ; preds = %66, %74, %41, %42, %40, %.thread
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #3
  ret i32 0
}

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

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

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

declare double @slamch_(ptr noundef) local_unnamed_addr #2

declare double @slansb_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @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 i32 @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 i32 @ssterf_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

declare i32 @f2c_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 = !{!"long", !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,SROAPass,SimplifyCFGPass,TailCallElimPass