; LLVM IR from niuyishuai/PDCABB :: LAPACK_BLAS/LAPACK (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 i64, align 8
@c_b1 = external hidden global %struct.doublecomplex, align 8
@c_n1 = external hidden global i64, align 8
@.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 i32 @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 i32, align 4
  %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 ptr, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca %struct.doublecomplex, align 8
  %28 = alloca %struct.doublecomplex, align 8
  %29 = alloca %struct.doublecomplex, align 8
  %30 = alloca i64, align 8
  %31 = alloca i64, align 8
  %32 = alloca i64, align 8
  %33 = alloca %struct.doublecomplex, align 8
  %34 = alloca %struct.doublecomplex, align 8
  %35 = alloca [2 x %struct.doublecomplex], align 16
  %36 = alloca [2 x %struct.doublecomplex], align 16
  %37 = alloca i64, align 8
  %38 = alloca %struct.doublecomplex, align 8
  %39 = alloca [8 x %struct.doublecomplex], align 16
  %40 = alloca double, align 8
  %41 = alloca %struct.doublecomplex, align 8
  %42 = alloca double, align 8
  %43 = alloca double, align 8
  %44 = alloca [2 x double], align 16
  %45 = alloca double, align 8
  %46 = alloca i32, align 4
  store ptr %0, ptr %11, align 8, !tbaa !5
  store ptr %1, ptr %12, align 8, !tbaa !5
  store ptr %2, ptr %13, align 8, !tbaa !5
  store ptr %3, ptr %14, align 8, !tbaa !5
  store ptr %4, ptr %15, align 8, !tbaa !5
  store ptr %5, ptr %16, align 8, !tbaa !5
  store ptr %6, ptr %17, align 8, !tbaa !5
  store ptr %7, ptr %18, align 8, !tbaa !5
  store ptr %8, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr %35) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr %36) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #4
  call void @llvm.lifetime.start.p0(i64 128, ptr %39) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %41) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %44) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #4
  %47 = load ptr, ptr %14, align 8, !tbaa !5
  %48 = load i64, ptr %47, align 8, !tbaa !9
  store i64 %48, ptr %20, align 8, !tbaa !9
  %49 = load i64, ptr %20, align 8, !tbaa !9
  %50 = add nsw i64 1, %49
  store i64 %50, ptr %21, align 8, !tbaa !9
  %51 = load i64, ptr %21, align 8, !tbaa !9
  %52 = load ptr, ptr %13, align 8, !tbaa !5
  %53 = sub i64 0, %51
  %54 = getelementptr inbounds %struct.doublecomplex, ptr %52, i64 %53
  store ptr %54, ptr %13, align 8, !tbaa !5
  %55 = load ptr, ptr %15, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.doublecomplex, ptr %55, i32 -1
  store ptr %56, ptr %15, align 8, !tbaa !5
  %57 = load ptr, ptr %18, align 8, !tbaa !5
  %58 = getelementptr inbounds i64, ptr %57, i32 -1
  store ptr %58, ptr %18, align 8, !tbaa !5
  %59 = load ptr, ptr %19, align 8, !tbaa !5
  %60 = getelementptr inbounds i64, ptr %59, i32 -1
  store ptr %60, ptr %19, align 8, !tbaa !5
  %61 = load ptr, ptr %11, align 8, !tbaa !5
  %62 = load i64, ptr %61, align 8, !tbaa !9
  %63 = icmp ne i64 %62, 2
  br i1 %63, label %64, label %740

64:                                               ; preds = %9
  %65 = load ptr, ptr %12, align 8, !tbaa !5
  %66 = load i64, ptr %65, align 8, !tbaa !9
  %67 = sub nsw i64 %66, 1
  store i64 %67, ptr %22, align 8, !tbaa !9
  %68 = load ptr, ptr %15, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.doublecomplex, ptr %68, i64 1
  %70 = load ptr, ptr %14, align 8, !tbaa !5
  %71 = load ptr, ptr %18, align 8, !tbaa !5
  %72 = getelementptr inbounds i64, ptr %71, i64 1
  %73 = call i32 @zlaswp_(ptr noundef @c__1, ptr noundef %69, ptr noundef %70, ptr noundef @c__1, ptr noundef %22, ptr noundef %72, ptr noundef @c__1)
  %74 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  store double -1.000000e+00, ptr %74, align 8, !tbaa !11
  %75 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  store double -0.000000e+00, ptr %75, align 8, !tbaa !14
  %76 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  %77 = load double, ptr %76, align 8, !tbaa !11
  %78 = getelementptr inbounds %struct.doublecomplex, ptr %41, i32 0, i32 0
  store double %77, ptr %78, align 8, !tbaa !11
  %79 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  %80 = load double, ptr %79, align 8, !tbaa !14
  %81 = getelementptr inbounds %struct.doublecomplex, ptr %41, i32 0, i32 1
  store double %80, ptr %81, align 8, !tbaa !14
  %82 = load ptr, ptr %12, align 8, !tbaa !5
  %83 = load i64, ptr %82, align 8, !tbaa !9
  %84 = sub nsw i64 %83, 1
  store i64 %84, ptr %22, align 8, !tbaa !9
  store i64 1, ptr %31, align 8, !tbaa !9
  br label %85

85:                                               ; preds = %292, %64
  %86 = load i64, ptr %31, align 8, !tbaa !9
  %87 = load i64, ptr %22, align 8, !tbaa !9
  %88 = icmp sle i64 %86, %87
  br i1 %88, label %89, label %295

89:                                               ; preds = %85
  %90 = load i64, ptr %31, align 8, !tbaa !9
  store i64 %90, ptr %23, align 8, !tbaa !9
  %91 = load ptr, ptr %15, align 8, !tbaa !5
  %92 = load i64, ptr %23, align 8, !tbaa !9
  %93 = getelementptr inbounds %struct.doublecomplex, ptr %91, i64 %92
  %94 = getelementptr inbounds %struct.doublecomplex, ptr %93, i32 0, i32 0
  %95 = load double, ptr %94, align 8, !tbaa !11
  %96 = fadd double %95, 1.000000e+00
  %97 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  store double %96, ptr %97, align 8, !tbaa !11
  %98 = load ptr, ptr %15, align 8, !tbaa !5
  %99 = load i64, ptr %23, align 8, !tbaa !9
  %100 = getelementptr inbounds %struct.doublecomplex, ptr %98, i64 %99
  %101 = getelementptr inbounds %struct.doublecomplex, ptr %100, i32 0, i32 1
  %102 = load double, ptr %101, align 8, !tbaa !14
  %103 = fadd double %102, 0.000000e+00
  %104 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  store double %103, ptr %104, align 8, !tbaa !14
  %105 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  %106 = load double, ptr %105, align 8, !tbaa !11
  %107 = getelementptr inbounds %struct.doublecomplex, ptr %34, i32 0, i32 0
  store double %106, ptr %107, align 8, !tbaa !11
  %108 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  %109 = load double, ptr %108, align 8, !tbaa !14
  %110 = getelementptr inbounds %struct.doublecomplex, ptr %34, i32 0, i32 1
  store double %109, ptr %110, align 8, !tbaa !14
  %111 = load i64, ptr %31, align 8, !tbaa !9
  store i64 %111, ptr %23, align 8, !tbaa !9
  %112 = load ptr, ptr %15, align 8, !tbaa !5
  %113 = load i64, ptr %23, align 8, !tbaa !9
  %114 = getelementptr inbounds %struct.doublecomplex, ptr %112, i64 %113
  %115 = getelementptr inbounds %struct.doublecomplex, ptr %114, i32 0, i32 0
  %116 = load double, ptr %115, align 8, !tbaa !11
  %117 = fsub double %116, 1.000000e+00
  %118 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  store double %117, ptr %118, align 8, !tbaa !11
  %119 = load ptr, ptr %15, align 8, !tbaa !5
  %120 = load i64, ptr %23, align 8, !tbaa !9
  %121 = getelementptr inbounds %struct.doublecomplex, ptr %119, i64 %120
  %122 = getelementptr inbounds %struct.doublecomplex, ptr %121, i32 0, i32 1
  %123 = load double, ptr %122, align 8, !tbaa !14
  %124 = fsub double %123, 0.000000e+00
  %125 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  store double %124, ptr %125, align 8, !tbaa !14
  %126 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  %127 = load double, ptr %126, align 8, !tbaa !11
  %128 = getelementptr inbounds %struct.doublecomplex, ptr %33, i32 0, i32 0
  store double %127, ptr %128, align 8, !tbaa !11
  %129 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  %130 = load double, ptr %129, align 8, !tbaa !14
  %131 = getelementptr inbounds %struct.doublecomplex, ptr %33, i32 0, i32 1
  store double %130, ptr %131, align 8, !tbaa !14
  store double 1.000000e+00, ptr %45, align 8, !tbaa !15
  %132 = load ptr, ptr %12, align 8, !tbaa !5
  %133 = load i64, ptr %132, align 8, !tbaa !9
  %134 = load i64, ptr %31, align 8, !tbaa !9
  %135 = sub nsw i64 %133, %134
  store i64 %135, ptr %23, align 8, !tbaa !9
  %136 = load ptr, ptr %13, align 8, !tbaa !5
  %137 = load i64, ptr %31, align 8, !tbaa !9
  %138 = add nsw i64 %137, 1
  %139 = load i64, ptr %31, align 8, !tbaa !9
  %140 = load i64, ptr %20, align 8, !tbaa !9
  %141 = mul nsw i64 %139, %140
  %142 = add nsw i64 %138, %141
  %143 = getelementptr inbounds %struct.doublecomplex, ptr %136, i64 %142
  %144 = load ptr, ptr %13, align 8, !tbaa !5
  %145 = load i64, ptr %31, align 8, !tbaa !9
  %146 = add nsw i64 %145, 1
  %147 = load i64, ptr %31, align 8, !tbaa !9
  %148 = load i64, ptr %20, align 8, !tbaa !9
  %149 = mul nsw i64 %147, %148
  %150 = add nsw i64 %146, %149
  %151 = getelementptr inbounds %struct.doublecomplex, ptr %144, i64 %150
  call void @f2c_zdotc(ptr noundef %27, ptr noundef %23, ptr noundef %143, ptr noundef @c__1, ptr noundef %151, ptr noundef @c__1)
  %152 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  %153 = load double, ptr %152, align 8, !tbaa !11
  %154 = load double, ptr %45, align 8, !tbaa !15
  %155 = fadd double %154, %153
  store double %155, ptr %45, align 8, !tbaa !15
  %156 = load ptr, ptr %12, align 8, !tbaa !5
  %157 = load i64, ptr %156, align 8, !tbaa !9
  %158 = load i64, ptr %31, align 8, !tbaa !9
  %159 = sub nsw i64 %157, %158
  store i64 %159, ptr %23, align 8, !tbaa !9
  %160 = load ptr, ptr %13, align 8, !tbaa !5
  %161 = load i64, ptr %31, align 8, !tbaa !9
  %162 = add nsw i64 %161, 1
  %163 = load i64, ptr %31, align 8, !tbaa !9
  %164 = load i64, ptr %20, align 8, !tbaa !9
  %165 = mul nsw i64 %163, %164
  %166 = add nsw i64 %162, %165
  %167 = getelementptr inbounds %struct.doublecomplex, ptr %160, i64 %166
  %168 = load ptr, ptr %15, align 8, !tbaa !5
  %169 = load i64, ptr %31, align 8, !tbaa !9
  %170 = add nsw i64 %169, 1
  %171 = getelementptr inbounds %struct.doublecomplex, ptr %168, i64 %170
  call void @f2c_zdotc(ptr noundef %27, ptr noundef %23, ptr noundef %167, ptr noundef @c__1, ptr noundef %171, ptr noundef @c__1)
  %172 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  %173 = load double, ptr %172, align 8, !tbaa !11
  store double %173, ptr %43, align 8, !tbaa !15
  %174 = load i64, ptr %31, align 8, !tbaa !9
  store i64 %174, ptr %23, align 8, !tbaa !9
  %175 = load ptr, ptr %15, align 8, !tbaa !5
  %176 = load i64, ptr %23, align 8, !tbaa !9
  %177 = getelementptr inbounds %struct.doublecomplex, ptr %175, i64 %176
  %178 = getelementptr inbounds %struct.doublecomplex, ptr %177, i32 0, i32 0
  %179 = load double, ptr %178, align 8, !tbaa !11
  %180 = load double, ptr %45, align 8, !tbaa !15
  %181 = fmul double %180, %179
  store double %181, ptr %45, align 8, !tbaa !15
  %182 = load double, ptr %45, align 8, !tbaa !15
  %183 = load double, ptr %43, align 8, !tbaa !15
  %184 = fcmp ogt double %182, %183
  br i1 %184, label %185, label %199

185:                                              ; preds = %89
  %186 = load i64, ptr %31, align 8, !tbaa !9
  store i64 %186, ptr %23, align 8, !tbaa !9
  %187 = getelementptr inbounds %struct.doublecomplex, ptr %34, i32 0, i32 0
  %188 = load double, ptr %187, align 8, !tbaa !11
  %189 = load ptr, ptr %15, align 8, !tbaa !5
  %190 = load i64, ptr %23, align 8, !tbaa !9
  %191 = getelementptr inbounds %struct.doublecomplex, ptr %189, i64 %190
  %192 = getelementptr inbounds %struct.doublecomplex, ptr %191, i32 0, i32 0
  store double %188, ptr %192, align 8, !tbaa !11
  %193 = getelementptr inbounds %struct.doublecomplex, ptr %34, i32 0, i32 1
  %194 = load double, ptr %193, align 8, !tbaa !14
  %195 = load ptr, ptr %15, align 8, !tbaa !5
  %196 = load i64, ptr %23, align 8, !tbaa !9
  %197 = getelementptr inbounds %struct.doublecomplex, ptr %195, i64 %196
  %198 = getelementptr inbounds %struct.doublecomplex, ptr %197, i32 0, i32 1
  store double %194, ptr %198, align 8, !tbaa !14
  br label %253

199:                                              ; preds = %89
  %200 = load double, ptr %43, align 8, !tbaa !15
  %201 = load double, ptr %45, align 8, !tbaa !15
  %202 = fcmp ogt double %200, %201
  br i1 %202, label %203, label %217

203:                                              ; preds = %199
  %204 = load i64, ptr %31, align 8, !tbaa !9
  store i64 %204, ptr %23, align 8, !tbaa !9
  %205 = getelementptr inbounds %struct.doublecomplex, ptr %33, i32 0, i32 0
  %206 = load double, ptr %205, align 8, !tbaa !11
  %207 = load ptr, ptr %15, align 8, !tbaa !5
  %208 = load i64, ptr %23, align 8, !tbaa !9
  %209 = getelementptr inbounds %struct.doublecomplex, ptr %207, i64 %208
  %210 = getelementptr inbounds %struct.doublecomplex, ptr %209, i32 0, i32 0
  store double %206, ptr %210, align 8, !tbaa !11
  %211 = getelementptr inbounds %struct.doublecomplex, ptr %33, i32 0, i32 1
  %212 = load double, ptr %211, align 8, !tbaa !14
  %213 = load ptr, ptr %15, align 8, !tbaa !5
  %214 = load i64, ptr %23, align 8, !tbaa !9
  %215 = getelementptr inbounds %struct.doublecomplex, ptr %213, i64 %214
  %216 = getelementptr inbounds %struct.doublecomplex, ptr %215, i32 0, i32 1
  store double %212, ptr %216, align 8, !tbaa !14
  br label %252

217:                                              ; preds = %199
  %218 = load i64, ptr %31, align 8, !tbaa !9
  store i64 %218, ptr %23, align 8, !tbaa !9
  %219 = load i64, ptr %31, align 8, !tbaa !9
  store i64 %219, ptr %24, align 8, !tbaa !9
  %220 = load ptr, ptr %15, align 8, !tbaa !5
  %221 = load i64, ptr %24, align 8, !tbaa !9
  %222 = getelementptr inbounds %struct.doublecomplex, ptr %220, i64 %221
  %223 = getelementptr inbounds %struct.doublecomplex, ptr %222, i32 0, i32 0
  %224 = load double, ptr %223, align 8, !tbaa !11
  %225 = getelementptr inbounds %struct.doublecomplex, ptr %41, i32 0, i32 0
  %226 = load double, ptr %225, align 8, !tbaa !11
  %227 = fadd double %224, %226
  %228 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  store double %227, ptr %228, align 8, !tbaa !11
  %229 = load ptr, ptr %15, align 8, !tbaa !5
  %230 = load i64, ptr %24, align 8, !tbaa !9
  %231 = getelementptr inbounds %struct.doublecomplex, ptr %229, i64 %230
  %232 = getelementptr inbounds %struct.doublecomplex, ptr %231, i32 0, i32 1
  %233 = load double, ptr %232, align 8, !tbaa !14
  %234 = getelementptr inbounds %struct.doublecomplex, ptr %41, i32 0, i32 1
  %235 = load double, ptr %234, align 8, !tbaa !14
  %236 = fadd double %233, %235
  %237 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  store double %236, ptr %237, align 8, !tbaa !14
  %238 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  %239 = load double, ptr %238, align 8, !tbaa !11
  %240 = load ptr, ptr %15, align 8, !tbaa !5
  %241 = load i64, ptr %23, align 8, !tbaa !9
  %242 = getelementptr inbounds %struct.doublecomplex, ptr %240, i64 %241
  %243 = getelementptr inbounds %struct.doublecomplex, ptr %242, i32 0, i32 0
  store double %239, ptr %243, align 8, !tbaa !11
  %244 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  %245 = load double, ptr %244, align 8, !tbaa !14
  %246 = load ptr, ptr %15, align 8, !tbaa !5
  %247 = load i64, ptr %23, align 8, !tbaa !9
  %248 = getelementptr inbounds %struct.doublecomplex, ptr %246, i64 %247
  %249 = getelementptr inbounds %struct.doublecomplex, ptr %248, i32 0, i32 1
  store double %245, ptr %249, align 8, !tbaa !14
  %250 = getelementptr inbounds %struct.doublecomplex, ptr %41, i32 0, i32 0
  store double 1.000000e+00, ptr %250, align 8, !tbaa !11
  %251 = getelementptr inbounds %struct.doublecomplex, ptr %41, i32 0, i32 1
  store double 0.000000e+00, ptr %251, align 8, !tbaa !14
  br label %252

252:                                              ; preds = %217, %203
  br label %253

253:                                              ; preds = %252, %185
  %254 = load i64, ptr %31, align 8, !tbaa !9
  store i64 %254, ptr %23, align 8, !tbaa !9
  %255 = load ptr, ptr %15, align 8, !tbaa !5
  %256 = load i64, ptr %23, align 8, !tbaa !9
  %257 = getelementptr inbounds %struct.doublecomplex, ptr %255, i64 %256
  %258 = getelementptr inbounds %struct.doublecomplex, ptr %257, i32 0, i32 0
  %259 = load double, ptr %258, align 8, !tbaa !11
  %260 = fneg double %259
  %261 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  store double %260, ptr %261, align 8, !tbaa !11
  %262 = load ptr, ptr %15, align 8, !tbaa !5
  %263 = load i64, ptr %23, align 8, !tbaa !9
  %264 = getelementptr inbounds %struct.doublecomplex, ptr %262, i64 %263
  %265 = getelementptr inbounds %struct.doublecomplex, ptr %264, i32 0, i32 1
  %266 = load double, ptr %265, align 8, !tbaa !14
  %267 = fneg double %266
  %268 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  store double %267, ptr %268, align 8, !tbaa !14
  %269 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  %270 = load double, ptr %269, align 8, !tbaa !11
  %271 = getelementptr inbounds %struct.doublecomplex, ptr %38, i32 0, i32 0
  store double %270, ptr %271, align 8, !tbaa !11
  %272 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  %273 = load double, ptr %272, align 8, !tbaa !14
  %274 = getelementptr inbounds %struct.doublecomplex, ptr %38, i32 0, i32 1
  store double %273, ptr %274, align 8, !tbaa !14
  %275 = load ptr, ptr %12, align 8, !tbaa !5
  %276 = load i64, ptr %275, align 8, !tbaa !9
  %277 = load i64, ptr %31, align 8, !tbaa !9
  %278 = sub nsw i64 %276, %277
  store i64 %278, ptr %23, align 8, !tbaa !9
  %279 = load ptr, ptr %13, align 8, !tbaa !5
  %280 = load i64, ptr %31, align 8, !tbaa !9
  %281 = add nsw i64 %280, 1
  %282 = load i64, ptr %31, align 8, !tbaa !9
  %283 = load i64, ptr %20, align 8, !tbaa !9
  %284 = mul nsw i64 %282, %283
  %285 = add nsw i64 %281, %284
  %286 = getelementptr inbounds %struct.doublecomplex, ptr %279, i64 %285
  %287 = load ptr, ptr %15, align 8, !tbaa !5
  %288 = load i64, ptr %31, align 8, !tbaa !9
  %289 = add nsw i64 %288, 1
  %290 = getelementptr inbounds %struct.doublecomplex, ptr %287, i64 %289
  %291 = call i32 @f2c_zaxpy(ptr noundef %23, ptr noundef %38, ptr noundef %286, ptr noundef @c__1, ptr noundef %290, ptr noundef @c__1)
  br label %292

