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

; 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 void @zrot_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca %struct.doublecomplex, align 8
  %20 = alloca %struct.doublecomplex, align 8
  %21 = alloca %struct.doublecomplex, align 8
  %22 = alloca %struct.doublecomplex, align 8
  %23 = alloca i32, align 4
  %24 = alloca %struct.doublecomplex, align 8
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  store ptr %6, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 16, 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 4, ptr %23) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #4
  %28 = load ptr, ptr %11, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.doublecomplex, ptr %28, i32 -1
  store ptr %29, ptr %11, align 8, !tbaa !5
  %30 = load ptr, ptr %9, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 -1
  store ptr %31, ptr %9, align 8, !tbaa !5
  %32 = load ptr, ptr %8, align 8, !tbaa !5
  %33 = load i32, ptr %32, align 4, !tbaa !9
  %34 = icmp sle i32 %33, 0
  br i1 %34, label %35, label %36

35:                                               ; preds = %7
  store i32 1, ptr %27, align 4
  br label %491

36:                                               ; preds = %7
  %37 = load ptr, ptr %10, align 8, !tbaa !5
  %38 = load i32, ptr %37, align 4, !tbaa !9
  %39 = icmp eq i32 %38, 1
  br i1 %39, label %40, label %45

40:                                               ; preds = %36
  %41 = load ptr, ptr %12, align 8, !tbaa !5
  %42 = load i32, ptr %41, align 4, !tbaa !9
  %43 = icmp eq i32 %42, 1
  br i1 %43, label %44, label %45

44:                                               ; preds = %40
  br label %285

45:                                               ; preds = %40, %36
  store i32 1, ptr %25, align 4, !tbaa !9
  store i32 1, ptr %26, align 4, !tbaa !9
  %46 = load ptr, ptr %10, align 8, !tbaa !5
  %47 = load i32, ptr %46, align 4, !tbaa !9
  %48 = icmp slt i32 %47, 0
  br i1 %48, label %49, label %58

49:                                               ; preds = %45
  %50 = load ptr, ptr %8, align 8, !tbaa !5
  %51 = load i32, ptr %50, align 4, !tbaa !9
  %52 = sub nsw i32 0, %51
  %53 = add nsw i32 %52, 1
  %54 = load ptr, ptr %10, align 8, !tbaa !5
  %55 = load i32, ptr %54, align 4, !tbaa !9
  %56 = mul nsw i32 %53, %55
  %57 = add nsw i32 %56, 1
  store i32 %57, ptr %25, align 4, !tbaa !9
  br label %58

58:                                               ; preds = %49, %45
  %59 = load ptr, ptr %12, align 8, !tbaa !5
  %60 = load i32, ptr %59, align 4, !tbaa !9
  %61 = icmp slt i32 %60, 0
  br i1 %61, label %62, label %71

62:                                               ; preds = %58
  %63 = load ptr, ptr %8, align 8, !tbaa !5
  %64 = load i32, ptr %63, align 4, !tbaa !9
  %65 = sub nsw i32 0, %64
  %66 = add nsw i32 %65, 1
  %67 = load ptr, ptr %12, align 8, !tbaa !5
  %68 = load i32, ptr %67, align 4, !tbaa !9
  %69 = mul nsw i32 %66, %68
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr %26, align 4, !tbaa !9
  br label %71

71:                                               ; preds = %62, %58
  %72 = load ptr, ptr %8, align 8, !tbaa !5
  %73 = load i32, ptr %72, align 4, !tbaa !9
  store i32 %73, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %23, align 4, !tbaa !9
  br label %74

74:                                               ; preds = %281, %71
  %75 = load i32, ptr %23, align 4, !tbaa !9
  %76 = load i32, ptr %15, align 4, !tbaa !9
  %77 = icmp sle i32 %75, %76
  br i1 %77, label %78, label %284

78:                                               ; preds = %74
  %79 = load i32, ptr %25, align 4, !tbaa !9
  store i32 %79, ptr %16, align 4, !tbaa !9
  %80 = load ptr, ptr %13, align 8, !tbaa !5
  %81 = load double, ptr %80, align 8, !tbaa !11
  %82 = load ptr, ptr %9, align 8, !tbaa !5
  %83 = load i32, ptr %16, align 4, !tbaa !9
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds %struct.doublecomplex, ptr %82, i64 %84
  %86 = getelementptr inbounds %struct.doublecomplex, ptr %85, i32 0, i32 0
  %87 = load double, ptr %86, align 8, !tbaa !13
  %88 = fmul double %81, %87
  %89 = getelementptr inbounds %struct.doublecomplex, ptr %20, i32 0, i32 0
  store double %88, ptr %89, align 8, !tbaa !13
  %90 = load ptr, ptr %13, align 8, !tbaa !5
  %91 = load double, ptr %90, align 8, !tbaa !11
  %92 = load ptr, ptr %9, align 8, !tbaa !5
  %93 = load i32, ptr %16, align 4, !tbaa !9
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds %struct.doublecomplex, ptr %92, i64 %94
  %96 = getelementptr inbounds %struct.doublecomplex, ptr %95, i32 0, i32 1
  %97 = load double, ptr %96, align 8, !tbaa !15
  %98 = fmul double %91, %97
  %99 = getelementptr inbounds %struct.doublecomplex, ptr %20, i32 0, i32 1
  store double %98, ptr %99, align 8, !tbaa !15
  %100 = load i32, ptr %26, align 4, !tbaa !9
  store i32 %100, ptr %17, align 4, !tbaa !9
  %101 = load ptr, ptr %14, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.doublecomplex, ptr %101, i32 0, i32 0
  %103 = load double, ptr %102, align 8, !tbaa !13
  %104 = load ptr, ptr %11, align 8, !tbaa !5
  %105 = load i32, ptr %17, align 4, !tbaa !9
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds %struct.doublecomplex, ptr %104, i64 %106
  %108 = getelementptr inbounds %struct.doublecomplex, ptr %107, i32 0, i32 0
  %109 = load double, ptr %108, align 8, !tbaa !13
  %110 = load ptr, ptr %14, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.doublecomplex, ptr %110, i32 0, i32 1
  %112 = load double, ptr %111, align 8, !tbaa !15
  %113 = load ptr, ptr %11, align 8, !tbaa !5
  %114 = load i32, ptr %17, align 4, !tbaa !9
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds %struct.doublecomplex, ptr %113, i64 %115
  %117 = getelementptr inbounds %struct.doublecomplex, ptr %116, i32 0, i32 1
  %118 = load double, ptr %117, align 8, !tbaa !15
  %119 = fmul double %112, %118
  %120 = fneg double %119
  %121 = call double @llvm.fmuladd.f64(double %103, double %109, double %120)
  %122 = getelementptr inbounds %struct.doublecomplex, ptr %21, i32 0, i32 0
  store double %121, ptr %122, align 8, !tbaa !13
  %123 = load ptr, ptr %14, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.doublecomplex, ptr %123, i32 0, i32 0
  %125 = load double, ptr %124, align 8, !tbaa !13
  %126 = load ptr, ptr %11, align 8, !tbaa !5
  %127 = load i32, ptr %17, align 4, !tbaa !9
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds %struct.doublecomplex, ptr %126, i64 %128
  %130 = getelementptr inbounds %struct.doublecomplex, ptr %129, i32 0, i32 1
  %131 = load double, ptr %130, align 8, !tbaa !15
  %132 = load ptr, ptr %14, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.doublecomplex, ptr %132, i32 0, i32 1
  %134 = load double, ptr %133, align 8, !tbaa !15
  %135 = load ptr, ptr %11, align 8, !tbaa !5
  %136 = load i32, ptr %17, align 4, !tbaa !9
  %137 = sext i32 %136 to i64
  %138 = getelementptr inbounds %struct.doublecomplex, ptr %135, i64 %137
  %139 = getelementptr inbounds %struct.doublecomplex, ptr %138, i32 0, i32 0
  %140 = load double, ptr %139, align 8, !tbaa !13
  %141 = fmul double %134, %140
  %142 = call double @llvm.fmuladd.f64(double %125, double %131, double %141)
  %143 = getelementptr inbounds %struct.doublecomplex, ptr %21, i32 0, i32 1
  store double %142, ptr %143, align 8, !tbaa !15
  %144 = getelementptr inbounds %struct.doublecomplex, ptr %20, i32 0, i32 0
  %145 = load double, ptr %144, align 8, !tbaa !13
  %146 = getelementptr inbounds %struct.doublecomplex, ptr %21, i32 0, i32 0
  %147 = load double, ptr %146, align 8, !tbaa !13
  %148 = fadd double %145, %147
  %149 = getelementptr inbounds %struct.doublecomplex, ptr %19, i32 0, i32 0
  store double %148, ptr %149, align 8, !tbaa !13
  %150 = getelementptr inbounds %struct.doublecomplex, ptr %20, i32 0, i32 1
  %151 = load double, ptr %150, align 8, !tbaa !15
  %152 = getelementptr inbounds %struct.doublecomplex, ptr %21, i32 0, i32 1
  %153 = load double, ptr %152, align 8, !tbaa !15
  %154 = fadd double %151, %153
  %155 = getelementptr inbounds %struct.doublecomplex, ptr %19, i32 0, i32 1
  store double %154, ptr %155, align 8, !tbaa !15
  %156 = getelementptr inbounds %struct.doublecomplex, ptr %19, i32 0, i32 0
  %157 = load double, ptr %156, align 8, !tbaa !13
  %158 = getelementptr inbounds %struct.doublecomplex, ptr %24, i32 0, i32 0
  store double %157, ptr %158, align 8, !tbaa !13
  %159 = getelementptr inbounds %struct.doublecomplex, ptr %19, i32 0, i32 1
  %160 = load double, ptr %159, align 8, !tbaa !15
  %161 = getelementptr inbounds %struct.doublecomplex, ptr %24, i32 0, i32 1
  store double %160, ptr %161, align 8, !tbaa !15
  %162 = load i32, ptr %26, align 4, !tbaa !9
  store i32 %162, ptr %16, align 4, !tbaa !9
  %163 = load i32, ptr %26, align 4, !tbaa !9
  store i32 %163, ptr %17, align 4, !tbaa !9
  %164 = load ptr, ptr %13, align 8, !tbaa !5
  %165 = load double, ptr %164, align 8, !tbaa !11
  %166 = load ptr, ptr %11, align 8, !tbaa !5
  %167 = load i32, ptr %17, align 4, !tbaa !9
  %168 = sext i32 %167 to i64
  %169 = getelementptr inbounds %struct.doublecomplex, ptr %166, i64 %168
  %170 = getelementptr inbounds %struct.doublecomplex, ptr %169, i32 0, i32 0
  %171 = load double, ptr %170, align 8, !tbaa !13
  %172 = fmul double %165, %171
  %173 = getelementptr inbounds %struct.doublecomplex, ptr %20, i32 0, i32 0
  store double %172, ptr %173, align 8, !tbaa !13
  %174 = load ptr, ptr %13, align 8, !tbaa !5
  %175 = load double, ptr %174, align 8, !tbaa !11
  %176 = load ptr, ptr %11, align 8, !tbaa !5
  %177 = load i32, ptr %17, align 4, !tbaa !9
  %178 = sext i32 %177 to i64
  %179 = getelementptr inbounds %struct.doublecomplex, ptr %176, i64 %178
  %180 = getelementptr inbounds %struct.doublecomplex, ptr %179, i32 0, i32 1
  %181 = load double, ptr %180, align 8, !tbaa !15
  %182 = fmul double %175, %181
  %183 = getelementptr inbounds %struct.doublecomplex, ptr %20, i32 0, i32 1
  store double %182, ptr %183, align 8, !tbaa !15
  %184 = load ptr, ptr %14, align 8, !tbaa !5
  %185 = call { double, double } @Cd(ptr noundef %184)
  %186 = extractvalue { double, double } %185, 0
  %187 = extractvalue { double, double } %185, 1
  %188 = fneg double %187
  %189 = call ptr @_pCd(ptr noundef %22)
  %190 = getelementptr inbounds { double, double }, ptr %189, i32 0, i32 0
  %191 = getelementptr inbounds { double, double }, ptr %189, i32 0, i32 1
  store double %186, ptr %190, align 8
  store double %188, ptr %191, align 8
  %192 = load i32, ptr %25, align 4, !tbaa !9
  store i32 %192, ptr %18, align 4, !tbaa !9
  %193 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  %194 = load double, ptr %193, align 8, !tbaa !13
  %195 = load ptr, ptr %9, align 8, !tbaa !5
  %196 = load i32, ptr %18, align 4, !tbaa !9
  %197 = sext i32 %196 to i64
  %198 = getelementptr inbounds %struct.doublecomplex, ptr %195, i64 %197
  %199 = getelementptr inbounds %struct.doublecomplex, ptr %198, i32 0, i32 0
  %200 = load double, ptr %199, align 8, !tbaa !13
  %201 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  %202 = load double, ptr %201, align 8, !tbaa !15
  %203 = load ptr, ptr %9, align 8, !tbaa !5
  %204 = load i32, ptr %18, align 4, !tbaa !9
  %205 = sext i32 %204 to i64
  %206 = getelementptr inbounds %struct.doublecomplex, ptr %203, i64 %205
  %207 = getelementptr inbounds %struct.doublecomplex, ptr %206, i32 0, i32 1
  %208 = load double, ptr %207, align 8, !tbaa !15
  %209 = fmul double %202, %208
  %210 = fneg double %209
  %211 = call double @llvm.fmuladd.f64(double %194, double %200, double %210)
  %212 = getelementptr inbounds %struct.doublecomplex, ptr %21, i32 0, i32 0
  store double %211, ptr %212, align 8, !tbaa !13
  %213 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  %214 = load double, ptr %213, align 8, !tbaa !13
  %215 = load ptr, ptr %9, align 8, !tbaa !5
  %216 = load i32, ptr %18, align 4, !tbaa !9
  %217 = sext i32 %216 to i64
  %218 = getelementptr inbounds %struct.doublecomplex, ptr %215, i64 %217
  %219 = getelementptr inbounds %struct.doublecomplex, ptr %218, i32 0, i32 1
  %220 = load double, ptr %219, align 8, !tbaa !15
  %221 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  %222 = load double, ptr %221, align 8, !tbaa !15
  %223 = load ptr, ptr %9, align 8, !tbaa !5
  %224 = load i32, ptr %18, align 4, !tbaa !9
  %225 = sext i32 %224 to i64
  %226 = getelementptr inbounds %struct.doublecomplex, ptr %223, i64 %225
  %227 = getelementptr inbounds %struct.doublecomplex, ptr %226, i32 0, i32 0
  %228 = load double, ptr %227, align 8, !tbaa !13
  %229 = fmul double %222, %228
  %230 = call double @llvm.fmuladd.f64(double %214, double %220, double %229)
  %231 = getelementptr inbounds %struct.doublecomplex, ptr %21, i32 0, i32 1
  store double %230, ptr %231, align 8, !tbaa !15
  %232 = getelementptr inbounds %struct.doublecomplex, ptr %20, i32 0, i32 0
  %233 = load double, ptr %232, align 8, !tbaa !13
  %234 = getelementptr inbounds %struct.doublecomplex, ptr %21, i32 0, i32 0
  %235 = load double, ptr %234, align 8, !tbaa !13
  %236 = fsub double %233, %235
  %237 = getelementptr inbounds %struct.doublecomplex, ptr %19, i32 0, i32 0
  store double %236, ptr %237, align 8, !tbaa !13
  %238 = getelementptr inbounds %struct.doublecomplex, ptr %20, i32 0, i32 1
  %239 = load double, ptr %238, align 8, !tbaa !15
  %240 = getelementptr inbounds %struct.doublecomplex, ptr %21, i32 0, i32 1
  %241 = load double, ptr %240, align 8, !tbaa !15
  %242 = fsub double %239, %241
  %243 = getelementptr inbounds %struct.doublecomplex, ptr %19, i32 0, i32 1
  store double %242, ptr %243, align 8, !tbaa !15
  %244 = getelementptr inbounds %struct.doublecomplex, ptr %19, i32 0, i32 0
  %245 = load double, ptr %244, align 8, !tbaa !13
  %246 = load ptr, ptr %11, align 8, !tbaa !5
  %247 = load i32, ptr %16, align 4, !tbaa !9
  %248 = sext i32 %247 to i64
  %249 = getelementptr inbounds %struct.doublecomplex, ptr %246, i64 %248
  %250 = getelementptr inbounds %struct.doublecomplex, ptr %249, i32 0, i32 0
  store double %245, ptr %250, align 8, !tbaa !13
  %251 = getelementptr inbounds %struct.doublecomplex, ptr %19, i32 0, i32 1
  %252 = load double, ptr %251, align 8, !tbaa !15
  %253 = load ptr, ptr %11, align 8, !tbaa !5
  %254 = load i32, ptr %16, align 4, !tbaa !9
  %255 = sext i32 %254 to i64
  %256 = getelementptr inbounds %struct.doublecomplex, ptr %253, i64 %255
  %257 = getelementptr inbounds %struct.doublecomplex, ptr %256, i32 0, i32 1
  store double %252, ptr %257, align 8, !tbaa !15
  %258 = load i32, ptr %25, align 4, !tbaa !9
  store i32 %258, ptr %16, align 4, !tbaa !9
  %259 = getelementptr inbounds %struct.doublecomplex, ptr %24, i32 0, i32 0
  %260 = load double, ptr %259, align 8, !tbaa !13
  %261 = load ptr, ptr %9, align 8, !tbaa !5
  %262 = load i32, ptr %16, align 4, !tbaa !9
  %263 = sext i32 %262 to i64
  %264 = getelementptr inbounds %struct.doublecomplex, ptr %261, i64 %263
  %265 = getelementptr inbounds %struct.doublecomplex, ptr %264, i32 0, i32 0
  store double %260, ptr %265, align 8, !tbaa !13
  %266 = getelementptr inbounds %struct.doublecomplex, ptr %24, i32 0, i32 1
  %267 = load double, ptr %266, align 8, !tbaa !15
  %268 = load ptr, ptr %9, align 8, !tbaa !5
  %269 = load i32, ptr %16, align 4, !tbaa !9
  %270 = sext i32 %269 to i64
  %271 = getelementptr inbounds %struct.doublecomplex, ptr %268, i64 %270
  %272 = getelementptr inbounds %struct.doublecomplex, ptr %271, i32 0, i32 1
  store double %267, ptr %272, align 8, !tbaa !15
  %273 = load ptr, ptr %10, align 8, !tbaa !5
  %274 = load i32, ptr %273, align 4, !tbaa !9
  %275 = load i32, ptr %25, align 4, !tbaa !9
  %276 = add nsw i32 %275, %274
  store i32 %276, ptr %25, align 4, !tbaa !9
  %277 = load ptr, ptr %12, align 8, !tbaa !5
  %278 = load i32, ptr %277, align 4, !tbaa !9
  %279 = load i32, ptr %26, align 4, !tbaa !9
  %280 = add nsw i32 %279, %278
  store i32 %280, ptr %26, align 4, !tbaa !9
  br label %281

281:                                              ; preds = %78
  %282 = load i32, ptr %23, align 4, !tbaa !9
  %283 = add nsw i32 %282, 1
  store i32 %283, ptr %23, align 4, !tbaa !9
  br label %74, !llvm.loop !16

284:                                              ; preds = %74
  store i32 1, ptr %27, align 4
  br label %491

285:                                              ; preds = %44
  %286 = load ptr, ptr %8, align 8, !tbaa !5
  %287 = load i32, ptr %286, align 4, !tbaa !9
  store i32 %287, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %23, align 4, !tbaa !9
  br label %288

288:                                              ; preds = %487, %285
  %289 = load i32, ptr %23, align 4, !tbaa !9
  %290 = load i32, ptr %15, align 4, !tbaa !9
  %291 = icmp sle i32 %289, %290
  br i1 %291, label %292, label %490

292:                                              ; preds = %288
  %293 = load i32, ptr %23, align 4, !tbaa !9
  store i32 %293, ptr %16, align 4, !tbaa !9
  %294 = load ptr, ptr %13, align 8, !tbaa !5
  %295 = load double, ptr %294, align 8, !tbaa !11
  %296 = load ptr, ptr %9, align 8, !tbaa !5
  %297 = load i32, ptr %16, align 4, !tbaa !9
  %298 = sext i32 %297 to i64
  %299 = getelementptr inbounds %struct.doublecomplex, ptr %296, i64 %298
  %300 = getelementptr inbounds %struct.doublecomplex, ptr %299, i32 0, i32 0
  %301 = load double, ptr %300, align 8, !tbaa !13
  %302 = fmul double %295, %301
  %303 = getelementptr inbounds %struct.doublecomplex, ptr %20, i32 0, i32 0
  store double %302, ptr %303, align 8, !tbaa !13
  %304 = load ptr, ptr %13, align 8, !tbaa !5
  %305 = load double, ptr %304, align 8, !tbaa !11
  %306 = load ptr, ptr %9, align 8, !tbaa !5
  %307 = load i32, ptr %16, align 4, !tbaa !9
  %308 = sext i32 %307 to i64
  %309 = getelementptr inbounds %struct.doublecomplex, ptr %306, i64 %308
  %310 = getelementptr inbounds %struct.doublecomplex, ptr %309, i32 0, i32 1
  %311 = load double, ptr %310, align 8, !tbaa !15
  %312 = fmul double %305, %311
  %313 = getelementptr inbounds %struct.doublecomplex, ptr %20, i32 0, i32 1
  store double %312, ptr %313, align 8, !tbaa !15
  %314 = load i32, ptr %23, align 4, !tbaa !9
  store i32 %314, ptr %17, align 4, !tbaa !9
  %315 = load ptr, ptr %14, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.doublecomplex, ptr %315, i32 0, i32 0
  %317 = load double, ptr %316, align 8, !tbaa !13
  %318 = load ptr, ptr %11, align 8, !tbaa !5
  %319 = load i32, ptr %17, align 4, !tbaa !9
  %320 = sext i32 %319 to i64
  %321 = getelementptr inbounds %struct.doublecomplex, ptr %318, i64 %320
  %322 = getelementptr inbounds %struct.doublecomplex, ptr %321, i32 0, i32 0
  %323 = load double, ptr %322, align 8, !tbaa !13
  %324 = load ptr, ptr %14, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.doublecomplex, ptr %324, i32 0, i32 1
  %326 = load double, ptr %325, align 8, !tbaa !15
  %327 = load ptr, ptr %11, align 8, !tbaa !5
  %328 = load i32, ptr %17, align 4, !tbaa !9
  %329 = sext i32 %328 to i64
  %330 = getelementptr inbounds %struct.doublecomplex, ptr %327, i64 %329
  %331 = getelementptr inbounds %struct.doublecomplex, ptr %330, i32 0, i32 1
  %332 = load double, ptr %331, align 8, !tbaa !15
  %333 = fmul double %326, %332
  %334 = fneg double %333
  %335 = call double @llvm.fmuladd.f64(double %317, double %323, double %334)
  %336 = getelementptr inbounds %struct.doublecomplex, ptr %21, i32 0, i32 0
  store double %335, ptr %336, align 8, !tbaa !13
  %337 = load ptr, ptr %14, align 8, !tbaa !5
  %338 = getelementptr inbounds %struct.doublecomplex, ptr %337, i32 0, i32 0
  %339 = load double, ptr %338, align 8, !tbaa !13
  %340 = load ptr, ptr %11, align 8, !tbaa !5
  %341 = load i32, ptr %17, align 4, !tbaa !9
  %342 = sext i32 %341 to i64
  %343 = getelementptr inbounds %struct.doublecomplex, ptr %340, i64 %342
  %344 = getelementptr inbounds %struct.doublecomplex, ptr %343, i32 0, i32 1
  %345 = load double, ptr %344, align 8, !tbaa !15
  %346 = load ptr, ptr %14, align 8, !tbaa !5
  %347 = getelementptr inbounds %struct.doublecomplex, ptr %346, i32 0, i32 1
  %348 = load double, ptr %347, align 8, !tbaa !15
  %349 = load ptr, ptr %11, align 8, !tbaa !5
  %350 = load i32, ptr %17, align 4, !tbaa !9
  %351 = sext i32 %350 to i64
  %352 = getelementptr inbounds %struct.doublecomplex, ptr %349, i64 %351
  %353 = getelementptr inbounds %struct.doublecomplex, ptr %352, i32 0, i32 0
  %354 = load double, ptr %353, align 8, !tbaa !13
  %355 = fmul double %348, %354
  %356 = call double @llvm.fmuladd.f64(double %339, double %345, double %355)
  %357 = getelementptr inbounds %struct.doublecomplex, ptr %21, i32 0, i32 1
  store double %356, ptr %357, align 8, !tbaa !15
  %358 = getelementptr inbounds %struct.doublecomplex, ptr %20, i32 0, i32 0
  %359 = load double, ptr %358, align 8, !tbaa !13
  %360 = getelementptr inbounds %struct.doublecomplex, ptr %21, i32 0, i32 0
  %361 = load double, ptr %360, align 8, !tbaa !13
  %362 = fadd double %359, %361
  %363 = getelementptr inbounds %struct.doublecomplex, ptr %19, i32 0, i32 0
  store double %362, ptr %363, align 8, !tbaa !13
  %364 = getelementptr inbounds %struct.doublecomplex, ptr %20, i32 0, i32 1
  %365 = load double, ptr %364, align 8, !tbaa !15
  %366 = getelementptr inbounds %struct.doublecomplex, ptr %21, i32 0, i32 1
  %367 = load double, ptr %366, align 8, !tbaa !15
  %368 = fadd double %365, %367
  %369 = getelementptr inbounds %struct.doublecomplex, ptr %19, i32 0, i32 1
  store double %368, ptr %369, align 8, !tbaa !15
  %370 = getelementptr inbounds %struct.doublecomplex, ptr %19, i32 0, i32 0
  %371 = load double, ptr %370, align 8, !tbaa !13
  %372 = getelementptr inbounds %struct.doublecomplex, ptr %24, i32 0, i32 0
  store double %371, ptr %372, align 8, !tbaa !13
  %373 = getelementptr inbounds %struct.doublecomplex, ptr %19, i32 0, i32 1
  %374 = load double, ptr %373, align 8, !tbaa !15
  %375 = getelementptr inbounds %struct.doublecomplex, ptr %24, i32 0, i32 1
  store double %374, ptr %375, align 8, !tbaa !15
  %376 = load i32, ptr %23, align 4, !tbaa !9
  store i32 %376, ptr %16, align 4, !tbaa !9
  %377 = load i32, ptr %23, align 4, !tbaa !9
  store i32 %377, ptr %17, align 4, !tbaa !9
  %378 = load ptr, ptr %13, align 8, !tbaa !5
  %379 = load double, ptr %378, align 8, !tbaa !11
  %380 = load ptr, ptr %11, align 8, !tbaa !5
  %381 = load i32, ptr %17, align 4, !tbaa !9
  %382 = sext i32 %381 to i64
  %383 = getelementptr inbounds %struct.doublecomplex, ptr %380, i64 %382
  %384 = getelementptr inbounds %struct.doublecomplex, ptr %383, i32 0, i32 0
  %385 = load double, ptr %384, align 8, !tbaa !13
  %386 = fmul double %379, %385
  %387 = getelementptr inbounds %struct.doublecomplex, ptr %20, i32 0, i32 0
  store double %386, ptr %387, align 8, !tbaa !13
  %388 = load ptr, ptr %13, align 8, !tbaa !5
  %389 = load double, ptr %388, align 8, !tbaa !11
  %390 = load ptr, ptr %11, align 8, !tbaa !5
  %391 = load i32, ptr %17, align 4, !tbaa !9
  %392 = sext i32 %391 to i64
  %393 = getelementptr inbounds %struct.doublecomplex, ptr %390, i64 %392
  %394 = getelementptr inbounds %struct.doublecomplex, ptr %393, i32 0, i32 1
  %395 = load double, ptr %394, align 8, !tbaa !15
  %396 = fmul double %389, %395
  %397 = getelementptr inbounds %struct.doublecomplex, ptr %20, i32 0, i32 1
  store double %396, ptr %397, align 8, !tbaa !15
  %398 = load ptr, ptr %14, align 8, !tbaa !5
  %399 = call { double, double } @Cd(ptr noundef %398)
  %400 = extractvalue { double, double } %399, 0
  %401 = extractvalue { double, double } %399, 1
  %402 = fneg double %401
  %403 = call ptr @_pCd(ptr noundef %22)
  %404 = getelementptr inbounds { double, double }, ptr %403, i32 0, i32 0
  %405 = getelementptr inbounds { double, double }, ptr %403, i32 0, i32 1
  store double %400, ptr %404, align 8
  store double %402, ptr %405, align 8
  %406 = load i32, ptr %23, align 4, !tbaa !9
  store i32 %406, ptr %18, align 4, !tbaa !9
  %407 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  %408 = load double, ptr %407, align 8, !tbaa !13
  %409 = load ptr, ptr %9, align 8, !tbaa !5
  %410 = load i32, ptr %18, align 4, !tbaa !9
  %411 = sext i32 %410 to i64
  %412 = getelementptr inbounds %struct.doublecomplex, ptr %409, i64 %411
  %413 = getelementptr inbounds %struct.doublecomplex, ptr %412, i32 0, i32 0
  %414 = load double, ptr %413, align 8, !tbaa !13
  %415 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  %416 = load double, ptr %415, align 8, !tbaa !15
  %417 = load ptr, ptr %9, align 8, !tbaa !5
  %418 = load i32, ptr %18, align 4, !tbaa !9
  %419 = sext i32 %418 to i64
  %420 = getelementptr inbounds %struct.doublecomplex, ptr %417, i64 %419
  %421 = getelementptr inbounds %struct.doublecomplex, ptr %420, i32 0, i32 1
  %422 = load double, ptr %421, align 8, !tbaa !15
  %423 = fmul double %416, %422
  %424 = fneg double %423
  %425 = call double @llvm.fmuladd.f64(double %408, double %414, double %424)
  %426 = getelementptr inbounds %struct.doublecomplex, ptr %21, i32 0, i32 0
  store double %425, ptr %426, align 8, !tbaa !13
  %427 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  %428 = load double, ptr %427, align 8, !tbaa !13
  %429 = load ptr, ptr %9, align 8, !tbaa !5
  %430 = load i32, ptr %18, align 4, !tbaa !9
  %431 = sext i32 %430 to i64
  %432 = getelementptr inbounds %struct.doublecomplex, ptr %429, i64 %431
  %433 = getelementptr inbounds %struct.doublecomplex, ptr %432, i32 0, i32 1
  %434 = load double, ptr %433, align 8, !tbaa !15
  %435 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  %436 = load double, ptr %435, align 8, !tbaa !15
  %437 = load ptr, ptr %9, align 8, !tbaa !5
  %438 = load i32, ptr %18, align 4, !tbaa !9
  %439 = sext i32 %438 to i64
  %440 = getelementptr inbounds %struct.doublecomplex, ptr %437, i64 %439
  %441 = getelementptr inbounds %struct.doublecomplex, ptr %440, i32 0, i32 0
  %442 = load double, ptr %441, align 8, !tbaa !13
  %443 = fmul double %436, %442
  %444 = call double @llvm.fmuladd.f64(double %428, double %434, double %443)
  %445 = getelementptr inbounds %struct.doublecomplex, ptr %21, i32 0, i32 1
  store double %444, ptr %445, align 8, !tbaa !15
  %446 = getelementptr inbounds %struct.doublecomplex, ptr %20, i32 0, i32 0
  %447 = load double, ptr %446, align 8, !tbaa !13
  %448 = getelementptr inbounds %struct.doublecomplex, ptr %21, i32 0, i32 0
  %449 = load double, ptr %448, align 8, !tbaa !13
  %450 = fsub double %447, %449
  %451 = getelementptr inbounds %struct.doublecomplex, ptr %19, i32 0, i32 0
  store double %450, ptr %451, align 8, !tbaa !13
  %452 = getelementptr inbounds %struct.doublecomplex, ptr %20, i32 0, i32 1
  %453 = load double, ptr %452, align 8, !tbaa !15
  %454 = getelementptr inbounds %struct.doublecomplex, ptr %21, i32 0, i32 1
  %455 = load double, ptr %454, align 8, !tbaa !15
  %456 = fsub double %453, %455
  %457 = getelementptr inbounds %struct.doublecomplex, ptr %19, i32 0, i32 1
  store double %456, ptr %457, align 8, !tbaa !15
  %458 = getelementptr inbounds %struct.doublecomplex, ptr %19, i32 0, i32 0
  %459 = load double, ptr %458, align 8, !tbaa !13
  %460 = load ptr, ptr %11, align 8, !tbaa !5
  %461 = load i32, ptr %16, align 4, !tbaa !9
  %462 = sext i32 %461 to i64
  %463 = getelementptr inbounds %struct.doublecomplex, ptr %460, i64 %462
  %464 = getelementptr inbounds %struct.doublecomplex, ptr %463, i32 0, i32 0
  store double %459, ptr %464, align 8, !tbaa !13
  %465 = getelementptr inbounds %struct.doublecomplex, ptr %19, i32 0, i32 1
  %466 = load double, ptr %465, align 8, !tbaa !15
  %467 = load ptr, ptr %11, align 8, !tbaa !5
  %468 = load i32, ptr %16, align 4, !tbaa !9
  %469 = sext i32 %468 to i64
  %470 = getelementptr inbounds %struct.doublecomplex, ptr %467, i64 %469
  %471 = getelementptr inbounds %struct.doublecomplex, ptr %470, i32 0, i32 1
  store double %466, ptr %471, align 8, !tbaa !15
  %472 = load i32, ptr %23, align 4, !tbaa !9
  store i32 %472, ptr %16, align 4, !tbaa !9
  %473 = getelementptr inbounds %struct.doublecomplex, ptr %24, i32 0, i32 0
  %474 = load double, ptr %473, align 8, !tbaa !13
  %475 = load ptr, ptr %9, align 8, !tbaa !5
  %476 = load i32, ptr %16, align 4, !tbaa !9
  %477 = sext i32 %476 to i64
  %478 = getelementptr inbounds %struct.doublecomplex, ptr %475, i64 %477
  %479 = getelementptr inbounds %struct.doublecomplex, ptr %478, i32 0, i32 0
  store double %474, ptr %479, align 8, !tbaa !13
  %480 = getelementptr inbounds %struct.doublecomplex, ptr %24, i32 0, i32 1
  %481 = load double, ptr %480, align 8, !tbaa !15
  %482 = load ptr, ptr %9, align 8, !tbaa !5
  %483 = load i32, ptr %16, align 4, !tbaa !9
  %484 = sext i32 %483 to i64
  %485 = getelementptr inbounds %struct.doublecomplex, ptr %482, i64 %484
  %486 = getelementptr inbounds %struct.doublecomplex, ptr %485, i32 0, i32 1
  store double %481, ptr %486, align 8, !tbaa !15
  br label %487

487:                                              ; preds = %292
  %488 = load i32, ptr %23, align 4, !tbaa !9
  %489 = add nsw i32 %488, 1
  store i32 %489, ptr %23, align 4, !tbaa !9
  br label %288, !llvm.loop !18

490:                                              ; preds = %288
  store i32 1, ptr %27, align 4
  br label %491

491:                                              ; preds = %490, %284, %35
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 4, 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 16, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  ret void
}

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

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

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

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

; 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

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

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

; Function Attrs: nounwind uwtable
define dso_local void @zrot_(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef %3, ptr nocapture noundef readonly %4, ptr nocapture noundef readonly %5, ptr noundef %6) local_unnamed_addr #0 {
  %8 = alloca %struct.doublecomplex, align 16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #4
  %9 = getelementptr inbounds i8, ptr %3, i64 -16
  %10 = getelementptr inbounds i8, ptr %1, i64 -16
  %11 = load i32, ptr %0, align 4, !tbaa !5
  %12 = icmp slt i32 %11, 1
  br i1 %12, label %.loopexit, label %13

13:                                               ; preds = %7
  %14 = load i32, ptr %2, align 4, !tbaa !5
  %15 = icmp eq i32 %14, 1
  br i1 %15, label %16, label %thread-pre-split

16:                                               ; preds = %13
  %17 = load i32, ptr %4, align 4, !tbaa !5
  %18 = icmp eq i32 %17, 1
  br i1 %18, label %.lr.ph156, label %.lr.ph

.lr.ph156:                                        ; preds = %16
  %19 = getelementptr inbounds i8, ptr %6, i64 8
  %20 = getelementptr inbounds i8, ptr %8, i64 8
  %21 = add nuw i32 %11, 1
  %wide.trip.count = zext i32 %21 to i64
  br label %78

thread-pre-split:                                 ; preds = %13
  %22 = icmp slt i32 %14, 0
  %23 = sub nsw i32 1, %11
  %24 = mul nsw i32 %14, %23
  %25 = add nuw nsw i32 %24, 1
  %.0141.ph = select i1 %22, i32 %25, i32 1
  %.pr = load i32, ptr %4, align 4, !tbaa !5
  br label %.lr.ph

.lr.ph:                                           ; preds = %thread-pre-split, %16
  %26 = phi i32 [ %.pr, %thread-pre-split ], [ %17, %16 ]
  %.0141 = phi i32 [ %.0141.ph, %thread-pre-split ], [ 1, %16 ]
  %27 = icmp slt i32 %26, 0
  %28 = sub nsw i32 1, %11
  %29 = mul nsw i32 %26, %28
  %30 = add nuw nsw i32 %29, 1
  %.0 = select i1 %27, i32 %30, i32 1
  %31 = getelementptr inbounds i8, ptr %6, i64 8
  %32 = getelementptr inbounds i8, ptr %8, i64 8
  br label %33

33:                                               ; preds = %.lr.ph, %33
  %.1153 = phi i32 [ %.0, %.lr.ph ], [ %76, %33 ]
  %.1142152 = phi i32 [ %.0141, %.lr.ph ], [ %74, %33 ]
  %.0143151 = phi i32 [ 1, %.lr.ph ], [ %77, %33 ]
  %34 = load double, ptr %5, align 8, !tbaa !9
  %35 = sext i32 %.1142152 to i64
  %36 = getelementptr inbounds %struct.doublecomplex, ptr %10, i64 %35
  %37 = load double, ptr %6, align 8, !tbaa !11
  %38 = sext i32 %.1153 to i64
  %39 = getelementptr inbounds %struct.doublecomplex, ptr %9, i64 %38
  %40 = load double, ptr %31, align 8, !tbaa !13
  %41 = fneg double %40
  %42 = load <2 x double>, ptr %39, align 8, !tbaa !9
  %43 = insertelement <2 x double> poison, double %34, i64 0
  %44 = shufflevector <2 x double> %43, <2 x double> poison, <2 x i32> zeroinitializer
  %45 = fmul <2 x double> %44, %42
  %46 = load <2 x double>, ptr %36, align 8, !tbaa !9
  %47 = fmul <2 x double> %44, %46
  %48 = insertelement <2 x double> poison, double %40, i64 0
  %49 = insertelement <2 x double> %48, double %41, i64 1
  %50 = fmul <2 x double> %42, %49
  %51 = shufflevector <2 x double> %50, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %52 = insertelement <2 x double> poison, double %37, i64 0
  %53 = shufflevector <2 x double> %52, <2 x double> poison, <2 x i32> zeroinitializer
  %54 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %53, <2 x double> %42, <2 x double> %51)
  %55 = fadd <2 x double> %47, %54
  %56 = call { double, double } @Cd(ptr noundef nonnull %6)
  %57 = extractvalue { double, double } %56, 0
  %58 = extractvalue { double, double } %56, 1
  %59 = fneg double %58
  %60 = call ptr @_pCd(ptr noundef nonnull %8)
  %61 = getelementptr inbounds i8, ptr %60, i64 8
  store double %57, ptr %60, align 8
  store double %59, ptr %61, align 8
  %62 = load <2 x double>, ptr %8, align 16
  %63 = load double, ptr %32, align 8, !tbaa !13
  %64 = load <2 x double>, ptr %36, align 8, !tbaa !9
  %65 = fneg double %63
  %66 = insertelement <2 x double> poison, double %63, i64 0
  %67 = insertelement <2 x double> %66, double %65, i64 1
  %68 = fmul <2 x double> %64, %67
  %69 = shufflevector <2 x double> %68, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %70 = shufflevector <2 x double> %62, <2 x double> poison, <2 x i32> zeroinitializer
  %71 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %70, <2 x double> %64, <2 x double> %69)
  %72 = fsub <2 x double> %45, %71
  store <2 x double> %72, ptr %39, align 8, !tbaa !9
  store <2 x double> %55, ptr %36, align 8, !tbaa !9
  %73 = load i32, ptr %2, align 4, !tbaa !5
  %74 = add nsw i32 %73, %.1142152
  %75 = load i32, ptr %4, align 4, !tbaa !5
  %76 = add nsw i32 %75, %.1153
  %77 = add nuw i32 %.0143151, 1
  %exitcond.not = icmp eq i32 %.0143151, %11
  br i1 %exitcond.not, label %.loopexit, label %33, !llvm.loop !14

78:                                               ; preds = %.lr.ph156, %78
  %indvars.iv = phi i64 [ 1, %.lr.ph156 ], [ %indvars.iv.next, %78 ]
  %79 = load double, ptr %5, align 8, !tbaa !9
  %80 = getelementptr inbounds %struct.doublecomplex, ptr %10, i64 %indvars.iv
  %81 = load double, ptr %6, align 8, !tbaa !11
  %82 = getelementptr inbounds %struct.doublecomplex, ptr %9, i64 %indvars.iv
  %83 = load double, ptr %19, align 8, !tbaa !13
  %84 = fneg double %83
  %85 = load <2 x double>, ptr %82, align 8, !tbaa !9
  %86 = insertelement <2 x double> poison, double %79, i64 0
  %87 = shufflevector <2 x double> %86, <2 x double> poison, <2 x i32> zeroinitializer
  %88 = fmul <2 x double> %87, %85
  %89 = load <2 x double>, ptr %80, align 8, !tbaa !9
  %90 = fmul <2 x double> %87, %89
  %91 = insertelement <2 x double> poison, double %83, i64 0
  %92 = insertelement <2 x double> %91, double %84, i64 1
  %93 = fmul <2 x double> %85, %92
  %94 = shufflevector <2 x double> %93, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %95 = insertelement <2 x double> poison, double %81, i64 0
  %96 = shufflevector <2 x double> %95, <2 x double> poison, <2 x i32> zeroinitializer
  %97 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %96, <2 x double> %85, <2 x double> %94)
  %98 = fadd <2 x double> %90, %97
  %99 = call { double, double } @Cd(ptr noundef nonnull %6)
  %100 = extractvalue { double, double } %99, 0
  %101 = extractvalue { double, double } %99, 1
  %102 = fneg double %101
  %103 = call ptr @_pCd(ptr noundef nonnull %8)
  %104 = getelementptr inbounds i8, ptr %103, i64 8
  store double %100, ptr %103, align 8
  store double %102, ptr %104, align 8
  %105 = load <2 x double>, ptr %8, align 16
  %106 = load double, ptr %20, align 8, !tbaa !13
  %107 = load <2 x double>, ptr %80, align 8, !tbaa !9
  %108 = fneg double %106
  %109 = insertelement <2 x double> poison, double %106, i64 0
  %110 = insertelement <2 x double> %109, double %108, i64 1
  %111 = fmul <2 x double> %107, %110
  %112 = shufflevector <2 x double> %111, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %113 = shufflevector <2 x double> %105, <2 x double> poison, <2 x i32> zeroinitializer
  %114 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %113, <2 x double> %107, <2 x double> %112)
  %115 = fsub <2 x double> %88, %114
  store <2 x double> %115, ptr %82, align 8, !tbaa !9
  store <2 x double> %98, ptr %80, align 8, !tbaa !9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond159.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond159.not, label %.loopexit, label %78, !llvm.loop !16

.loopexit:                                        ; preds = %33, %78, %7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #4
  ret void
}

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @_pCd(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 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"", !10, i64 0, !10, i64 8}
!13 = !{!12, !10, i64 8}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}


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