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

; 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.doublecomplex = type { double, double }

@c__1 = external hidden global i32, align 4
@c_b1 = external hidden global %struct.doublecomplex, align 8
@c_n1 = external hidden global i32, align 4
@.str = external hidden unnamed_addr constant [2 x i8], align 1
@c_b24 = external hidden global double, align 8

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

68:                                               ; preds = %9
  %69 = load ptr, ptr %11, align 8, !tbaa !5
  %70 = load i32, ptr %69, align 4, !tbaa !9
  %71 = sub nsw i32 %70, 1
  store i32 %71, ptr %21, align 4, !tbaa !9
  %72 = load ptr, ptr %14, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.doublecomplex, ptr %72, i64 1
  %74 = load ptr, ptr %13, align 8, !tbaa !5
  %75 = load ptr, ptr %17, align 8, !tbaa !5
  %76 = getelementptr inbounds i32, ptr %75, i64 1
  %77 = call i32 @zlaswp_(ptr noundef @c__1, ptr noundef %73, ptr noundef %74, ptr noundef @c__1, ptr noundef %21, ptr noundef %76, ptr noundef @c__1)
  %78 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 0
  store double -1.000000e+00, ptr %78, align 8, !tbaa !11
  %79 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 1
  store double 0.000000e+00, ptr %79, align 8, !tbaa !14
  %80 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 0
  %81 = load double, ptr %80, align 8, !tbaa !11
  %82 = getelementptr inbounds %struct.doublecomplex, ptr %36, i32 0, i32 0
  store double %81, ptr %82, align 8, !tbaa !11
  %83 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 1
  %84 = load double, ptr %83, align 8, !tbaa !14
  %85 = getelementptr inbounds %struct.doublecomplex, ptr %36, i32 0, i32 1
  store double %84, ptr %85, align 8, !tbaa !14
  %86 = load ptr, ptr %11, align 8, !tbaa !5
  %87 = load i32, ptr %86, align 4, !tbaa !9
  %88 = sub nsw i32 %87, 1
  store i32 %88, ptr %21, align 4, !tbaa !9
  store i32 1, ptr %33, align 4, !tbaa !9
  br label %89

89:                                               ; preds = %316, %68
  %90 = load i32, ptr %33, align 4, !tbaa !9
  %91 = load i32, ptr %21, align 4, !tbaa !9
  %92 = icmp sle i32 %90, %91
  br i1 %92, label %93, label %319

93:                                               ; preds = %89
  %94 = load i32, ptr %33, align 4, !tbaa !9
  store i32 %94, ptr %22, align 4, !tbaa !9
  %95 = load ptr, ptr %14, align 8, !tbaa !5
  %96 = load i32, ptr %22, align 4, !tbaa !9
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds %struct.doublecomplex, ptr %95, i64 %97
  %99 = getelementptr inbounds %struct.doublecomplex, ptr %98, i32 0, i32 0
  %100 = load double, ptr %99, align 8, !tbaa !11
  %101 = fadd double %100, 1.000000e+00
  %102 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 0
  store double %101, ptr %102, align 8, !tbaa !11
  %103 = load ptr, ptr %14, align 8, !tbaa !5
  %104 = load i32, ptr %22, align 4, !tbaa !9
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds %struct.doublecomplex, ptr %103, i64 %105
  %107 = getelementptr inbounds %struct.doublecomplex, ptr %106, i32 0, i32 1
  %108 = load double, ptr %107, align 8, !tbaa !14
  %109 = fadd double %108, 0.000000e+00
  %110 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 1
  store double %109, ptr %110, align 8, !tbaa !14
  %111 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 0
  %112 = load double, ptr %111, align 8, !tbaa !11
  %113 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 0
  store double %112, ptr %113, align 8, !tbaa !11
  %114 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 1
  %115 = load double, ptr %114, align 8, !tbaa !14
  %116 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 1
  store double %115, ptr %116, align 8, !tbaa !14
  %117 = load i32, ptr %33, align 4, !tbaa !9
  store i32 %117, ptr %22, align 4, !tbaa !9
  %118 = load ptr, ptr %14, align 8, !tbaa !5
  %119 = load i32, ptr %22, align 4, !tbaa !9
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds %struct.doublecomplex, ptr %118, i64 %120
  %122 = getelementptr inbounds %struct.doublecomplex, ptr %121, i32 0, i32 0
  %123 = load double, ptr %122, align 8, !tbaa !11
  %124 = fsub double %123, 1.000000e+00
  %125 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 0
  store double %124, ptr %125, align 8, !tbaa !11
  %126 = load ptr, ptr %14, align 8, !tbaa !5
  %127 = load i32, ptr %22, align 4, !tbaa !9
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds %struct.doublecomplex, ptr %126, i64 %128
  %130 = getelementptr inbounds %struct.doublecomplex, ptr %129, i32 0, i32 1
  %131 = load double, ptr %130, align 8, !tbaa !14
  %132 = fadd double %131, 0.000000e+00
  %133 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 1
  store double %132, ptr %133, align 8, !tbaa !14
  %134 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 0
  %135 = load double, ptr %134, align 8, !tbaa !11
  %136 = getelementptr inbounds %struct.doublecomplex, ptr %41, i32 0, i32 0
  store double %135, ptr %136, align 8, !tbaa !11
  %137 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 1
  %138 = load double, ptr %137, align 8, !tbaa !14
  %139 = getelementptr inbounds %struct.doublecomplex, ptr %41, i32 0, i32 1
  store double %138, ptr %139, align 8, !tbaa !14
  store double 1.000000e+00, ptr %40, align 8, !tbaa !15
  %140 = load ptr, ptr %11, align 8, !tbaa !5
  %141 = load i32, ptr %140, align 4, !tbaa !9
  %142 = load i32, ptr %33, align 4, !tbaa !9
  %143 = sub nsw i32 %141, %142
  store i32 %143, ptr %22, align 4, !tbaa !9
  %144 = load ptr, ptr %12, align 8, !tbaa !5
  %145 = load i32, ptr %33, align 4, !tbaa !9
  %146 = add nsw i32 %145, 1
  %147 = load i32, ptr %33, align 4, !tbaa !9
  %148 = load i32, ptr %19, align 4, !tbaa !9
  %149 = mul nsw i32 %147, %148
  %150 = add nsw i32 %146, %149
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds %struct.doublecomplex, ptr %144, i64 %151
  %153 = load ptr, ptr %12, align 8, !tbaa !5
  %154 = load i32, ptr %33, align 4, !tbaa !9
  %155 = add nsw i32 %154, 1
  %156 = load i32, ptr %33, align 4, !tbaa !9
  %157 = load i32, ptr %19, align 4, !tbaa !9
  %158 = mul nsw i32 %156, %157
  %159 = add nsw i32 %155, %158
  %160 = sext i32 %159 to i64
  %161 = getelementptr inbounds %struct.doublecomplex, ptr %153, i64 %160
  call void @zdotc_(ptr noundef %26, ptr noundef %22, ptr noundef %152, ptr noundef @c__1, ptr noundef %161, ptr noundef @c__1)
  %162 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 0
  %163 = load double, ptr %162, align 8, !tbaa !11
  %164 = load double, ptr %40, align 8, !tbaa !15
  %165 = fadd double %164, %163
  store double %165, ptr %40, align 8, !tbaa !15
  %166 = load ptr, ptr %11, align 8, !tbaa !5
  %167 = load i32, ptr %166, align 4, !tbaa !9
  %168 = load i32, ptr %33, align 4, !tbaa !9
  %169 = sub nsw i32 %167, %168
  store i32 %169, ptr %22, align 4, !tbaa !9
  %170 = load ptr, ptr %12, align 8, !tbaa !5
  %171 = load i32, ptr %33, align 4, !tbaa !9
  %172 = add nsw i32 %171, 1
  %173 = load i32, ptr %33, align 4, !tbaa !9
  %174 = load i32, ptr %19, align 4, !tbaa !9
  %175 = mul nsw i32 %173, %174
  %176 = add nsw i32 %172, %175
  %177 = sext i32 %176 to i64
  %178 = getelementptr inbounds %struct.doublecomplex, ptr %170, i64 %177
  %179 = load ptr, ptr %14, align 8, !tbaa !5
  %180 = load i32, ptr %33, align 4, !tbaa !9
  %181 = add nsw i32 %180, 1
  %182 = sext i32 %181 to i64
  %183 = getelementptr inbounds %struct.doublecomplex, ptr %179, i64 %182
  call void @zdotc_(ptr noundef %26, ptr noundef %22, ptr noundef %178, ptr noundef @c__1, ptr noundef %183, ptr noundef @c__1)
  %184 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 0
  %185 = load double, ptr %184, align 8, !tbaa !11
  store double %185, ptr %38, align 8, !tbaa !15
  %186 = load i32, ptr %33, align 4, !tbaa !9
  store i32 %186, ptr %22, align 4, !tbaa !9
  %187 = load ptr, ptr %14, align 8, !tbaa !5
  %188 = load i32, ptr %22, align 4, !tbaa !9
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds %struct.doublecomplex, ptr %187, i64 %189
  %191 = getelementptr inbounds %struct.doublecomplex, ptr %190, i32 0, i32 0
  %192 = load double, ptr %191, align 8, !tbaa !11
  %193 = load double, ptr %40, align 8, !tbaa !15
  %194 = fmul double %193, %192
  store double %194, ptr %40, align 8, !tbaa !15
  %195 = load double, ptr %40, align 8, !tbaa !15
  %196 = load double, ptr %38, align 8, !tbaa !15
  %197 = fcmp ogt double %195, %196
  br i1 %197, label %198, label %214

198:                                              ; preds = %93
  %199 = load i32, ptr %33, align 4, !tbaa !9
  store i32 %199, ptr %22, align 4, !tbaa !9
  %200 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 0
  %201 = load double, ptr %200, align 8, !tbaa !11
  %202 = load ptr, ptr %14, align 8, !tbaa !5
  %203 = load i32, ptr %22, align 4, !tbaa !9
  %204 = sext i32 %203 to i64
  %205 = getelementptr inbounds %struct.doublecomplex, ptr %202, i64 %204
  %206 = getelementptr inbounds %struct.doublecomplex, ptr %205, i32 0, i32 0
  store double %201, ptr %206, align 8, !tbaa !11
  %207 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 1
  %208 = load double, ptr %207, align 8, !tbaa !14
  %209 = load ptr, ptr %14, align 8, !tbaa !5
  %210 = load i32, ptr %22, align 4, !tbaa !9
  %211 = sext i32 %210 to i64
  %212 = getelementptr inbounds %struct.doublecomplex, ptr %209, i64 %211
  %213 = getelementptr inbounds %struct.doublecomplex, ptr %212, i32 0, i32 1
  store double %208, ptr %213, align 8, !tbaa !14
  br label %274

214:                                              ; preds = %93
  %215 = load double, ptr %38, align 8, !tbaa !15
  %216 = load double, ptr %40, align 8, !tbaa !15
  %217 = fcmp ogt double %215, %216
  br i1 %217, label %218, label %234

218:                                              ; preds = %214
  %219 = load i32, ptr %33, align 4, !tbaa !9
  store i32 %219, ptr %22, align 4, !tbaa !9
  %220 = getelementptr inbounds %struct.doublecomplex, ptr %41, i32 0, i32 0
  %221 = load double, ptr %220, align 8, !tbaa !11
  %222 = load ptr, ptr %14, align 8, !tbaa !5
  %223 = load i32, ptr %22, align 4, !tbaa !9
  %224 = sext i32 %223 to i64
  %225 = getelementptr inbounds %struct.doublecomplex, ptr %222, i64 %224
  %226 = getelementptr inbounds %struct.doublecomplex, ptr %225, i32 0, i32 0
  store double %221, ptr %226, align 8, !tbaa !11
  %227 = getelementptr inbounds %struct.doublecomplex, ptr %41, i32 0, i32 1
  %228 = load double, ptr %227, align 8, !tbaa !14
  %229 = load ptr, ptr %14, align 8, !tbaa !5
  %230 = load i32, ptr %22, align 4, !tbaa !9
  %231 = sext i32 %230 to i64
  %232 = getelementptr inbounds %struct.doublecomplex, ptr %229, i64 %231
  %233 = getelementptr inbounds %struct.doublecomplex, ptr %232, i32 0, i32 1
  store double %228, ptr %233, align 8, !tbaa !14
  br label %273

234:                                              ; preds = %214
  %235 = load i32, ptr %33, align 4, !tbaa !9
  store i32 %235, ptr %22, align 4, !tbaa !9
  %236 = load i32, ptr %33, align 4, !tbaa !9
  store i32 %236, ptr %23, align 4, !tbaa !9
  %237 = load ptr, ptr %14, align 8, !tbaa !5
  %238 = load i32, ptr %23, align 4, !tbaa !9
  %239 = sext i32 %238 to i64
  %240 = getelementptr inbounds %struct.doublecomplex, ptr %237, i64 %239
  %241 = getelementptr inbounds %struct.doublecomplex, ptr %240, i32 0, i32 0
  %242 = load double, ptr %241, align 8, !tbaa !11
  %243 = getelementptr inbounds %struct.doublecomplex, ptr %36, i32 0, i32 0
  %244 = load double, ptr %243, align 8, !tbaa !11
  %245 = fadd double %242, %244
  %246 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 0
  store double %245, ptr %246, align 8, !tbaa !11
  %247 = load ptr, ptr %14, align 8, !tbaa !5
  %248 = load i32, ptr %23, align 4, !tbaa !9
  %249 = sext i32 %248 to i64
  %250 = getelementptr inbounds %struct.doublecomplex, ptr %247, i64 %249
  %251 = getelementptr inbounds %struct.doublecomplex, ptr %250, i32 0, i32 1
  %252 = load double, ptr %251, align 8, !tbaa !14
  %253 = getelementptr inbounds %struct.doublecomplex, ptr %36, i32 0, i32 1
  %254 = load double, ptr %253, align 8, !tbaa !14
  %255 = fadd double %252, %254
  %256 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 1
  store double %255, ptr %256, align 8, !tbaa !14
  %257 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 0
  %258 = load double, ptr %257, align 8, !tbaa !11
  %259 = load ptr, ptr %14, align 8, !tbaa !5
  %260 = load i32, ptr %22, align 4, !tbaa !9
  %261 = sext i32 %260 to i64
  %262 = getelementptr inbounds %struct.doublecomplex, ptr %259, i64 %261
  %263 = getelementptr inbounds %struct.doublecomplex, ptr %262, i32 0, i32 0
  store double %258, ptr %263, align 8, !tbaa !11
  %264 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 1
  %265 = load double, ptr %264, align 8, !tbaa !14
  %266 = load ptr, ptr %14, align 8, !tbaa !5
  %267 = load i32, ptr %22, align 4, !tbaa !9
  %268 = sext i32 %267 to i64
  %269 = getelementptr inbounds %struct.doublecomplex, ptr %266, i64 %268
  %270 = getelementptr inbounds %struct.doublecomplex, ptr %269, i32 0, i32 1
  store double %265, ptr %270, align 8, !tbaa !14
  %271 = getelementptr inbounds %struct.doublecomplex, ptr %36, i32 0, i32 0
  store double 1.000000e+00, ptr %271, align 8, !tbaa !11
  %272 = getelementptr inbounds %struct.doublecomplex, ptr %36, i32 0, i32 1
  store double 0.000000e+00, ptr %272, align 8, !tbaa !14
  br label %273

273:                                              ; preds = %234, %218
  br label %274

274:                                              ; preds = %273, %198
  %275 = load i32, ptr %33, align 4, !tbaa !9
  store i32 %275, ptr %22, align 4, !tbaa !9
  %276 = load ptr, ptr %14, align 8, !tbaa !5
  %277 = load i32, ptr %22, align 4, !tbaa !9
  %278 = sext i32 %277 to i64
  %279 = getelementptr inbounds %struct.doublecomplex, ptr %276, i64 %278
  %280 = getelementptr inbounds %struct.doublecomplex, ptr %279, i32 0, i32 0
  %281 = load double, ptr %280, align 8, !tbaa !11
  %282 = fneg double %281
  %283 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 0
  store double %282, ptr %283, align 8, !tbaa !11
  %284 = load ptr, ptr %14, align 8, !tbaa !5
  %285 = load i32, ptr %22, align 4, !tbaa !9
  %286 = sext i32 %285 to i64
  %287 = getelementptr inbounds %struct.doublecomplex, ptr %284, i64 %286
  %288 = getelementptr inbounds %struct.doublecomplex, ptr %287, i32 0, i32 1
  %289 = load double, ptr %288, align 8, !tbaa !14
  %290 = fneg double %289
  %291 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 1
  store double %290, ptr %291, align 8, !tbaa !14
  %292 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 0
  %293 = load double, ptr %292, align 8, !tbaa !11
  %294 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 0
  store double %293, ptr %294, align 8, !tbaa !11
  %295 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 1
  %296 = load double, ptr %295, align 8, !tbaa !14
  %297 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 1
  store double %296, ptr %297, align 8, !tbaa !14
  %298 = load ptr, ptr %11, align 8, !tbaa !5
  %299 = load i32, ptr %298, align 4, !tbaa !9
  %300 = load i32, ptr %33, align 4, !tbaa !9
  %301 = sub nsw i32 %299, %300
  store i32 %301, ptr %22, align 4, !tbaa !9
  %302 = load ptr, ptr %12, align 8, !tbaa !5
  %303 = load i32, ptr %33, align 4, !tbaa !9
  %304 = add nsw i32 %303, 1
  %305 = load i32, ptr %33, align 4, !tbaa !9
  %306 = load i32, ptr %19, align 4, !tbaa !9
  %307 = mul nsw i32 %305, %306
  %308 = add nsw i32 %304, %307
  %309 = sext i32 %308 to i64
  %310 = getelementptr inbounds %struct.doublecomplex, ptr %302, i64 %309
  %311 = load ptr, ptr %14, align 8, !tbaa !5
  %312 = load i32, ptr %33, align 4, !tbaa !9
  %313 = add nsw i32 %312, 1
  %314 = sext i32 %313 to i64
  %315 = getelementptr inbounds %struct.doublecomplex, ptr %311, i64 %314
  call void @zaxpy_(ptr noundef %22, ptr noundef %30, ptr noundef %310, ptr noundef @c__1, ptr noundef %315, ptr noundef @c__1)
  br label %316

316:                                              ; preds = %274
  %317 = load i32, ptr %33, align 4, !tbaa !9
  %318 = add nsw i32 %317, 1
  store i32 %318, ptr %33, align 4, !tbaa !9
  br label %89, !llvm.loop !16

319:                                              ; preds = %89
  %320 = load ptr, ptr %11, align 8, !tbaa !5
  %321 = load i32, ptr %320, align 4, !tbaa !9
  %322 = sub nsw i32 %321, 1
  store i32 %322, ptr %21, align 4, !tbaa !9
  %323 = load ptr, ptr %14, align 8, !tbaa !5
  %324 = getelementptr inbounds %struct.doublecomplex, ptr %323, i64 1
  %325 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %31, i64 0, i64 0
  call void @zcopy_(ptr noundef %21, ptr noundef %324, ptr noundef @c__1, ptr noundef %325, ptr noundef @c__1)
  %326 = load ptr, ptr %11, align 8, !tbaa !5
  %327 = load i32, ptr %326, align 4, !tbaa !9
  %328 = sub nsw i32 %327, 1
  store i32 %328, ptr %21, align 4, !tbaa !9
  %329 = load ptr, ptr %11, align 8, !tbaa !5
  %330 = load i32, ptr %329, align 4, !tbaa !9
  store i32 %330, ptr %22, align 4, !tbaa !9
  %331 = load ptr, ptr %14, align 8, !tbaa !5
  %332 = load i32, ptr %22, align 4, !tbaa !9
  %333 = sext i32 %332 to i64
  %334 = getelementptr inbounds %struct.doublecomplex, ptr %331, i64 %333
  %335 = getelementptr inbounds %struct.doublecomplex, ptr %334, i32 0, i32 0
  %336 = load double, ptr %335, align 8, !tbaa !11
  %337 = fadd double %336, 1.000000e+00
  %338 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 0
  store double %337, ptr %338, align 8, !tbaa !11
  %339 = load ptr, ptr %14, align 8, !tbaa !5
  %340 = load i32, ptr %22, align 4, !tbaa !9
  %341 = sext i32 %340 to i64
  %342 = getelementptr inbounds %struct.doublecomplex, ptr %339, i64 %341
  %343 = getelementptr inbounds %struct.doublecomplex, ptr %342, i32 0, i32 1
  %344 = load double, ptr %343, align 8, !tbaa !14
  %345 = fadd double %344, 0.000000e+00
  %346 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 1
  store double %345, ptr %346, align 8, !tbaa !14
  %347 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 0
  %348 = load double, ptr %347, align 8, !tbaa !11
  %349 = load i32, ptr %21, align 4, !tbaa !9
  %350 = sext i32 %349 to i64
  %351 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %31, i64 0, i64 %350
  %352 = getelementptr inbounds %struct.doublecomplex, ptr %351, i32 0, i32 0
  store double %348, ptr %352, align 16, !tbaa !11
  %353 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 1
  %354 = load double, ptr %353, align 8, !tbaa !14
  %355 = load i32, ptr %21, align 4, !tbaa !9
  %356 = sext i32 %355 to i64
  %357 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %31, i64 0, i64 %356
  %358 = getelementptr inbounds %struct.doublecomplex, ptr %357, i32 0, i32 1
  store double %354, ptr %358, align 8, !tbaa !14
  %359 = load ptr, ptr %11, align 8, !tbaa !5
  %360 = load i32, ptr %359, align 4, !tbaa !9
  store i32 %360, ptr %21, align 4, !tbaa !9
  %361 = load ptr, ptr %11, align 8, !tbaa !5
  %362 = load i32, ptr %361, align 4, !tbaa !9
  store i32 %362, ptr %22, align 4, !tbaa !9
  %363 = load ptr, ptr %14, align 8, !tbaa !5
  %364 = load i32, ptr %22, align 4, !tbaa !9
  %365 = sext i32 %364 to i64
  %366 = getelementptr inbounds %struct.doublecomplex, ptr %363, i64 %365
  %367 = getelementptr inbounds %struct.doublecomplex, ptr %366, i32 0, i32 0
  %368 = load double, ptr %367, align 8, !tbaa !11
  %369 = fsub double %368, 1.000000e+00
  %370 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 0
  store double %369, ptr %370, align 8, !tbaa !11
  %371 = load ptr, ptr %14, align 8, !tbaa !5
  %372 = load i32, ptr %22, align 4, !tbaa !9
  %373 = sext i32 %372 to i64
  %374 = getelementptr inbounds %struct.doublecomplex, ptr %371, i64 %373
  %375 = getelementptr inbounds %struct.doublecomplex, ptr %374, i32 0, i32 1
  %376 = load double, ptr %375, align 8, !tbaa !14
  %377 = fadd double %376, 0.000000e+00
  %378 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 1
  store double %377, ptr %378, align 8, !tbaa !14
  %379 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 0
  %380 = load double, ptr %379, align 8, !tbaa !11
  %381 = load ptr, ptr %14, align 8, !tbaa !5
  %382 = load i32, ptr %21, align 4, !tbaa !9
  %383 = sext i32 %382 to i64
  %384 = getelementptr inbounds %struct.doublecomplex, ptr %381, i64 %383
  %385 = getelementptr inbounds %struct.doublecomplex, ptr %384, i32 0, i32 0
  store double %380, ptr %385, align 8, !tbaa !11
  %386 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 1
  %387 = load double, ptr %386, align 8, !tbaa !14
  %388 = load ptr, ptr %14, align 8, !tbaa !5
  %389 = load i32, ptr %21, align 4, !tbaa !9
  %390 = sext i32 %389 to i64
  %391 = getelementptr inbounds %struct.doublecomplex, ptr %388, i64 %390
  %392 = getelementptr inbounds %struct.doublecomplex, ptr %391, i32 0, i32 1
  store double %387, ptr %392, align 8, !tbaa !14
  store double 0.000000e+00, ptr %40, align 8, !tbaa !15
  store double 0.000000e+00, ptr %38, align 8, !tbaa !15
  %393 = load ptr, ptr %11, align 8, !tbaa !5
  %394 = load i32, ptr %393, align 4, !tbaa !9
  store i32 %394, ptr %32, align 4, !tbaa !9
  br label %395

395:                                              ; preds = %811, %319
  %396 = load i32, ptr %32, align 4, !tbaa !9
  %397 = icmp sge i32 %396, 1
  br i1 %397, label %398, label %814

398:                                              ; preds = %395
  %399 = call { double, double } @Cd(ptr noundef @c_b1)
  %400 = extractvalue { double, double } %399, 0
  %401 = extractvalue { double, double } %399, 1
  %402 = load ptr, ptr %12, align 8, !tbaa !5
  %403 = load i32, ptr %32, align 4, !tbaa !9
  %404 = load i32, ptr %32, align 4, !tbaa !9
  %405 = load i32, ptr %19, align 4, !tbaa !9
  %406 = mul nsw i32 %404, %405
  %407 = add nsw i32 %403, %406
  %408 = sext i32 %407 to i64
  %409 = getelementptr inbounds %struct.doublecomplex, ptr %402, i64 %408
  %410 = call { double, double } @Cd(ptr noundef %409)
  %411 = extractvalue { double, double } %410, 0
  %412 = extractvalue { double, double } %410, 1
  %413 = call { double, double } @__divdc3(double noundef %400, double noundef %401, double noundef %411, double noundef %412) #6
  %414 = extractvalue { double, double } %413, 0
  %415 = extractvalue { double, double } %413, 1
  %416 = call ptr @_pCd(ptr noundef %26)
  %417 = getelementptr inbounds { double, double }, ptr %416, i32 0, i32 0
  %418 = getelementptr inbounds { double, double }, ptr %416, i32 0, i32 1
  store double %414, ptr %417, align 8
  store double %415, ptr %418, align 8
  %419 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 0
  %420 = load double, ptr %419, align 8, !tbaa !11
  %421 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 0
  store double %420, ptr %421, align 8, !tbaa !11
  %422 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 1
  %423 = load double, ptr %422, align 8, !tbaa !14
  %424 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 1
  store double %423, ptr %424, align 8, !tbaa !14
  %425 = load i32, ptr %32, align 4, !tbaa !9
  %426 = sub nsw i32 %425, 1
  store i32 %426, ptr %21, align 4, !tbaa !9
  %427 = load i32, ptr %32, align 4, !tbaa !9
  %428 = sub nsw i32 %427, 1
  store i32 %428, ptr %22, align 4, !tbaa !9
  %429 = load i32, ptr %22, align 4, !tbaa !9
  %430 = sext i32 %429 to i64
  %431 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %31, i64 0, i64 %430
  %432 = getelementptr inbounds %struct.doublecomplex, ptr %431, i32 0, i32 0
  %433 = load double, ptr %432, align 16, !tbaa !11
  %434 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 0
  %435 = load double, ptr %434, align 8, !tbaa !11
  %436 = load i32, ptr %22, align 4, !tbaa !9
  %437 = sext i32 %436 to i64
  %438 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %31, i64 0, i64 %437
  %439 = getelementptr inbounds %struct.doublecomplex, ptr %438, i32 0, i32 1
  %440 = load double, ptr %439, align 8, !tbaa !14
  %441 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 1
  %442 = load double, ptr %441, align 8, !tbaa !14
  %443 = fmul double %440, %442
  %444 = fneg double %443
  %445 = call double @llvm.fmuladd.f64(double %433, double %435, double %444)
  %446 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 0
  store double %445, ptr %446, align 8, !tbaa !11
  %447 = load i32, ptr %22, align 4, !tbaa !9
  %448 = sext i32 %447 to i64
  %449 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %31, i64 0, i64 %448
  %450 = getelementptr inbounds %struct.doublecomplex, ptr %449, i32 0, i32 0
  %451 = load double, ptr %450, align 16, !tbaa !11
  %452 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 1
  %453 = load double, ptr %452, align 8, !tbaa !14
  %454 = load i32, ptr %22, align 4, !tbaa !9
  %455 = sext i32 %454 to i64
  %456 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %31, i64 0, i64 %455
  %457 = getelementptr inbounds %struct.doublecomplex, ptr %456, i32 0, i32 1
  %458 = load double, ptr %457, align 8, !tbaa !14
  %459 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 0
  %460 = load double, ptr %459, align 8, !tbaa !11
  %461 = fmul double %458, %460
  %462 = call double @llvm.fmuladd.f64(double %451, double %453, double %461)
  %463 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 1
  store double %462, ptr %463, align 8, !tbaa !14
  %464 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 0
  %465 = load double, ptr %464, align 8, !tbaa !11
  %466 = load i32, ptr %21, align 4, !tbaa !9
  %467 = sext i32 %466 to i64
  %468 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %31, i64 0, i64 %467
  %469 = getelementptr inbounds %struct.doublecomplex, ptr %468, i32 0, i32 0
  store double %465, ptr %469, align 16, !tbaa !11
  %470 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 1
  %471 = load double, ptr %470, align 8, !tbaa !14
  %472 = load i32, ptr %21, align 4, !tbaa !9
  %473 = sext i32 %472 to i64
  %474 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %31, i64 0, i64 %473
  %475 = getelementptr inbounds %struct.doublecomplex, ptr %474, i32 0, i32 1
  store double %471, ptr %475, align 8, !tbaa !14
  %476 = load i32, ptr %32, align 4, !tbaa !9
  store i32 %476, ptr %21, align 4, !tbaa !9
  %477 = load i32, ptr %32, align 4, !tbaa !9
  store i32 %477, ptr %22, align 4, !tbaa !9
  %478 = load ptr, ptr %14, align 8, !tbaa !5
  %479 = load i32, ptr %22, align 4, !tbaa !9
  %480 = sext i32 %479 to i64
  %481 = getelementptr inbounds %struct.doublecomplex, ptr %478, i64 %480
  %482 = getelementptr inbounds %struct.doublecomplex, ptr %481, i32 0, i32 0
  %483 = load double, ptr %482, align 8, !tbaa !11
  %484 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 0
  %485 = load double, ptr %484, align 8, !tbaa !11
  %486 = load ptr, ptr %14, align 8, !tbaa !5
  %487 = load i32, ptr %22, align 4, !tbaa !9
  %488 = sext i32 %487 to i64
  %489 = getelementptr inbounds %struct.doublecomplex, ptr %486, i64 %488
  %490 = getelementptr inbounds %struct.doublecomplex, ptr %489, i32 0, i32 1
  %491 = load double, ptr %490, align 8, !tbaa !14
  %492 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 1
  %493 = load double, ptr %492, align 8, !tbaa !14
  %494 = fmul double %491, %493
  %495 = fneg double %494
  %496 = call double @llvm.fmuladd.f64(double %483, double %485, double %495)
  %497 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 0
  store double %496, ptr %497, align 8, !tbaa !11
  %498 = load ptr, ptr %14, align 8, !tbaa !5
  %499 = load i32, ptr %22, align 4, !tbaa !9
  %500 = sext i32 %499 to i64
  %501 = getelementptr inbounds %struct.doublecomplex, ptr %498, i64 %500
  %502 = getelementptr inbounds %struct.doublecomplex, ptr %501, i32 0, i32 0
  %503 = load double, ptr %502, align 8, !tbaa !11
  %504 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 1
  %505 = load double, ptr %504, align 8, !tbaa !14
  %506 = load ptr, ptr %14, align 8, !tbaa !5
  %507 = load i32, ptr %22, align 4, !tbaa !9
  %508 = sext i32 %507 to i64
  %509 = getelementptr inbounds %struct.doublecomplex, ptr %506, i64 %508
  %510 = getelementptr inbounds %struct.doublecomplex, ptr %509, i32 0, i32 1
  %511 = load double, ptr %510, align 8, !tbaa !14
  %512 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 0
  %513 = load double, ptr %512, align 8, !tbaa !11
  %514 = fmul double %511, %513
  %515 = call double @llvm.fmuladd.f64(double %503, double %505, double %514)
  %516 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 1
  store double %515, ptr %516, align 8, !tbaa !14
  %517 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 0
  %518 = load double, ptr %517, align 8, !tbaa !11
  %519 = load ptr, ptr %14, align 8, !tbaa !5
  %520 = load i32, ptr %21, align 4, !tbaa !9
  %521 = sext i32 %520 to i64
  %522 = getelementptr inbounds %struct.doublecomplex, ptr %519, i64 %521
  %523 = getelementptr inbounds %struct.doublecomplex, ptr %522, i32 0, i32 0
  store double %518, ptr %523, align 8, !tbaa !11
  %524 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 1
  %525 = load double, ptr %524, align 8, !tbaa !14
  %526 = load ptr, ptr %14, align 8, !tbaa !5
  %527 = load i32, ptr %21, align 4, !tbaa !9
  %528 = sext i32 %527 to i64
  %529 = getelementptr inbounds %struct.doublecomplex, ptr %526, i64 %528
  %530 = getelementptr inbounds %struct.doublecomplex, ptr %529, i32 0, i32 1
  store double %525, ptr %530, align 8, !tbaa !14
  %531 = load ptr, ptr %11, align 8, !tbaa !5
  %532 = load i32, ptr %531, align 4, !tbaa !9
  store i32 %532, ptr %21, align 4, !tbaa !9
  %533 = load i32, ptr %32, align 4, !tbaa !9
  %534 = add nsw i32 %533, 1
  store i32 %534, ptr %34, align 4, !tbaa !9
  br label %535

535:                                              ; preds = %775, %398
  %536 = load i32, ptr %34, align 4, !tbaa !9
  %537 = load i32, ptr %21, align 4, !tbaa !9
  %538 = icmp sle i32 %536, %537
  br i1 %538, label %539, label %778

539:                                              ; preds = %535
  %540 = load i32, ptr %32, align 4, !tbaa !9
  %541 = sub nsw i32 %540, 1
  store i32 %541, ptr %22, align 4, !tbaa !9
  %542 = load i32, ptr %32, align 4, !tbaa !9
  %543 = sub nsw i32 %542, 1
  store i32 %543, ptr %23, align 4, !tbaa !9
  %544 = load i32, ptr %34, align 4, !tbaa !9
  %545 = sub nsw i32 %544, 1
  store i32 %545, ptr %24, align 4, !tbaa !9
  %546 = load i32, ptr %32, align 4, !tbaa !9
  %547 = load i32, ptr %34, align 4, !tbaa !9
  %548 = load i32, ptr %19, align 4, !tbaa !9
  %549 = mul nsw i32 %547, %548
  %550 = add nsw i32 %546, %549
  store i32 %550, ptr %25, align 4, !tbaa !9
  %551 = load ptr, ptr %12, align 8, !tbaa !5
  %552 = load i32, ptr %25, align 4, !tbaa !9
  %553 = sext i32 %552 to i64
  %554 = getelementptr inbounds %struct.doublecomplex, ptr %551, i64 %553
  %555 = getelementptr inbounds %struct.doublecomplex, ptr %554, i32 0, i32 0
  %556 = load double, ptr %555, align 8, !tbaa !11
  %557 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 0
  %558 = load double, ptr %557, align 8, !tbaa !11
  %559 = load ptr, ptr %12, align 8, !tbaa !5
  %560 = load i32, ptr %25, align 4, !tbaa !9
  %561 = sext i32 %560 to i64
  %562 = getelementptr inbounds %struct.doublecomplex, ptr %559, i64 %561
  %563 = getelementptr inbounds %struct.doublecomplex, ptr %562, i32 0, i32 1
  %564 = load double, ptr %563, align 8, !tbaa !14
  %565 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 1
  %566 = load double, ptr %565, align 8, !tbaa !14
  %567 = fmul double %564, %566
  %568 = fneg double %567
  %569 = call double @llvm.fmuladd.f64(double %556, double %558, double %568)
  %570 = getelementptr inbounds %struct.doublecomplex, ptr %28, i32 0, i32 0
  store double %569, ptr %570, align 8, !tbaa !11
  %571 = load ptr, ptr %12, align 8, !tbaa !5
  %572 = load i32, ptr %25, align 4, !tbaa !9
  %573 = sext i32 %572 to i64
  %574 = getelementptr inbounds %struct.doublecomplex, ptr %571, i64 %573
  %575 = getelementptr inbounds %struct.doublecomplex, ptr %574, i32 0, i32 0
  %576 = load double, ptr %575, align 8, !tbaa !11
  %577 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 1
  %578 = load double, ptr %577, align 8, !tbaa !14
  %579 = load ptr, ptr %12, align 8, !tbaa !5
  %580 = load i32, ptr %25, align 4, !tbaa !9
  %581 = sext i32 %580 to i64
  %582 = getelementptr inbounds %struct.doublecomplex, ptr %579, i64 %581
  %583 = getelementptr inbounds %struct.doublecomplex, ptr %582, i32 0, i32 1
  %584 = load double, ptr %583, align 8, !tbaa !14
  %585 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 0
  %586 = load double, ptr %585, align 8, !tbaa !11
  %587 = fmul double %584, %586
  %588 = call double @llvm.fmuladd.f64(double %576, double %578, double %587)
  %589 = getelementptr inbounds %struct.doublecomplex, ptr %28, i32 0, i32 1
  store double %588, ptr %589, align 8, !tbaa !14
  %590 = load i32, ptr %24, align 4, !tbaa !9
  %591 = sext i32 %590 to i64
  %592 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %31, i64 0, i64 %591
  %593 = getelementptr inbounds %struct.doublecomplex, ptr %592, i32 0, i32 0
  %594 = load double, ptr %593, align 16, !tbaa !11
  %595 = getelementptr inbounds %struct.doublecomplex, ptr %28, i32 0, i32 0
  %596 = load double, ptr %595, align 8, !tbaa !11
  %597 = load i32, ptr %24, align 4, !tbaa !9
  %598 = sext i32 %597 to i64
  %599 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %31, i64 0, i64 %598
  %600 = getelementptr inbounds %struct.doublecomplex, ptr %599, i32 0, i32 1
  %601 = load double, ptr %600, align 8, !tbaa !14
  %602 = getelementptr inbounds %struct.doublecomplex, ptr %28, i32 0, i32 1
  %603 = load double, ptr %602, align 8, !tbaa !14
  %604 = fmul double %601, %603
  %605 = fneg double %604
  %606 = call double @llvm.fmuladd.f64(double %594, double %596, double %605)
  %607 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  store double %606, ptr %607, align 8, !tbaa !11
  %608 = load i32, ptr %24, align 4, !tbaa !9
  %609 = sext i32 %608 to i64
  %610 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %31, i64 0, i64 %609
  %611 = getelementptr inbounds %struct.doublecomplex, ptr %610, i32 0, i32 0
  %612 = load double, ptr %611, align 16, !tbaa !11
  %613 = getelementptr inbounds %struct.doublecomplex, ptr %28, i32 0, i32 1
  %614 = load double, ptr %613, align 8, !tbaa !14
  %615 = load i32, ptr %24, align 4, !tbaa !9
  %616 = sext i32 %615 to i64
  %617 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %31, i64 0, i64 %616
  %618 = getelementptr inbounds %struct.doublecomplex, ptr %617, i32 0, i32 1
  %619 = load double, ptr %618, align 8, !tbaa !14
  %620 = getelementptr inbounds %struct.doublecomplex, ptr %28, i32 0, i32 0
  %621 = load double, ptr %620, align 8, !tbaa !11
  %622 = fmul double %619, %621
  %623 = call double @llvm.fmuladd.f64(double %612, double %614, double %622)
  %624 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  store double %623, ptr %624, align 8, !tbaa !14
  %625 = load i32, ptr %23, align 4, !tbaa !9
  %626 = sext i32 %625 to i64
  %627 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %31, i64 0, i64 %626
  %628 = getelementptr inbounds %struct.doublecomplex, ptr %627, i32 0, i32 0
  %629 = load double, ptr %628, align 16, !tbaa !11
  %630 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  %631 = load double, ptr %630, align 8, !tbaa !11
  %632 = fsub double %629, %631
  %633 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 0
  store double %632, ptr %633, align 8, !tbaa !11
  %634 = load i32, ptr %23, align 4, !tbaa !9
  %635 = sext i32 %634 to i64
  %636 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %31, i64 0, i64 %635
  %637 = getelementptr inbounds %struct.doublecomplex, ptr %636, i32 0, i32 1
  %638 = load double, ptr %637, align 8, !tbaa !14
  %639 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  %640 = load double, ptr %639, align 8, !tbaa !14
  %641 = fsub double %638, %640
  %642 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 1
  store double %641, ptr %642, align 8, !tbaa !14
  %643 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 0
  %644 = load double, ptr %643, align 8, !tbaa !11
  %645 = load i32, ptr %22, align 4, !tbaa !9
  %646 = sext i32 %645 to i64
  %647 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %31, i64 0, i64 %646
  %648 = getelementptr inbounds %struct.doublecomplex, ptr %647, i32 0, i32 0
  store double %644, ptr %648, align 16, !tbaa !11
  %649 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 1
  %650 = load double, ptr %649, align 8, !tbaa !14
  %651 = load i32, ptr %22, align 4, !tbaa !9
  %652 = sext i32 %651 to i64
  %653 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %31, i64 0, i64 %652
  %654 = getelementptr inbounds %struct.doublecomplex, ptr %653, i32 0, i32 1
  store double %650, ptr %654, align 8, !tbaa !14
  %655 = load i32, ptr %32, align 4, !tbaa !9
  store i32 %655, ptr %22, align 4, !tbaa !9
  %656 = load i32, ptr %32, align 4, !tbaa !9
  store i32 %656, ptr %23, align 4, !tbaa !9
  %657 = load i32, ptr %34, align 4, !tbaa !9
  store i32 %657, ptr %24, align 4, !tbaa !9
  %658 = load i32, ptr %32, align 4, !tbaa !9
  %659 = load i32, ptr %34, align 4, !tbaa !9
  %660 = load i32, ptr %19, align 4, !tbaa !9
  %661 = mul nsw i32 %659, %660
  %662 = add nsw i32 %658, %661
  store i32 %662, ptr %25, align 4, !tbaa !9
  %663 = load ptr, ptr %12, align 8, !tbaa !5
  %664 = load i32, ptr %25, align 4, !tbaa !9
  %665 = sext i32 %664 to i64
  %666 = getelementptr inbounds %struct.doublecomplex, ptr %663, i64 %665
  %667 = getelementptr inbounds %struct.doublecomplex, ptr %666, i32 0, i32 0
  %668 = load double, ptr %667, align 8, !tbaa !11
  %669 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 0
  %670 = load double, ptr %669, align 8, !tbaa !11
  %671 = load ptr, ptr %12, align 8, !tbaa !5
  %672 = load i32, ptr %25, align 4, !tbaa !9
  %673 = sext i32 %672 to i64
  %674 = getelementptr inbounds %struct.doublecomplex, ptr %671, i64 %673
  %675 = getelementptr inbounds %struct.doublecomplex, ptr %674, i32 0, i32 1
  %676 = load double, ptr %675, align 8, !tbaa !14
  %677 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 1
  %678 = load double, ptr %677, align 8, !tbaa !14
  %679 = fmul double %676, %678
  %680 = fneg double %679
  %681 = call double @llvm.fmuladd.f64(double %668, double %670, double %680)
  %682 = getelementptr inbounds %struct.doublecomplex, ptr %28, i32 0, i32 0
  store double %681, ptr %682, align 8, !tbaa !11
  %683 = load ptr, ptr %12, align 8, !tbaa !5
  %684 = load i32, ptr %25, align 4, !tbaa !9
  %685 = sext i32 %684 to i64
  %686 = getelementptr inbounds %struct.doublecomplex, ptr %683, i64 %685
  %687 = getelementptr inbounds %struct.doublecomplex, ptr %686, i32 0, i32 0
  %688 = load double, ptr %687, align 8, !tbaa !11
  %689 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 1
  %690 = load double, ptr %689, align 8, !tbaa !14
  %691 = load ptr, ptr %12, align 8, !tbaa !5
  %692 = load i32, ptr %25, align 4, !tbaa !9
  %693 = sext i32 %692 to i64
  %694 = getelementptr inbounds %struct.doublecomplex, ptr %691, i64 %693
  %695 = getelementptr inbounds %struct.doublecomplex, ptr %694, i32 0, i32 1
  %696 = load double, ptr %695, align 8, !tbaa !14
  %697 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 0
  %698 = load double, ptr %697, align 8, !tbaa !11
  %699 = fmul double %696, %698
  %700 = call double @llvm.fmuladd.f64(double %688, double %690, double %699)
  %701 = getelementptr inbounds %struct.doublecomplex, ptr %28, i32 0, i32 1
  store double %700, ptr %701, align 8, !tbaa !14
  %702 = load ptr, ptr %14, align 8, !tbaa !5
  %703 = load i32, ptr %24, align 4, !tbaa !9
  %704 = sext i32 %703 to i64
  %705 = getelementptr inbounds %struct.doublecomplex, ptr %702, i64 %704
  %706 = getelementptr inbounds %struct.doublecomplex, ptr %705, i32 0, i32 0
  %707 = load double, ptr %706, align 8, !tbaa !11
  %708 = getelementptr inbounds %struct.doublecomplex, ptr %28, i32 0, i32 0
  %709 = load double, ptr %708, align 8, !tbaa !11
  %710 = load ptr, ptr %14, align 8, !tbaa !5
  %711 = load i32, ptr %24, align 4, !tbaa !9
  %712 = sext i32 %711 to i64
  %713 = getelementptr inbounds %struct.doublecomplex, ptr %710, i64 %712
  %714 = getelementptr inbounds %struct.doublecomplex, ptr %713, i32 0, i32 1
  %715 = load double, ptr %714, align 8, !tbaa !14
  %716 = getelementptr inbounds %struct.doublecomplex, ptr %28, i32 0, i32 1
  %717 = load double, ptr %716, align 8, !tbaa !14
  %718 = fmul double %715, %717
  %719 = fneg double %718
  %720 = call double @llvm.fmuladd.f64(double %707, double %709, double %719)
  %721 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  store double %720, ptr %721, align 8, !tbaa !11
  %722 = load ptr, ptr %14, align 8, !tbaa !5
  %723 = load i32, ptr %24, align 4, !tbaa !9
  %724 = sext i32 %723 to i64
  %725 = getelementptr inbounds %struct.doublecomplex, ptr %722, i64 %724
  %726 = getelementptr inbounds %struct.doublecomplex, ptr %725, i32 0, i32 0
  %727 = load double, ptr %726, align 8, !tbaa !11
  %728 = getelementptr inbounds %struct.doublecomplex, ptr %28, i32 0, i32 1
  %729 = load double, ptr %728, align 8, !tbaa !14
  %730 = load ptr, ptr %14, align 8, !tbaa !5
  %731 = load i32, ptr %24, align 4, !tbaa !9
  %732 = sext i32 %731 to i64
  %733 = getelementptr inbounds %struct.doublecomplex, ptr %730, i64 %732
  %734 = getelementptr inbounds %struct.doublecomplex, ptr %733, i32 0, i32 1
  %735 = load double, ptr %734, align 8, !tbaa !14
  %736 = getelementptr inbounds %struct.doublecomplex, ptr %28, i32 0, i32 0
  %737 = load double, ptr %736, align 8, !tbaa !11
  %738 = fmul double %735, %737
  %739 = call double @llvm.fmuladd.f64(double %727, double %729, double %738)
  %740 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  store double %739, ptr %740, align 8, !tbaa !14
  %741 = load ptr, ptr %14, align 8, !tbaa !5
  %742 = load i32, ptr %23, align 4, !tbaa !9
  %743 = sext i32 %742 to i64
  %744 = getelementptr inbounds %struct.doublecomplex, ptr %741, i64 %743
  %745 = getelementptr inbounds %struct.doublecomplex, ptr %744, i32 0, i32 0
  %746 = load double, ptr %745, align 8, !tbaa !11
  %747 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  %748 = load double, ptr %747, align 8, !tbaa !11
  %749 = fsub double %746, %748
  %750 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 0
  store double %749, ptr %750, align 8, !tbaa !11
  %751 = load ptr, ptr %14, align 8, !tbaa !5
  %752 = load i32, ptr %23, align 4, !tbaa !9
  %753 = sext i32 %752 to i64
  %754 = getelementptr inbounds %struct.doublecomplex, ptr %751, i64 %753
  %755 = getelementptr inbounds %struct.doublecomplex, ptr %754, i32 0, i32 1
  %756 = load double, ptr %755, align 8, !tbaa !14
  %757 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  %758 = load double, ptr %757, align 8, !tbaa !14
  %759 = fsub double %756, %758
  %760 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 1
  store double %759, ptr %760, align 8, !tbaa !14
  %761 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 0
  %762 = load double, ptr %761, align 8, !tbaa !11
  %763 = load ptr, ptr %14, align 8, !tbaa !5
  %764 = load i32, ptr %22, align 4, !tbaa !9
  %765 = sext i32 %764 to i64
  %766 = getelementptr inbounds %struct.doublecomplex, ptr %763, i64 %765
  %767 = getelementptr inbounds %struct.doublecomplex, ptr %766, i32 0, i32 0
  store double %762, ptr %767, align 8, !tbaa !11
  %768 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 1
  %769 = load double, ptr %768, align 8, !tbaa !14
  %770 = load ptr, ptr %14, align 8, !tbaa !5
  %771 = load i32, ptr %22, align 4, !tbaa !9
  %772 = sext i32 %771 to i64
  %773 = getelementptr inbounds %struct.doublecomplex, ptr %770, i64 %772
  %774 = getelementptr inbounds %struct.doublecomplex, ptr %773, i32 0, i32 1
  store double %769, ptr %774, align 8, !tbaa !14
  br label %775

775:                                              ; preds = %539
  %776 = load i32, ptr %34, align 4, !tbaa !9
  %777 = add nsw i32 %776, 1
  store i32 %777, ptr %34, align 4, !tbaa !9
  br label %535, !llvm.loop !18

778:                                              ; preds = %535
  %779 = load i32, ptr %32, align 4, !tbaa !9
  %780 = sub nsw i32 %779, 1
  %781 = sext i32 %780 to i64
  %782 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %31, i64 0, i64 %781
  %783 = call { double, double } @Cd(ptr noundef %782)
  %784 = extractvalue { double, double } %783, 0
  %785 = extractvalue { double, double } %783, 1
  %786 = getelementptr inbounds { double, double }, ptr %45, i32 0, i32 0
  %787 = getelementptr inbounds { double, double }, ptr %45, i32 0, i32 1
  store double %784, ptr %786, align 8
  store double %785, ptr %787, align 8
  %788 = getelementptr inbounds { double, double }, ptr %45, i32 0, i32 0
  %789 = load double, ptr %788, align 8
  %790 = getelementptr inbounds { double, double }, ptr %45, i32 0, i32 1
  %791 = load double, ptr %790, align 8
  %792 = call double @cabs(double noundef %789, double noundef %791) #6
  %793 = load double, ptr %40, align 8, !tbaa !15
  %794 = fadd double %793, %792
  store double %794, ptr %40, align 8, !tbaa !15
  %795 = load ptr, ptr %14, align 8, !tbaa !5
  %796 = load i32, ptr %32, align 4, !tbaa !9
  %797 = sext i32 %796 to i64
  %798 = getelementptr inbounds %struct.doublecomplex, ptr %795, i64 %797
  %799 = call { double, double } @Cd(ptr noundef %798)
  %800 = extractvalue { double, double } %799, 0
  %801 = extractvalue { double, double } %799, 1
  %802 = getelementptr inbounds { double, double }, ptr %46, i32 0, i32 0
  %803 = getelementptr inbounds { double, double }, ptr %46, i32 0, i32 1
  store double %800, ptr %802, align 8
  store double %801, ptr %803, align 8
  %804 = getelementptr inbounds { double, double }, ptr %46, i32 0, i32 0
  %805 = load double, ptr %804, align 8
  %806 = getelementptr inbounds { double, double }, ptr %46, i32 0, i32 1
  %807 = load double, ptr %806, align 8
  %808 = call double @cabs(double noundef %805, double noundef %807) #6
  %809 = load double, ptr %38, align 8, !tbaa !15
  %810 = fadd double %809, %808
  store double %810, ptr %38, align 8, !tbaa !15
  br label %811

811:                                              ; preds = %778
  %812 = load i32, ptr %32, align 4, !tbaa !9
  %813 = add nsw i32 %812, -1
  store i32 %813, ptr %32, align 4, !tbaa !9
  br label %395, !llvm.loop !19

814:                                              ; preds = %395
  %815 = load double, ptr %40, align 8, !tbaa !15
  %816 = load double, ptr %38, align 8, !tbaa !15
  %817 = fcmp ogt double %815, %816
  br i1 %817, label %818, label %823

818:                                              ; preds = %814
  %819 = load ptr, ptr %11, align 8, !tbaa !5
  %820 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %31, i64 0, i64 0
  %821 = load ptr, ptr %14, align 8, !tbaa !5
  %822 = getelementptr inbounds %struct.doublecomplex, ptr %821, i64 1
  call void @zcopy_(ptr noundef %819, ptr noundef %820, ptr noundef @c__1, ptr noundef %822, ptr noundef @c__1)
  br label %823

823:                                              ; preds = %818, %814
  %824 = load ptr, ptr %11, align 8, !tbaa !5
  %825 = load i32, ptr %824, align 4, !tbaa !9
  %826 = sub nsw i32 %825, 1
  store i32 %826, ptr %21, align 4, !tbaa !9
  %827 = load ptr, ptr %14, align 8, !tbaa !5
  %828 = getelementptr inbounds %struct.doublecomplex, ptr %827, i64 1
  %829 = load ptr, ptr %13, align 8, !tbaa !5
  %830 = load ptr, ptr %18, align 8, !tbaa !5
  %831 = getelementptr inbounds i32, ptr %830, i64 1
  %832 = call i32 @zlaswp_(ptr noundef @c__1, ptr noundef %828, ptr noundef %829, ptr noundef @c__1, ptr noundef %21, ptr noundef %831, ptr noundef @c_n1)
  %833 = load ptr, ptr %11, align 8, !tbaa !5
  %834 = load ptr, ptr %14, align 8, !tbaa !5
  %835 = getelementptr inbounds %struct.doublecomplex, ptr %834, i64 1
  %836 = load ptr, ptr %16, align 8, !tbaa !5
  %837 = load ptr, ptr %15, align 8, !tbaa !5
  call void @zlassq_(ptr noundef %833, ptr noundef %835, ptr noundef @c__1, ptr noundef %836, ptr noundef %837)
  store i32 1, ptr %47, align 4
  br label %954

838:                                              ; preds = %9
  %839 = load ptr, ptr %11, align 8, !tbaa !5
  %840 = load ptr, ptr %12, align 8, !tbaa !5
  %841 = load i32, ptr %20, align 4, !tbaa !9
  %842 = sext i32 %841 to i64
  %843 = getelementptr inbounds %struct.doublecomplex, ptr %840, i64 %842
  %844 = load ptr, ptr %13, align 8, !tbaa !5
  %845 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %31, i64 0, i64 0
  %846 = getelementptr inbounds [2 x double], ptr %39, i64 0, i64 0
  call void @zgecon_(ptr noundef @.str, ptr noundef %839, ptr noundef %843, ptr noundef %844, ptr noundef @c_b24, ptr noundef %37, ptr noundef %845, ptr noundef %846, ptr noundef %29)
  %847 = load ptr, ptr %11, align 8, !tbaa !5
  %848 = load ptr, ptr %11, align 8, !tbaa !5
  %849 = load i32, ptr %848, align 4, !tbaa !9
  %850 = sext i32 %849 to i64
  %851 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %31, i64 0, i64 %850
  %852 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %43, i64 0, i64 0
  call void @zcopy_(ptr noundef %847, ptr noundef %851, ptr noundef @c__1, ptr noundef %852, ptr noundef @c__1)
  %853 = load ptr, ptr %11, align 8, !tbaa !5
  %854 = load i32, ptr %853, align 4, !tbaa !9
  %855 = sub nsw i32 %854, 1
  store i32 %855, ptr %21, align 4, !tbaa !9
  %856 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %43, i64 0, i64 0
  %857 = load ptr, ptr %13, align 8, !tbaa !5
  %858 = load ptr, ptr %17, align 8, !tbaa !5
  %859 = getelementptr inbounds i32, ptr %858, i64 1
  %860 = call i32 @zlaswp_(ptr noundef @c__1, ptr noundef %856, ptr noundef %857, ptr noundef @c__1, ptr noundef %21, ptr noundef %859, ptr noundef @c_n1)
  %861 = load ptr, ptr %11, align 8, !tbaa !5
  %862 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %43, i64 0, i64 0
  %863 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %43, i64 0, i64 0
  call void @zdotc_(ptr noundef %28, ptr noundef %861, ptr noundef %862, ptr noundef @c__1, ptr noundef %863, ptr noundef @c__1)
  %864 = call { double, double } @Cd(ptr noundef %28)
  %865 = extractvalue { double, double } %864, 0
  %866 = extractvalue { double, double } %864, 1
  %867 = getelementptr inbounds { double, double }, ptr %48, i32 0, i32 0
  %868 = getelementptr inbounds { double, double }, ptr %48, i32 0, i32 1
  store double %865, ptr %867, align 8
  store double %866, ptr %868, align 8
  %869 = getelementptr inbounds { double, double }, ptr %48, i32 0, i32 0
  %870 = load double, ptr %869, align 8
  %871 = getelementptr inbounds { double, double }, ptr %48, i32 0, i32 1
  %872 = load double, ptr %871, align 8
  %873 = call { double, double } @csqrt(double noundef %870, double noundef %872) #6
  %874 = extractvalue { double, double } %873, 0
  %875 = extractvalue { double, double } %873, 1
  %876 = call ptr @_pCd(ptr noundef %27)
  %877 = getelementptr inbounds { double, double }, ptr %876, i32 0, i32 0
  %878 = getelementptr inbounds { double, double }, ptr %876, i32 0, i32 1
  store double %874, ptr %877, align 8
  store double %875, ptr %878, align 8
  %879 = call { double, double } @Cd(ptr noundef @c_b1)
  %880 = extractvalue { double, double } %879, 0
  %881 = extractvalue { double, double } %879, 1
  %882 = call { double, double } @Cd(ptr noundef %27)
  %883 = extractvalue { double, double } %882, 0
  %884 = extractvalue { double, double } %882, 1
  %885 = call { double, double } @__divdc3(double noundef %880, double noundef %881, double noundef %883, double noundef %884) #6
  %886 = extractvalue { double, double } %885, 0
  %887 = extractvalue { double, double } %885, 1
  %888 = call ptr @_pCd(ptr noundef %26)
  %889 = getelementptr inbounds { double, double }, ptr %888, i32 0, i32 0
  %890 = getelementptr inbounds { double, double }, ptr %888, i32 0, i32 1
  store double %886, ptr %889, align 8
  store double %887, ptr %890, align 8
  %891 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 0
  %892 = load double, ptr %891, align 8, !tbaa !11
  %893 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 0
  store double %892, ptr %893, align 8, !tbaa !11
  %894 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 1
  %895 = load double, ptr %894, align 8, !tbaa !14
  %896 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 1
  store double %895, ptr %896, align 8, !tbaa !14
  %897 = load ptr, ptr %11, align 8, !tbaa !5
  %898 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %43, i64 0, i64 0
  call void @zscal_(ptr noundef %897, ptr noundef %30, ptr noundef %898, ptr noundef @c__1)
  %899 = load ptr, ptr %11, align 8, !tbaa !5
  %900 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %43, i64 0, i64 0
  %901 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %44, i64 0, i64 0
  call void @zcopy_(ptr noundef %899, ptr noundef %900, ptr noundef @c__1, ptr noundef %901, ptr noundef @c__1)
  %902 = load ptr, ptr %11, align 8, !tbaa !5
  %903 = load ptr, ptr %14, align 8, !tbaa !5
  %904 = getelementptr inbounds %struct.doublecomplex, ptr %903, i64 1
  %905 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %44, i64 0, i64 0
  call void @zaxpy_(ptr noundef %902, ptr noundef @c_b1, ptr noundef %904, ptr noundef @c__1, ptr noundef %905, ptr noundef @c__1)
  %906 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 0
  store double -1.000000e+00, ptr %906, align 8, !tbaa !11
  %907 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 1
  store double 0.000000e+00, ptr %907, align 8, !tbaa !14
  %908 = load ptr, ptr %11, align 8, !tbaa !5
  %909 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %43, i64 0, i64 0
  %910 = load ptr, ptr %14, align 8, !tbaa !5
  %911 = getelementptr inbounds %struct.doublecomplex, ptr %910, i64 1
  call void @zaxpy_(ptr noundef %908, ptr noundef %26, ptr noundef %909, ptr noundef @c__1, ptr noundef %911, ptr noundef @c__1)
  %912 = load ptr, ptr %11, align 8, !tbaa !5
  %913 = load ptr, ptr %12, align 8, !tbaa !5
  %914 = load i32, ptr %20, align 4, !tbaa !9
  %915 = sext i32 %914 to i64
  %916 = getelementptr inbounds %struct.doublecomplex, ptr %913, i64 %915
  %917 = load ptr, ptr %13, align 8, !tbaa !5
  %918 = load ptr, ptr %14, align 8, !tbaa !5
  %919 = getelementptr inbounds %struct.doublecomplex, ptr %918, i64 1
  %920 = load ptr, ptr %17, align 8, !tbaa !5
  %921 = getelementptr inbounds i32, ptr %920, i64 1
  %922 = load ptr, ptr %18, align 8, !tbaa !5
  %923 = getelementptr inbounds i32, ptr %922, i64 1
  call void @zgesc2_(ptr noundef %912, ptr noundef %916, ptr noundef %917, ptr noundef %919, ptr noundef %921, ptr noundef %923, ptr noundef %35)
  %924 = load ptr, ptr %11, align 8, !tbaa !5
  %925 = load ptr, ptr %12, align 8, !tbaa !5
  %926 = load i32, ptr %20, align 4, !tbaa !9
  %927 = sext i32 %926 to i64
  %928 = getelementptr inbounds %struct.doublecomplex, ptr %925, i64 %927
  %929 = load ptr, ptr %13, align 8, !tbaa !5
  %930 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %44, i64 0, i64 0
  %931 = load ptr, ptr %17, align 8, !tbaa !5
  %932 = getelementptr inbounds i32, ptr %931, i64 1
  %933 = load ptr, ptr %18, align 8, !tbaa !5
  %934 = getelementptr inbounds i32, ptr %933, i64 1
  call void @zgesc2_(ptr noundef %924, ptr noundef %928, ptr noundef %929, ptr noundef %930, ptr noundef %932, ptr noundef %934, ptr noundef %35)
  %935 = load ptr, ptr %11, align 8, !tbaa !5
  %936 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %44, i64 0, i64 0
  %937 = call double @dzasum_(ptr noundef %935, ptr noundef %936, ptr noundef @c__1)
  %938 = load ptr, ptr %11, align 8, !tbaa !5
  %939 = load ptr, ptr %14, align 8, !tbaa !5
  %940 = getelementptr inbounds %struct.doublecomplex, ptr %939, i64 1
  %941 = call double @dzasum_(ptr noundef %938, ptr noundef %940, ptr noundef @c__1)
  %942 = fcmp ogt double %937, %941
  br i1 %942, label %943, label %948

943:                                              ; preds = %838
  %944 = load ptr, ptr %11, align 8, !tbaa !5
  %945 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %44, i64 0, i64 0
  %946 = load ptr, ptr %14, align 8, !tbaa !5
  %947 = getelementptr inbounds %struct.doublecomplex, ptr %946, i64 1
  call void @zcopy_(ptr noundef %944, ptr noundef %945, ptr noundef @c__1, ptr noundef %947, ptr noundef @c__1)
  br label %948

948:                                              ; preds = %943, %838
  %949 = load ptr, ptr %11, align 8, !tbaa !5
  %950 = load ptr, ptr %14, align 8, !tbaa !5
  %951 = getelementptr inbounds %struct.doublecomplex, ptr %950, i64 1
  %952 = load ptr, ptr %16, align 8, !tbaa !5
  %953 = load ptr, ptr %15, align 8, !tbaa !5
  call void @zlassq_(ptr noundef %949, ptr noundef %951, ptr noundef @c__1, ptr noundef %952, ptr noundef %953)
  store i32 1, ptr %47, align 4
  br label %954

954:                                              ; preds = %948, %823
  call void @llvm.lifetime.end.p0(i64 32, ptr %44) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 128, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  ret void
}

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @zdotc_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden { double, double } @Cd(ptr noundef) #3

declare { double, double } @__divdc3(double, double, double, double)

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @_pCd(ptr noundef) #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #4

; Function Attrs: nounwind
declare double @cabs(double noundef, double noundef) #5

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

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

; Function Attrs: nounwind
declare { double, double } @csqrt(double noundef, double noundef) #5

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

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

declare double @dzasum_(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 = { inlinehint 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 #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 #6 = { nounwind }

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

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

@c__1 = external hidden global i32, align 4
@c_b1 = external hidden global %struct.doublecomplex, align 8
@c_n1 = external hidden global i32, align 4
@.str = external hidden unnamed_addr constant [2 x i8], align 1
@c_b24 = external hidden global double, align 8

; Function Attrs: nounwind uwtable
define dso_local void @zlatdf_(ptr nocapture noundef readonly %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) local_unnamed_addr #0 {
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %struct.doublecomplex, align 16
  %13 = alloca %struct.doublecomplex, align 8
  %14 = alloca %struct.doublecomplex, align 8
  %15 = alloca i32, align 4
  %16 = alloca %struct.doublecomplex, align 16
  %17 = alloca [8 x %struct.doublecomplex], align 16
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca [2 x double], align 16
  %21 = alloca [2 x %struct.doublecomplex], align 16
  %22 = alloca [2 x %struct.doublecomplex], align 16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %17) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %21) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %22) #7
  %23 = load i32, ptr %3, align 4, !tbaa !5
  %narrow = xor i32 %23, -1
  %24 = sext i32 %narrow to i64
  %25 = getelementptr inbounds %struct.doublecomplex, ptr %2, i64 %24
  %26 = getelementptr inbounds i8, ptr %4, i64 -16
  %27 = load i32, ptr %0, align 4, !tbaa !5
  %.not = icmp eq i32 %27, 2
  br i1 %.not, label %191, label %28

28:                                               ; preds = %9
  %29 = load i32, ptr %1, align 4, !tbaa !5
  %30 = add nsw i32 %29, -1
  store i32 %30, ptr %10, align 4, !tbaa !5
  %31 = call i32 @zlaswp_(ptr noundef nonnull @c__1, ptr noundef %4, ptr noundef nonnull %3, ptr noundef nonnull @c__1, ptr noundef nonnull %10, ptr noundef %7, ptr noundef nonnull @c__1) #7
  %32 = getelementptr inbounds i8, ptr %12, i64 8
  store <2 x double> <double -1.000000e+00, double 0.000000e+00>, ptr %12, align 16, !tbaa !9
  %33 = load i32, ptr %1, align 4, !tbaa !5
  %34 = add nsw i32 %33, -1
  store i32 %34, ptr %10, align 4, !tbaa !5
  %.not221223 = icmp slt i32 %33, 2
  br i1 %.not221223, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %28
  %35 = sext i32 %23 to i64
  br label %36

36:                                               ; preds = %.lr.ph, %68
  %indvars.iv = phi i64 [ 1, %.lr.ph ], [ %indvars.iv.next, %68 ]
  %.sroa.017.0224 = phi double [ -1.000000e+00, %.lr.ph ], [ %.sroa.017.1, %68 ]
  %37 = trunc nuw nsw i64 %indvars.iv to i32
  %38 = getelementptr inbounds %struct.doublecomplex, ptr %26, i64 %indvars.iv
  %39 = load <2 x double>, ptr %38, align 8, !tbaa !9
  %40 = fadd <2 x double> %39, <double 1.000000e+00, double 0.000000e+00>
  %41 = extractelement <2 x double> %39, i64 0
  %42 = fadd double %41, -1.000000e+00
  store double %42, ptr %12, align 16, !tbaa !11
  %43 = extractelement <2 x double> %40, i64 1
  store double %43, ptr %32, align 8, !tbaa !13
  %44 = load i32, ptr %1, align 4, !tbaa !5
  %45 = sub nsw i32 %44, %37
  store i32 %45, ptr %11, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %46 = mul nsw i64 %indvars.iv, %35
  %47 = getelementptr %struct.doublecomplex, ptr %25, i64 %indvars.iv.next
  %48 = getelementptr %struct.doublecomplex, ptr %47, i64 %46
  call void @zdotc_(ptr noundef nonnull %12, ptr noundef nonnull %11, ptr noundef %48, ptr noundef nonnull @c__1, ptr noundef %48, ptr noundef nonnull @c__1)
  %49 = load double, ptr %12, align 16, !tbaa !11
  %50 = fadd double %49, 1.000000e+00
  %51 = load i32, ptr %1, align 4, !tbaa !5
  %52 = sub nsw i32 %51, %37
  store i32 %52, ptr %11, align 4, !tbaa !5
  %53 = getelementptr %struct.doublecomplex, ptr %4, i64 %indvars.iv
  call void @zdotc_(ptr noundef nonnull %12, ptr noundef nonnull %11, ptr noundef %48, ptr noundef nonnull @c__1, ptr noundef nonnull %53, ptr noundef nonnull @c__1)
  %54 = load double, ptr %12, align 16, !tbaa !11
  %55 = load double, ptr %38, align 8, !tbaa !11
  %56 = fmul double %50, %55
  %57 = fcmp ogt double %56, %54
  br i1 %57, label %68, label %58

58:                                               ; preds = %36
  %59 = fcmp ogt double %54, %56
  %60 = insertelement <2 x double> %40, double %42, i64 0
  br i1 %59, label %68, label %61

61:                                               ; preds = %58
  %62 = getelementptr inbounds i8, ptr %38, i64 8
  %63 = load double, ptr %62, align 8, !tbaa !13
  %64 = insertelement <2 x double> <double poison, double 0.000000e+00>, double %.sroa.017.0224, i64 0
  %65 = insertelement <2 x double> poison, double %55, i64 0
  %66 = insertelement <2 x double> %65, double %63, i64 1
  %67 = fadd <2 x double> %64, %66
  br label %68

68:                                               ; preds = %58, %36, %61
  %.sroa.017.1 = phi double [ 1.000000e+00, %61 ], [ %.sroa.017.0224, %36 ], [ %.sroa.017.0224, %58 ]
  %69 = phi <2 x double> [ %67, %61 ], [ %40, %36 ], [ %60, %58 ]
  store <2 x double> %69, ptr %38, align 8, !tbaa !9
  %70 = fneg <2 x double> %69
  store <2 x double> %70, ptr %12, align 16, !tbaa !9
  store <2 x double> %70, ptr %16, align 16, !tbaa !9
  %71 = load i32, ptr %1, align 4, !tbaa !5
  %72 = sub nsw i32 %71, %37
  store i32 %72, ptr %11, align 4, !tbaa !5
  call void @zaxpy_(ptr noundef nonnull %11, ptr noundef nonnull %16, ptr noundef %48, ptr noundef nonnull @c__1, ptr noundef nonnull %53, ptr noundef nonnull @c__1) #7
  %73 = load i32, ptr %10, align 4, !tbaa !5
  %74 = sext i32 %73 to i64
  %.not221.not = icmp slt i64 %indvars.iv, %74
  br i1 %.not221.not, label %36, label %._crit_edge.loopexit, !llvm.loop !14

._crit_edge.loopexit:                             ; preds = %68
  %.pre = load i32, ptr %1, align 4, !tbaa !5
  %.pre267 = add nsw i32 %.pre, -1
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %28
  %.pre-phi = phi i32 [ %.pre267, %._crit_edge.loopexit ], [ %34, %28 ]
  store i32 %.pre-phi, ptr %10, align 4, !tbaa !5
  call void @zcopy_(ptr noundef nonnull %10, ptr noundef %4, ptr noundef nonnull @c__1, ptr noundef nonnull %17, ptr noundef nonnull @c__1) #7
  %75 = load i32, ptr %1, align 4, !tbaa !5
  %76 = add nsw i32 %75, -1
  %77 = sext i32 %75 to i64
  %78 = getelementptr inbounds %struct.doublecomplex, ptr %26, i64 %77
  %79 = getelementptr inbounds %struct.doublecomplex, ptr %26, i64 %77, i32 1
  %80 = sext i32 %76 to i64
  %81 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %17, i64 0, i64 %80
  %82 = load <2 x double>, ptr %78, align 8, !tbaa !9
  %83 = fadd <2 x double> %82, <double 1.000000e+00, double 0.000000e+00>
  store <2 x double> %83, ptr %81, align 16, !tbaa !9
  store i32 %75, ptr %10, align 4, !tbaa !5
  store i32 %75, ptr %11, align 4, !tbaa !5
  %84 = extractelement <2 x double> %82, i64 0
  %85 = fadd double %84, -1.000000e+00
  store double %85, ptr %12, align 16, !tbaa !11
  %86 = extractelement <2 x double> %83, i64 1
  store double %86, ptr %32, align 8, !tbaa !13
  store double %85, ptr %78, align 8, !tbaa !11
  store double %86, ptr %79, align 8, !tbaa !13
  %87 = icmp sgt i32 %75, 0
  br i1 %87, label %.lr.ph246, label %._crit_edge247.thread

.lr.ph246:                                        ; preds = %._crit_edge
  %88 = add i32 %23, 1
  %89 = sext i32 %23 to i64
  br label %90

90:                                               ; preds = %.lr.ph246, %174
  %indvars.iv259 = phi i64 [ %77, %.lr.ph246 ], [ %indvars.iv.next260, %174 ]
  %.0217243 = phi double [ 0.000000e+00, %.lr.ph246 ], [ %179, %174 ]
  %.0218242 = phi double [ 0.000000e+00, %.lr.ph246 ], [ %184, %174 ]
  %91 = call { double, double } @Cd(ptr noundef nonnull @c_b1)
  %92 = extractvalue { double, double } %91, 0
  %93 = extractvalue { double, double } %91, 1
  %94 = trunc nuw nsw i64 %indvars.iv259 to i32
  %95 = mul i32 %88, %94
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds %struct.doublecomplex, ptr %25, i64 %96
  %98 = call { double, double } @Cd(ptr noundef %97)
  %99 = extractvalue { double, double } %98, 0
  %100 = extractvalue { double, double } %98, 1
  %101 = call { double, double } @__divdc3(double noundef %92, double noundef %93, double noundef %99, double noundef %100) #7
  %102 = extractvalue { double, double } %101, 0
  %103 = extractvalue { double, double } %101, 1
  %104 = call ptr @_pCd(ptr noundef nonnull %12)
  %105 = getelementptr inbounds i8, ptr %104, i64 8
  store double %102, ptr %104, align 8
  store double %103, ptr %105, align 8
  %indvars.iv.next260 = add nsw i64 %indvars.iv259, -1
  %106 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %17, i64 0, i64 %indvars.iv.next260
  %107 = load double, ptr %106, align 16, !tbaa !11
  %108 = getelementptr inbounds i8, ptr %106, i64 8
  %109 = load double, ptr %108, align 8, !tbaa !13
  %110 = fneg double %109
  store i32 %94, ptr %11, align 4, !tbaa !5
  %111 = getelementptr inbounds %struct.doublecomplex, ptr %26, i64 %indvars.iv259
  %112 = load double, ptr %111, align 8, !tbaa !11
  %113 = getelementptr inbounds i8, ptr %111, i64 8
  %114 = load double, ptr %113, align 8, !tbaa !13
  %115 = fneg double %114
  %116 = load <2 x double>, ptr %12, align 16, !tbaa !9
  store <2 x double> %116, ptr %16, align 16, !tbaa !9
  %117 = insertelement <2 x double> poison, double %109, i64 0
  %118 = insertelement <2 x double> %117, double %110, i64 1
  %119 = fmul <2 x double> %116, %118
  %120 = shufflevector <2 x double> %119, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %121 = insertelement <2 x double> poison, double %107, i64 0
  %122 = shufflevector <2 x double> %121, <2 x double> poison, <2 x i32> zeroinitializer
  %123 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %122, <2 x double> %116, <2 x double> %120)
  store <2 x double> %123, ptr %106, align 16, !tbaa !9
  %124 = insertelement <2 x double> poison, double %114, i64 0
  %125 = insertelement <2 x double> %124, double %115, i64 1
  %126 = fmul <2 x double> %116, %125
  %127 = shufflevector <2 x double> %126, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %128 = insertelement <2 x double> poison, double %112, i64 0
  %129 = shufflevector <2 x double> %128, <2 x double> poison, <2 x i32> zeroinitializer
  %130 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %129, <2 x double> %116, <2 x double> %127)
  store <2 x double> %130, ptr %12, align 16, !tbaa !9
  store <2 x double> %130, ptr %111, align 8, !tbaa !9
  %131 = load i32, ptr %1, align 4, !tbaa !5
  store i32 %131, ptr %10, align 4, !tbaa !5
  %132 = sext i32 %131 to i64
  %.not222.not228 = icmp slt i64 %indvars.iv259, %132
  br i1 %.not222.not228, label %.lr.ph231, label %174

.lr.ph231:                                        ; preds = %90
  %invariant.gep = getelementptr %struct.doublecomplex, ptr %25, i64 %indvars.iv259
  %133 = shufflevector <2 x double> %116, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  br label %134

134:                                              ; preds = %.lr.ph231, %134
  %indvars.iv261 = phi i64 [ %indvars.iv259, %.lr.ph231 ], [ %indvars.iv.next262, %134 ]
  %135 = phi <2 x double> [ %130, %.lr.ph231 ], [ %173, %134 ]
  %136 = phi <2 x double> [ %123, %.lr.ph231 ], [ %165, %134 ]
  %indvars.iv.next262 = add nuw nsw i64 %indvars.iv261, 1
  %137 = mul nsw i64 %indvars.iv.next262, %89
  %gep = getelementptr %struct.doublecomplex, ptr %invariant.gep, i64 %137
  %138 = load double, ptr %gep, align 8, !tbaa !11
  %139 = getelementptr inbounds i8, ptr %gep, i64 8
  %140 = load double, ptr %139, align 8, !tbaa !13
  %141 = fneg double %140
  %142 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %17, i64 0, i64 %indvars.iv261
  %143 = load double, ptr %142, align 16, !tbaa !11
  %144 = getelementptr inbounds i8, ptr %142, i64 8
  %145 = load double, ptr %144, align 8, !tbaa !13
  %146 = fneg double %145
  %147 = getelementptr %struct.doublecomplex, ptr %4, i64 %indvars.iv261
  %148 = load double, ptr %147, align 8, !tbaa !11
  %149 = getelementptr inbounds i8, ptr %147, i64 8
  %150 = load double, ptr %149, align 8, !tbaa !13
  %151 = fneg double %150
  %152 = insertelement <2 x double> poison, double %141, i64 0
  %153 = insertelement <2 x double> %152, double %140, i64 1
  %154 = fmul <2 x double> %133, %153
  %155 = insertelement <2 x double> poison, double %138, i64 0
  %156 = shufflevector <2 x double> %155, <2 x double> poison, <2 x i32> zeroinitializer
  %157 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %156, <2 x double> %116, <2 x double> %154)
  %158 = insertelement <2 x double> poison, double %145, i64 0
  %159 = insertelement <2 x double> %158, double %146, i64 1
  %160 = fmul <2 x double> %157, %159
  %161 = shufflevector <2 x double> %160, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %162 = insertelement <2 x double> poison, double %143, i64 0
  %163 = shufflevector <2 x double> %162, <2 x double> poison, <2 x i32> zeroinitializer
  %164 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %163, <2 x double> %157, <2 x double> %161)
  %165 = fsub <2 x double> %136, %164
  store <2 x double> %165, ptr %106, align 16, !tbaa !9
  %166 = insertelement <2 x double> poison, double %150, i64 0
  %167 = insertelement <2 x double> %166, double %151, i64 1
  %168 = fmul <2 x double> %157, %167
  %169 = shufflevector <2 x double> %168, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %170 = insertelement <2 x double> poison, double %148, i64 0
  %171 = shufflevector <2 x double> %170, <2 x double> poison, <2 x i32> zeroinitializer
  %172 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %171, <2 x double> %157, <2 x double> %169)
  %173 = fsub <2 x double> %135, %172
  store <2 x double> %173, ptr %111, align 8, !tbaa !9
  %.not222.not = icmp slt i64 %indvars.iv.next262, %132
  br i1 %.not222.not, label %134, label %._crit_edge232, !llvm.loop !16

._crit_edge232:                                   ; preds = %134
  store i32 %94, ptr %11, align 4, !tbaa !5
  store <2 x double> %173, ptr %12, align 16, !tbaa !9
  br label %174

174:                                              ; preds = %._crit_edge232, %90
  %175 = call { double, double } @Cd(ptr noundef nonnull %106)
  %176 = extractvalue { double, double } %175, 0
  %177 = extractvalue { double, double } %175, 1
  %178 = call double @cabs(double noundef %176, double noundef %177) #7
  %179 = fadd double %.0217243, %178
  %180 = call { double, double } @Cd(ptr noundef nonnull %111)
  %181 = extractvalue { double, double } %180, 0
  %182 = extractvalue { double, double } %180, 1
  %183 = call double @cabs(double noundef %181, double noundef %182) #7
  %184 = fadd double %.0218242, %183
  %185 = icmp sgt i64 %indvars.iv259, 1
  br i1 %185, label %90, label %._crit_edge247, !llvm.loop !17

._crit_edge247:                                   ; preds = %174
  %186 = fcmp ogt double %179, %184
  br i1 %186, label %187, label %._crit_edge247.thread

187:                                              ; preds = %._crit_edge247
  call void @zcopy_(ptr noundef nonnull %1, ptr noundef nonnull %17, ptr noundef nonnull @c__1, ptr noundef nonnull %4, ptr noundef nonnull @c__1) #7
  br label %._crit_edge247.thread

._crit_edge247.thread:                            ; preds = %._crit_edge, %187, %._crit_edge247
  %188 = load i32, ptr %1, align 4, !tbaa !5
  %189 = add nsw i32 %188, -1
  store i32 %189, ptr %10, align 4, !tbaa !5
  %190 = call i32 @zlaswp_(ptr noundef nonnull @c__1, ptr noundef nonnull %4, ptr noundef nonnull %3, ptr noundef nonnull @c__1, ptr noundef nonnull %10, ptr noundef %8, ptr noundef nonnull @c_n1) #7
  call void @zlassq_(ptr noundef nonnull %1, ptr noundef nonnull %4, ptr noundef nonnull @c__1, ptr noundef %6, ptr noundef %5) #7
  br label %223

191:                                              ; preds = %9
  call void @zgecon_(ptr noundef nonnull @.str, ptr noundef %1, ptr noundef %2, ptr noundef nonnull %3, ptr noundef nonnull @c_b24, ptr noundef nonnull %19, ptr noundef nonnull %17, ptr noundef nonnull %20, ptr noundef nonnull %15) #7
  %192 = load i32, ptr %1, align 4, !tbaa !5
  %193 = sext i32 %192 to i64
  %194 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %17, i64 0, i64 %193
  call void @zcopy_(ptr noundef nonnull %1, ptr noundef nonnull %194, ptr noundef nonnull @c__1, ptr noundef nonnull %21, ptr noundef nonnull @c__1) #7
  %195 = load i32, ptr %1, align 4, !tbaa !5
  %196 = add nsw i32 %195, -1
  store i32 %196, ptr %10, align 4, !tbaa !5
  %197 = call i32 @zlaswp_(ptr noundef nonnull @c__1, ptr noundef nonnull %21, ptr noundef nonnull %3, ptr noundef nonnull @c__1, ptr noundef nonnull %10, ptr noundef %7, ptr noundef nonnull @c_n1) #7
  call void @zdotc_(ptr noundef nonnull %14, ptr noundef nonnull %1, ptr noundef nonnull %21, ptr noundef nonnull @c__1, ptr noundef nonnull %21, ptr noundef nonnull @c__1)
  %198 = call { double, double } @Cd(ptr noundef nonnull %14)
  %199 = extractvalue { double, double } %198, 0
  %200 = extractvalue { double, double } %198, 1
  %201 = call { double, double } @csqrt(double noundef %199, double noundef %200) #7
  %202 = extractvalue { double, double } %201, 0
  %203 = extractvalue { double, double } %201, 1
  %204 = call ptr @_pCd(ptr noundef nonnull %13)
  %205 = getelementptr inbounds i8, ptr %204, i64 8
  store double %202, ptr %204, align 8
  store double %203, ptr %205, align 8
  %206 = call { double, double } @Cd(ptr noundef nonnull @c_b1)
  %207 = extractvalue { double, double } %206, 0
  %208 = extractvalue { double, double } %206, 1
  %209 = call { double, double } @Cd(ptr noundef nonnull %13)
  %210 = extractvalue { double, double } %209, 0
  %211 = extractvalue { double, double } %209, 1
  %212 = call { double, double } @__divdc3(double noundef %207, double noundef %208, double noundef %210, double noundef %211) #7
  %213 = extractvalue { double, double } %212, 0
  %214 = extractvalue { double, double } %212, 1
  %215 = call ptr @_pCd(ptr noundef nonnull %12)
  %216 = getelementptr inbounds i8, ptr %215, i64 8
  store double %213, ptr %215, align 8
  store double %214, ptr %216, align 8
  %217 = load <2 x double>, ptr %12, align 16, !tbaa !9
  store <2 x double> %217, ptr %16, align 16, !tbaa !9
  call void @zscal_(ptr noundef nonnull %1, ptr noundef nonnull %16, ptr noundef nonnull %21, ptr noundef nonnull @c__1) #7
  call void @zcopy_(ptr noundef nonnull %1, ptr noundef nonnull %21, ptr noundef nonnull @c__1, ptr noundef nonnull %22, ptr noundef nonnull @c__1) #7
  call void @zaxpy_(ptr noundef nonnull %1, ptr noundef nonnull @c_b1, ptr noundef %4, ptr noundef nonnull @c__1, ptr noundef nonnull %22, ptr noundef nonnull @c__1) #7
  store <2 x double> <double -1.000000e+00, double 0.000000e+00>, ptr %12, align 16, !tbaa !9
  call void @zaxpy_(ptr noundef nonnull %1, ptr noundef nonnull %12, ptr noundef nonnull %21, ptr noundef nonnull @c__1, ptr noundef %4, ptr noundef nonnull @c__1) #7
  call void @zgesc2_(ptr noundef nonnull %1, ptr noundef %2, ptr noundef nonnull %3, ptr noundef %4, ptr noundef %7, ptr noundef %8, ptr noundef nonnull %18) #7
  call void @zgesc2_(ptr noundef nonnull %1, ptr noundef %2, ptr noundef nonnull %3, ptr noundef nonnull %22, ptr noundef %7, ptr noundef %8, ptr noundef nonnull %18) #7
  %218 = call double @dzasum_(ptr noundef nonnull %1, ptr noundef nonnull %22, ptr noundef nonnull @c__1) #7
  %219 = call double @dzasum_(ptr noundef nonnull %1, ptr noundef %4, ptr noundef nonnull @c__1) #7
  %220 = fcmp ogt double %218, %219
  br i1 %220, label %221, label %222

221:                                              ; preds = %191
  call void @zcopy_(ptr noundef nonnull %1, ptr noundef nonnull %22, ptr noundef nonnull @c__1, ptr noundef %4, ptr noundef nonnull @c__1) #7
  br label %222

222:                                              ; preds = %221, %191
  call void @zlassq_(ptr noundef nonnull %1, ptr noundef %4, ptr noundef nonnull @c__1, ptr noundef %6, ptr noundef %5) #7
  br label %223

223:                                              ; preds = %222, %._crit_edge247.thread
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  ret void
}

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @zdotc_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden { double, double } @Cd(ptr noundef) local_unnamed_addr #3

declare { double, double } @__divdc3(double, double, double, double) local_unnamed_addr

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @_pCd(ptr noundef) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare double @cabs(double noundef, double noundef) local_unnamed_addr #4

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

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

; Function Attrs: nounwind
declare { double, double } @csqrt(double noundef, double noundef) local_unnamed_addr #5

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

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

declare double @dzasum_(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 double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #6

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 = { inlinehint 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 #4 = { nofree 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 #5 = { 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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"", !10, i64 0, !10, i64 8}
!13 = !{!12, !10, i64 8}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = distinct !{!17, !15}


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