292:                                              ; preds = %253
  %293 = load i64, ptr %31, align 8, !tbaa !9
  %294 = add nsw i64 %293, 1
  store i64 %294, ptr %31, align 8, !tbaa !9
  br label %85, !llvm.loop !16

295:                                              ; preds = %85
  %296 = load ptr, ptr %12, align 8, !tbaa !5
  %297 = load i64, ptr %296, align 8, !tbaa !9
  %298 = sub nsw i64 %297, 1
  store i64 %298, ptr %22, align 8, !tbaa !9
  %299 = load ptr, ptr %15, align 8, !tbaa !5
  %300 = getelementptr inbounds %struct.doublecomplex, ptr %299, i64 1
  %301 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %39, i64 0, i64 0
  %302 = call i32 @f2c_zcopy(ptr noundef %22, ptr noundef %300, ptr noundef @c__1, ptr noundef %301, ptr noundef @c__1)
  %303 = load ptr, ptr %12, align 8, !tbaa !5
  %304 = load i64, ptr %303, align 8, !tbaa !9
  %305 = sub nsw i64 %304, 1
  store i64 %305, ptr %22, align 8, !tbaa !9
  %306 = load ptr, ptr %12, align 8, !tbaa !5
  %307 = load i64, ptr %306, align 8, !tbaa !9
  store i64 %307, ptr %23, align 8, !tbaa !9
  %308 = load ptr, ptr %15, align 8, !tbaa !5
  %309 = load i64, ptr %23, align 8, !tbaa !9
  %310 = getelementptr inbounds %struct.doublecomplex, ptr %308, i64 %309
  %311 = getelementptr inbounds %struct.doublecomplex, ptr %310, i32 0, i32 0
  %312 = load double, ptr %311, align 8, !tbaa !11
  %313 = fadd double %312, 1.000000e+00
  %314 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  store double %313, ptr %314, align 8, !tbaa !11
  %315 = load ptr, ptr %15, align 8, !tbaa !5
  %316 = load i64, ptr %23, align 8, !tbaa !9
  %317 = getelementptr inbounds %struct.doublecomplex, ptr %315, i64 %316
  %318 = getelementptr inbounds %struct.doublecomplex, ptr %317, i32 0, i32 1
  %319 = load double, ptr %318, align 8, !tbaa !14
  %320 = fadd double %319, 0.000000e+00
  %321 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  store double %320, ptr %321, align 8, !tbaa !14
  %322 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  %323 = load double, ptr %322, align 8, !tbaa !11
  %324 = load i64, ptr %22, align 8, !tbaa !9
  %325 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %39, i64 0, i64 %324
  %326 = getelementptr inbounds %struct.doublecomplex, ptr %325, i32 0, i32 0
  store double %323, ptr %326, align 16, !tbaa !11
  %327 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  %328 = load double, ptr %327, align 8, !tbaa !14
  %329 = load i64, ptr %22, align 8, !tbaa !9
  %330 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %39, i64 0, i64 %329
  %331 = getelementptr inbounds %struct.doublecomplex, ptr %330, i32 0, i32 1
  store double %328, ptr %331, align 8, !tbaa !14
  %332 = load ptr, ptr %12, align 8, !tbaa !5
  %333 = load i64, ptr %332, align 8, !tbaa !9
  store i64 %333, ptr %22, align 8, !tbaa !9
  %334 = load ptr, ptr %12, align 8, !tbaa !5
  %335 = load i64, ptr %334, align 8, !tbaa !9
  store i64 %335, ptr %23, align 8, !tbaa !9
  %336 = load ptr, ptr %15, align 8, !tbaa !5
  %337 = load i64, ptr %23, align 8, !tbaa !9
  %338 = getelementptr inbounds %struct.doublecomplex, ptr %336, i64 %337
  %339 = getelementptr inbounds %struct.doublecomplex, ptr %338, i32 0, i32 0
  %340 = load double, ptr %339, align 8, !tbaa !11
  %341 = fsub double %340, 1.000000e+00
  %342 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  store double %341, ptr %342, align 8, !tbaa !11
  %343 = load ptr, ptr %15, align 8, !tbaa !5
  %344 = load i64, ptr %23, align 8, !tbaa !9
  %345 = getelementptr inbounds %struct.doublecomplex, ptr %343, i64 %344
  %346 = getelementptr inbounds %struct.doublecomplex, ptr %345, i32 0, i32 1
  %347 = load double, ptr %346, align 8, !tbaa !14
  %348 = fsub double %347, 0.000000e+00
  %349 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  store double %348, ptr %349, align 8, !tbaa !14
  %350 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  %351 = load double, ptr %350, align 8, !tbaa !11
  %352 = load ptr, ptr %15, align 8, !tbaa !5
  %353 = load i64, ptr %22, align 8, !tbaa !9
  %354 = getelementptr inbounds %struct.doublecomplex, ptr %352, i64 %353
  %355 = getelementptr inbounds %struct.doublecomplex, ptr %354, i32 0, i32 0
  store double %351, ptr %355, align 8, !tbaa !11
  %356 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  %357 = load double, ptr %356, align 8, !tbaa !14
  %358 = load ptr, ptr %15, align 8, !tbaa !5
  %359 = load i64, ptr %22, align 8, !tbaa !9
  %360 = getelementptr inbounds %struct.doublecomplex, ptr %358, i64 %359
  %361 = getelementptr inbounds %struct.doublecomplex, ptr %360, i32 0, i32 1
  store double %357, ptr %361, align 8, !tbaa !14
  store double 0.000000e+00, ptr %45, align 8, !tbaa !15
  store double 0.000000e+00, ptr %43, align 8, !tbaa !15
  %362 = load ptr, ptr %12, align 8, !tbaa !5
  %363 = load i64, ptr %362, align 8, !tbaa !9
  store i64 %363, ptr %30, align 8, !tbaa !9
  br label %364

364:                                              ; preds = %711, %295
  %365 = load i64, ptr %30, align 8, !tbaa !9
  %366 = icmp sge i64 %365, 1
  br i1 %366, label %367, label %714

367:                                              ; preds = %364
  %368 = load ptr, ptr %13, align 8, !tbaa !5
  %369 = load i64, ptr %30, align 8, !tbaa !9
  %370 = load i64, ptr %30, align 8, !tbaa !9
  %371 = load i64, ptr %20, align 8, !tbaa !9
  %372 = mul nsw i64 %370, %371
  %373 = add nsw i64 %369, %372
  %374 = getelementptr inbounds %struct.doublecomplex, ptr %368, i64 %373
  call void @z_div(ptr noundef %27, ptr noundef @c_b1, ptr noundef %374)
  %375 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  %376 = load double, ptr %375, align 8, !tbaa !11
  %377 = getelementptr inbounds %struct.doublecomplex, ptr %38, i32 0, i32 0
  store double %376, ptr %377, align 8, !tbaa !11
  %378 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  %379 = load double, ptr %378, align 8, !tbaa !14
  %380 = getelementptr inbounds %struct.doublecomplex, ptr %38, i32 0, i32 1
  store double %379, ptr %380, align 8, !tbaa !14
  %381 = load i64, ptr %30, align 8, !tbaa !9
  %382 = sub nsw i64 %381, 1
  store i64 %382, ptr %22, align 8, !tbaa !9
  %383 = load i64, ptr %30, align 8, !tbaa !9
  %384 = sub nsw i64 %383, 1
  store i64 %384, ptr %23, align 8, !tbaa !9
  %385 = load i64, ptr %23, align 8, !tbaa !9
  %386 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %39, i64 0, i64 %385
  %387 = getelementptr inbounds %struct.doublecomplex, ptr %386, i32 0, i32 0
  %388 = load double, ptr %387, align 16, !tbaa !11
  %389 = getelementptr inbounds %struct.doublecomplex, ptr %38, i32 0, i32 0
  %390 = load double, ptr %389, align 8, !tbaa !11
  %391 = load i64, ptr %23, align 8, !tbaa !9
  %392 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %39, i64 0, i64 %391
  %393 = getelementptr inbounds %struct.doublecomplex, ptr %392, i32 0, i32 1
  %394 = load double, ptr %393, align 8, !tbaa !14
  %395 = getelementptr inbounds %struct.doublecomplex, ptr %38, i32 0, i32 1
  %396 = load double, ptr %395, align 8, !tbaa !14
  %397 = fmul double %394, %396
  %398 = fneg double %397
  %399 = call double @llvm.fmuladd.f64(double %388, double %390, double %398)
  %400 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  store double %399, ptr %400, align 8, !tbaa !11
  %401 = load i64, ptr %23, align 8, !tbaa !9
  %402 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %39, i64 0, i64 %401
  %403 = getelementptr inbounds %struct.doublecomplex, ptr %402, i32 0, i32 0
  %404 = load double, ptr %403, align 16, !tbaa !11
  %405 = getelementptr inbounds %struct.doublecomplex, ptr %38, i32 0, i32 1
  %406 = load double, ptr %405, align 8, !tbaa !14
  %407 = load i64, ptr %23, align 8, !tbaa !9
  %408 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %39, i64 0, i64 %407
  %409 = getelementptr inbounds %struct.doublecomplex, ptr %408, i32 0, i32 1
  %410 = load double, ptr %409, align 8, !tbaa !14
  %411 = getelementptr inbounds %struct.doublecomplex, ptr %38, i32 0, i32 0
  %412 = load double, ptr %411, align 8, !tbaa !11
  %413 = fmul double %410, %412
  %414 = call double @llvm.fmuladd.f64(double %404, double %406, double %413)
  %415 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  store double %414, ptr %415, align 8, !tbaa !14
  %416 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  %417 = load double, ptr %416, align 8, !tbaa !11
  %418 = load i64, ptr %22, align 8, !tbaa !9
  %419 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %39, i64 0, i64 %418
  %420 = getelementptr inbounds %struct.doublecomplex, ptr %419, i32 0, i32 0
  store double %417, ptr %420, align 16, !tbaa !11
  %421 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  %422 = load double, ptr %421, align 8, !tbaa !14
  %423 = load i64, ptr %22, align 8, !tbaa !9
  %424 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %39, i64 0, i64 %423
  %425 = getelementptr inbounds %struct.doublecomplex, ptr %424, i32 0, i32 1
  store double %422, ptr %425, align 8, !tbaa !14
  %426 = load i64, ptr %30, align 8, !tbaa !9
  store i64 %426, ptr %22, align 8, !tbaa !9
  %427 = load i64, ptr %30, align 8, !tbaa !9
  store i64 %427, ptr %23, align 8, !tbaa !9
  %428 = load ptr, ptr %15, align 8, !tbaa !5
  %429 = load i64, ptr %23, align 8, !tbaa !9
  %430 = getelementptr inbounds %struct.doublecomplex, ptr %428, i64 %429
  %431 = getelementptr inbounds %struct.doublecomplex, ptr %430, i32 0, i32 0
  %432 = load double, ptr %431, align 8, !tbaa !11
  %433 = getelementptr inbounds %struct.doublecomplex, ptr %38, i32 0, i32 0
  %434 = load double, ptr %433, align 8, !tbaa !11
  %435 = load ptr, ptr %15, align 8, !tbaa !5
  %436 = load i64, ptr %23, align 8, !tbaa !9
  %437 = getelementptr inbounds %struct.doublecomplex, ptr %435, i64 %436
  %438 = getelementptr inbounds %struct.doublecomplex, ptr %437, i32 0, i32 1
  %439 = load double, ptr %438, align 8, !tbaa !14
  %440 = getelementptr inbounds %struct.doublecomplex, ptr %38, i32 0, i32 1
  %441 = load double, ptr %440, align 8, !tbaa !14
  %442 = fmul double %439, %441
  %443 = fneg double %442
  %444 = call double @llvm.fmuladd.f64(double %432, double %434, double %443)
  %445 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  store double %444, ptr %445, align 8, !tbaa !11
  %446 = load ptr, ptr %15, align 8, !tbaa !5
  %447 = load i64, ptr %23, align 8, !tbaa !9
  %448 = getelementptr inbounds %struct.doublecomplex, ptr %446, i64 %447
  %449 = getelementptr inbounds %struct.doublecomplex, ptr %448, i32 0, i32 0
  %450 = load double, ptr %449, align 8, !tbaa !11
  %451 = getelementptr inbounds %struct.doublecomplex, ptr %38, i32 0, i32 1
  %452 = load double, ptr %451, align 8, !tbaa !14
  %453 = load ptr, ptr %15, align 8, !tbaa !5
  %454 = load i64, ptr %23, align 8, !tbaa !9
  %455 = getelementptr inbounds %struct.doublecomplex, ptr %453, i64 %454
  %456 = getelementptr inbounds %struct.doublecomplex, ptr %455, i32 0, i32 1
  %457 = load double, ptr %456, align 8, !tbaa !14
  %458 = getelementptr inbounds %struct.doublecomplex, ptr %38, i32 0, i32 0
  %459 = load double, ptr %458, align 8, !tbaa !11
  %460 = fmul double %457, %459
  %461 = call double @llvm.fmuladd.f64(double %450, double %452, double %460)
  %462 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  store double %461, ptr %462, align 8, !tbaa !14
  %463 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  %464 = load double, ptr %463, align 8, !tbaa !11
  %465 = load ptr, ptr %15, align 8, !tbaa !5
  %466 = load i64, ptr %22, align 8, !tbaa !9
  %467 = getelementptr inbounds %struct.doublecomplex, ptr %465, i64 %466
  %468 = getelementptr inbounds %struct.doublecomplex, ptr %467, i32 0, i32 0
  store double %464, ptr %468, align 8, !tbaa !11
  %469 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  %470 = load double, ptr %469, align 8, !tbaa !14
  %471 = load ptr, ptr %15, align 8, !tbaa !5
  %472 = load i64, ptr %22, align 8, !tbaa !9
  %473 = getelementptr inbounds %struct.doublecomplex, ptr %471, i64 %472
  %474 = getelementptr inbounds %struct.doublecomplex, ptr %473, i32 0, i32 1
  store double %470, ptr %474, align 8, !tbaa !14
  %475 = load ptr, ptr %12, align 8, !tbaa !5
  %476 = load i64, ptr %475, align 8, !tbaa !9
  store i64 %476, ptr %22, align 8, !tbaa !9
  %477 = load i64, ptr %30, align 8, !tbaa !9
  %478 = add nsw i64 %477, 1
  store i64 %478, ptr %32, align 8, !tbaa !9
  br label %479

479:                                              ; preds = %695, %367
  %480 = load i64, ptr %32, align 8, !tbaa !9
  %481 = load i64, ptr %22, align 8, !tbaa !9
  %482 = icmp sle i64 %480, %481
  br i1 %482, label %483, label %698

483:                                              ; preds = %479
  %484 = load i64, ptr %30, align 8, !tbaa !9
  %485 = sub nsw i64 %484, 1
  store i64 %485, ptr %23, align 8, !tbaa !9
  %486 = load i64, ptr %30, align 8, !tbaa !9
  %487 = sub nsw i64 %486, 1
  store i64 %487, ptr %24, align 8, !tbaa !9
  %488 = load i64, ptr %32, align 8, !tbaa !9
  %489 = sub nsw i64 %488, 1
  store i64 %489, ptr %25, align 8, !tbaa !9
  %490 = load i64, ptr %30, align 8, !tbaa !9
  %491 = load i64, ptr %32, align 8, !tbaa !9
  %492 = load i64, ptr %20, align 8, !tbaa !9
  %493 = mul nsw i64 %491, %492
  %494 = add nsw i64 %490, %493
  store i64 %494, ptr %26, align 8, !tbaa !9
  %495 = load ptr, ptr %13, align 8, !tbaa !5
  %496 = load i64, ptr %26, align 8, !tbaa !9
  %497 = getelementptr inbounds %struct.doublecomplex, ptr %495, i64 %496
  %498 = getelementptr inbounds %struct.doublecomplex, ptr %497, i32 0, i32 0
  %499 = load double, ptr %498, align 8, !tbaa !11
  %500 = getelementptr inbounds %struct.doublecomplex, ptr %38, i32 0, i32 0
  %501 = load double, ptr %500, align 8, !tbaa !11
  %502 = load ptr, ptr %13, align 8, !tbaa !5
  %503 = load i64, ptr %26, align 8, !tbaa !9
  %504 = getelementptr inbounds %struct.doublecomplex, ptr %502, i64 %503
  %505 = getelementptr inbounds %struct.doublecomplex, ptr %504, i32 0, i32 1
  %506 = load double, ptr %505, align 8, !tbaa !14
  %507 = getelementptr inbounds %struct.doublecomplex, ptr %38, i32 0, i32 1
  %508 = load double, ptr %507, align 8, !tbaa !14
  %509 = fmul double %506, %508
  %510 = fneg double %509
  %511 = call double @llvm.fmuladd.f64(double %499, double %501, double %510)
  %512 = getelementptr inbounds %struct.doublecomplex, ptr %29, i32 0, i32 0
  store double %511, ptr %512, align 8, !tbaa !11
  %513 = load ptr, ptr %13, align 8, !tbaa !5
  %514 = load i64, ptr %26, align 8, !tbaa !9
  %515 = getelementptr inbounds %struct.doublecomplex, ptr %513, i64 %514
  %516 = getelementptr inbounds %struct.doublecomplex, ptr %515, i32 0, i32 0
  %517 = load double, ptr %516, align 8, !tbaa !11
  %518 = getelementptr inbounds %struct.doublecomplex, ptr %38, i32 0, i32 1
  %519 = load double, ptr %518, align 8, !tbaa !14
  %520 = load ptr, ptr %13, align 8, !tbaa !5
  %521 = load i64, ptr %26, align 8, !tbaa !9
  %522 = getelementptr inbounds %struct.doublecomplex, ptr %520, i64 %521
  %523 = getelementptr inbounds %struct.doublecomplex, ptr %522, i32 0, i32 1
  %524 = load double, ptr %523, align 8, !tbaa !14
  %525 = getelementptr inbounds %struct.doublecomplex, ptr %38, i32 0, i32 0
  %526 = load double, ptr %525, align 8, !tbaa !11
  %527 = fmul double %524, %526
  %528 = call double @llvm.fmuladd.f64(double %517, double %519, double %527)
  %529 = getelementptr inbounds %struct.doublecomplex, ptr %29, i32 0, i32 1
  store double %528, ptr %529, align 8, !tbaa !14
  %530 = load i64, ptr %25, align 8, !tbaa !9
  %531 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %39, i64 0, i64 %530
  %532 = getelementptr inbounds %struct.doublecomplex, ptr %531, i32 0, i32 0
  %533 = load double, ptr %532, align 16, !tbaa !11
  %534 = getelementptr inbounds %struct.doublecomplex, ptr %29, i32 0, i32 0
  %535 = load double, ptr %534, align 8, !tbaa !11
  %536 = load i64, ptr %25, align 8, !tbaa !9
  %537 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %39, i64 0, i64 %536
  %538 = getelementptr inbounds %struct.doublecomplex, ptr %537, i32 0, i32 1
  %539 = load double, ptr %538, align 8, !tbaa !14
  %540 = getelementptr inbounds %struct.doublecomplex, ptr %29, i32 0, i32 1
  %541 = load double, ptr %540, align 8, !tbaa !14
  %542 = fmul double %539, %541
  %543 = fneg double %542
  %544 = call double @llvm.fmuladd.f64(double %533, double %535, double %543)
  %545 = getelementptr inbounds %struct.doublecomplex, ptr %28, i32 0, i32 0
  store double %544, ptr %545, align 8, !tbaa !11
  %546 = load i64, ptr %25, align 8, !tbaa !9
  %547 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %39, i64 0, i64 %546
  %548 = getelementptr inbounds %struct.doublecomplex, ptr %547, i32 0, i32 0
  %549 = load double, ptr %548, align 16, !tbaa !11
  %550 = getelementptr inbounds %struct.doublecomplex, ptr %29, i32 0, i32 1
  %551 = load double, ptr %550, align 8, !tbaa !14
  %552 = load i64, ptr %25, align 8, !tbaa !9
  %553 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %39, i64 0, i64 %552
  %554 = getelementptr inbounds %struct.doublecomplex, ptr %553, i32 0, i32 1
  %555 = load double, ptr %554, align 8, !tbaa !14
  %556 = getelementptr inbounds %struct.doublecomplex, ptr %29, i32 0, i32 0
  %557 = load double, ptr %556, align 8, !tbaa !11
  %558 = fmul double %555, %557
  %559 = call double @llvm.fmuladd.f64(double %549, double %551, double %558)
  %560 = getelementptr inbounds %struct.doublecomplex, ptr %28, i32 0, i32 1
  store double %559, ptr %560, align 8, !tbaa !14
  %561 = load i64, ptr %24, align 8, !tbaa !9
  %562 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %39, i64 0, i64 %561
  %563 = getelementptr inbounds %struct.doublecomplex, ptr %562, i32 0, i32 0
  %564 = load double, ptr %563, align 16, !tbaa !11
  %565 = getelementptr inbounds %struct.doublecomplex, ptr %28, i32 0, i32 0
  %566 = load double, ptr %565, align 8, !tbaa !11
  %567 = fsub double %564, %566
  %568 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  store double %567, ptr %568, align 8, !tbaa !11
  %569 = load i64, ptr %24, align 8, !tbaa !9
  %570 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %39, i64 0, i64 %569
  %571 = getelementptr inbounds %struct.doublecomplex, ptr %570, i32 0, i32 1
  %572 = load double, ptr %571, align 8, !tbaa !14
  %573 = getelementptr inbounds %struct.doublecomplex, ptr %28, i32 0, i32 1
  %574 = load double, ptr %573, align 8, !tbaa !14
  %575 = fsub double %572, %574
  %576 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  store double %575, ptr %576, align 8, !tbaa !14
  %577 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  %578 = load double, ptr %577, align 8, !tbaa !11
  %579 = load i64, ptr %23, align 8, !tbaa !9
  %580 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %39, i64 0, i64 %579
  %581 = getelementptr inbounds %struct.doublecomplex, ptr %580, i32 0, i32 0
  store double %578, ptr %581, align 16, !tbaa !11
  %582 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  %583 = load double, ptr %582, align 8, !tbaa !14
  %584 = load i64, ptr %23, align 8, !tbaa !9
  %585 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %39, i64 0, i64 %584
  %586 = getelementptr inbounds %struct.doublecomplex, ptr %585, i32 0, i32 1
  store double %583, ptr %586, align 8, !tbaa !14
  %587 = load i64, ptr %30, align 8, !tbaa !9
  store i64 %587, ptr %23, align 8, !tbaa !9
  %588 = load i64, ptr %30, align 8, !tbaa !9
  store i64 %588, ptr %24, align 8, !tbaa !9
  %589 = load i64, ptr %32, align 8, !tbaa !9
  store i64 %589, ptr %25, align 8, !tbaa !9
  %590 = load i64, ptr %30, align 8, !tbaa !9
  %591 = load i64, ptr %32, align 8, !tbaa !9
  %592 = load i64, ptr %20, align 8, !tbaa !9
  %593 = mul nsw i64 %591, %592
  %594 = add nsw i64 %590, %593
  store i64 %594, ptr %26, align 8, !tbaa !9
  %595 = load ptr, ptr %13, align 8, !tbaa !5
  %596 = load i64, ptr %26, align 8, !tbaa !9
  %597 = getelementptr inbounds %struct.doublecomplex, ptr %595, i64 %596
  %598 = getelementptr inbounds %struct.doublecomplex, ptr %597, i32 0, i32 0
  %599 = load double, ptr %598, align 8, !tbaa !11
  %600 = getelementptr inbounds %struct.doublecomplex, ptr %38, i32 0, i32 0
  %601 = load double, ptr %600, align 8, !tbaa !11
  %602 = load ptr, ptr %13, align 8, !tbaa !5
  %603 = load i64, ptr %26, align 8, !tbaa !9
  %604 = getelementptr inbounds %struct.doublecomplex, ptr %602, i64 %603
  %605 = getelementptr inbounds %struct.doublecomplex, ptr %604, i32 0, i32 1
  %606 = load double, ptr %605, align 8, !tbaa !14
  %607 = getelementptr inbounds %struct.doublecomplex, ptr %38, i32 0, i32 1
  %608 = load double, ptr %607, align 8, !tbaa !14
  %609 = fmul double %606, %608
  %610 = fneg double %609
  %611 = call double @llvm.fmuladd.f64(double %599, double %601, double %610)
  %612 = getelementptr inbounds %struct.doublecomplex, ptr %29, i32 0, i32 0
  store double %611, ptr %612, align 8, !tbaa !11
  %613 = load ptr, ptr %13, align 8, !tbaa !5
  %614 = load i64, ptr %26, align 8, !tbaa !9
  %615 = getelementptr inbounds %struct.doublecomplex, ptr %613, i64 %614
  %616 = getelementptr inbounds %struct.doublecomplex, ptr %615, i32 0, i32 0
  %617 = load double, ptr %616, align 8, !tbaa !11
  %618 = getelementptr inbounds %struct.doublecomplex, ptr %38, i32 0, i32 1
  %619 = load double, ptr %618, align 8, !tbaa !14
  %620 = load ptr, ptr %13, align 8, !tbaa !5
  %621 = load i64, ptr %26, align 8, !tbaa !9
  %622 = getelementptr inbounds %struct.doublecomplex, ptr %620, i64 %621
  %623 = getelementptr inbounds %struct.doublecomplex, ptr %622, i32 0, i32 1
  %624 = load double, ptr %623, align 8, !tbaa !14
  %625 = getelementptr inbounds %struct.doublecomplex, ptr %38, i32 0, i32 0
  %626 = load double, ptr %625, align 8, !tbaa !11
  %627 = fmul double %624, %626
  %628 = call double @llvm.fmuladd.f64(double %617, double %619, double %627)
  %629 = getelementptr inbounds %struct.doublecomplex, ptr %29, i32 0, i32 1
  store double %628, ptr %629, align 8, !tbaa !14
  %630 = load ptr, ptr %15, align 8, !tbaa !5
  %631 = load i64, ptr %25, align 8, !tbaa !9
  %632 = getelementptr inbounds %struct.doublecomplex, ptr %630, i64 %631
  %633 = getelementptr inbounds %struct.doublecomplex, ptr %632, i32 0, i32 0
  %634 = load double, ptr %633, align 8, !tbaa !11
  %635 = getelementptr inbounds %struct.doublecomplex, ptr %29, i32 0, i32 0
  %636 = load double, ptr %635, align 8, !tbaa !11
  %637 = load ptr, ptr %15, align 8, !tbaa !5
  %638 = load i64, ptr %25, align 8, !tbaa !9
  %639 = getelementptr inbounds %struct.doublecomplex, ptr %637, i64 %638
  %640 = getelementptr inbounds %struct.doublecomplex, ptr %639, i32 0, i32 1
  %641 = load double, ptr %640, align 8, !tbaa !14
  %642 = getelementptr inbounds %struct.doublecomplex, ptr %29, i32 0, i32 1
  %643 = load double, ptr %642, align 8, !tbaa !14
  %644 = fmul double %641, %643
  %645 = fneg double %644
  %646 = call double @llvm.fmuladd.f64(double %634, double %636, double %645)
  %647 = getelementptr inbounds %struct.doublecomplex, ptr %28, i32 0, i32 0
  store double %646, ptr %647, align 8, !tbaa !11
  %648 = load ptr, ptr %15, align 8, !tbaa !5
  %649 = load i64, ptr %25, align 8, !tbaa !9
  %650 = getelementptr inbounds %struct.doublecomplex, ptr %648, i64 %649
  %651 = getelementptr inbounds %struct.doublecomplex, ptr %650, i32 0, i32 0
  %652 = load double, ptr %651, align 8, !tbaa !11
  %653 = getelementptr inbounds %struct.doublecomplex, ptr %29, i32 0, i32 1
  %654 = load double, ptr %653, align 8, !tbaa !14
  %655 = load ptr, ptr %15, align 8, !tbaa !5
  %656 = load i64, ptr %25, align 8, !tbaa !9
  %657 = getelementptr inbounds %struct.doublecomplex, ptr %655, i64 %656
  %658 = getelementptr inbounds %struct.doublecomplex, ptr %657, i32 0, i32 1
  %659 = load double, ptr %658, align 8, !tbaa !14
  %660 = getelementptr inbounds %struct.doublecomplex, ptr %29, i32 0, i32 0
  %661 = load double, ptr %660, align 8, !tbaa !11
  %662 = fmul double %659, %661
  %663 = call double @llvm.fmuladd.f64(double %652, double %654, double %662)
  %664 = getelementptr inbounds %struct.doublecomplex, ptr %28, i32 0, i32 1
  store double %663, ptr %664, align 8, !tbaa !14
  %665 = load ptr, ptr %15, align 8, !tbaa !5
  %666 = load i64, ptr %24, align 8, !tbaa !9
  %667 = getelementptr inbounds %struct.doublecomplex, ptr %665, i64 %666
  %668 = getelementptr inbounds %struct.doublecomplex, ptr %667, i32 0, i32 0
  %669 = load double, ptr %668, align 8, !tbaa !11
  %670 = getelementptr inbounds %struct.doublecomplex, ptr %28, i32 0, i32 0
  %671 = load double, ptr %670, align 8, !tbaa !11
  %672 = fsub double %669, %671
  %673 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  store double %672, ptr %673, align 8, !tbaa !11
  %674 = load ptr, ptr %15, align 8, !tbaa !5
  %675 = load i64, ptr %24, align 8, !tbaa !9
  %676 = getelementptr inbounds %struct.doublecomplex, ptr %674, i64 %675
  %677 = getelementptr inbounds %struct.doublecomplex, ptr %676, i32 0, i32 1
  %678 = load double, ptr %677, align 8, !tbaa !14
  %679 = getelementptr inbounds %struct.doublecomplex, ptr %28, i32 0, i32 1
  %680 = load double, ptr %679, align 8, !tbaa !14
  %681 = fsub double %678, %680
  %682 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  store double %681, ptr %682, align 8, !tbaa !14
  %683 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  %684 = load double, ptr %683, align 8, !tbaa !11
  %685 = load ptr, ptr %15, align 8, !tbaa !5
  %686 = load i64, ptr %23, align 8, !tbaa !9
  %687 = getelementptr inbounds %struct.doublecomplex, ptr %685, i64 %686
  %688 = getelementptr inbounds %struct.doublecomplex, ptr %687, i32 0, i32 0
  store double %684, ptr %688, align 8, !tbaa !11
  %689 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  %690 = load double, ptr %689, align 8, !tbaa !14
  %691 = load ptr, ptr %15, align 8, !tbaa !5
  %692 = load i64, ptr %23, align 8, !tbaa !9
  %693 = getelementptr inbounds %struct.doublecomplex, ptr %691, i64 %692
  %694 = getelementptr inbounds %struct.doublecomplex, ptr %693, i32 0, i32 1
  store double %690, ptr %694, align 8, !tbaa !14
  br label %695

695:                                              ; preds = %483
  %696 = load i64, ptr %32, align 8, !tbaa !9
  %697 = add nsw i64 %696, 1
  store i64 %697, ptr %32, align 8, !tbaa !9
  br label %479, !llvm.loop !18

698:                                              ; preds = %479
  %699 = load i64, ptr %30, align 8, !tbaa !9
  %700 = sub nsw i64 %699, 1
  %701 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %39, i64 0, i64 %700
  %702 = call double @z_abs(ptr noundef %701)
  %703 = load double, ptr %45, align 8, !tbaa !15
  %704 = fadd double %703, %702
  store double %704, ptr %45, align 8, !tbaa !15
  %705 = load ptr, ptr %15, align 8, !tbaa !5
  %706 = load i64, ptr %30, align 8, !tbaa !9
  %707 = getelementptr inbounds %struct.doublecomplex, ptr %705, i64 %706
  %708 = call double @z_abs(ptr noundef %707)
  %709 = load double, ptr %43, align 8, !tbaa !15
  %710 = fadd double %709, %708
  store double %710, ptr %43, align 8, !tbaa !15
  br label %711

711:                                              ; preds = %698
  %712 = load i64, ptr %30, align 8, !tbaa !9
  %713 = add nsw i64 %712, -1
  store i64 %713, ptr %30, align 8, !tbaa !9
  br label %364, !llvm.loop !19

714:                                              ; preds = %364
  %715 = load double, ptr %45, align 8, !tbaa !15
  %716 = load double, ptr %43, align 8, !tbaa !15
  %717 = fcmp ogt double %715, %716
  br i1 %717, label %718, label %724

718:                                              ; preds = %714
  %719 = load ptr, ptr %12, align 8, !tbaa !5
  %720 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %39, i64 0, i64 0
  %721 = load ptr, ptr %15, align 8, !tbaa !5
  %722 = getelementptr inbounds %struct.doublecomplex, ptr %721, i64 1
  %723 = call i32 @f2c_zcopy(ptr noundef %719, ptr noundef %720, ptr noundef @c__1, ptr noundef %722, ptr noundef @c__1)
  br label %724

724:                                              ; preds = %718, %714
  %725 = load ptr, ptr %12, align 8, !tbaa !5
  %726 = load i64, ptr %725, align 8, !tbaa !9
  %727 = sub nsw i64 %726, 1
  store i64 %727, ptr %22, align 8, !tbaa !9
  %728 = load ptr, ptr %15, align 8, !tbaa !5
  %729 = getelementptr inbounds %struct.doublecomplex, ptr %728, i64 1
  %730 = load ptr, ptr %14, align 8, !tbaa !5
  %731 = load ptr, ptr %19, align 8, !tbaa !5
  %732 = getelementptr inbounds i64, ptr %731, i64 1
  %733 = call i32 @zlaswp_(ptr noundef @c__1, ptr noundef %729, ptr noundef %730, ptr noundef @c__1, ptr noundef %22, ptr noundef %732, ptr noundef @c_n1)
  %734 = load ptr, ptr %12, align 8, !tbaa !5
  %735 = load ptr, ptr %15, align 8, !tbaa !5
  %736 = getelementptr inbounds %struct.doublecomplex, ptr %735, i64 1
  %737 = load ptr, ptr %17, align 8, !tbaa !5
  %738 = load ptr, ptr %16, align 8, !tbaa !5
  %739 = call i32 @zlassq_(ptr noundef %734, ptr noundef %736, ptr noundef @c__1, ptr noundef %737, ptr noundef %738)
  store i32 0, ptr %10, align 4
  store i32 1, ptr %46, align 4
  br label %835

740:                                              ; preds = %9
  %741 = load ptr, ptr %12, align 8, !tbaa !5
  %742 = load ptr, ptr %13, align 8, !tbaa !5
  %743 = load i64, ptr %21, align 8, !tbaa !9
  %744 = getelementptr inbounds %struct.doublecomplex, ptr %742, i64 %743
  %745 = load ptr, ptr %14, align 8, !tbaa !5
  %746 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %39, i64 0, i64 0
  %747 = getelementptr inbounds [2 x double], ptr %44, i64 0, i64 0
  %748 = call i32 @zgecon_(ptr noundef @.str, ptr noundef %741, ptr noundef %744, ptr noundef %745, ptr noundef @c_b24, ptr noundef %42, ptr noundef %746, ptr noundef %747, ptr noundef %37)
  %749 = load ptr, ptr %12, align 8, !tbaa !5
  %750 = load ptr, ptr %12, align 8, !tbaa !5
  %751 = load i64, ptr %750, align 8, !tbaa !9
  %752 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %39, i64 0, i64 %751
  %753 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %35, i64 0, i64 0
  %754 = call i32 @f2c_zcopy(ptr noundef %749, ptr noundef %752, ptr noundef @c__1, ptr noundef %753, ptr noundef @c__1)
  %755 = load ptr, ptr %12, align 8, !tbaa !5
  %756 = load i64, ptr %755, align 8, !tbaa !9
  %757 = sub nsw i64 %756, 1
  store i64 %757, ptr %22, align 8, !tbaa !9
  %758 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %35, i64 0, i64 0
  %759 = load ptr, ptr %14, align 8, !tbaa !5
  %760 = load ptr, ptr %18, align 8, !tbaa !5
  %761 = getelementptr inbounds i64, ptr %760, i64 1
  %762 = call i32 @zlaswp_(ptr noundef @c__1, ptr noundef %758, ptr noundef %759, ptr noundef @c__1, ptr noundef %22, ptr noundef %761, ptr noundef @c_n1)
  %763 = load ptr, ptr %12, align 8, !tbaa !5
  %764 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %35, i64 0, i64 0
  %765 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %35, i64 0, i64 0
  call void @f2c_zdotc(ptr noundef %29, ptr noundef %763, ptr noundef %764, ptr noundef @c__1, ptr noundef %765, ptr noundef @c__1)
  call void @z_sqrt(ptr noundef %28, ptr noundef %29)
  call void @z_div(ptr noundef %27, ptr noundef @c_b1, ptr noundef %28)
  %766 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  %767 = load double, ptr %766, align 8, !tbaa !11
  %768 = getelementptr inbounds %struct.doublecomplex, ptr %38, i32 0, i32 0
  store double %767, ptr %768, align 8, !tbaa !11
  %769 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  %770 = load double, ptr %769, align 8, !tbaa !14
  %771 = getelementptr inbounds %struct.doublecomplex, ptr %38, i32 0, i32 1
  store double %770, ptr %771, align 8, !tbaa !14
  %772 = load ptr, ptr %12, align 8, !tbaa !5
  %773 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %35, i64 0, i64 0
  %774 = call i32 @f2c_zscal(ptr noundef %772, ptr noundef %38, ptr noundef %773, ptr noundef @c__1)
  %775 = load ptr, ptr %12, align 8, !tbaa !5
  %776 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %35, i64 0, i64 0
  %777 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %36, i64 0, i64 0
  %778 = call i32 @f2c_zcopy(ptr noundef %775, ptr noundef %776, ptr noundef @c__1, ptr noundef %777, ptr noundef @c__1)
  %779 = load ptr, ptr %12, align 8, !tbaa !5
  %780 = load ptr, ptr %15, align 8, !tbaa !5
  %781 = getelementptr inbounds %struct.doublecomplex, ptr %780, i64 1
  %782 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %36, i64 0, i64 0
  %783 = call i32 @f2c_zaxpy(ptr noundef %779, ptr noundef @c_b1, ptr noundef %781, ptr noundef @c__1, ptr noundef %782, ptr noundef @c__1)
  %784 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  store double -1.000000e+00, ptr %784, align 8, !tbaa !11
  %785 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  store double -0.000000e+00, ptr %785, align 8, !tbaa !14
  %786 = load ptr, ptr %12, align 8, !tbaa !5
  %787 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %35, i64 0, i64 0
  %788 = load ptr, ptr %15, align 8, !tbaa !5
  %789 = getelementptr inbounds %struct.doublecomplex, ptr %788, i64 1
  %790 = call i32 @f2c_zaxpy(ptr noundef %786, ptr noundef %27, ptr noundef %787, ptr noundef @c__1, ptr noundef %789, ptr noundef @c__1)
  %791 = load ptr, ptr %12, align 8, !tbaa !5
  %792 = load ptr, ptr %13, align 8, !tbaa !5
  %793 = load i64, ptr %21, align 8, !tbaa !9
  %794 = getelementptr inbounds %struct.doublecomplex, ptr %792, i64 %793
  %795 = load ptr, ptr %14, align 8, !tbaa !5
  %796 = load ptr, ptr %15, align 8, !tbaa !5
  %797 = getelementptr inbounds %struct.doublecomplex, ptr %796, i64 1
  %798 = load ptr, ptr %18, align 8, !tbaa !5
  %799 = getelementptr inbounds i64, ptr %798, i64 1
  %800 = load ptr, ptr %19, align 8, !tbaa !5
  %801 = getelementptr inbounds i64, ptr %800, i64 1
  %802 = call i32 @zgesc2_(ptr noundef %791, ptr noundef %794, ptr noundef %795, ptr noundef %797, ptr noundef %799, ptr noundef %801, ptr noundef %40)
  %803 = load ptr, ptr %12, align 8, !tbaa !5
  %804 = load ptr, ptr %13, align 8, !tbaa !5
  %805 = load i64, ptr %21, align 8, !tbaa !9
  %806 = getelementptr inbounds %struct.doublecomplex, ptr %804, i64 %805
  %807 = load ptr, ptr %14, align 8, !tbaa !5
  %808 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %36, i64 0, i64 0
  %809 = load ptr, ptr %18, align 8, !tbaa !5
  %810 = getelementptr inbounds i64, ptr %809, i64 1
  %811 = load ptr, ptr %19, align 8, !tbaa !5
  %812 = getelementptr inbounds i64, ptr %811, i64 1
  %813 = call i32 @zgesc2_(ptr noundef %803, ptr noundef %806, ptr noundef %807, ptr noundef %808, ptr noundef %810, ptr noundef %812, ptr noundef %40)
  %814 = load ptr, ptr %12, align 8, !tbaa !5
  %815 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %36, i64 0, i64 0
  %816 = call double @f2c_dzasum(ptr noundef %814, ptr noundef %815, ptr noundef @c__1)
  %817 = load ptr, ptr %12, align 8, !tbaa !5
  %818 = load ptr, ptr %15, align 8, !tbaa !5
  %819 = getelementptr inbounds %struct.doublecomplex, ptr %818, i64 1
  %820 = call double @f2c_dzasum(ptr noundef %817, ptr noundef %819, ptr noundef @c__1)
  %821 = fcmp ogt double %816, %820
  br i1 %821, label %822, label %828

822:                                              ; preds = %740
  %823 = load ptr, ptr %12, align 8, !tbaa !5
  %824 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %36, i64 0, i64 0
  %825 = load ptr, ptr %15, align 8, !tbaa !5
  %826 = getelementptr inbounds %struct.doublecomplex, ptr %825, i64 1
  %827 = call i32 @f2c_zcopy(ptr noundef %823, ptr noundef %824, ptr noundef @c__1, ptr noundef %826, ptr noundef @c__1)
  br label %828

828:                                              ; preds = %822, %740
  %829 = load ptr, ptr %12, align 8, !tbaa !5
  %830 = load ptr, ptr %15, align 8, !tbaa !5
  %831 = getelementptr inbounds %struct.doublecomplex, ptr %830, i64 1
  %832 = load ptr, ptr %17, align 8, !tbaa !5
  %833 = load ptr, ptr %16, align 8, !tbaa !5
  %834 = call i32 @zlassq_(ptr noundef %829, ptr noundef %831, ptr noundef @c__1, ptr noundef %832, ptr noundef %833)
  store i32 0, ptr %10, align 4
  store i32 1, ptr %46, align 4
  br label %835

835:                                              ; preds = %828, %724
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #4
  call void @llvm.lifetime.end.p0(i64 128, ptr %39) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  %836 = load i32, ptr %10, align 4
  ret i32 %836
}

; 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

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

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

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

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

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

declare double @z_abs(ptr noundef) #2

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !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 i64, align 8
@c_b1 = external hidden global %struct.doublecomplex, align 8
@c_n1 = external hidden global i64, align 8
@.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 noundef i32 @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 i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca %struct.doublecomplex, align 16
  %13 = alloca %struct.doublecomplex, align 8
  %14 = alloca %struct.doublecomplex, align 8
  %15 = alloca [2 x %struct.doublecomplex], align 16
  %16 = alloca [2 x %struct.doublecomplex], align 16
  %17 = alloca i64, align 8
  %18 = alloca %struct.doublecomplex, align 16
  %19 = alloca [8 x %struct.doublecomplex], align 16
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca [2 x double], align 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #4
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %19) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #4
  %23 = load i64, ptr %3, align 8, !tbaa !5
  %24 = xor i64 %23, -1
  %25 = getelementptr inbounds %struct.doublecomplex, ptr %2, i64 %24
  %26 = getelementptr inbounds i8, ptr %4, i64 -16
  %27 = load i64, ptr %0, align 8, !tbaa !5
  %.not = icmp eq i64 %27, 2
  br i1 %.not, label %172, label %28

28:                                               ; preds = %9
  %29 = load i64, ptr %1, align 8, !tbaa !5
  %30 = add nsw i64 %29, -1
  store i64 %30, ptr %10, align 8, !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) #4
  %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 i64, ptr %1, align 8, !tbaa !5
  %34 = add nsw i64 %33, -1
  store i64 %34, ptr %10, align 8, !tbaa !5
  %.not218220 = icmp slt i64 %33, 2
  br i1 %.not218220, label %._crit_edge, label %.lr.ph

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

57:                                               ; preds = %.lr.ph
  %58 = fcmp ogt double %53, %55
  %59 = insertelement <2 x double> %37, double %40, i64 0
  br i1 %58, label %66, label %60

60:                                               ; preds = %57
  %61 = getelementptr inbounds i8, ptr %36, i64 8
  %62 = load double, ptr %61, align 8, !tbaa !13
  %63 = insertelement <2 x double> poison, double %54, i64 0
  %64 = insertelement <2 x double> %63, double %62, i64 1
  %65 = fadd <2 x double> %35, %64
  br label %66

66:                                               ; preds = %57, %.lr.ph, %60
  %67 = phi <2 x double> [ %65, %60 ], [ %38, %.lr.ph ], [ %59, %57 ]
  %68 = phi <2 x double> [ <double 1.000000e+00, double 0.000000e+00>, %60 ], [ %35, %.lr.ph ], [ %35, %57 ]
  store <2 x double> %67, ptr %36, align 8, !tbaa !9
  %69 = fneg <2 x double> %67
  store <2 x double> %69, ptr %12, align 16, !tbaa !9
  store <2 x double> %69, ptr %18, align 16, !tbaa !9
  %70 = load i64, ptr %1, align 8, !tbaa !5
  %71 = sub nsw i64 %70, %.0214221
  store i64 %71, ptr %11, align 8, !tbaa !5
  %72 = call i32 @f2c_zaxpy(ptr noundef nonnull %11, ptr noundef nonnull %18, ptr noundef %47, ptr noundef nonnull @c__1, ptr noundef %52, ptr noundef nonnull @c__1) #4
  %73 = load i64, ptr %10, align 8, !tbaa !5
  %.not218.not = icmp slt i64 %.0214221, %73
  br i1 %.not218.not, label %.lr.ph, label %._crit_edge.loopexit, !llvm.loop !14

._crit_edge.loopexit:                             ; preds = %66
  %.pre = load i64, ptr %1, align 8, !tbaa !5
  %.pre258 = add nsw i64 %.pre, -1
  br label %._crit_edge

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

.lr.ph244:                                        ; preds = %._crit_edge
  %85 = add i64 %23, 1
  br label %86

86:                                               ; preds = %.lr.ph244, %159
  %.0242 = phi double [ 0.000000e+00, %.lr.ph244 ], [ %161, %159 ]
  %.0211241 = phi double [ 0.000000e+00, %.lr.ph244 ], [ %163, %159 ]
  %.0215240 = phi i64 [ %75, %.lr.ph244 ], [ %89, %159 ]
  %87 = mul i64 %.0215240, %85
  %88 = getelementptr inbounds %struct.doublecomplex, ptr %25, i64 %87
  call void @z_div(ptr noundef nonnull %12, ptr noundef nonnull @c_b1, ptr noundef %88) #4
  %89 = add nsw i64 %.0215240, -1
  %90 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %19, i64 0, i64 %89
  %91 = load double, ptr %90, align 16, !tbaa !11
  %92 = getelementptr inbounds i8, ptr %90, i64 8
  %93 = load double, ptr %92, align 8, !tbaa !13
  %94 = fneg double %93
  store i64 %.0215240, ptr %11, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.doublecomplex, ptr %26, i64 %.0215240
  %96 = load double, ptr %95, align 8, !tbaa !11
  %97 = getelementptr inbounds i8, ptr %95, i64 8
  %98 = load double, ptr %97, align 8, !tbaa !13
  %99 = fneg double %98
  %100 = load <2 x double>, ptr %12, align 16, !tbaa !9
  store <2 x double> %100, ptr %18, align 16, !tbaa !9
  %101 = insertelement <2 x double> poison, double %93, i64 0
  %102 = insertelement <2 x double> %101, double %94, i64 1
  %103 = fmul <2 x double> %100, %102
  %104 = shufflevector <2 x double> %103, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %105 = insertelement <2 x double> poison, double %91, i64 0
  %106 = shufflevector <2 x double> %105, <2 x double> poison, <2 x i32> zeroinitializer
  %107 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %106, <2 x double> %100, <2 x double> %104)
  store <2 x double> %107, ptr %90, align 16, !tbaa !9
  %108 = insertelement <2 x double> poison, double %98, i64 0
  %109 = insertelement <2 x double> %108, double %99, i64 1
  %110 = fmul <2 x double> %100, %109
  %111 = shufflevector <2 x double> %110, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %112 = insertelement <2 x double> poison, double %96, i64 0
  %113 = shufflevector <2 x double> %112, <2 x double> poison, <2 x i32> zeroinitializer
  %114 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %113, <2 x double> %100, <2 x double> %111)
  store <2 x double> %114, ptr %12, align 16, !tbaa !9
  store <2 x double> %114, ptr %95, align 8, !tbaa !9
  %115 = load i64, ptr %1, align 8, !tbaa !5
  store i64 %115, ptr %10, align 8, !tbaa !5
  %.not219.not226 = icmp slt i64 %.0215240, %115
  br i1 %.not219.not226, label %.lr.ph229, label %159

.lr.ph229:                                        ; preds = %86
  %116 = getelementptr %struct.doublecomplex, ptr %25, i64 %.0215240
  %117 = shufflevector <2 x double> %100, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  br label %118

118:                                              ; preds = %.lr.ph229, %118
  %.0213.in227 = phi i64 [ %.0215240, %.lr.ph229 ], [ %.0213, %118 ]
  %119 = phi <2 x double> [ %114, %.lr.ph229 ], [ %158, %118 ]
  %120 = phi <2 x double> [ %107, %.lr.ph229 ], [ %150, %118 ]
  %.0213 = add nuw nsw i64 %.0213.in227, 1
  %121 = mul nsw i64 %.0213, %23
  %122 = getelementptr %struct.doublecomplex, ptr %116, i64 %121
  %123 = load double, ptr %122, align 8, !tbaa !11
  %124 = getelementptr inbounds i8, ptr %122, i64 8
  %125 = load double, ptr %124, align 8, !tbaa !13
  %126 = fneg double %125
  %127 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %19, i64 0, i64 %.0213.in227
  %128 = load double, ptr %127, align 16, !tbaa !11
  %129 = getelementptr inbounds i8, ptr %127, i64 8
  %130 = load double, ptr %129, align 8, !tbaa !13
  %131 = fneg double %130
  %132 = getelementptr %struct.doublecomplex, ptr %4, i64 %.0213.in227
  %133 = load double, ptr %132, align 8, !tbaa !11
  %134 = getelementptr inbounds i8, ptr %132, i64 8
  %135 = load double, ptr %134, align 8, !tbaa !13
  %136 = fneg double %135
  %137 = insertelement <2 x double> poison, double %126, i64 0
  %138 = insertelement <2 x double> %137, double %125, i64 1
  %139 = fmul <2 x double> %117, %138
  %140 = insertelement <2 x double> poison, double %123, i64 0
  %141 = shufflevector <2 x double> %140, <2 x double> poison, <2 x i32> zeroinitializer
  %142 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %141, <2 x double> %100, <2 x double> %139)
  %143 = insertelement <2 x double> poison, double %130, i64 0
  %144 = insertelement <2 x double> %143, double %131, i64 1
  %145 = fmul <2 x double> %142, %144
  %146 = shufflevector <2 x double> %145, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %147 = insertelement <2 x double> poison, double %128, i64 0
  %148 = shufflevector <2 x double> %147, <2 x double> poison, <2 x i32> zeroinitializer
  %149 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %148, <2 x double> %142, <2 x double> %146)
  %150 = fsub <2 x double> %120, %149
  store <2 x double> %150, ptr %90, align 16, !tbaa !9
  %151 = insertelement <2 x double> poison, double %135, i64 0
  %152 = insertelement <2 x double> %151, double %136, i64 1
  %153 = fmul <2 x double> %142, %152
  %154 = shufflevector <2 x double> %153, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %155 = insertelement <2 x double> poison, double %133, 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> %142, <2 x double> %154)
  %158 = fsub <2 x double> %119, %157
  store <2 x double> %158, ptr %95, align 8, !tbaa !9
  %.not219.not = icmp slt i64 %.0213, %115
  br i1 %.not219.not, label %118, label %._crit_edge230, !llvm.loop !16

._crit_edge230:                                   ; preds = %118
  store i64 %.0215240, ptr %11, align 8, !tbaa !5
  store <2 x double> %158, ptr %12, align 16, !tbaa !9
  br label %159

159:                                              ; preds = %._crit_edge230, %86
  %160 = call double @z_abs(ptr noundef nonnull %90) #4
  %161 = fadd double %.0242, %160
  %162 = call double @z_abs(ptr noundef nonnull %95) #4
  %163 = fadd double %.0211241, %162
  %164 = icmp sgt i64 %.0215240, 1
  br i1 %164, label %86, label %._crit_edge245, !llvm.loop !17

._crit_edge245:                                   ; preds = %159
  %165 = fcmp ogt double %161, %163
  br i1 %165, label %166, label %._crit_edge245.thread

166:                                              ; preds = %._crit_edge245
  %167 = call i32 @f2c_zcopy(ptr noundef nonnull %1, ptr noundef nonnull %19, ptr noundef nonnull @c__1, ptr noundef nonnull %4, ptr noundef nonnull @c__1) #4
  br label %._crit_edge245.thread

._crit_edge245.thread:                            ; preds = %._crit_edge, %166, %._crit_edge245
  %168 = load i64, ptr %1, align 8, !tbaa !5
  %169 = add nsw i64 %168, -1
  store i64 %169, ptr %10, align 8, !tbaa !5
  %170 = 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) #4
  %171 = call i32 @zlassq_(ptr noundef nonnull %1, ptr noundef nonnull %4, ptr noundef nonnull @c__1, ptr noundef %6, ptr noundef %5) #4
  br label %194

172:                                              ; preds = %9
  %173 = call i32 @zgecon_(ptr noundef nonnull @.str, ptr noundef %1, ptr noundef %2, ptr noundef nonnull %3, ptr noundef nonnull @c_b24, ptr noundef nonnull %21, ptr noundef nonnull %19, ptr noundef nonnull %22, ptr noundef nonnull %17) #4
  %174 = load i64, ptr %1, align 8, !tbaa !5
  %175 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %19, i64 0, i64 %174
  %176 = call i32 @f2c_zcopy(ptr noundef nonnull %1, ptr noundef nonnull %175, ptr noundef nonnull @c__1, ptr noundef nonnull %15, ptr noundef nonnull @c__1) #4
  %177 = load i64, ptr %1, align 8, !tbaa !5
  %178 = add nsw i64 %177, -1
  store i64 %178, ptr %10, align 8, !tbaa !5
  %179 = call i32 @zlaswp_(ptr noundef nonnull @c__1, ptr noundef nonnull %15, ptr noundef nonnull %3, ptr noundef nonnull @c__1, ptr noundef nonnull %10, ptr noundef %7, ptr noundef nonnull @c_n1) #4
  call void @f2c_zdotc(ptr noundef nonnull %14, ptr noundef nonnull %1, ptr noundef nonnull %15, ptr noundef nonnull @c__1, ptr noundef nonnull %15, ptr noundef nonnull @c__1) #4
  call void @z_sqrt(ptr noundef nonnull %13, ptr noundef nonnull %14) #4
  call void @z_div(ptr noundef nonnull %12, ptr noundef nonnull @c_b1, ptr noundef nonnull %13) #4
  %180 = load <2 x double>, ptr %12, align 16, !tbaa !9
  store <2 x double> %180, ptr %18, align 16, !tbaa !9
  %181 = call i32 @f2c_zscal(ptr noundef nonnull %1, ptr noundef nonnull %18, ptr noundef nonnull %15, ptr noundef nonnull @c__1) #4
  %182 = call i32 @f2c_zcopy(ptr noundef nonnull %1, ptr noundef nonnull %15, ptr noundef nonnull @c__1, ptr noundef nonnull %16, ptr noundef nonnull @c__1) #4
  %183 = call i32 @f2c_zaxpy(ptr noundef nonnull %1, ptr noundef nonnull @c_b1, ptr noundef %4, ptr noundef nonnull @c__1, ptr noundef nonnull %16, ptr noundef nonnull @c__1) #4
  store <2 x double> <double -1.000000e+00, double -0.000000e+00>, ptr %12, align 16, !tbaa !9
  %184 = call i32 @f2c_zaxpy(ptr noundef nonnull %1, ptr noundef nonnull %12, ptr noundef nonnull %15, ptr noundef nonnull @c__1, ptr noundef %4, ptr noundef nonnull @c__1) #4
  %185 = call i32 @zgesc2_(ptr noundef nonnull %1, ptr noundef %2, ptr noundef nonnull %3, ptr noundef %4, ptr noundef %7, ptr noundef %8, ptr noundef nonnull %20) #4
  %186 = call i32 @zgesc2_(ptr noundef nonnull %1, ptr noundef %2, ptr noundef nonnull %3, ptr noundef nonnull %16, ptr noundef %7, ptr noundef %8, ptr noundef nonnull %20) #4
  %187 = call double @f2c_dzasum(ptr noundef nonnull %1, ptr noundef nonnull %16, ptr noundef nonnull @c__1) #4
  %188 = call double @f2c_dzasum(ptr noundef nonnull %1, ptr noundef %4, ptr noundef nonnull @c__1) #4
  %189 = fcmp ogt double %187, %188
  br i1 %189, label %190, label %192

190:                                              ; preds = %172
  %191 = call i32 @f2c_zcopy(ptr noundef nonnull %1, ptr noundef nonnull %16, ptr noundef nonnull @c__1, ptr noundef %4, ptr noundef nonnull @c__1) #4
  br label %192

192:                                              ; preds = %190, %172
  %193 = call i32 @zlassq_(ptr noundef nonnull %1, ptr noundef %4, ptr noundef nonnull @c__1, ptr noundef %6, ptr noundef %5) #4
  br label %194

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

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

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

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

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

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

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

declare double @z_abs(ptr noundef) local_unnamed_addr #2

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

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

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

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

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

declare double @f2c_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>) #3

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"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,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass