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

; 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
@c__1 = external hidden global i64, align 8
@c_b13 = external hidden global %struct.complex, align 4
@c_n1 = external hidden global i64, align 8

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

69:                                               ; preds = %172, %7
  %70 = load i64, ptr %27, align 8, !tbaa !9
  %71 = load i64, ptr %17, align 8, !tbaa !9
  %72 = icmp sle i64 %70, %71
  br i1 %72, label %73, label %175

73:                                               ; preds = %69
  %74 = load ptr, ptr %8, align 8, !tbaa !5
  %75 = load i64, ptr %74, align 8, !tbaa !9
  store i64 %75, ptr %18, align 8, !tbaa !9
  %76 = load i64, ptr %27, align 8, !tbaa !9
  %77 = add nsw i64 %76, 1
  store i64 %77, ptr %28, align 8, !tbaa !9
  br label %78

78:                                               ; preds = %168, %73
  %79 = load i64, ptr %28, align 8, !tbaa !9
  %80 = load i64, ptr %18, align 8, !tbaa !9
  %81 = icmp sle i64 %79, %80
  br i1 %81, label %82, label %171

82:                                               ; preds = %78
  %83 = load i64, ptr %28, align 8, !tbaa !9
  store i64 %83, ptr %19, align 8, !tbaa !9
  %84 = load i64, ptr %28, align 8, !tbaa !9
  store i64 %84, ptr %20, align 8, !tbaa !9
  %85 = load i64, ptr %28, align 8, !tbaa !9
  %86 = load i64, ptr %27, align 8, !tbaa !9
  %87 = load i64, ptr %15, align 8, !tbaa !9
  %88 = mul nsw i64 %86, %87
  %89 = add nsw i64 %85, %88
  store i64 %89, ptr %21, align 8, !tbaa !9
  %90 = load i64, ptr %27, align 8, !tbaa !9
  store i64 %90, ptr %22, align 8, !tbaa !9
  %91 = load ptr, ptr %9, align 8, !tbaa !5
  %92 = load i64, ptr %21, align 8, !tbaa !9
  %93 = getelementptr inbounds %struct.complex, ptr %91, i64 %92
  %94 = getelementptr inbounds %struct.complex, ptr %93, i32 0, i32 0
  %95 = load float, ptr %94, align 4, !tbaa !13
  %96 = load ptr, ptr %11, align 8, !tbaa !5
  %97 = load i64, ptr %22, align 8, !tbaa !9
  %98 = getelementptr inbounds %struct.complex, ptr %96, i64 %97
  %99 = getelementptr inbounds %struct.complex, ptr %98, i32 0, i32 0
  %100 = load float, ptr %99, align 4, !tbaa !13
  %101 = load ptr, ptr %9, align 8, !tbaa !5
  %102 = load i64, ptr %21, align 8, !tbaa !9
  %103 = getelementptr inbounds %struct.complex, ptr %101, i64 %102
  %104 = getelementptr inbounds %struct.complex, ptr %103, i32 0, i32 1
  %105 = load float, ptr %104, align 4, !tbaa !15
  %106 = load ptr, ptr %11, align 8, !tbaa !5
  %107 = load i64, ptr %22, align 8, !tbaa !9
  %108 = getelementptr inbounds %struct.complex, ptr %106, i64 %107
  %109 = getelementptr inbounds %struct.complex, ptr %108, i32 0, i32 1
  %110 = load float, ptr %109, align 4, !tbaa !15
  %111 = fmul float %105, %110
  %112 = fneg float %111
  %113 = call float @llvm.fmuladd.f32(float %95, float %100, float %112)
  %114 = getelementptr inbounds %struct.complex, ptr %25, i32 0, i32 0
  store float %113, ptr %114, align 4, !tbaa !13
  %115 = load ptr, ptr %9, align 8, !tbaa !5
  %116 = load i64, ptr %21, align 8, !tbaa !9
  %117 = getelementptr inbounds %struct.complex, ptr %115, i64 %116
  %118 = getelementptr inbounds %struct.complex, ptr %117, i32 0, i32 0
  %119 = load float, ptr %118, align 4, !tbaa !13
  %120 = load ptr, ptr %11, align 8, !tbaa !5
  %121 = load i64, ptr %22, align 8, !tbaa !9
  %122 = getelementptr inbounds %struct.complex, ptr %120, i64 %121
  %123 = getelementptr inbounds %struct.complex, ptr %122, i32 0, i32 1
  %124 = load float, ptr %123, align 4, !tbaa !15
  %125 = load ptr, ptr %9, align 8, !tbaa !5
  %126 = load i64, ptr %21, align 8, !tbaa !9
  %127 = getelementptr inbounds %struct.complex, ptr %125, i64 %126
  %128 = getelementptr inbounds %struct.complex, ptr %127, i32 0, i32 1
  %129 = load float, ptr %128, align 4, !tbaa !15
  %130 = load ptr, ptr %11, align 8, !tbaa !5
  %131 = load i64, ptr %22, align 8, !tbaa !9
  %132 = getelementptr inbounds %struct.complex, ptr %130, i64 %131
  %133 = getelementptr inbounds %struct.complex, ptr %132, i32 0, i32 0
  %134 = load float, ptr %133, align 4, !tbaa !13
  %135 = fmul float %129, %134
  %136 = call float @llvm.fmuladd.f32(float %119, float %124, float %135)
  %137 = getelementptr inbounds %struct.complex, ptr %25, i32 0, i32 1
  store float %136, ptr %137, align 4, !tbaa !15
  %138 = load ptr, ptr %11, align 8, !tbaa !5
  %139 = load i64, ptr %20, align 8, !tbaa !9
  %140 = getelementptr inbounds %struct.complex, ptr %138, i64 %139
  %141 = getelementptr inbounds %struct.complex, ptr %140, i32 0, i32 0
  %142 = load float, ptr %141, align 4, !tbaa !13
  %143 = getelementptr inbounds %struct.complex, ptr %25, i32 0, i32 0
  %144 = load float, ptr %143, align 4, !tbaa !13
  %145 = fsub float %142, %144
  %146 = getelementptr inbounds %struct.complex, ptr %24, i32 0, i32 0
  store float %145, ptr %146, align 4, !tbaa !13
  %147 = load ptr, ptr %11, align 8, !tbaa !5
  %148 = load i64, ptr %20, align 8, !tbaa !9
  %149 = getelementptr inbounds %struct.complex, ptr %147, i64 %148
  %150 = getelementptr inbounds %struct.complex, ptr %149, i32 0, i32 1
  %151 = load float, ptr %150, align 4, !tbaa !15
  %152 = getelementptr inbounds %struct.complex, ptr %25, i32 0, i32 1
  %153 = load float, ptr %152, align 4, !tbaa !15
  %154 = fsub float %151, %153
  %155 = getelementptr inbounds %struct.complex, ptr %24, i32 0, i32 1
  store float %154, ptr %155, align 4, !tbaa !15
  %156 = getelementptr inbounds %struct.complex, ptr %24, i32 0, i32 0
  %157 = load float, ptr %156, align 4, !tbaa !13
  %158 = load ptr, ptr %11, align 8, !tbaa !5
  %159 = load i64, ptr %19, align 8, !tbaa !9
  %160 = getelementptr inbounds %struct.complex, ptr %158, i64 %159
  %161 = getelementptr inbounds %struct.complex, ptr %160, i32 0, i32 0
  store float %157, ptr %161, align 4, !tbaa !13
  %162 = getelementptr inbounds %struct.complex, ptr %24, i32 0, i32 1
  %163 = load float, ptr %162, align 4, !tbaa !15
  %164 = load ptr, ptr %11, align 8, !tbaa !5
  %165 = load i64, ptr %19, align 8, !tbaa !9
  %166 = getelementptr inbounds %struct.complex, ptr %164, i64 %165
  %167 = getelementptr inbounds %struct.complex, ptr %166, i32 0, i32 1
  store float %163, ptr %167, align 4, !tbaa !15
  br label %168

