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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @zlar2v_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 {
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca double, align 8
  %20 = alloca %struct.doublecomplex, align 8
  %21 = alloca %struct.doublecomplex, align 8
  %22 = alloca %struct.doublecomplex, align 8
  %23 = alloca %struct.doublecomplex, align 8
  %24 = alloca %struct.doublecomplex, align 8
  %25 = alloca i64, align 8
  %26 = alloca %struct.doublecomplex, align 8
  %27 = alloca %struct.doublecomplex, align 8
  %28 = alloca %struct.doublecomplex, align 8
  %29 = alloca double, align 8
  %30 = alloca double, align 8
  %31 = alloca i64, align 8
  %32 = alloca double, align 8
  %33 = alloca %struct.doublecomplex, align 8
  %34 = alloca i64, align 8
  %35 = alloca double, align 8
  %36 = alloca double, align 8
  %37 = alloca %struct.doublecomplex, align 8
  %38 = alloca double, align 8
  %39 = alloca double, align 8
  %40 = alloca double, align 8
  %41 = alloca double, align 8
  %42 = alloca double, align 8
  %43 = alloca double, align 8
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store ptr %2, ptr %11, align 8, !tbaa !5
  store ptr %3, ptr %12, align 8, !tbaa !5
  store ptr %4, ptr %13, align 8, !tbaa !5
  store ptr %5, ptr %14, align 8, !tbaa !5
  store ptr %6, ptr %15, align 8, !tbaa !5
  store ptr %7, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.start.p0(i64 16, 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 8, 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 8, ptr %34) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %37) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #4
  %44 = load ptr, ptr %15, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.doublecomplex, ptr %44, i32 -1
  store ptr %45, ptr %15, align 8, !tbaa !5
  %46 = load ptr, ptr %14, align 8, !tbaa !5
  %47 = getelementptr inbounds double, ptr %46, i32 -1
  store ptr %47, ptr %14, align 8, !tbaa !5
  %48 = load ptr, ptr %12, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.doublecomplex, ptr %48, i32 -1
  store ptr %49, ptr %12, align 8, !tbaa !5
  %50 = load ptr, ptr %11, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.doublecomplex, ptr %50, i32 -1
  store ptr %51, ptr %11, align 8, !tbaa !5
  %52 = load ptr, ptr %10, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.doublecomplex, ptr %52, i32 -1
  store ptr %53, ptr %10, align 8, !tbaa !5
  store i64 1, ptr %34, align 8, !tbaa !9
  store i64 1, ptr %31, align 8, !tbaa !9
  %54 = load ptr, ptr %9, align 8, !tbaa !5
  %55 = load i64, ptr %54, align 8, !tbaa !9
  store i64 %55, ptr %17, align 8, !tbaa !9
  store i64 1, ptr %25, align 8, !tbaa !9
  br label %56

56:                                               ; preds = %315, %8
  %57 = load i64, ptr %25, align 8, !tbaa !9
  %58 = load i64, ptr %17, align 8, !tbaa !9
  %59 = icmp sle i64 %57, %58
  br i1 %59, label %60, label %318

60:                                               ; preds = %56
  %61 = load i64, ptr %34, align 8, !tbaa !9
  store i64 %61, ptr %18, align 8, !tbaa !9
  %62 = load ptr, ptr %10, align 8, !tbaa !5
  %63 = load i64, ptr %18, align 8, !tbaa !9
  %64 = getelementptr inbounds %struct.doublecomplex, ptr %62, i64 %63
  %65 = getelementptr inbounds %struct.doublecomplex, ptr %64, i32 0, i32 0
  %66 = load double, ptr %65, align 8, !tbaa !11
  store double %66, ptr %35, align 8, !tbaa !14
  %67 = load i64, ptr %34, align 8, !tbaa !9
  store i64 %67, ptr %18, align 8, !tbaa !9
  %68 = load ptr, ptr %11, align 8, !tbaa !5
  %69 = load i64, ptr %18, align 8, !tbaa !9
  %70 = getelementptr inbounds %struct.doublecomplex, ptr %68, i64 %69
  %71 = getelementptr inbounds %struct.doublecomplex, ptr %70, i32 0, i32 0
  %72 = load double, ptr %71, align 8, !tbaa !11
  store double %72, ptr %36, align 8, !tbaa !14
  %73 = load i64, ptr %34, align 8, !tbaa !9
  store i64 %73, ptr %18, align 8, !tbaa !9
  %74 = load ptr, ptr %12, align 8, !tbaa !5
  %75 = load i64, ptr %18, align 8, !tbaa !9
  %76 = getelementptr inbounds %struct.doublecomplex, ptr %74, i64 %75
  %77 = getelementptr inbounds %struct.doublecomplex, ptr %76, i32 0, i32 0
  %78 = load double, ptr %77, align 8, !tbaa !11
  %79 = getelementptr inbounds %struct.doublecomplex, ptr %37, i32 0, i32 0
  store double %78, ptr %79, align 8, !tbaa !11
  %80 = load ptr, ptr %12, align 8, !tbaa !5
  %81 = load i64, ptr %18, align 8, !tbaa !9
  %82 = getelementptr inbounds %struct.doublecomplex, ptr %80, i64 %81
  %83 = getelementptr inbounds %struct.doublecomplex, ptr %82, i32 0, i32 1
  %84 = load double, ptr %83, align 8, !tbaa !15
  %85 = getelementptr inbounds %struct.doublecomplex, ptr %37, i32 0, i32 1
  store double %84, ptr %85, align 8, !tbaa !15
  %86 = getelementptr inbounds %struct.doublecomplex, ptr %37, i32 0, i32 0
  %87 = load double, ptr %86, align 8, !tbaa !11
  store double %87, ptr %43, align 8, !tbaa !14
  %88 = call double @d_imag(ptr noundef %37)
  store double %88, ptr %41, align 8, !tbaa !14
  %89 = load ptr, ptr %14, align 8, !tbaa !5
  %90 = load i64, ptr %31, align 8, !tbaa !9
  %91 = getelementptr inbounds double, ptr %89, i64 %90
  %92 = load double, ptr %91, align 8, !tbaa !14
  store double %92, ptr %32, align 8, !tbaa !14
  %93 = load i64, ptr %31, align 8, !tbaa !9
  store i64 %93, ptr %18, align 8, !tbaa !9
  %94 = load ptr, ptr %15, align 8, !tbaa !5
  %95 = load i64, ptr %18, align 8, !tbaa !9
  %96 = getelementptr inbounds %struct.doublecomplex, ptr %94, i64 %95
  %97 = getelementptr inbounds %struct.doublecomplex, ptr %96, i32 0, i32 0
  %98 = load double, ptr %97, align 8, !tbaa !11
  %99 = getelementptr inbounds %struct.doublecomplex, ptr %33, i32 0, i32 0
  store double %98, ptr %99, align 8, !tbaa !11
  %100 = load ptr, ptr %15, align 8, !tbaa !5
  %101 = load i64, ptr %18, align 8, !tbaa !9
  %102 = getelementptr inbounds %struct.doublecomplex, ptr %100, i64 %101
  %103 = getelementptr inbounds %struct.doublecomplex, ptr %102, i32 0, i32 1
  %104 = load double, ptr %103, align 8, !tbaa !15
  %105 = getelementptr inbounds %struct.doublecomplex, ptr %33, i32 0, i32 1
  store double %104, ptr %105, align 8, !tbaa !15
  %106 = getelementptr inbounds %struct.doublecomplex, ptr %33, i32 0, i32 0
  %107 = load double, ptr %106, align 8, !tbaa !11
  store double %107, ptr %42, align 8, !tbaa !14
  %108 = call double @d_imag(ptr noundef %33)
  store double %108, ptr %40, align 8, !tbaa !14
  %109 = load double, ptr %42, align 8, !tbaa !14
  %110 = load double, ptr %43, align 8, !tbaa !14
  %111 = load double, ptr %40, align 8, !tbaa !14
  %112 = load double, ptr %41, align 8, !tbaa !14
  %113 = fmul double %111, %112
  %114 = fneg double %113
  %115 = call double @llvm.fmuladd.f64(double %109, double %110, double %114)
  store double %115, ptr %39, align 8, !tbaa !14
  %116 = load double, ptr %42, align 8, !tbaa !14
  %117 = load double, ptr %41, align 8, !tbaa !14
  %118 = load double, ptr %40, align 8, !tbaa !14
  %119 = load double, ptr %43, align 8, !tbaa !14
  %120 = fmul double %118, %119
  %121 = call double @llvm.fmuladd.f64(double %116, double %117, double %120)
  store double %121, ptr %38, align 8, !tbaa !14
  %122 = load double, ptr %32, align 8, !tbaa !14
  %123 = getelementptr inbounds %struct.doublecomplex, ptr %37, i32 0, i32 0
  %124 = load double, ptr %123, align 8, !tbaa !11
  %125 = fmul double %122, %124
  %126 = getelementptr inbounds %struct.doublecomplex, ptr %20, i32 0, i32 0
  store double %125, ptr %126, align 8, !tbaa !11
  %127 = load double, ptr %32, align 8, !tbaa !14
  %128 = getelementptr inbounds %struct.doublecomplex, ptr %37, i32 0, i32 1
  %129 = load double, ptr %128, align 8, !tbaa !15
  %130 = fmul double %127, %129
  %131 = getelementptr inbounds %struct.doublecomplex, ptr %20, i32 0, i32 1
  store double %130, ptr %131, align 8, !tbaa !15
  %132 = getelementptr inbounds %struct.doublecomplex, ptr %20, i32 0, i32 0
  %133 = load double, ptr %132, align 8, !tbaa !11
  %134 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 0
  store double %133, ptr %134, align 8, !tbaa !11
  %135 = getelementptr inbounds %struct.doublecomplex, ptr %20, i32 0, i32 1
  %136 = load double, ptr %135, align 8, !tbaa !15
  %137 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 1
  store double %136, ptr %137, align 8, !tbaa !15
  call void @d_cnjg(ptr noundef %22, ptr noundef %33)
  %138 = load double, ptr %35, align 8, !tbaa !14
  %139 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  %140 = load double, ptr %139, align 8, !tbaa !11
  %141 = fmul double %138, %140
  %142 = getelementptr inbounds %struct.doublecomplex, ptr %21, i32 0, i32 0
  store double %141, ptr %142, align 8, !tbaa !11
  %143 = load double, ptr %35, align 8, !tbaa !14
  %144 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  %145 = load double, ptr %144, align 8, !tbaa !15
  %146 = fmul double %143, %145
  %147 = getelementptr inbounds %struct.doublecomplex, ptr %21, i32 0, i32 1
  store double %146, ptr %147, align 8, !tbaa !15
  %148 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 0
  %149 = load double, ptr %148, align 8, !tbaa !11
  %150 = getelementptr inbounds %struct.doublecomplex, ptr %21, i32 0, i32 0
  %151 = load double, ptr %150, align 8, !tbaa !11
  %152 = fsub double %149, %151
  %153 = getelementptr inbounds %struct.doublecomplex, ptr %20, i32 0, i32 0
  store double %152, ptr %153, align 8, !tbaa !11
  %154 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 1
  %155 = load double, ptr %154, align 8, !tbaa !15
  %156 = getelementptr inbounds %struct.doublecomplex, ptr %21, i32 0, i32 1
  %157 = load double, ptr %156, align 8, !tbaa !15
  %158 = fsub double %155, %157
  %159 = getelementptr inbounds %struct.doublecomplex, ptr %20, i32 0, i32 1
  store double %158, ptr %159, align 8, !tbaa !15
  %160 = getelementptr inbounds %struct.doublecomplex, ptr %20, i32 0, i32 0
  %161 = load double, ptr %160, align 8, !tbaa !11
  %162 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  store double %161, ptr %162, align 8, !tbaa !11
  %163 = getelementptr inbounds %struct.doublecomplex, ptr %20, i32 0, i32 1
  %164 = load double, ptr %163, align 8, !tbaa !15
  %165 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  store double %164, ptr %165, align 8, !tbaa !15
  call void @d_cnjg(ptr noundef %21, ptr noundef %26)
  %166 = load double, ptr %36, align 8, !tbaa !14
  %167 = getelementptr inbounds %struct.doublecomplex, ptr %33, i32 0, i32 0
  %168 = load double, ptr %167, align 8, !tbaa !11
  %169 = fmul double %166, %168
  %170 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  store double %169, ptr %170, align 8, !tbaa !11
  %171 = load double, ptr %36, align 8, !tbaa !14
  %172 = getelementptr inbounds %struct.doublecomplex, ptr %33, i32 0, i32 1
  %173 = load double, ptr %172, align 8, !tbaa !15
  %174 = fmul double %171, %173
  %175 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  store double %174, ptr %175, align 8, !tbaa !15
  %176 = getelementptr inbounds %struct.doublecomplex, ptr %21, i32 0, i32 0
  %177 = load double, ptr %176, align 8, !tbaa !11
  %178 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  %179 = load double, ptr %178, align 8, !tbaa !11
  %180 = fadd double %177, %179
  %181 = getelementptr inbounds %struct.doublecomplex, ptr %20, i32 0, i32 0
  store double %180, ptr %181, align 8, !tbaa !11
  %182 = getelementptr inbounds %struct.doublecomplex, ptr %21, i32 0, i32 1
  %183 = load double, ptr %182, align 8, !tbaa !15
  %184 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  %185 = load double, ptr %184, align 8, !tbaa !15
  %186 = fadd double %183, %185
  %187 = getelementptr inbounds %struct.doublecomplex, ptr %20, i32 0, i32 1
  store double %186, ptr %187, align 8, !tbaa !15
  %188 = getelementptr inbounds %struct.doublecomplex, ptr %20, i32 0, i32 0
  %189 = load double, ptr %188, align 8, !tbaa !11
  %190 = getelementptr inbounds %struct.doublecomplex, ptr %28, i32 0, i32 0
  store double %189, ptr %190, align 8, !tbaa !11
  %191 = getelementptr inbounds %struct.doublecomplex, ptr %20, i32 0, i32 1
  %192 = load double, ptr %191, align 8, !tbaa !15
  %193 = getelementptr inbounds %struct.doublecomplex, ptr %28, i32 0, i32 1
  store double %192, ptr %193, align 8, !tbaa !15
  %194 = load double, ptr %32, align 8, !tbaa !14
  %195 = load double, ptr %35, align 8, !tbaa !14
  %196 = load double, ptr %39, align 8, !tbaa !14
  %197 = call double @llvm.fmuladd.f64(double %194, double %195, double %196)
  store double %197, ptr %29, align 8, !tbaa !14
  %198 = load double, ptr %32, align 8, !tbaa !14
  %199 = load double, ptr %36, align 8, !tbaa !14
  %200 = load double, ptr %39, align 8, !tbaa !14
  %201 = fneg double %200
  %202 = call double @llvm.fmuladd.f64(double %198, double %199, double %201)
  store double %202, ptr %30, align 8, !tbaa !14
  %203 = load i64, ptr %34, align 8, !tbaa !9
  store i64 %203, ptr %18, align 8, !tbaa !9
  %204 = load double, ptr %32, align 8, !tbaa !14
  %205 = load double, ptr %29, align 8, !tbaa !14
  %206 = load double, ptr %42, align 8, !tbaa !14
  %207 = getelementptr inbounds %struct.doublecomplex, ptr %28, i32 0, i32 0
  %208 = load double, ptr %207, align 8, !tbaa !11
  %209 = load double, ptr %40, align 8, !tbaa !14
  %210 = call double @d_imag(ptr noundef %28)
  %211 = fmul double %209, %210
  %212 = call double @llvm.fmuladd.f64(double %206, double %208, double %211)
  %213 = call double @llvm.fmuladd.f64(double %204, double %205, double %212)
  store double %213, ptr %19, align 8, !tbaa !14
  %214 = load double, ptr %19, align 8, !tbaa !14
  %215 = load ptr, ptr %10, align 8, !tbaa !5
  %216 = load i64, ptr %18, align 8, !tbaa !9
  %217 = getelementptr inbounds %struct.doublecomplex, ptr %215, i64 %216
  %218 = getelementptr inbounds %struct.doublecomplex, ptr %217, i32 0, i32 0
  store double %214, ptr %218, align 8, !tbaa !11
  %219 = load ptr, ptr %10, align 8, !tbaa !5
  %220 = load i64, ptr %18, align 8, !tbaa !9
  %221 = getelementptr inbounds %struct.doublecomplex, ptr %219, i64 %220
  %222 = getelementptr inbounds %struct.doublecomplex, ptr %221, i32 0, i32 1
  store double 0.000000e+00, ptr %222, align 8, !tbaa !15
  %223 = load i64, ptr %34, align 8, !tbaa !9
  store i64 %223, ptr %18, align 8, !tbaa !9
  %224 = load double, ptr %32, align 8, !tbaa !14
  %225 = load double, ptr %30, align 8, !tbaa !14
  %226 = load double, ptr %42, align 8, !tbaa !14
  %227 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  %228 = load double, ptr %227, align 8, !tbaa !11
  %229 = load double, ptr %40, align 8, !tbaa !14
  %230 = call double @d_imag(ptr noundef %27)
  %231 = fmul double %229, %230
  %232 = fneg double %231
  %233 = call double @llvm.fmuladd.f64(double %226, double %228, double %232)
  %234 = fneg double %233
  %235 = call double @llvm.fmuladd.f64(double %224, double %225, double %234)
  store double %235, ptr %19, align 8, !tbaa !14
  %236 = load double, ptr %19, align 8, !tbaa !14
  %237 = load ptr, ptr %11, align 8, !tbaa !5
  %238 = load i64, ptr %18, align 8, !tbaa !9
  %239 = getelementptr inbounds %struct.doublecomplex, ptr %237, i64 %238
  %240 = getelementptr inbounds %struct.doublecomplex, ptr %239, i32 0, i32 0
  store double %236, ptr %240, align 8, !tbaa !11
  %241 = load ptr, ptr %11, align 8, !tbaa !5
  %242 = load i64, ptr %18, align 8, !tbaa !9
  %243 = getelementptr inbounds %struct.doublecomplex, ptr %241, i64 %242
  %244 = getelementptr inbounds %struct.doublecomplex, ptr %243, i32 0, i32 1
  store double 0.000000e+00, ptr %244, align 8, !tbaa !15
  %245 = load i64, ptr %34, align 8, !tbaa !9
  store i64 %245, ptr %18, align 8, !tbaa !9
  %246 = load double, ptr %32, align 8, !tbaa !14
  %247 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  %248 = load double, ptr %247, align 8, !tbaa !11
  %249 = fmul double %246, %248
  %250 = getelementptr inbounds %struct.doublecomplex, ptr %21, i32 0, i32 0
  store double %249, ptr %250, align 8, !tbaa !11
  %251 = load double, ptr %32, align 8, !tbaa !14
  %252 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  %253 = load double, ptr %252, align 8, !tbaa !15
  %254 = fmul double %251, %253
  %255 = getelementptr inbounds %struct.doublecomplex, ptr %21, i32 0, i32 1
  store double %254, ptr %255, align 8, !tbaa !15
  call void @d_cnjg(ptr noundef %23, ptr noundef %33)
  %256 = load double, ptr %30, align 8, !tbaa !14
  %257 = getelementptr inbounds %struct.doublecomplex, ptr %24, i32 0, i32 0
  store double %256, ptr %257, align 8, !tbaa !11
  %258 = load double, ptr %38, align 8, !tbaa !14
  %259 = getelementptr inbounds %struct.doublecomplex, ptr %24, i32 0, i32 1
  store double %258, ptr %259, align 8, !tbaa !15
  %260 = getelementptr inbounds %struct.doublecomplex, ptr %23, i32 0, i32 0
  %261 = load double, ptr %260, align 8, !tbaa !11
  %262 = getelementptr inbounds %struct.doublecomplex, ptr %24, i32 0, i32 0
  %263 = load double, ptr %262, align 8, !tbaa !11
  %264 = getelementptr inbounds %struct.doublecomplex, ptr %23, i32 0, i32 1
  %265 = load double, ptr %264, align 8, !tbaa !15
  %266 = getelementptr inbounds %struct.doublecomplex, ptr %24, i32 0, i32 1
  %267 = load double, ptr %266, align 8, !tbaa !15
  %268 = fmul double %265, %267
  %269 = fneg double %268
  %270 = call double @llvm.fmuladd.f64(double %261, double %263, double %269)
  %271 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  store double %270, ptr %271, align 8, !tbaa !11
  %272 = getelementptr inbounds %struct.doublecomplex, ptr %23, i32 0, i32 0
  %273 = load double, ptr %272, align 8, !tbaa !11
  %274 = getelementptr inbounds %struct.doublecomplex, ptr %24, i32 0, i32 1
  %275 = load double, ptr %274, align 8, !tbaa !15
  %276 = getelementptr inbounds %struct.doublecomplex, ptr %23, i32 0, i32 1
  %277 = load double, ptr %276, align 8, !tbaa !15
  %278 = getelementptr inbounds %struct.doublecomplex, ptr %24, i32 0, i32 0
  %279 = load double, ptr %278, align 8, !tbaa !11
  %280 = fmul double %277, %279
  %281 = call double @llvm.fmuladd.f64(double %273, double %275, double %280)
  %282 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  store double %281, ptr %282, align 8, !tbaa !15
  %283 = getelementptr inbounds %struct.doublecomplex, ptr %21, i32 0, i32 0
  %284 = load double, ptr %283, align 8, !tbaa !11
  %285 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  %286 = load double, ptr %285, align 8, !tbaa !11
  %287 = fadd double %284, %286
  %288 = getelementptr inbounds %struct.doublecomplex, ptr %20, i32 0, i32 0
  store double %287, ptr %288, align 8, !tbaa !11
  %289 = getelementptr inbounds %struct.doublecomplex, ptr %21, i32 0, i32 1
  %290 = load double, ptr %289, align 8, !tbaa !15
  %291 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  %292 = load double, ptr %291, align 8, !tbaa !15
  %293 = fadd double %290, %292
  %294 = getelementptr inbounds %struct.doublecomplex, ptr %20, i32 0, i32 1
  store double %293, ptr %294, align 8, !tbaa !15
  %295 = getelementptr inbounds %struct.doublecomplex, ptr %20, i32 0, i32 0
  %296 = load double, ptr %295, align 8, !tbaa !11
  %297 = load ptr, ptr %12, align 8, !tbaa !5
  %298 = load i64, ptr %18, align 8, !tbaa !9
  %299 = getelementptr inbounds %struct.doublecomplex, ptr %297, i64 %298
  %300 = getelementptr inbounds %struct.doublecomplex, ptr %299, i32 0, i32 0
  store double %296, ptr %300, align 8, !tbaa !11
  %301 = getelementptr inbounds %struct.doublecomplex, ptr %20, i32 0, i32 1
  %302 = load double, ptr %301, align 8, !tbaa !15
  %303 = load ptr, ptr %12, align 8, !tbaa !5
  %304 = load i64, ptr %18, align 8, !tbaa !9
  %305 = getelementptr inbounds %struct.doublecomplex, ptr %303, i64 %304
  %306 = getelementptr inbounds %struct.doublecomplex, ptr %305, i32 0, i32 1
  store double %302, ptr %306, align 8, !tbaa !15
  %307 = load ptr, ptr %13, align 8, !tbaa !5
  %308 = load i64, ptr %307, align 8, !tbaa !9
  %309 = load i64, ptr %34, align 8, !tbaa !9
  %310 = add nsw i64 %309, %308
  store i64 %310, ptr %34, align 8, !tbaa !9
  %311 = load ptr, ptr %16, align 8, !tbaa !5
  %312 = load i64, ptr %311, align 8, !tbaa !9
  %313 = load i64, ptr %31, align 8, !tbaa !9
  %314 = add nsw i64 %313, %312
  store i64 %314, ptr %31, align 8, !tbaa !9
  br label %315

315:                                              ; preds = %60
  %316 = load i64, ptr %25, align 8, !tbaa !9
  %317 = add nsw i64 %316, 1
  store i64 %317, ptr %25, align 8, !tbaa !9
  br label %56, !llvm.loop !16

318:                                              ; preds = %56
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 8, 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 8, 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 16, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  ret i32 0
}

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

declare double @d_imag(ptr noundef) #2

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

declare void @d_cnjg(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 = !{!13, !13, i64 0}
!15 = !{!12, !13, i64 8}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}


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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @zlar2v_(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr nocapture noundef %2, ptr nocapture noundef %3, ptr nocapture noundef readonly %4, ptr nocapture noundef readonly %5, ptr nocapture noundef readonly %6, ptr nocapture noundef readonly %7) local_unnamed_addr #0 {
  %9 = alloca %struct.doublecomplex, align 16
  %10 = alloca %struct.doublecomplex, align 16
  %11 = alloca %struct.doublecomplex, align 16
  %12 = alloca %struct.doublecomplex, align 16
  %13 = alloca %struct.doublecomplex, align 16
  %14 = alloca %struct.doublecomplex, align 16
  %15 = alloca %struct.doublecomplex, align 16
  %16 = alloca %struct.doublecomplex, align 16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #5
  %17 = getelementptr inbounds i8, ptr %6, i64 -16
  %18 = getelementptr inbounds i8, ptr %5, i64 -8
  %19 = getelementptr inbounds i8, ptr %3, i64 -16
  %20 = getelementptr inbounds i8, ptr %2, i64 -16
  %21 = getelementptr inbounds i8, ptr %1, i64 -16
  %22 = load i64, ptr %0, align 8, !tbaa !5
  %.not90 = icmp slt i64 %22, 1
  br i1 %.not90, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %8
  %23 = getelementptr inbounds i8, ptr %11, i64 8
  br label %24

24:                                               ; preds = %.lr.ph, %24
  %.093 = phi i64 [ 1, %.lr.ph ], [ %98, %24 ]
  %.08892 = phi i64 [ 1, %.lr.ph ], [ %97, %24 ]
  %.08991 = phi i64 [ 1, %.lr.ph ], [ %95, %24 ]
  %25 = getelementptr inbounds %struct.doublecomplex, ptr %21, i64 %.08991
  %26 = load double, ptr %25, align 8, !tbaa !9
  %27 = getelementptr inbounds %struct.doublecomplex, ptr %20, i64 %.08991
  %28 = load double, ptr %27, align 8, !tbaa !9
  %29 = getelementptr inbounds %struct.doublecomplex, ptr %19, i64 %.08991
  %30 = load <2 x double>, ptr %29, align 8, !tbaa !12
  store <2 x double> %30, ptr %16, align 16, !tbaa !12
  %31 = call double @d_imag(ptr noundef nonnull %16) #5
  %32 = getelementptr inbounds double, ptr %18, i64 %.08892
  %33 = load double, ptr %32, align 8, !tbaa !12
  %34 = getelementptr inbounds %struct.doublecomplex, ptr %17, i64 %.08892
  %35 = load <2 x double>, ptr %34, align 8, !tbaa !12
  store <2 x double> %35, ptr %15, align 16, !tbaa !12
  %36 = call double @d_imag(ptr noundef nonnull %15) #5
  %37 = fneg double %36
  %38 = fmul double %31, %37
  %39 = extractelement <2 x double> %30, i64 0
  %40 = extractelement <2 x double> %35, i64 0
  %41 = call double @llvm.fmuladd.f64(double %40, double %39, double %38)
  %42 = fmul double %39, %36
  %43 = load <2 x double>, ptr %16, align 16, !tbaa !12
  %44 = insertelement <2 x double> poison, double %33, i64 0
  %45 = shufflevector <2 x double> %44, <2 x double> poison, <2 x i32> zeroinitializer
  %46 = fmul <2 x double> %45, %43
  store <2 x double> %46, ptr %12, align 16, !tbaa !12
  call void @d_cnjg(ptr noundef nonnull %10, ptr noundef nonnull %15) #5
  %47 = load <2 x double>, ptr %10, align 16, !tbaa !12
  %48 = insertelement <2 x double> poison, double %26, i64 0
  %49 = shufflevector <2 x double> %48, <2 x double> poison, <2 x i32> zeroinitializer
  %50 = fmul <2 x double> %49, %47
  store <2 x double> %50, ptr %9, align 16, !tbaa !12
  %51 = load <2 x double>, ptr %12, align 16, !tbaa !12
  %52 = fsub <2 x double> %51, %50
  store <2 x double> %52, ptr %13, align 16, !tbaa !12
  call void @d_cnjg(ptr noundef nonnull %9, ptr noundef nonnull %12) #5
  %53 = load <2 x double>, ptr %15, align 16, !tbaa !12
  %54 = insertelement <2 x double> poison, double %28, i64 0
  %55 = shufflevector <2 x double> %54, <2 x double> poison, <2 x i32> zeroinitializer
  %56 = fmul <2 x double> %55, %53
  store <2 x double> %56, ptr %10, align 16, !tbaa !12
  %57 = load <2 x double>, ptr %9, align 16, !tbaa !12
  %58 = fadd <2 x double> %56, %57
  store <2 x double> %58, ptr %14, align 16, !tbaa !12
  %59 = call double @llvm.fmuladd.f64(double %33, double %26, double %41)
  %60 = fneg double %41
  %61 = call double @d_imag(ptr noundef nonnull %14) #5
  %62 = fmul double %36, %61
  %63 = extractelement <2 x double> %58, i64 0
  %64 = call double @llvm.fmuladd.f64(double %40, double %63, double %62)
  %65 = call double @llvm.fmuladd.f64(double %33, double %59, double %64)
  store double %65, ptr %25, align 8, !tbaa !9
  %66 = getelementptr inbounds i8, ptr %25, i64 8
  store double 0.000000e+00, ptr %66, align 8, !tbaa !13
  %67 = load double, ptr %13, align 16, !tbaa !9
  %68 = call double @d_imag(ptr noundef nonnull %13) #5
  %69 = fmul double %68, %37
  %70 = call double @llvm.fmuladd.f64(double %40, double %67, double %69)
  %71 = fneg double %70
  %72 = getelementptr inbounds i8, ptr %27, i64 8
  store double 0.000000e+00, ptr %72, align 8, !tbaa !13
  %73 = load <2 x double>, ptr %13, align 16, !tbaa !12
  %74 = fmul <2 x double> %45, %73
  store <2 x double> %74, ptr %9, align 16, !tbaa !12
  %75 = shufflevector <2 x double> %35, <2 x double> poison, <2 x i32> <i32 poison, i32 0>
  %76 = insertelement <2 x double> %75, double %33, i64 0
  %77 = insertelement <2 x double> %54, double %31, i64 1
  %78 = insertelement <2 x double> poison, double %60, i64 0
  %79 = insertelement <2 x double> %78, double %42, i64 1
  %80 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %76, <2 x double> %77, <2 x double> %79)
  %81 = extractelement <2 x double> %80, i64 0
  %82 = call double @llvm.fmuladd.f64(double %33, double %81, double %71)
  store double %82, ptr %27, align 8, !tbaa !9
  call void @d_cnjg(ptr noundef nonnull %11, ptr noundef nonnull %15) #5
  %83 = load <2 x double>, ptr %11, align 16
  %84 = load double, ptr %23, align 8, !tbaa !13
  %85 = fneg double %84
  %86 = insertelement <2 x double> poison, double %84, i64 0
  %87 = insertelement <2 x double> %86, double %85, i64 1
  %88 = fmul <2 x double> %80, %87
  %89 = shufflevector <2 x double> %88, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %90 = shufflevector <2 x double> %83, <2 x double> poison, <2 x i32> zeroinitializer
  %91 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %90, <2 x double> %80, <2 x double> %89)
  store <2 x double> %91, ptr %10, align 16, !tbaa !12
  %92 = load <2 x double>, ptr %9, align 16, !tbaa !12
  %93 = fadd <2 x double> %91, %92
  store <2 x double> %93, ptr %29, align 8, !tbaa !12
  %94 = load i64, ptr %4, align 8, !tbaa !5
  %95 = add nsw i64 %94, %.08991
  %96 = load i64, ptr %7, align 8, !tbaa !5
  %97 = add nsw i64 %96, %.08892
  %98 = add nuw i64 %.093, 1
  %exitcond.not = icmp eq i64 %.093, %22
  br i1 %exitcond.not, label %._crit_edge, label %24, !llvm.loop !14

._crit_edge:                                      ; preds = %24, %8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #5
  ret i32 0
}

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

declare double @d_imag(ptr noundef) local_unnamed_addr #2

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

declare void @d_cnjg(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>) #4

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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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, !11, i64 0}
!10 = !{!"", !11, i64 0, !11, i64 8}
!11 = !{!"double", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!10, !11, i64 8}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,VectorCombinePass