; LLVM IR from niuyishuai/PDCABB :: LAPACK_BLAS/LAPACK (cheev)

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

%struct.complex = type { float, float }

@.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 i64, align 8
@.str.4 = external hidden unnamed_addr constant [7 x i8], align 1
@c_n1 = external hidden global i64, align 8
@.str.5 = external hidden unnamed_addr constant [7 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 i64, align 8
@c_b18 = external hidden global float, align 4

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

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

78:                                               ; preds = %74
  %79 = load ptr, ptr %21, align 8, !tbaa !5
  store i64 -1, ptr %79, align 8, !tbaa !9
  br label %113

80:                                               ; preds = %74, %10
  %81 = load i64, ptr %36, align 8, !tbaa !9
  %82 = icmp ne i64 %81, 0
  br i1 %82, label %89, label %83

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

87:                                               ; preds = %83
  %88 = load ptr, ptr %21, align 8, !tbaa !5
  store i64 -2, ptr %88, align 8, !tbaa !9
  br label %112

89:                                               ; preds = %83, %80
  %90 = load ptr, ptr %14, align 8, !tbaa !5
  %91 = load i64, ptr %90, align 8, !tbaa !9
  %92 = icmp slt i64 %91, 0
  br i1 %92, label %93, label %95

93:                                               ; preds = %89
  %94 = load ptr, ptr %21, align 8, !tbaa !5
  store i64 -3, ptr %94, align 8, !tbaa !9
  br label %111

95:                                               ; preds = %89
  %96 = load ptr, ptr %16, align 8, !tbaa !5
  %97 = load i64, ptr %96, align 8, !tbaa !9
  %98 = load ptr, ptr %14, align 8, !tbaa !5
  %99 = load i64, ptr %98, align 8, !tbaa !9
  %100 = icmp sge i64 1, %99
  br i1 %100, label %101, label %102

101:                                              ; preds = %95
  br label %105

102:                                              ; preds = %95
  %103 = load ptr, ptr %14, align 8, !tbaa !5
  %104 = load i64, ptr %103, align 8, !tbaa !9
  br label %105

105:                                              ; preds = %102, %101
  %106 = phi i64 [ 1, %101 ], [ %104, %102 ]
  %107 = icmp slt i64 %97, %106
  br i1 %107, label %108, label %110

108:                                              ; preds = %105
  %109 = load ptr, ptr %21, align 8, !tbaa !5
  store i64 -5, ptr %109, align 8, !tbaa !9
  br label %110

110:                                              ; preds = %108, %105
  br label %111

111:                                              ; preds = %110, %93
  br label %112

112:                                              ; preds = %111, %87
  br label %113

113:                                              ; preds = %112, %78
  %114 = load ptr, ptr %21, align 8, !tbaa !5
  %115 = load i64, ptr %114, align 8, !tbaa !9
  %116 = icmp eq i64 %115, 0
  br i1 %116, label %117, label %165

117:                                              ; preds = %113
  %118 = load ptr, ptr %13, align 8, !tbaa !5
  %119 = load ptr, ptr %14, align 8, !tbaa !5
  %120 = call i64 @ilaenv_(ptr noundef @c__1, ptr noundef @.str.4, ptr noundef %118, ptr noundef %119, ptr noundef @c_n1, ptr noundef @c_n1, ptr noundef @c_n1)
  store i64 %120, ptr %27, align 8, !tbaa !9
  store i64 1, ptr %24, align 8, !tbaa !9
  %121 = load i64, ptr %27, align 8, !tbaa !9
  %122 = add nsw i64 %121, 1
  %123 = load ptr, ptr %14, align 8, !tbaa !5
  %124 = load i64, ptr %123, align 8, !tbaa !9
  %125 = mul nsw i64 %122, %124
  store i64 %125, ptr %25, align 8, !tbaa !9
  %126 = load i64, ptr %24, align 8, !tbaa !9
  %127 = load i64, ptr %25, align 8, !tbaa !9
  %128 = icmp sge i64 %126, %127
  br i1 %128, label %129, label %131

129:                                              ; preds = %117
  %130 = load i64, ptr %24, align 8, !tbaa !9
  br label %133

131:                                              ; preds = %117
  %132 = load i64, ptr %25, align 8, !tbaa !9
  br label %133

133:                                              ; preds = %131, %129
  %134 = phi i64 [ %130, %129 ], [ %132, %131 ]
  store i64 %134, ptr %45, align 8, !tbaa !9
  %135 = load i64, ptr %45, align 8, !tbaa !9
  %136 = sitofp i64 %135 to float
  %137 = load ptr, ptr %18, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.complex, ptr %137, i64 1
  %139 = getelementptr inbounds %struct.complex, ptr %138, i32 0, i32 0
  store float %136, ptr %139, align 4, !tbaa !11
  %140 = load ptr, ptr %18, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.complex, ptr %140, i64 1
  %142 = getelementptr inbounds %struct.complex, ptr %141, i32 0, i32 1
  store float 0.000000e+00, ptr %142, align 4, !tbaa !14
  store i64 1, ptr %24, align 8, !tbaa !9
  %143 = load ptr, ptr %14, align 8, !tbaa !5
  %144 = load i64, ptr %143, align 8, !tbaa !9
  %145 = shl i64 %144, 1
  %146 = sub nsw i64 %145, 1
  store i64 %146, ptr %25, align 8, !tbaa !9
  %147 = load ptr, ptr %19, align 8, !tbaa !5
  %148 = load i64, ptr %147, align 8, !tbaa !9
  %149 = load i64, ptr %24, align 8, !tbaa !9
  %150 = load i64, ptr %25, align 8, !tbaa !9
  %151 = icmp sge i64 %149, %150
  br i1 %151, label %152, label %154

152:                                              ; preds = %133
  %153 = load i64, ptr %24, align 8, !tbaa !9
  br label %156

154:                                              ; preds = %133
  %155 = load i64, ptr %25, align 8, !tbaa !9
  br label %156

156:                                              ; preds = %154, %152
  %157 = phi i64 [ %153, %152 ], [ %155, %154 ]
  %158 = icmp slt i64 %148, %157
  br i1 %158, label %159, label %164

159:                                              ; preds = %156
  %160 = load i64, ptr %46, align 8, !tbaa !9
  %161 = icmp ne i64 %160, 0
  br i1 %161, label %164, label %162

162:                                              ; preds = %159
  %163 = load ptr, ptr %21, align 8, !tbaa !5
  store i64 -8, ptr %163, align 8, !tbaa !9
  br label %164

164:                                              ; preds = %162, %159, %156
  br label %165

165:                                              ; preds = %164, %113
  %166 = load ptr, ptr %21, align 8, !tbaa !5
  %167 = load i64, ptr %166, align 8, !tbaa !9
  %168 = icmp ne i64 %167, 0
  br i1 %168, label %169, label %174

169:                                              ; preds = %165
  %170 = load ptr, ptr %21, align 8, !tbaa !5
  %171 = load i64, ptr %170, align 8, !tbaa !9
  %172 = sub nsw i64 0, %171
  store i64 %172, ptr %24, align 8, !tbaa !9
  %173 = call i32 @xerbla_(ptr noundef @.str.5, ptr noundef %24)
  store i32 0, ptr %11, align 4
  store i32 1, ptr %47, align 4
  br label %380

174:                                              ; preds = %165
  %175 = load i64, ptr %46, align 8, !tbaa !9
  %176 = icmp ne i64 %175, 0
  br i1 %176, label %177, label %178

177:                                              ; preds = %174
  store i32 0, ptr %11, align 4
  store i32 1, ptr %47, align 4
  br label %380

178:                                              ; preds = %174
  br label %179

179:                                              ; preds = %178
  %180 = load ptr, ptr %14, align 8, !tbaa !5
  %181 = load i64, ptr %180, align 8, !tbaa !9
  %182 = icmp eq i64 %181, 0
  br i1 %182, label %183, label %184

183:                                              ; preds = %179
  store i32 0, ptr %11, align 4
  store i32 1, ptr %47, align 4
  br label %380

184:                                              ; preds = %179
  %185 = load ptr, ptr %14, align 8, !tbaa !5
  %186 = load i64, ptr %185, align 8, !tbaa !9
  %187 = icmp eq i64 %186, 1
  br i1 %187, label %188, label %218

188:                                              ; preds = %184
  %189 = load i64, ptr %22, align 8, !tbaa !9
  %190 = add nsw i64 %189, 1
  store i64 %190, ptr %24, align 8, !tbaa !9
  %191 = load ptr, ptr %15, align 8, !tbaa !5
  %192 = load i64, ptr %24, align 8, !tbaa !9
  %193 = getelementptr inbounds %struct.complex, ptr %191, i64 %192
  %194 = getelementptr inbounds %struct.complex, ptr %193, i32 0, i32 0
  %195 = load float, ptr %194, align 4, !tbaa !11
  %196 = load ptr, ptr %17, align 8, !tbaa !5
  %197 = getelementptr inbounds float, ptr %196, i64 1
  store float %195, ptr %197, align 4, !tbaa !15
  %198 = load ptr, ptr %18, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.complex, ptr %198, i64 1
  %200 = getelementptr inbounds %struct.complex, ptr %199, i32 0, i32 0
  store float 1.000000e+00, ptr %200, align 4, !tbaa !11
  %201 = load ptr, ptr %18, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.complex, ptr %201, i64 1
  %203 = getelementptr inbounds %struct.complex, ptr %202, i32 0, i32 1
  store float 0.000000e+00, ptr %203, align 4, !tbaa !14
  %204 = load i64, ptr %37, align 8, !tbaa !9
  %205 = icmp ne i64 %204, 0
  br i1 %205, label %206, label %217

206:                                              ; preds = %188
  %207 = load i64, ptr %22, align 8, !tbaa !9
  %208 = add nsw i64 %207, 1
  store i64 %208, ptr %24, align 8, !tbaa !9
  %209 = load ptr, ptr %15, align 8, !tbaa !5
  %210 = load i64, ptr %24, align 8, !tbaa !9
  %211 = getelementptr inbounds %struct.complex, ptr %209, i64 %210
  %212 = getelementptr inbounds %struct.complex, ptr %211, i32 0, i32 0
  store float 1.000000e+00, ptr %212, align 4, !tbaa !11
  %213 = load ptr, ptr %15, align 8, !tbaa !5
  %214 = load i64, ptr %24, align 8, !tbaa !9
  %215 = getelementptr inbounds %struct.complex, ptr %213, i64 %214
  %216 = getelementptr inbounds %struct.complex, ptr %215, i32 0, i32 1
  store float 0.000000e+00, ptr %216, align 4, !tbaa !14
  br label %217

217:                                              ; preds = %206, %188
  store i32 0, ptr %11, align 4
  store i32 1, ptr %47, align 4
  br label %380

218:                                              ; preds = %184
  %219 = call double @slamch_(ptr noundef @.str.6)
  %220 = fptrunc double %219 to float
  store float %220, ptr %39, align 4, !tbaa !15
  %221 = call double @slamch_(ptr noundef @.str.7)
  %222 = fptrunc double %221 to float
  store float %222, ptr %28, align 4, !tbaa !15
  %223 = load float, ptr %39, align 4, !tbaa !15
  %224 = load float, ptr %28, align 4, !tbaa !15
  %225 = fdiv float %223, %224
  store float %225, ptr %44, align 4, !tbaa !15
  %226 = load float, ptr %44, align 4, !tbaa !15
  %227 = fdiv float 1.000000e+00, %226
  store float %227, ptr %40, align 4, !tbaa !15
  %228 = load float, ptr %44, align 4, !tbaa !15
  %229 = fpext float %228 to double
  %230 = call double @sqrt(double noundef %229) #4
  %231 = fptrunc double %230 to float
  store float %231, ptr %32, align 4, !tbaa !15
  %232 = load float, ptr %40, align 4, !tbaa !15
  %233 = fpext float %232 to double
  %234 = call double @sqrt(double noundef %233) #4
  %235 = fptrunc double %234 to float
  store float %235, ptr %33, align 4, !tbaa !15
  %236 = load ptr, ptr %13, align 8, !tbaa !5
  %237 = load ptr, ptr %14, align 8, !tbaa !5
  %238 = load ptr, ptr %15, align 8, !tbaa !5
  %239 = load i64, ptr %23, align 8, !tbaa !9
  %240 = getelementptr inbounds %struct.complex, ptr %238, i64 %239
  %241 = load ptr, ptr %16, align 8, !tbaa !5
  %242 = load ptr, ptr %20, align 8, !tbaa !5
  %243 = getelementptr inbounds float, ptr %242, i64 1
  %244 = call double @clanhe_(ptr noundef @.str.8, ptr noundef %236, ptr noundef %237, ptr noundef %240, ptr noundef %241, ptr noundef %243)
  %245 = fptrunc double %244 to float
  store float %245, ptr %30, align 4, !tbaa !15
  store i64 0, ptr %38, align 8, !tbaa !9
  %246 = load float, ptr %30, align 4, !tbaa !15
  %247 = fcmp ogt float %246, 0.000000e+00
  br i1 %247, label %248, label %256

248:                                              ; preds = %218
  %249 = load float, ptr %30, align 4, !tbaa !15
  %250 = load float, ptr %32, align 4, !tbaa !15
  %251 = fcmp olt float %249, %250
  br i1 %251, label %252, label %256

252:                                              ; preds = %248
  store i64 1, ptr %38, align 8, !tbaa !9
  %253 = load float, ptr %32, align 4, !tbaa !15
  %254 = load float, ptr %30, align 4, !tbaa !15
  %255 = fdiv float %253, %254
  store float %255, ptr %34, align 4, !tbaa !15
  br label %265

256:                                              ; preds = %248, %218
  %257 = load float, ptr %30, align 4, !tbaa !15
  %258 = load float, ptr %33, align 4, !tbaa !15
  %259 = fcmp ogt float %257, %258
  br i1 %259, label %260, label %264

260:                                              ; preds = %256
  store i64 1, ptr %38, align 8, !tbaa !9
  %261 = load float, ptr %33, align 4, !tbaa !15
  %262 = load float, ptr %30, align 4, !tbaa !15
  %263 = fdiv float %261, %262
  store float %263, ptr %34, align 4, !tbaa !15
  br label %264

264:                                              ; preds = %260, %256
  br label %265

265:                                              ; preds = %264, %252
  %266 = load i64, ptr %38, align 8, !tbaa !9
  %267 = icmp eq i64 %266, 1
  br i1 %267, label %268, label %278

268:                                              ; preds = %265
  %269 = load ptr, ptr %13, align 8, !tbaa !5
  %270 = load ptr, ptr %14, align 8, !tbaa !5
  %271 = load ptr, ptr %14, align 8, !tbaa !5
  %272 = load ptr, ptr %15, align 8, !tbaa !5
  %273 = load i64, ptr %23, align 8, !tbaa !9
  %274 = getelementptr inbounds %struct.complex, ptr %272, i64 %273
  %275 = load ptr, ptr %16, align 8, !tbaa !5
  %276 = load ptr, ptr %21, align 8, !tbaa !5
  %277 = call i32 @clascl_(ptr noundef %269, ptr noundef @c__0, ptr noundef @c__0, ptr noundef @c_b18, ptr noundef %34, ptr noundef %270, ptr noundef %271, ptr noundef %274, ptr noundef %275, ptr noundef %276)
  br label %278

278:                                              ; preds = %268, %265
  store i64 1, ptr %29, align 8, !tbaa !9
  store i64 1, ptr %41, align 8, !tbaa !9
  %279 = load i64, ptr %41, align 8, !tbaa !9
  %280 = load ptr, ptr %14, align 8, !tbaa !5
  %281 = load i64, ptr %280, align 8, !tbaa !9
  %282 = add nsw i64 %279, %281
  store i64 %282, ptr %42, align 8, !tbaa !9
  %283 = load ptr, ptr %19, align 8, !tbaa !5
  %284 = load i64, ptr %283, align 8, !tbaa !9
  %285 = load i64, ptr %42, align 8, !tbaa !9
  %286 = sub nsw i64 %284, %285
  %287 = add nsw i64 %286, 1
  store i64 %287, ptr %43, align 8, !tbaa !9
  %288 = load ptr, ptr %13, align 8, !tbaa !5
  %289 = load ptr, ptr %14, align 8, !tbaa !5
  %290 = load ptr, ptr %15, align 8, !tbaa !5
  %291 = load i64, ptr %23, align 8, !tbaa !9
  %292 = getelementptr inbounds %struct.complex, ptr %290, i64 %291
  %293 = load ptr, ptr %16, align 8, !tbaa !5
  %294 = load ptr, ptr %17, align 8, !tbaa !5
  %295 = getelementptr inbounds float, ptr %294, i64 1
  %296 = load ptr, ptr %20, align 8, !tbaa !5
  %297 = load i64, ptr %29, align 8, !tbaa !9
  %298 = getelementptr inbounds float, ptr %296, i64 %297
  %299 = load ptr, ptr %18, align 8, !tbaa !5
  %300 = load i64, ptr %41, align 8, !tbaa !9
  %301 = getelementptr inbounds %struct.complex, ptr %299, i64 %300
  %302 = load ptr, ptr %18, align 8, !tbaa !5
  %303 = load i64, ptr %42, align 8, !tbaa !9
  %304 = getelementptr inbounds %struct.complex, ptr %302, i64 %303
  %305 = call i32 @chetrd_(ptr noundef %288, ptr noundef %289, ptr noundef %292, ptr noundef %293, ptr noundef %295, ptr noundef %298, ptr noundef %301, ptr noundef %304, ptr noundef %43, ptr noundef %35)
  %306 = load i64, ptr %37, align 8, !tbaa !9
  %307 = icmp ne i64 %306, 0
  br i1 %307, label %317, label %308

308:                                              ; preds = %278
  %309 = load ptr, ptr %14, align 8, !tbaa !5
  %310 = load ptr, ptr %17, align 8, !tbaa !5
  %311 = getelementptr inbounds float, ptr %310, i64 1
  %312 = load ptr, ptr %20, align 8, !tbaa !5
  %313 = load i64, ptr %29, align 8, !tbaa !9
  %314 = getelementptr inbounds float, ptr %312, i64 %313
  %315 = load ptr, ptr %21, align 8, !tbaa !5
  %316 = call i32 @ssterf_(ptr noundef %309, ptr noundef %311, ptr noundef %314, ptr noundef %315)
  br label %351

317:                                              ; preds = %278
  %318 = load ptr, ptr %13, align 8, !tbaa !5
  %319 = load ptr, ptr %14, align 8, !tbaa !5
  %320 = load ptr, ptr %15, align 8, !tbaa !5
  %321 = load i64, ptr %23, align 8, !tbaa !9
  %322 = getelementptr inbounds %struct.complex, ptr %320, i64 %321
  %323 = load ptr, ptr %16, align 8, !tbaa !5
  %324 = load ptr, ptr %18, align 8, !tbaa !5
  %325 = load i64, ptr %41, align 8, !tbaa !9
  %326 = getelementptr inbounds %struct.complex, ptr %324, i64 %325
  %327 = load ptr, ptr %18, align 8, !tbaa !5
  %328 = load i64, ptr %42, align 8, !tbaa !9
  %329 = getelementptr inbounds %struct.complex, ptr %327, i64 %328
  %330 = call i32 @cungtr_(ptr noundef %318, ptr noundef %319, ptr noundef %322, ptr noundef %323, ptr noundef %326, ptr noundef %329, ptr noundef %43, ptr noundef %35)
  %331 = load i64, ptr %29, align 8, !tbaa !9
  %332 = load ptr, ptr %14, align 8, !tbaa !5
  %333 = load i64, ptr %332, align 8, !tbaa !9
  %334 = add nsw i64 %331, %333
  store i64 %334, ptr %42, align 8, !tbaa !9
  %335 = load ptr, ptr %12, align 8, !tbaa !5
  %336 = load ptr, ptr %14, align 8, !tbaa !5
  %337 = load ptr, ptr %17, align 8, !tbaa !5
  %338 = getelementptr inbounds float, ptr %337, i64 1
  %339 = load ptr, ptr %20, align 8, !tbaa !5
  %340 = load i64, ptr %29, align 8, !tbaa !9
  %341 = getelementptr inbounds float, ptr %339, i64 %340
  %342 = load ptr, ptr %15, align 8, !tbaa !5
  %343 = load i64, ptr %23, align 8, !tbaa !9
  %344 = getelementptr inbounds %struct.complex, ptr %342, i64 %343
  %345 = load ptr, ptr %16, align 8, !tbaa !5
  %346 = load ptr, ptr %20, align 8, !tbaa !5
  %347 = load i64, ptr %42, align 8, !tbaa !9
  %348 = getelementptr inbounds float, ptr %346, i64 %347
  %349 = load ptr, ptr %21, align 8, !tbaa !5
  %350 = call i32 @csteqr_(ptr noundef %335, ptr noundef %336, ptr noundef %338, ptr noundef %341, ptr noundef %344, ptr noundef %345, ptr noundef %348, ptr noundef %349)
  br label %351

351:                                              ; preds = %317, %308
  %352 = load i64, ptr %38, align 8, !tbaa !9
  %353 = icmp eq i64 %352, 1
  br i1 %353, label %354, label %371

354:                                              ; preds = %351
  %355 = load ptr, ptr %21, align 8, !tbaa !5
  %356 = load i64, ptr %355, align 8, !tbaa !9
  %357 = icmp eq i64 %356, 0
  br i1 %357, label %358, label %361

358:                                              ; preds = %354
  %359 = load ptr, ptr %14, align 8, !tbaa !5
  %360 = load i64, ptr %359, align 8, !tbaa !9
  store i64 %360, ptr %31, align 8, !tbaa !9
  br label %365

361:                                              ; preds = %354
  %362 = load ptr, ptr %21, align 8, !tbaa !5
  %363 = load i64, ptr %362, align 8, !tbaa !9
  %364 = sub nsw i64 %363, 1
  store i64 %364, ptr %31, align 8, !tbaa !9
  br label %365

365:                                              ; preds = %361, %358
  %366 = load float, ptr %34, align 4, !tbaa !15
  %367 = fdiv float 1.000000e+00, %366
  store float %367, ptr %26, align 4, !tbaa !15
  %368 = load ptr, ptr %17, align 8, !tbaa !5
  %369 = getelementptr inbounds float, ptr %368, i64 1
  %370 = call i32 @f2c_sscal(ptr noundef %31, ptr noundef %26, ptr noundef %369, ptr noundef @c__1)
  br label %371

371:                                              ; preds = %365, %351
  %372 = load i64, ptr %45, align 8, !tbaa !9
  %373 = sitofp i64 %372 to float
  %374 = load ptr, ptr %18, align 8, !tbaa !5
  %375 = getelementptr inbounds %struct.complex, ptr %374, i64 1
  %376 = getelementptr inbounds %struct.complex, ptr %375, i32 0, i32 0
  store float %373, ptr %376, align 4, !tbaa !11
  %377 = load ptr, ptr %18, align 8, !tbaa !5
  %378 = getelementptr inbounds %struct.complex, ptr %377, i64 1
  %379 = getelementptr inbounds %struct.complex, ptr %378, i32 0, i32 1
  store float 0.000000e+00, ptr %379, align 4, !tbaa !14
  store i32 0, ptr %11, align 4
  store i32 1, ptr %47, align 4
  br label %380

380:                                              ; preds = %371, %217, %183, %177, %169
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #4
  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 8, ptr %42) #4
  call void @llvm.lifetime.end.p0(i64 8, 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 8, ptr %38) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #4
  call void @llvm.lifetime.end.p0(i64 8, 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 8, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 4, 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
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  %381 = load i32, ptr %11, align 4
  ret i32 %381
}

; 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 i64 @ilaenv_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, 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 @clanhe_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

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

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

declare i32 @csteqr_(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, !13, i64 0}
!12 = !{!"", !13, i64 0, !13, i64 4}
!13 = !{!"float", !7, i64 0}
!14 = !{!12, !13, i64 4}
!15 = !{!13, !13, 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"

%struct.complex = type { float, float }

@.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 i64, align 8
@.str.4 = external hidden unnamed_addr constant [7 x i8], align 1
@c_n1 = external hidden global i64, align 8
@.str.5 = external hidden unnamed_addr constant [7 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 i64, align 8
@c_b18 = external hidden global float, align 4

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

21:                                               ; preds = %10
  %22 = tail call i64 @lsame_(ptr noundef %0, ptr noundef nonnull @.str.2) #4
  %.not142 = icmp eq i64 %22, 0
  br i1 %.not142, label %.thread152.sink.split, label %23

23:                                               ; preds = %21, %10
  %.not143 = icmp eq i64 %18, 0
  br i1 %.not143, label %24, label %26

24:                                               ; preds = %23
  %25 = tail call i64 @lsame_(ptr noundef %1, ptr noundef nonnull @.str.3) #4
  %.not144 = icmp eq i64 %25, 0
  br i1 %.not144, label %.thread152.sink.split, label %26

26:                                               ; preds = %24, %23
  %27 = load i64, ptr %2, align 8, !tbaa !5
  %28 = icmp slt i64 %27, 0
  br i1 %28, label %.thread152.sink.split, label %29

29:                                               ; preds = %26
  %30 = load i64, ptr %4, align 8, !tbaa !5
  %spec.select = tail call i64 @llvm.umax.i64(i64 %27, i64 1)
  %31 = icmp slt i64 %30, %spec.select
  br i1 %31, label %.thread152.sink.split, label %32

32:                                               ; preds = %29
  %.pr = load i64, ptr %9, align 8, !tbaa !5
  %33 = icmp eq i64 %.pr, 0
  br i1 %33, label %34, label %.thread152

34:                                               ; preds = %32
  %35 = tail call i64 @ilaenv_(ptr noundef nonnull @c__1, ptr noundef nonnull @.str.4, ptr noundef %1, ptr noundef nonnull %2, ptr noundef nonnull @c_n1, ptr noundef nonnull @c_n1, ptr noundef nonnull @c_n1) #4
  %36 = add nsw i64 %35, 1
  %37 = load i64, ptr %2, align 8, !tbaa !5
  %38 = mul nsw i64 %37, %36
  %39 = tail call i64 @llvm.smax.i64(i64 %38, i64 1)
  %40 = uitofp nneg i64 %39 to float
  store float %40, ptr %6, align 4, !tbaa !9
  %41 = getelementptr inbounds i8, ptr %6, i64 4
  store float 0.000000e+00, ptr %41, align 4, !tbaa !12
  %42 = shl i64 %37, 1
  %43 = add nsw i64 %42, -1
  %44 = load i64, ptr %7, align 8, !tbaa !5
  %45 = icmp slt i64 %42, 3
  %46 = select i1 %45, i64 1, i64 %43
  %47 = icmp sge i64 %44, %46
  %or.cond = select i1 %47, i1 true, i1 %20
  br i1 %or.cond, label %.thread, label %.thread152.sink.split

.thread:                                          ; preds = %34
  %.pr149.pr = load i64, ptr %9, align 8, !tbaa !5
  %.not145 = icmp eq i64 %.pr149.pr, 0
  br i1 %.not145, label %51, label %.thread152

.thread152.sink.split:                            ; preds = %34, %29, %26, %24, %21
  %.sink = phi i64 [ -1, %21 ], [ -2, %24 ], [ -3, %26 ], [ -5, %29 ], [ -8, %34 ]
  store i64 %.sink, ptr %9, align 8, !tbaa !5
  br label %.thread152

.thread152:                                       ; preds = %.thread152.sink.split, %32, %.thread
  %48 = phi i64 [ %.pr149.pr, %.thread ], [ %.pr, %32 ], [ %.sink, %.thread152.sink.split ]
  %49 = sub nsw i64 0, %48
  store i64 %49, ptr %11, align 8, !tbaa !5
  %50 = call i32 @xerbla_(ptr noundef nonnull @.str.5, ptr noundef nonnull %11) #4
  br label %98

51:                                               ; preds = %.thread
  br i1 %20, label %98, label %52

52:                                               ; preds = %51
  switch i64 %37, label %56 [
    i64 0, label %98
    i64 1, label %53
  ]

53:                                               ; preds = %52
  %54 = load float, ptr %3, align 4, !tbaa !9
  store float %54, ptr %5, align 4, !tbaa !13
  store <2 x float> <float 1.000000e+00, float 0.000000e+00>, ptr %6, align 4, !tbaa !13
  br i1 %.not, label %98, label %55

55:                                               ; preds = %53
  store <2 x float> <float 1.000000e+00, float 0.000000e+00>, ptr %3, align 4, !tbaa !13
  br label %98

56:                                               ; preds = %52
  %57 = tail call double @slamch_(ptr noundef nonnull @.str.6) #4
  %58 = fptrunc double %57 to float
  %59 = tail call double @slamch_(ptr noundef nonnull @.str.7) #4
  %60 = fptrunc double %59 to float
  %61 = fdiv float %58, %60
  %62 = fdiv float 1.000000e+00, %61
  %sqrtf = tail call float @sqrtf(float noundef %61) #5
  %sqrtf146 = tail call float @sqrtf(float noundef %62) #5
  %63 = tail call double @clanhe_(ptr noundef nonnull @.str.8, ptr noundef %1, ptr noundef nonnull %2, ptr noundef %3, ptr noundef nonnull %4, ptr noundef %8) #4
  %64 = fptrunc double %63 to float
  %65 = fcmp ogt float %64, 0.000000e+00
  %66 = fcmp ogt float %sqrtf, %64
  %or.cond147 = select i1 %65, i1 %66, i1 false
  br i1 %or.cond147, label %69, label %67

67:                                               ; preds = %56
  %68 = fcmp olt float %sqrtf146, %64
  br i1 %68, label %69, label %71

69:                                               ; preds = %67, %56
  %sqrtf146.pn = phi float [ %sqrtf, %56 ], [ %sqrtf146, %67 ]
  %storemerge160 = fdiv float %sqrtf146.pn, %64
  store float %storemerge160, ptr %14, align 4, !tbaa !13
  %70 = call i32 @clascl_(ptr noundef %1, ptr noundef nonnull @c__0, ptr noundef nonnull @c__0, ptr noundef nonnull @c_b18, ptr noundef nonnull %14, ptr noundef nonnull %2, ptr noundef nonnull %2, ptr noundef %3, ptr noundef nonnull %4, ptr noundef nonnull %9) #4
  br label %71

71:                                               ; preds = %67, %69
  %72 = phi i1 [ true, %69 ], [ false, %67 ]
  %73 = load i64, ptr %2, align 8, !tbaa !5
  %74 = load i64, ptr %7, align 8, !tbaa !5
  %75 = sub i64 %74, %73
  store i64 %75, ptr %16, align 8, !tbaa !5
  %76 = getelementptr %struct.complex, ptr %6, i64 %73
  %77 = call i32 @chetrd_(ptr noundef %1, ptr noundef nonnull %2, ptr noundef %3, ptr noundef nonnull %4, ptr noundef %5, ptr noundef %8, ptr noundef nonnull %6, ptr noundef %76, ptr noundef nonnull %16, ptr noundef nonnull %15) #4
  br i1 %.not, label %78, label %80

78:                                               ; preds = %71
  %79 = call i32 @ssterf_(ptr noundef nonnull %2, ptr noundef %5, ptr noundef %8, ptr noundef nonnull %9) #4
  br label %85

80:                                               ; preds = %71
  %81 = call i32 @cungtr_(ptr noundef %1, ptr noundef nonnull %2, ptr noundef %3, ptr noundef nonnull %4, ptr noundef nonnull %6, ptr noundef %76, ptr noundef nonnull %16, ptr noundef nonnull %15) #4
  %82 = load i64, ptr %2, align 8, !tbaa !5
  %83 = getelementptr float, ptr %8, i64 %82
  %84 = call i32 @csteqr_(ptr noundef %0, ptr noundef nonnull %2, ptr noundef %5, ptr noundef %8, ptr noundef %3, ptr noundef nonnull %4, ptr noundef %83, ptr noundef nonnull %9) #4
  br label %85

85:                                               ; preds = %80, %78
  br i1 %72, label %86, label %97

86:                                               ; preds = %85
  %87 = load i64, ptr %9, align 8, !tbaa !5
  %88 = icmp eq i64 %87, 0
  br i1 %88, label %89, label %91

89:                                               ; preds = %86
  %90 = load i64, ptr %2, align 8, !tbaa !5
  br label %93

91:                                               ; preds = %86
  %92 = add nsw i64 %87, -1
  br label %93

93:                                               ; preds = %91, %89
  %storemerge = phi i64 [ %92, %91 ], [ %90, %89 ]
  store i64 %storemerge, ptr %13, align 8, !tbaa !5
  %94 = load float, ptr %14, align 4, !tbaa !13
  %95 = fdiv float 1.000000e+00, %94
  store float %95, ptr %12, align 4, !tbaa !13
  %96 = call i32 @f2c_sscal(ptr noundef nonnull %13, ptr noundef nonnull %12, ptr noundef %5, ptr noundef nonnull @c__1) #4
  br label %97

97:                                               ; preds = %93, %85
  store float %40, ptr %6, align 4, !tbaa !9
  store float 0.000000e+00, ptr %41, align 4, !tbaa !12
  br label %98

98:                                               ; preds = %53, %55, %52, %51, %97, %.thread152
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #4
  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 i64 @ilaenv_(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) local_unnamed_addr #2

declare double @slamch_(ptr noundef) local_unnamed_addr #2

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

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

declare i32 @csteqr_(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

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

declare float @sqrtf(float) local_unnamed_addr

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umax.i64(i64, i64) #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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"", !11, i64 0, !11, i64 4}
!11 = !{!"float", !7, i64 0}
!12 = !{!10, !11, i64 4}
!13 = !{!11, !11, i64 0}


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