168:                                              ; preds = %82
  %169 = load i64, ptr %28, align 8, !tbaa !9
  %170 = add nsw i64 %169, 1
  store i64 %170, ptr %28, align 8, !tbaa !9
  br label %78, !llvm.loop !16

171:                                              ; preds = %78
  br label %172

172:                                              ; preds = %171
  %173 = load i64, ptr %27, align 8, !tbaa !9
  %174 = add nsw i64 %173, 1
  store i64 %174, ptr %27, align 8, !tbaa !9
  br label %69, !llvm.loop !18

175:                                              ; preds = %69
  %176 = load ptr, ptr %14, align 8, !tbaa !5
  store float 1.000000e+00, ptr %176, align 4, !tbaa !11
  %177 = load ptr, ptr %8, align 8, !tbaa !5
  %178 = load ptr, ptr %11, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.complex, ptr %178, i64 1
  %180 = call i64 @f2c_icamax(ptr noundef %177, ptr noundef %179, ptr noundef @c__1)
  store i64 %180, ptr %27, align 8, !tbaa !9
  %181 = load float, ptr %32, align 4, !tbaa !11
  %182 = fmul float %181, 2.000000e+00
  %183 = fpext float %182 to double
  %184 = load ptr, ptr %11, align 8, !tbaa !5
  %185 = load i64, ptr %27, align 8, !tbaa !9
  %186 = getelementptr inbounds %struct.complex, ptr %184, i64 %185
  %187 = call double @c_abs(ptr noundef %186)
  %188 = fmul double %183, %187
  %189 = load ptr, ptr %9, align 8, !tbaa !5
  %190 = load ptr, ptr %8, align 8, !tbaa !5
  %191 = load i64, ptr %190, align 8, !tbaa !9
  %192 = load ptr, ptr %8, align 8, !tbaa !5
  %193 = load i64, ptr %192, align 8, !tbaa !9
  %194 = load i64, ptr %15, align 8, !tbaa !9
  %195 = mul nsw i64 %193, %194
  %196 = add nsw i64 %191, %195
  %197 = getelementptr inbounds %struct.complex, ptr %189, i64 %196
  %198 = call double @c_abs(ptr noundef %197)
  %199 = fcmp ogt double %188, %198
  br i1 %199, label %200, label %227

200:                                              ; preds = %175
  %201 = load ptr, ptr %11, align 8, !tbaa !5
  %202 = load i64, ptr %27, align 8, !tbaa !9
  %203 = getelementptr inbounds %struct.complex, ptr %201, i64 %202
  %204 = call double @c_abs(ptr noundef %203)
  %205 = fptrunc double %204 to float
  store float %205, ptr %23, align 4, !tbaa !11
  %206 = load float, ptr %23, align 4, !tbaa !11
  %207 = fdiv float 5.000000e-01, %206
  %208 = getelementptr inbounds %struct.complex, ptr %24, i32 0, i32 0
  store float %207, ptr %208, align 4, !tbaa !13
  %209 = load float, ptr %23, align 4, !tbaa !11
  %210 = fdiv float 0.000000e+00, %209
  %211 = getelementptr inbounds %struct.complex, ptr %24, i32 0, i32 1
  store float %210, ptr %211, align 4, !tbaa !15
  %212 = getelementptr inbounds %struct.complex, ptr %24, i32 0, i32 0
  %213 = load float, ptr %212, align 4, !tbaa !13
  %214 = getelementptr inbounds %struct.complex, ptr %30, i32 0, i32 0
  store float %213, ptr %214, align 4, !tbaa !13
  %215 = getelementptr inbounds %struct.complex, ptr %24, i32 0, i32 1
  %216 = load float, ptr %215, align 4, !tbaa !15
  %217 = getelementptr inbounds %struct.complex, ptr %30, i32 0, i32 1
  store float %216, ptr %217, align 4, !tbaa !15
  %218 = load ptr, ptr %8, align 8, !tbaa !5
  %219 = load ptr, ptr %11, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.complex, ptr %219, i64 1
  %221 = call i32 @f2c_cscal(ptr noundef %218, ptr noundef %30, ptr noundef %220, ptr noundef @c__1)
  %222 = getelementptr inbounds %struct.complex, ptr %30, i32 0, i32 0
  %223 = load float, ptr %222, align 4, !tbaa !13
  %224 = load ptr, ptr %14, align 8, !tbaa !5
  %225 = load float, ptr %224, align 4, !tbaa !11
  %226 = fmul float %225, %223
  store float %226, ptr %224, align 4, !tbaa !11
  br label %227

227:                                              ; preds = %200, %175
  %228 = load ptr, ptr %8, align 8, !tbaa !5
  %229 = load i64, ptr %228, align 8, !tbaa !9
  store i64 %229, ptr %27, align 8, !tbaa !9
  br label %230

230:                                              ; preds = %417, %227
  %231 = load i64, ptr %27, align 8, !tbaa !9
  %232 = icmp sge i64 %231, 1
  br i1 %232, label %233, label %420

233:                                              ; preds = %230
  %234 = load ptr, ptr %9, align 8, !tbaa !5
  %235 = load i64, ptr %27, align 8, !tbaa !9
  %236 = load i64, ptr %27, align 8, !tbaa !9
  %237 = load i64, ptr %15, align 8, !tbaa !9
  %238 = mul nsw i64 %236, %237
  %239 = add nsw i64 %235, %238
  %240 = getelementptr inbounds %struct.complex, ptr %234, i64 %239
  call void @c_div(ptr noundef %24, ptr noundef @c_b13, ptr noundef %240)
  %241 = getelementptr inbounds %struct.complex, ptr %24, i32 0, i32 0
  %242 = load float, ptr %241, align 4, !tbaa !13
  %243 = getelementptr inbounds %struct.complex, ptr %30, i32 0, i32 0
  store float %242, ptr %243, align 4, !tbaa !13
  %244 = getelementptr inbounds %struct.complex, ptr %24, i32 0, i32 1
  %245 = load float, ptr %244, align 4, !tbaa !15
  %246 = getelementptr inbounds %struct.complex, ptr %30, i32 0, i32 1
  store float %245, ptr %246, align 4, !tbaa !15
  %247 = load i64, ptr %27, align 8, !tbaa !9
  store i64 %247, ptr %17, align 8, !tbaa !9
  %248 = load i64, ptr %27, align 8, !tbaa !9
  store i64 %248, ptr %18, align 8, !tbaa !9
  %249 = load ptr, ptr %11, align 8, !tbaa !5
  %250 = load i64, ptr %18, align 8, !tbaa !9
  %251 = getelementptr inbounds %struct.complex, ptr %249, i64 %250
  %252 = getelementptr inbounds %struct.complex, ptr %251, i32 0, i32 0
  %253 = load float, ptr %252, align 4, !tbaa !13
  %254 = getelementptr inbounds %struct.complex, ptr %30, i32 0, i32 0
  %255 = load float, ptr %254, align 4, !tbaa !13
  %256 = load ptr, ptr %11, align 8, !tbaa !5
  %257 = load i64, ptr %18, align 8, !tbaa !9
  %258 = getelementptr inbounds %struct.complex, ptr %256, i64 %257
  %259 = getelementptr inbounds %struct.complex, ptr %258, i32 0, i32 1
  %260 = load float, ptr %259, align 4, !tbaa !15
  %261 = getelementptr inbounds %struct.complex, ptr %30, i32 0, i32 1
  %262 = load float, ptr %261, align 4, !tbaa !15
  %263 = fmul float %260, %262
  %264 = fneg float %263
  %265 = call float @llvm.fmuladd.f32(float %253, float %255, float %264)
  %266 = getelementptr inbounds %struct.complex, ptr %24, i32 0, i32 0
  store float %265, ptr %266, align 4, !tbaa !13
  %267 = load ptr, ptr %11, align 8, !tbaa !5
  %268 = load i64, ptr %18, align 8, !tbaa !9
  %269 = getelementptr inbounds %struct.complex, ptr %267, i64 %268
  %270 = getelementptr inbounds %struct.complex, ptr %269, i32 0, i32 0
  %271 = load float, ptr %270, align 4, !tbaa !13
  %272 = getelementptr inbounds %struct.complex, ptr %30, i32 0, i32 1
  %273 = load float, ptr %272, align 4, !tbaa !15
  %274 = load ptr, ptr %11, align 8, !tbaa !5
  %275 = load i64, ptr %18, align 8, !tbaa !9
  %276 = getelementptr inbounds %struct.complex, ptr %274, i64 %275
  %277 = getelementptr inbounds %struct.complex, ptr %276, i32 0, i32 1
  %278 = load float, ptr %277, align 4, !tbaa !15
  %279 = getelementptr inbounds %struct.complex, ptr %30, i32 0, i32 0
  %280 = load float, ptr %279, align 4, !tbaa !13
  %281 = fmul float %278, %280
  %282 = call float @llvm.fmuladd.f32(float %271, float %273, float %281)
  %283 = getelementptr inbounds %struct.complex, ptr %24, i32 0, i32 1
  store float %282, ptr %283, align 4, !tbaa !15
  %284 = getelementptr inbounds %struct.complex, ptr %24, i32 0, i32 0
  %285 = load float, ptr %284, align 4, !tbaa !13
  %286 = load ptr, ptr %11, align 8, !tbaa !5
  %287 = load i64, ptr %17, align 8, !tbaa !9
  %288 = getelementptr inbounds %struct.complex, ptr %286, i64 %287
  %289 = getelementptr inbounds %struct.complex, ptr %288, i32 0, i32 0
  store float %285, ptr %289, align 4, !tbaa !13
  %290 = getelementptr inbounds %struct.complex, ptr %24, i32 0, i32 1
  %291 = load float, ptr %290, align 4, !tbaa !15
  %292 = load ptr, ptr %11, align 8, !tbaa !5
  %293 = load i64, ptr %17, align 8, !tbaa !9
  %294 = getelementptr inbounds %struct.complex, ptr %292, i64 %293
  %295 = getelementptr inbounds %struct.complex, ptr %294, i32 0, i32 1
  store float %291, ptr %295, align 4, !tbaa !15
  %296 = load ptr, ptr %8, align 8, !tbaa !5
  %297 = load i64, ptr %296, align 8, !tbaa !9
  store i64 %297, ptr %17, align 8, !tbaa !9
  %298 = load i64, ptr %27, align 8, !tbaa !9
  %299 = add nsw i64 %298, 1
  store i64 %299, ptr %28, align 8, !tbaa !9
  br label %300

300:                                              ; preds = %413, %233
  %301 = load i64, ptr %28, align 8, !tbaa !9
  %302 = load i64, ptr %17, align 8, !tbaa !9
  %303 = icmp sle i64 %301, %302
  br i1 %303, label %304, label %416

304:                                              ; preds = %300
  %305 = load i64, ptr %27, align 8, !tbaa !9
  store i64 %305, ptr %18, align 8, !tbaa !9
  %306 = load i64, ptr %27, align 8, !tbaa !9
  store i64 %306, ptr %19, align 8, !tbaa !9
  %307 = load i64, ptr %28, align 8, !tbaa !9
  store i64 %307, ptr %20, align 8, !tbaa !9
  %308 = load i64, ptr %27, align 8, !tbaa !9
  %309 = load i64, ptr %28, align 8, !tbaa !9
  %310 = load i64, ptr %15, align 8, !tbaa !9
  %311 = mul nsw i64 %309, %310
  %312 = add nsw i64 %308, %311
  store i64 %312, ptr %21, align 8, !tbaa !9
  %313 = load ptr, ptr %9, align 8, !tbaa !5
  %314 = load i64, ptr %21, align 8, !tbaa !9
  %315 = getelementptr inbounds %struct.complex, ptr %313, i64 %314
  %316 = getelementptr inbounds %struct.complex, ptr %315, i32 0, i32 0
  %317 = load float, ptr %316, align 4, !tbaa !13
  %318 = getelementptr inbounds %struct.complex, ptr %30, i32 0, i32 0
  %319 = load float, ptr %318, align 4, !tbaa !13
  %320 = load ptr, ptr %9, align 8, !tbaa !5
  %321 = load i64, ptr %21, align 8, !tbaa !9
  %322 = getelementptr inbounds %struct.complex, ptr %320, i64 %321
  %323 = getelementptr inbounds %struct.complex, ptr %322, i32 0, i32 1
  %324 = load float, ptr %323, align 4, !tbaa !15
  %325 = getelementptr inbounds %struct.complex, ptr %30, i32 0, i32 1
  %326 = load float, ptr %325, align 4, !tbaa !15
  %327 = fmul float %324, %326
  %328 = fneg float %327
  %329 = call float @llvm.fmuladd.f32(float %317, float %319, float %328)
  %330 = getelementptr inbounds %struct.complex, ptr %26, i32 0, i32 0
  store float %329, ptr %330, align 4, !tbaa !13
  %331 = load ptr, ptr %9, align 8, !tbaa !5
  %332 = load i64, ptr %21, align 8, !tbaa !9
  %333 = getelementptr inbounds %struct.complex, ptr %331, i64 %332
  %334 = getelementptr inbounds %struct.complex, ptr %333, i32 0, i32 0
  %335 = load float, ptr %334, align 4, !tbaa !13
  %336 = getelementptr inbounds %struct.complex, ptr %30, i32 0, i32 1
  %337 = load float, ptr %336, align 4, !tbaa !15
  %338 = load ptr, ptr %9, align 8, !tbaa !5
  %339 = load i64, ptr %21, align 8, !tbaa !9
  %340 = getelementptr inbounds %struct.complex, ptr %338, i64 %339
  %341 = getelementptr inbounds %struct.complex, ptr %340, i32 0, i32 1
  %342 = load float, ptr %341, align 4, !tbaa !15
  %343 = getelementptr inbounds %struct.complex, ptr %30, i32 0, i32 0
  %344 = load float, ptr %343, align 4, !tbaa !13
  %345 = fmul float %342, %344
  %346 = call float @llvm.fmuladd.f32(float %335, float %337, float %345)
  %347 = getelementptr inbounds %struct.complex, ptr %26, i32 0, i32 1
  store float %346, ptr %347, align 4, !tbaa !15
  %348 = load ptr, ptr %11, align 8, !tbaa !5
  %349 = load i64, ptr %20, align 8, !tbaa !9
  %350 = getelementptr inbounds %struct.complex, ptr %348, i64 %349
  %351 = getelementptr inbounds %struct.complex, ptr %350, i32 0, i32 0
  %352 = load float, ptr %351, align 4, !tbaa !13
  %353 = getelementptr inbounds %struct.complex, ptr %26, i32 0, i32 0
  %354 = load float, ptr %353, align 4, !tbaa !13
  %355 = load ptr, ptr %11, align 8, !tbaa !5
  %356 = load i64, ptr %20, align 8, !tbaa !9
  %357 = getelementptr inbounds %struct.complex, ptr %355, i64 %356
  %358 = getelementptr inbounds %struct.complex, ptr %357, i32 0, i32 1
  %359 = load float, ptr %358, align 4, !tbaa !15
  %360 = getelementptr inbounds %struct.complex, ptr %26, i32 0, i32 1
  %361 = load float, ptr %360, align 4, !tbaa !15
  %362 = fmul float %359, %361
  %363 = fneg float %362
  %364 = call float @llvm.fmuladd.f32(float %352, float %354, float %363)
  %365 = getelementptr inbounds %struct.complex, ptr %25, i32 0, i32 0
  store float %364, ptr %365, align 4, !tbaa !13
  %366 = load ptr, ptr %11, align 8, !tbaa !5
  %367 = load i64, ptr %20, align 8, !tbaa !9
  %368 = getelementptr inbounds %struct.complex, ptr %366, i64 %367
  %369 = getelementptr inbounds %struct.complex, ptr %368, i32 0, i32 0
  %370 = load float, ptr %369, align 4, !tbaa !13
  %371 = getelementptr inbounds %struct.complex, ptr %26, i32 0, i32 1
  %372 = load float, ptr %371, align 4, !tbaa !15
  %373 = load ptr, ptr %11, align 8, !tbaa !5
  %374 = load i64, ptr %20, align 8, !tbaa !9
  %375 = getelementptr inbounds %struct.complex, ptr %373, i64 %374
  %376 = getelementptr inbounds %struct.complex, ptr %375, i32 0, i32 1
  %377 = load float, ptr %376, align 4, !tbaa !15
  %378 = getelementptr inbounds %struct.complex, ptr %26, i32 0, i32 0
  %379 = load float, ptr %378, align 4, !tbaa !13
  %380 = fmul float %377, %379
  %381 = call float @llvm.fmuladd.f32(float %370, float %372, float %380)
  %382 = getelementptr inbounds %struct.complex, ptr %25, i32 0, i32 1
  store float %381, ptr %382, align 4, !tbaa !15
  %383 = load ptr, ptr %11, align 8, !tbaa !5
  %384 = load i64, ptr %19, align 8, !tbaa !9
  %385 = getelementptr inbounds %struct.complex, ptr %383, i64 %384
  %386 = getelementptr inbounds %struct.complex, ptr %385, i32 0, i32 0
  %387 = load float, ptr %386, align 4, !tbaa !13
  %388 = getelementptr inbounds %struct.complex, ptr %25, i32 0, i32 0
  %389 = load float, ptr %388, align 4, !tbaa !13
  %390 = fsub float %387, %389
  %391 = getelementptr inbounds %struct.complex, ptr %24, i32 0, i32 0
  store float %390, ptr %391, align 4, !tbaa !13
  %392 = load ptr, ptr %11, align 8, !tbaa !5
  %393 = load i64, ptr %19, align 8, !tbaa !9
  %394 = getelementptr inbounds %struct.complex, ptr %392, i64 %393
  %395 = getelementptr inbounds %struct.complex, ptr %394, i32 0, i32 1
  %396 = load float, ptr %395, align 4, !tbaa !15
  %397 = getelementptr inbounds %struct.complex, ptr %25, i32 0, i32 1
  %398 = load float, ptr %397, align 4, !tbaa !15
  %399 = fsub float %396, %398
  %400 = getelementptr inbounds %struct.complex, ptr %24, i32 0, i32 1
  store float %399, ptr %400, align 4, !tbaa !15
  %401 = getelementptr inbounds %struct.complex, ptr %24, i32 0, i32 0
  %402 = load float, ptr %401, align 4, !tbaa !13
  %403 = load ptr, ptr %11, align 8, !tbaa !5
  %404 = load i64, ptr %18, align 8, !tbaa !9
  %405 = getelementptr inbounds %struct.complex, ptr %403, i64 %404
  %406 = getelementptr inbounds %struct.complex, ptr %405, i32 0, i32 0
  store float %402, ptr %406, align 4, !tbaa !13
  %407 = getelementptr inbounds %struct.complex, ptr %24, i32 0, i32 1
  %408 = load float, ptr %407, align 4, !tbaa !15
  %409 = load ptr, ptr %11, align 8, !tbaa !5
  %410 = load i64, ptr %18, align 8, !tbaa !9
  %411 = getelementptr inbounds %struct.complex, ptr %409, i64 %410
  %412 = getelementptr inbounds %struct.complex, ptr %411, i32 0, i32 1
  store float %408, ptr %412, align 4, !tbaa !15
  br label %413

413:                                              ; preds = %304
  %414 = load i64, ptr %28, align 8, !tbaa !9
  %415 = add nsw i64 %414, 1
  store i64 %415, ptr %28, align 8, !tbaa !9
  br label %300, !llvm.loop !19

416:                                              ; preds = %300
  br label %417

417:                                              ; preds = %416
  %418 = load i64, ptr %27, align 8, !tbaa !9
  %419 = add nsw i64 %418, -1
  store i64 %419, ptr %27, align 8, !tbaa !9
  br label %230, !llvm.loop !20

420:                                              ; preds = %230
  %421 = load ptr, ptr %8, align 8, !tbaa !5
  %422 = load i64, ptr %421, align 8, !tbaa !9
  %423 = sub nsw i64 %422, 1
  store i64 %423, ptr %17, align 8, !tbaa !9
  %424 = load ptr, ptr %11, align 8, !tbaa !5
  %425 = getelementptr inbounds %struct.complex, ptr %424, i64 1
  %426 = load ptr, ptr %10, align 8, !tbaa !5
  %427 = load ptr, ptr %13, align 8, !tbaa !5
  %428 = getelementptr inbounds i64, ptr %427, i64 1
  %429 = call i32 @claswp_(ptr noundef @c__1, ptr noundef %425, ptr noundef %426, ptr noundef @c__1, ptr noundef %17, ptr noundef %428, ptr noundef @c_n1)
  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 8, 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  ret i32 0
}

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

declare double @slamch_(ptr noundef) #2

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

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

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

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

declare double @c_abs(ptr noundef) #2

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"", !12, i64 0, !12, i64 4}
!15 = !{!14, !12, i64 4}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = distinct !{!19, !17}
!20 = distinct !{!20, !17}


; 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
@c__1 = external hidden global i64, align 8
@c_b13 = external hidden global %struct.complex, align 4
@c_n1 = external hidden global i64, align 8

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @cgesc2_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr nocapture noundef %6) local_unnamed_addr #0 {
  %8 = alloca i64, align 8
  %9 = alloca %struct.complex, align 8
  %10 = alloca %struct.complex, align 8
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #4
  %13 = load i64, ptr %2, align 8, !tbaa !5
  %14 = xor i64 %13, -1
  %15 = getelementptr inbounds %struct.complex, ptr %1, i64 %14
  %16 = getelementptr inbounds i8, ptr %3, i64 -8
  %17 = tail call double @slamch_(ptr noundef nonnull @.str) #4
  %18 = fptrunc double %17 to float
  %19 = tail call double @slamch_(ptr noundef nonnull @.str.1) #4
  %20 = fpext float %18 to double
  %21 = fdiv double %19, %20
  %22 = fptrunc double %21 to float
  store float %22, ptr %12, align 4, !tbaa !9
  %23 = fdiv float 1.000000e+00, %22
  store float %23, ptr %11, align 4, !tbaa !9
  %24 = call i32 @slabad_(ptr noundef nonnull %12, ptr noundef nonnull %11) #4
  %25 = load i64, ptr %0, align 8, !tbaa !5
  %26 = add nsw i64 %25, -1
  store i64 %26, ptr %8, align 8, !tbaa !5
  %27 = call i32 @claswp_(ptr noundef nonnull @c__1, ptr noundef %3, ptr noundef nonnull %2, ptr noundef nonnull @c__1, ptr noundef nonnull %8, ptr noundef %4, ptr noundef nonnull @c__1) #4
  %28 = load i64, ptr %0, align 8, !tbaa !5
  %29 = add nsw i64 %28, -1
  store i64 %29, ptr %8, align 8, !tbaa !5
  %.not.not136 = icmp sgt i64 %28, 1
  br i1 %.not.not136, label %.lr.ph139, label %53

.lr.ph139:                                        ; preds = %7
  %30 = getelementptr inbounds i8, ptr %9, i64 4
  br label %.lr.ph

.loopexit:                                        ; preds = %34
  %exitcond.not = icmp eq i64 %31, %28
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !11

.lr.ph:                                           ; preds = %.loopexit, %.lr.ph139
  %.0127138 = phi i64 [ 1, %.lr.ph139 ], [ %31, %.loopexit ]
  %31 = add nuw nsw i64 %.0127138, 1
  %32 = mul nsw i64 %.0127138, %13
  %invariant.gep = getelementptr %struct.complex, ptr %15, i64 %32
  %33 = getelementptr inbounds %struct.complex, ptr %16, i64 %.0127138
  br label %34

34:                                               ; preds = %.lr.ph, %34
  %.0132 = phi i64 [ %31, %.lr.ph ], [ %50, %34 ]
  %gep = getelementptr %struct.complex, ptr %invariant.gep, i64 %.0132
  %35 = load float, ptr %gep, align 4, !tbaa !13
  %36 = getelementptr inbounds i8, ptr %gep, i64 4
  %37 = load float, ptr %36, align 4, !tbaa !15
  %38 = fneg float %37
  %39 = getelementptr inbounds %struct.complex, ptr %16, i64 %.0132
  %40 = load <2 x float>, ptr %33, align 4, !tbaa !9
  %41 = insertelement <2 x float> poison, float %37, i64 0
  %42 = insertelement <2 x float> %41, float %38, i64 1
  %43 = fmul <2 x float> %40, %42
  %44 = shufflevector <2 x float> %43, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  %45 = insertelement <2 x float> poison, float %35, i64 0
  %46 = shufflevector <2 x float> %45, <2 x float> poison, <2 x i32> zeroinitializer
  %47 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %46, <2 x float> %40, <2 x float> %44)
  %48 = load <2 x float>, ptr %39, align 4, !tbaa !9
  %49 = fsub <2 x float> %48, %47
  store <2 x float> %49, ptr %39, align 4, !tbaa !9
  %50 = add nuw nsw i64 %.0132, 1
  %.not130.not = icmp slt i64 %.0132, %28
  br i1 %.not130.not, label %34, label %.loopexit, !llvm.loop !16

._crit_edge:                                      ; preds = %.loopexit
  %51 = extractelement <2 x float> %49, i64 1
  store float %51, ptr %30, align 4, !tbaa !15
  %52 = extractelement <2 x float> %49, i64 0
  br label %53

53:                                               ; preds = %._crit_edge, %7
  %.lcssa135.lcssa = phi float [ %52, %._crit_edge ], [ undef, %7 ]
  store float %.lcssa135.lcssa, ptr %9, align 8, !tbaa !13
  store float 1.000000e+00, ptr %6, align 4, !tbaa !9
  %54 = call i64 @f2c_icamax(ptr noundef nonnull %0, ptr noundef %3, ptr noundef nonnull @c__1) #4
  %55 = load float, ptr %12, align 4, !tbaa !9
  %56 = fmul float %55, 2.000000e+00
  %57 = fpext float %56 to double
  %58 = getelementptr inbounds %struct.complex, ptr %16, i64 %54
  %59 = call double @c_abs(ptr noundef nonnull %58) #4
  %60 = fmul double %59, %57
  %61 = load i64, ptr %0, align 8, !tbaa !5
  %62 = add i64 %13, 1
  %63 = mul i64 %61, %62
  %64 = getelementptr inbounds %struct.complex, ptr %15, i64 %63
  %65 = call double @c_abs(ptr noundef %64) #4
  %66 = fcmp ogt double %60, %65
  br i1 %66, label %67, label %77

67:                                               ; preds = %53
  %68 = call double @c_abs(ptr noundef nonnull %58) #4
  %69 = fptrunc double %68 to float
  %70 = insertelement <2 x float> poison, float %69, i64 0
  %71 = shufflevector <2 x float> %70, <2 x float> poison, <2 x i32> zeroinitializer
  %72 = fdiv <2 x float> <float 5.000000e-01, float 0.000000e+00>, %71
  store <2 x float> %72, ptr %9, align 8, !tbaa !9
  store <2 x float> %72, ptr %10, align 8, !tbaa !9
  %73 = call i32 @f2c_cscal(ptr noundef nonnull %0, ptr noundef nonnull %10, ptr noundef %3, ptr noundef nonnull @c__1) #4
  %74 = load float, ptr %10, align 8, !tbaa !13
  %75 = load float, ptr %6, align 4, !tbaa !9
  %76 = fmul float %74, %75
  store float %76, ptr %6, align 4, !tbaa !9
  br label %77

77:                                               ; preds = %67, %53
  %78 = load i64, ptr %0, align 8, !tbaa !5
  %79 = icmp sgt i64 %78, 0
  br i1 %79, label %.lr.ph154, label %._crit_edge155

.lr.ph154:                                        ; preds = %77, %125
  %.1128152 = phi i64 [ %126, %125 ], [ %78, %77 ]
  %80 = mul i64 %.1128152, %62
  %81 = getelementptr inbounds %struct.complex, ptr %15, i64 %80
  call void @c_div(ptr noundef nonnull %9, ptr noundef nonnull @c_b13, ptr noundef %81) #4
  %82 = getelementptr inbounds %struct.complex, ptr %16, i64 %.1128152
  %83 = load float, ptr %82, align 4, !tbaa !13
  %84 = getelementptr inbounds i8, ptr %82, i64 4
  %85 = load float, ptr %84, align 4, !tbaa !15
  %86 = fneg float %85
  %87 = load <2 x float>, ptr %9, align 8, !tbaa !9
  store <2 x float> %87, ptr %10, align 8, !tbaa !9
  %88 = insertelement <2 x float> poison, float %85, i64 0
  %89 = insertelement <2 x float> %88, float %86, i64 1
  %90 = fmul <2 x float> %87, %89
  %91 = shufflevector <2 x float> %90, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  %92 = insertelement <2 x float> poison, float %83, i64 0
  %93 = shufflevector <2 x float> %92, <2 x float> poison, <2 x i32> zeroinitializer
  %94 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %93, <2 x float> %87, <2 x float> %91)
  store <2 x float> %94, ptr %9, align 8, !tbaa !9
  store <2 x float> %94, ptr %82, align 4, !tbaa !9
  %95 = load i64, ptr %0, align 8, !tbaa !5
  store i64 %95, ptr %8, align 8, !tbaa !5
  %.not129.not143 = icmp slt i64 %.1128152, %95
  br i1 %.not129.not143, label %.lr.ph146, label %125

.lr.ph146:                                        ; preds = %.lr.ph154
  %96 = getelementptr %struct.complex, ptr %15, i64 %.1128152
  %97 = shufflevector <2 x float> %87, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  br label %98

98:                                               ; preds = %.lr.ph146, %98
  %.1.in144 = phi i64 [ %.1128152, %.lr.ph146 ], [ %.1, %98 ]
  %99 = phi <2 x float> [ %94, %.lr.ph146 ], [ %124, %98 ]
  %.1 = add nuw nsw i64 %.1.in144, 1
  %100 = mul nsw i64 %.1, %13
  %101 = getelementptr %struct.complex, ptr %96, i64 %100
  %102 = load float, ptr %101, align 4, !tbaa !13
  %103 = getelementptr inbounds i8, ptr %101, i64 4
  %104 = load float, ptr %103, align 4, !tbaa !15
  %105 = fneg float %104
  %106 = getelementptr %struct.complex, ptr %3, i64 %.1.in144
  %107 = load float, ptr %106, align 4, !tbaa !13
  %108 = getelementptr inbounds i8, ptr %106, i64 4
  %109 = load float, ptr %108, align 4, !tbaa !15
  %110 = fneg float %109
  %111 = insertelement <2 x float> poison, float %105, i64 0
  %112 = insertelement <2 x float> %111, float %104, i64 1
  %113 = fmul <2 x float> %97, %112
  %114 = insertelement <2 x float> poison, float %102, i64 0
  %115 = shufflevector <2 x float> %114, <2 x float> poison, <2 x i32> zeroinitializer
  %116 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %115, <2 x float> %87, <2 x float> %113)
  %117 = insertelement <2 x float> poison, float %109, i64 0
  %118 = insertelement <2 x float> %117, float %110, i64 1
  %119 = fmul <2 x float> %116, %118
  %120 = shufflevector <2 x float> %119, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  %121 = insertelement <2 x float> poison, float %107, i64 0
  %122 = shufflevector <2 x float> %121, <2 x float> poison, <2 x i32> zeroinitializer
  %123 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %122, <2 x float> %116, <2 x float> %120)
  %124 = fsub <2 x float> %99, %123
  store <2 x float> %124, ptr %82, align 4, !tbaa !9
  %.not129.not = icmp slt i64 %.1, %95
  br i1 %.not129.not, label %98, label %._crit_edge147, !llvm.loop !17

._crit_edge147:                                   ; preds = %98
  store <2 x float> %124, ptr %9, align 8, !tbaa !9
  br label %125

125:                                              ; preds = %._crit_edge147, %.lr.ph154
  %126 = add nsw i64 %.1128152, -1
  %127 = icmp sgt i64 %.1128152, 1
  br i1 %127, label %.lr.ph154, label %._crit_edge155, !llvm.loop !18

._crit_edge155:                                   ; preds = %125, %77
  %128 = phi i64 [ %78, %77 ], [ %95, %125 ]
  %129 = add nsw i64 %128, -1
  store i64 %129, ptr %8, align 8, !tbaa !5
  %130 = call i32 @claswp_(ptr noundef nonnull @c__1, ptr noundef %3, ptr noundef nonnull %2, ptr noundef nonnull @c__1, ptr noundef nonnull %8, ptr noundef %5, ptr noundef nonnull @c_n1) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #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 double @slamch_(ptr noundef) local_unnamed_addr #2

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

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

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

declare double @c_abs(ptr noundef) local_unnamed_addr #2

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

declare void @c_div(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 <2 x float> @llvm.fmuladd.v2f32(<2 x float>, <2 x float>, <2 x float>) #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 }

!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}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !10, i64 0}
!14 = !{!"", !10, i64 0, !10, i64 4}
!15 = !{!14, !10, i64 4}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}


; Effective O3 passes: BDCEPass,DSEPass,EarlyCSEPass,GVNPass,GlobalDCEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass