; LLVM IR from OpenMathLib/OpenBLAS :: lapack-netlib/TESTING/MATGEN (zlarot)

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

@.str = external hidden unnamed_addr constant [7 x i8], align 1
@c__4 = external hidden global i32, align 4
@c__8 = external hidden global i32, align 4

; Function Attrs: nounwind uwtable
define dso_local void @zlarot_(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, ptr noundef %9) #0 {
  %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 ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca %struct.doublecomplex, align 8
  %26 = alloca %struct.doublecomplex, align 8
  %27 = alloca %struct.doublecomplex, align 8
  %28 = alloca %struct.doublecomplex, align 8
  %29 = alloca %struct.doublecomplex, align 8
  %30 = alloca %struct.doublecomplex, align 8
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca %struct.doublecomplex, align 8
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca [2 x %struct.doublecomplex], align 16
  %39 = alloca [2 x %struct.doublecomplex], align 16
  %40 = alloca i32, align 4
  %41 = 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
  store ptr %9, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %38) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %39) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #5
  %42 = load ptr, ptr %17, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 -1
  store ptr %43, ptr %17, align 8, !tbaa !5
  %44 = load ptr, ptr %11, align 8, !tbaa !5
  %45 = load i32, ptr %44, align 4, !tbaa !9
  %46 = icmp ne i32 %45, 0
  br i1 %46, label %47, label %50

47:                                               ; preds = %10
  %48 = load ptr, ptr %18, align 8, !tbaa !5
  %49 = load i32, ptr %48, align 4, !tbaa !9
  store i32 %49, ptr %31, align 4, !tbaa !9
  store i32 1, ptr %33, align 4, !tbaa !9
  br label %53

50:                                               ; preds = %10
  store i32 1, ptr %31, align 4, !tbaa !9
  %51 = load ptr, ptr %18, align 8, !tbaa !5
  %52 = load i32, ptr %51, align 4, !tbaa !9
  store i32 %52, ptr %33, align 4, !tbaa !9
  br label %53

53:                                               ; preds = %50, %47
  %54 = load ptr, ptr %12, align 8, !tbaa !5
  %55 = load i32, ptr %54, align 4, !tbaa !9
  %56 = icmp ne i32 %55, 0
  br i1 %56, label %57, label %85

57:                                               ; preds = %53
  store i32 1, ptr %37, align 4, !tbaa !9
  %58 = load i32, ptr %31, align 4, !tbaa !9
  %59 = add nsw i32 %58, 1
  store i32 %59, ptr %35, align 4, !tbaa !9
  %60 = load ptr, ptr %18, align 8, !tbaa !5
  %61 = load i32, ptr %60, align 4, !tbaa !9
  %62 = add nsw i32 %61, 2
  store i32 %62, ptr %36, align 4, !tbaa !9
  %63 = load ptr, ptr %17, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.doublecomplex, ptr %63, i64 1
  %65 = getelementptr inbounds %struct.doublecomplex, ptr %64, i32 0, i32 0
  %66 = load double, ptr %65, align 8, !tbaa !11
  %67 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %38, i64 0, i64 0
  %68 = getelementptr inbounds %struct.doublecomplex, ptr %67, i32 0, i32 0
  store double %66, ptr %68, align 16, !tbaa !11
  %69 = load ptr, ptr %17, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.doublecomplex, ptr %69, i64 1
  %71 = getelementptr inbounds %struct.doublecomplex, ptr %70, i32 0, i32 1
  %72 = load double, ptr %71, align 8, !tbaa !14
  %73 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %38, i64 0, i64 0
  %74 = getelementptr inbounds %struct.doublecomplex, ptr %73, i32 0, i32 1
  store double %72, ptr %74, align 8, !tbaa !14
  %75 = load ptr, ptr %19, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.doublecomplex, ptr %75, i32 0, i32 0
  %77 = load double, ptr %76, align 8, !tbaa !11
  %78 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %39, i64 0, i64 0
  %79 = getelementptr inbounds %struct.doublecomplex, ptr %78, i32 0, i32 0
  store double %77, ptr %79, align 16, !tbaa !11
  %80 = load ptr, ptr %19, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.doublecomplex, ptr %80, i32 0, i32 1
  %82 = load double, ptr %81, align 8, !tbaa !14
  %83 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %39, i64 0, i64 0
  %84 = getelementptr inbounds %struct.doublecomplex, ptr %83, i32 0, i32 1
  store double %82, ptr %84, align 8, !tbaa !14
  br label %88

85:                                               ; preds = %53
  store i32 0, ptr %37, align 4, !tbaa !9
  store i32 1, ptr %35, align 4, !tbaa !9
  %86 = load i32, ptr %33, align 4, !tbaa !9
  %87 = add nsw i32 %86, 1
  store i32 %87, ptr %36, align 4, !tbaa !9
  br label %88

88:                                               ; preds = %85, %57
  %89 = load ptr, ptr %13, align 8, !tbaa !5
  %90 = load i32, ptr %89, align 4, !tbaa !9
  %91 = icmp ne i32 %90, 0
  br i1 %91, label %92, label %142

92:                                               ; preds = %88
  %93 = load i32, ptr %33, align 4, !tbaa !9
  %94 = add nsw i32 %93, 1
  %95 = load ptr, ptr %14, align 8, !tbaa !5
  %96 = load i32, ptr %95, align 4, !tbaa !9
  %97 = sub nsw i32 %96, 1
  %98 = load i32, ptr %31, align 4, !tbaa !9
  %99 = mul nsw i32 %97, %98
  %100 = add nsw i32 %94, %99
  store i32 %100, ptr %40, align 4, !tbaa !9
  %101 = load i32, ptr %37, align 4, !tbaa !9
  %102 = add nsw i32 %101, 1
  store i32 %102, ptr %37, align 4, !tbaa !9
  %103 = load i32, ptr %37, align 4, !tbaa !9
  %104 = sub nsw i32 %103, 1
  store i32 %104, ptr %21, align 4, !tbaa !9
  %105 = load ptr, ptr %20, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.doublecomplex, ptr %105, i32 0, i32 0
  %107 = load double, ptr %106, align 8, !tbaa !11
  %108 = load i32, ptr %21, align 4, !tbaa !9
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %38, i64 0, i64 %109
  %111 = getelementptr inbounds %struct.doublecomplex, ptr %110, i32 0, i32 0
  store double %107, ptr %111, align 16, !tbaa !11
  %112 = load ptr, ptr %20, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.doublecomplex, ptr %112, i32 0, i32 1
  %114 = load double, ptr %113, align 8, !tbaa !14
  %115 = load i32, ptr %21, align 4, !tbaa !9
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %38, i64 0, i64 %116
  %118 = getelementptr inbounds %struct.doublecomplex, ptr %117, i32 0, i32 1
  store double %114, ptr %118, align 8, !tbaa !14
  %119 = load i32, ptr %37, align 4, !tbaa !9
  %120 = sub nsw i32 %119, 1
  store i32 %120, ptr %21, align 4, !tbaa !9
  %121 = load i32, ptr %40, align 4, !tbaa !9
  store i32 %121, ptr %22, align 4, !tbaa !9
  %122 = load ptr, ptr %17, align 8, !tbaa !5
  %123 = load i32, ptr %22, align 4, !tbaa !9
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds %struct.doublecomplex, ptr %122, i64 %124
  %126 = getelementptr inbounds %struct.doublecomplex, ptr %125, i32 0, i32 0
  %127 = load double, ptr %126, align 8, !tbaa !11
  %128 = load i32, ptr %21, align 4, !tbaa !9
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %39, i64 0, i64 %129
  %131 = getelementptr inbounds %struct.doublecomplex, ptr %130, i32 0, i32 0
  store double %127, ptr %131, align 16, !tbaa !11
  %132 = load ptr, ptr %17, align 8, !tbaa !5
  %133 = load i32, ptr %22, align 4, !tbaa !9
  %134 = sext i32 %133 to i64
  %135 = getelementptr inbounds %struct.doublecomplex, ptr %132, i64 %134
  %136 = getelementptr inbounds %struct.doublecomplex, ptr %135, i32 0, i32 1
  %137 = load double, ptr %136, align 8, !tbaa !14
  %138 = load i32, ptr %21, align 4, !tbaa !9
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %39, i64 0, i64 %139
  %141 = getelementptr inbounds %struct.doublecomplex, ptr %140, i32 0, i32 1
  store double %137, ptr %141, align 8, !tbaa !14
  br label %142

142:                                              ; preds = %92, %88
  %143 = load ptr, ptr %14, align 8, !tbaa !5
  %144 = load i32, ptr %143, align 4, !tbaa !9
  %145 = load i32, ptr %37, align 4, !tbaa !9
  %146 = icmp slt i32 %144, %145
  br i1 %146, label %147, label %149

147:                                              ; preds = %142
  %148 = call i32 @xerbla_(ptr noundef @.str, ptr noundef @c__4, i32 noundef 6)
  store i32 1, ptr %41, align 4
  br label %777

149:                                              ; preds = %142
  %150 = load ptr, ptr %18, align 8, !tbaa !5
  %151 = load i32, ptr %150, align 4, !tbaa !9
  %152 = icmp sle i32 %151, 0
  br i1 %152, label %165, label %153

153:                                              ; preds = %149
  %154 = load ptr, ptr %11, align 8, !tbaa !5
  %155 = load i32, ptr %154, align 4, !tbaa !9
  %156 = icmp ne i32 %155, 0
  br i1 %156, label %167, label %157

157:                                              ; preds = %153
  %158 = load ptr, ptr %18, align 8, !tbaa !5
  %159 = load i32, ptr %158, align 4, !tbaa !9
  %160 = load ptr, ptr %14, align 8, !tbaa !5
  %161 = load i32, ptr %160, align 4, !tbaa !9
  %162 = load i32, ptr %37, align 4, !tbaa !9
  %163 = sub nsw i32 %161, %162
  %164 = icmp slt i32 %159, %163
  br i1 %164, label %165, label %167

165:                                              ; preds = %157, %149
  %166 = call i32 @xerbla_(ptr noundef @.str, ptr noundef @c__8, i32 noundef 6)
  store i32 1, ptr %41, align 4
  br label %777

167:                                              ; preds = %157, %153
  %168 = load ptr, ptr %14, align 8, !tbaa !5
  %169 = load i32, ptr %168, align 4, !tbaa !9
  %170 = load i32, ptr %37, align 4, !tbaa !9
  %171 = sub nsw i32 %169, %170
  %172 = sub nsw i32 %171, 1
  store i32 %172, ptr %21, align 4, !tbaa !9
  store i32 0, ptr %32, align 4, !tbaa !9
  br label %173

173:                                              ; preds = %454, %167
  %174 = load i32, ptr %32, align 4, !tbaa !9
  %175 = load i32, ptr %21, align 4, !tbaa !9
  %176 = icmp sle i32 %174, %175
  br i1 %176, label %177, label %457

177:                                              ; preds = %173
  %178 = load i32, ptr %35, align 4, !tbaa !9
  %179 = load i32, ptr %32, align 4, !tbaa !9
  %180 = load i32, ptr %31, align 4, !tbaa !9
  %181 = mul nsw i32 %179, %180
  %182 = add nsw i32 %178, %181
  store i32 %182, ptr %22, align 4, !tbaa !9
  %183 = load ptr, ptr %15, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.doublecomplex, ptr %183, i32 0, i32 0
  %185 = load double, ptr %184, align 8, !tbaa !11
  %186 = load ptr, ptr %17, align 8, !tbaa !5
  %187 = load i32, ptr %22, align 4, !tbaa !9
  %188 = sext i32 %187 to i64
  %189 = getelementptr inbounds %struct.doublecomplex, ptr %186, i64 %188
  %190 = getelementptr inbounds %struct.doublecomplex, ptr %189, i32 0, i32 0
  %191 = load double, ptr %190, align 8, !tbaa !11
  %192 = load ptr, ptr %15, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.doublecomplex, ptr %192, i32 0, i32 1
  %194 = load double, ptr %193, align 8, !tbaa !14
  %195 = load ptr, ptr %17, align 8, !tbaa !5
  %196 = load i32, ptr %22, 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 1
  %200 = load double, ptr %199, align 8, !tbaa !14
  %201 = fmul double %194, %200
  %202 = fneg double %201
  %203 = call double @llvm.fmuladd.f64(double %185, double %191, double %202)
  %204 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 0
  store double %203, ptr %204, align 8, !tbaa !11
  %205 = load ptr, ptr %15, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.doublecomplex, ptr %205, i32 0, i32 0
  %207 = load double, ptr %206, align 8, !tbaa !11
  %208 = load ptr, ptr %17, align 8, !tbaa !5
  %209 = load i32, ptr %22, align 4, !tbaa !9
  %210 = sext i32 %209 to i64
  %211 = getelementptr inbounds %struct.doublecomplex, ptr %208, i64 %210
  %212 = getelementptr inbounds %struct.doublecomplex, ptr %211, i32 0, i32 1
  %213 = load double, ptr %212, align 8, !tbaa !14
  %214 = load ptr, ptr %15, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.doublecomplex, ptr %214, i32 0, i32 1
  %216 = load double, ptr %215, align 8, !tbaa !14
  %217 = load ptr, ptr %17, align 8, !tbaa !5
  %218 = load i32, ptr %22, align 4, !tbaa !9
  %219 = sext i32 %218 to i64
  %220 = getelementptr inbounds %struct.doublecomplex, ptr %217, i64 %219
  %221 = getelementptr inbounds %struct.doublecomplex, ptr %220, i32 0, i32 0
  %222 = load double, ptr %221, align 8, !tbaa !11
  %223 = fmul double %216, %222
  %224 = call double @llvm.fmuladd.f64(double %207, double %213, double %223)
  %225 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 1
  store double %224, ptr %225, align 8, !tbaa !14
  %226 = load i32, ptr %36, align 4, !tbaa !9
  %227 = load i32, ptr %32, align 4, !tbaa !9
  %228 = load i32, ptr %31, align 4, !tbaa !9
  %229 = mul nsw i32 %227, %228
  %230 = add nsw i32 %226, %229
  store i32 %230, ptr %23, align 4, !tbaa !9
  %231 = load ptr, ptr %16, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.doublecomplex, ptr %231, i32 0, i32 0
  %233 = load double, ptr %232, align 8, !tbaa !11
  %234 = load ptr, ptr %17, align 8, !tbaa !5
  %235 = load i32, ptr %23, align 4, !tbaa !9
  %236 = sext i32 %235 to i64
  %237 = getelementptr inbounds %struct.doublecomplex, ptr %234, i64 %236
  %238 = getelementptr inbounds %struct.doublecomplex, ptr %237, i32 0, i32 0
  %239 = load double, ptr %238, align 8, !tbaa !11
  %240 = load ptr, ptr %16, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.doublecomplex, ptr %240, i32 0, i32 1
  %242 = load double, ptr %241, align 8, !tbaa !14
  %243 = load ptr, ptr %17, align 8, !tbaa !5
  %244 = load i32, ptr %23, align 4, !tbaa !9
  %245 = sext i32 %244 to i64
  %246 = getelementptr inbounds %struct.doublecomplex, ptr %243, i64 %245
  %247 = getelementptr inbounds %struct.doublecomplex, ptr %246, i32 0, i32 1
  %248 = load double, ptr %247, align 8, !tbaa !14
  %249 = fmul double %242, %248
  %250 = fneg double %249
  %251 = call double @llvm.fmuladd.f64(double %233, double %239, double %250)
  %252 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  store double %251, ptr %252, align 8, !tbaa !11
  %253 = load ptr, ptr %16, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.doublecomplex, ptr %253, i32 0, i32 0
  %255 = load double, ptr %254, align 8, !tbaa !11
  %256 = load ptr, ptr %17, align 8, !tbaa !5
  %257 = load i32, ptr %23, align 4, !tbaa !9
  %258 = sext i32 %257 to i64
  %259 = getelementptr inbounds %struct.doublecomplex, ptr %256, i64 %258
  %260 = getelementptr inbounds %struct.doublecomplex, ptr %259, i32 0, i32 1
  %261 = load double, ptr %260, align 8, !tbaa !14
  %262 = load ptr, ptr %16, align 8, !tbaa !5
  %263 = getelementptr inbounds %struct.doublecomplex, ptr %262, i32 0, i32 1
  %264 = load double, ptr %263, align 8, !tbaa !14
  %265 = load ptr, ptr %17, align 8, !tbaa !5
  %266 = load i32, ptr %23, align 4, !tbaa !9
  %267 = sext i32 %266 to i64
  %268 = getelementptr inbounds %struct.doublecomplex, ptr %265, i64 %267
  %269 = getelementptr inbounds %struct.doublecomplex, ptr %268, i32 0, i32 0
  %270 = load double, ptr %269, align 8, !tbaa !11
  %271 = fmul double %264, %270
  %272 = call double @llvm.fmuladd.f64(double %255, double %261, double %271)
  %273 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  store double %272, ptr %273, align 8, !tbaa !14
  %274 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 0
  %275 = load double, ptr %274, align 8, !tbaa !11
  %276 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  %277 = load double, ptr %276, align 8, !tbaa !11
  %278 = fadd double %275, %277
  %279 = getelementptr inbounds %struct.doublecomplex, ptr %25, i32 0, i32 0
  store double %278, ptr %279, align 8, !tbaa !11
  %280 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 1
  %281 = load double, ptr %280, align 8, !tbaa !14
  %282 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  %283 = load double, ptr %282, align 8, !tbaa !14
  %284 = fadd double %281, %283
  %285 = getelementptr inbounds %struct.doublecomplex, ptr %25, i32 0, i32 1
  store double %284, ptr %285, align 8, !tbaa !14
  %286 = getelementptr inbounds %struct.doublecomplex, ptr %25, i32 0, i32 0
  %287 = load double, ptr %286, align 8, !tbaa !11
  %288 = getelementptr inbounds %struct.doublecomplex, ptr %34, i32 0, i32 0
  store double %287, ptr %288, align 8, !tbaa !11
  %289 = getelementptr inbounds %struct.doublecomplex, ptr %25, i32 0, i32 1
  %290 = load double, ptr %289, align 8, !tbaa !14
  %291 = getelementptr inbounds %struct.doublecomplex, ptr %34, i32 0, i32 1
  store double %290, ptr %291, align 8, !tbaa !14
  %292 = load i32, ptr %36, align 4, !tbaa !9
  %293 = load i32, ptr %32, align 4, !tbaa !9
  %294 = load i32, ptr %31, align 4, !tbaa !9
  %295 = mul nsw i32 %293, %294
  %296 = add nsw i32 %292, %295
  store i32 %296, ptr %22, align 4, !tbaa !9
  %297 = load ptr, ptr %16, align 8, !tbaa !5
  %298 = call { double, double } @Cd(ptr noundef %297)
  %299 = extractvalue { double, double } %298, 0
  %300 = extractvalue { double, double } %298, 1
  %301 = fneg double %300
  %302 = call ptr @_pCd(ptr noundef %28)
  %303 = getelementptr inbounds { double, double }, ptr %302, i32 0, i32 0
  %304 = getelementptr inbounds { double, double }, ptr %302, i32 0, i32 1
  store double %299, ptr %303, align 8
  store double %301, ptr %304, align 8
  %305 = getelementptr inbounds %struct.doublecomplex, ptr %28, i32 0, i32 0
  %306 = load double, ptr %305, align 8, !tbaa !11
  %307 = fneg double %306
  %308 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  store double %307, ptr %308, align 8, !tbaa !11
  %309 = getelementptr inbounds %struct.doublecomplex, ptr %28, i32 0, i32 1
  %310 = load double, ptr %309, align 8, !tbaa !14
  %311 = fneg double %310
  %312 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  store double %311, ptr %312, align 8, !tbaa !14
  %313 = load i32, ptr %35, align 4, !tbaa !9
  %314 = load i32, ptr %32, align 4, !tbaa !9
  %315 = load i32, ptr %31, align 4, !tbaa !9
  %316 = mul nsw i32 %314, %315
  %317 = add nsw i32 %313, %316
  store i32 %317, ptr %23, align 4, !tbaa !9
  %318 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  %319 = load double, ptr %318, align 8, !tbaa !11
  %320 = load ptr, ptr %17, align 8, !tbaa !5
  %321 = load i32, ptr %23, align 4, !tbaa !9
  %322 = sext i32 %321 to i64
  %323 = getelementptr inbounds %struct.doublecomplex, ptr %320, i64 %322
  %324 = getelementptr inbounds %struct.doublecomplex, ptr %323, i32 0, i32 0
  %325 = load double, ptr %324, align 8, !tbaa !11
  %326 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  %327 = load double, ptr %326, align 8, !tbaa !14
  %328 = load ptr, ptr %17, align 8, !tbaa !5
  %329 = load i32, ptr %23, align 4, !tbaa !9
  %330 = sext i32 %329 to i64
  %331 = getelementptr inbounds %struct.doublecomplex, ptr %328, i64 %330
  %332 = getelementptr inbounds %struct.doublecomplex, ptr %331, i32 0, i32 1
  %333 = load double, ptr %332, align 8, !tbaa !14
  %334 = fmul double %327, %333
  %335 = fneg double %334
  %336 = call double @llvm.fmuladd.f64(double %319, double %325, double %335)
  %337 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 0
  store double %336, ptr %337, align 8, !tbaa !11
  %338 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 0
  %339 = load double, ptr %338, align 8, !tbaa !11
  %340 = load ptr, ptr %17, align 8, !tbaa !5
  %341 = load i32, ptr %23, 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 !14
  %346 = getelementptr inbounds %struct.doublecomplex, ptr %27, i32 0, i32 1
  %347 = load double, ptr %346, align 8, !tbaa !14
  %348 = load ptr, ptr %17, align 8, !tbaa !5
  %349 = load i32, ptr %23, align 4, !tbaa !9
  %350 = sext i32 %349 to i64
  %351 = getelementptr inbounds %struct.doublecomplex, ptr %348, i64 %350
  %352 = getelementptr inbounds %struct.doublecomplex, ptr %351, i32 0, i32 0
  %353 = load double, ptr %352, align 8, !tbaa !11
  %354 = fmul double %347, %353
  %355 = call double @llvm.fmuladd.f64(double %339, double %345, double %354)
  %356 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 1
  store double %355, ptr %356, align 8, !tbaa !14
  %357 = load ptr, ptr %15, align 8, !tbaa !5
  %358 = call { double, double } @Cd(ptr noundef %357)
  %359 = extractvalue { double, double } %358, 0
  %360 = extractvalue { double, double } %358, 1
  %361 = fneg double %360
  %362 = call ptr @_pCd(ptr noundef %30)
  %363 = getelementptr inbounds { double, double }, ptr %362, i32 0, i32 0
  %364 = getelementptr inbounds { double, double }, ptr %362, i32 0, i32 1
  store double %359, ptr %363, align 8
  store double %361, ptr %364, align 8
  %365 = load i32, ptr %36, align 4, !tbaa !9
  %366 = load i32, ptr %32, align 4, !tbaa !9
  %367 = load i32, ptr %31, align 4, !tbaa !9
  %368 = mul nsw i32 %366, %367
  %369 = add nsw i32 %365, %368
  store i32 %369, ptr %24, align 4, !tbaa !9
  %370 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 0
  %371 = load double, ptr %370, align 8, !tbaa !11
  %372 = load ptr, ptr %17, align 8, !tbaa !5
  %373 = load i32, ptr %24, align 4, !tbaa !9
  %374 = sext i32 %373 to i64
  %375 = getelementptr inbounds %struct.doublecomplex, ptr %372, i64 %374
  %376 = getelementptr inbounds %struct.doublecomplex, ptr %375, i32 0, i32 0
  %377 = load double, ptr %376, align 8, !tbaa !11
  %378 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 1
  %379 = load double, ptr %378, align 8, !tbaa !14
  %380 = load ptr, ptr %17, align 8, !tbaa !5
  %381 = load i32, ptr %24, 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 1
  %385 = load double, ptr %384, align 8, !tbaa !14
  %386 = fmul double %379, %385
  %387 = fneg double %386
  %388 = call double @llvm.fmuladd.f64(double %371, double %377, double %387)
  %389 = getelementptr inbounds %struct.doublecomplex, ptr %29, i32 0, i32 0
  store double %388, ptr %389, align 8, !tbaa !11
  %390 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 0
  %391 = load double, ptr %390, align 8, !tbaa !11
  %392 = load ptr, ptr %17, align 8, !tbaa !5
  %393 = load i32, ptr %24, align 4, !tbaa !9
  %394 = sext i32 %393 to i64
  %395 = getelementptr inbounds %struct.doublecomplex, ptr %392, i64 %394
  %396 = getelementptr inbounds %struct.doublecomplex, ptr %395, i32 0, i32 1
  %397 = load double, ptr %396, align 8, !tbaa !14
  %398 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 1
  %399 = load double, ptr %398, align 8, !tbaa !14
  %400 = load ptr, ptr %17, align 8, !tbaa !5
  %401 = load i32, ptr %24, align 4, !tbaa !9
  %402 = sext i32 %401 to i64
  %403 = getelementptr inbounds %struct.doublecomplex, ptr %400, i64 %402
  %404 = getelementptr inbounds %struct.doublecomplex, ptr %403, i32 0, i32 0
  %405 = load double, ptr %404, align 8, !tbaa !11
  %406 = fmul double %399, %405
  %407 = call double @llvm.fmuladd.f64(double %391, double %397, double %406)
  %408 = getelementptr inbounds %struct.doublecomplex, ptr %29, i32 0, i32 1
  store double %407, ptr %408, align 8, !tbaa !14
  %409 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 0
  %410 = load double, ptr %409, align 8, !tbaa !11
  %411 = getelementptr inbounds %struct.doublecomplex, ptr %29, i32 0, i32 0
  %412 = load double, ptr %411, align 8, !tbaa !11
  %413 = fadd double %410, %412
  %414 = getelementptr inbounds %struct.doublecomplex, ptr %25, i32 0, i32 0
  store double %413, ptr %414, align 8, !tbaa !11
  %415 = getelementptr inbounds %struct.doublecomplex, ptr %26, i32 0, i32 1
  %416 = load double, ptr %415, align 8, !tbaa !14
  %417 = getelementptr inbounds %struct.doublecomplex, ptr %29, i32 0, i32 1
  %418 = load double, ptr %417, align 8, !tbaa !14
  %419 = fadd double %416, %418
  %420 = getelementptr inbounds %struct.doublecomplex, ptr %25, i32 0, i32 1
  store double %419, ptr %420, align 8, !tbaa !14
  %421 = getelementptr inbounds %struct.doublecomplex, ptr %25, i32 0, i32 0
  %422 = load double, ptr %421, align 8, !tbaa !11
  %423 = load ptr, ptr %17, align 8, !tbaa !5
  %424 = load i32, ptr %22, align 4, !tbaa !9
  %425 = sext i32 %424 to i64
  %426 = getelementptr inbounds %struct.doublecomplex, ptr %423, i64 %425
  %427 = getelementptr inbounds %struct.doublecomplex, ptr %426, i32 0, i32 0
  store double %422, ptr %427, align 8, !tbaa !11
  %428 = getelementptr inbounds %struct.doublecomplex, ptr %25, i32 0, i32 1
  %429 = load double, ptr %428, align 8, !tbaa !14
  %430 = load ptr, ptr %17, align 8, !tbaa !5
  %431 = load i32, ptr %22, align 4, !tbaa !9
  %432 = sext i32 %431 to i64
  %433 = getelementptr inbounds %struct.doublecomplex, ptr %430, i64 %432
  %434 = getelementptr inbounds %struct.doublecomplex, ptr %433, i32 0, i32 1
  store double %429, ptr %434, align 8, !tbaa !14
  %435 = load i32, ptr %35, align 4, !tbaa !9
  %436 = load i32, ptr %32, align 4, !tbaa !9
  %437 = load i32, ptr %31, align 4, !tbaa !9
  %438 = mul nsw i32 %436, %437
  %439 = add nsw i32 %435, %438
  store i32 %439, ptr %22, align 4, !tbaa !9
  %440 = getelementptr inbounds %struct.doublecomplex, ptr %34, i32 0, i32 0
  %441 = load double, ptr %440, align 8, !tbaa !11
  %442 = load ptr, ptr %17, align 8, !tbaa !5
  %443 = load i32, ptr %22, align 4, !tbaa !9
  %444 = sext i32 %443 to i64
  %445 = getelementptr inbounds %struct.doublecomplex, ptr %442, i64 %444
  %446 = getelementptr inbounds %struct.doublecomplex, ptr %445, i32 0, i32 0
  store double %441, ptr %446, align 8, !tbaa !11
  %447 = getelementptr inbounds %struct.doublecomplex, ptr %34, i32 0, i32 1
  %448 = load double, ptr %447, align 8, !tbaa !14
  %449 = load ptr, ptr %17, align 8, !tbaa !5
  %450 = load i32, ptr %22, align 4, !tbaa !9
  %451 = sext i32 %450 to i64
  %452 = getelementptr inbounds %struct.doublecomplex, ptr %449, i64 %451
  %453 = getelementptr inbounds %struct.doublecomplex, ptr %452, i32 0, i32 1
  store double %448, ptr %453, align 8, !tbaa !14
  br label %454

454:                                              ; preds = %177
  %455 = load i32, ptr %32, align 4, !tbaa !9
  %456 = add nsw i32 %455, 1
  store i32 %456, ptr %32, align 4, !tbaa !9
  br label %173, !llvm.loop !15

457:                                              ; preds = %173
  %458 = load i32, ptr %37, align 4, !tbaa !9
  store i32 %458, ptr %21, align 4, !tbaa !9
  store i32 1, ptr %32, align 4, !tbaa !9
  br label %459

459:                                              ; preds = %702, %457
  %460 = load i32, ptr %32, align 4, !tbaa !9
  %461 = load i32, ptr %21, align 4, !tbaa !9
  %462 = icmp sle i32 %460, %461
  br i1 %462, label %463, label %705

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

702:                                              ; preds = %463
  %703 = load i32, ptr %32, align 4, !tbaa !9
  %704 = add nsw i32 %703, 1
  store i32 %704, ptr %32, align 4, !tbaa !9
  br label %459, !llvm.loop !17

705:                                              ; preds = %459
  %706 = load ptr, ptr %12, align 8, !tbaa !5
  %707 = load i32, ptr %706, align 4, !tbaa !9
  %708 = icmp ne i32 %707, 0
  br i1 %708, label %709, label %732

709:                                              ; preds = %705
  %710 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %38, i64 0, i64 0
  %711 = getelementptr inbounds %struct.doublecomplex, ptr %710, i32 0, i32 0
  %712 = load double, ptr %711, align 16, !tbaa !11
  %713 = load ptr, ptr %17, align 8, !tbaa !5
  %714 = getelementptr inbounds %struct.doublecomplex, ptr %713, i64 1
  %715 = getelementptr inbounds %struct.doublecomplex, ptr %714, i32 0, i32 0
  store double %712, ptr %715, align 8, !tbaa !11
  %716 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %38, i64 0, i64 0
  %717 = getelementptr inbounds %struct.doublecomplex, ptr %716, i32 0, i32 1
  %718 = load double, ptr %717, align 8, !tbaa !14
  %719 = load ptr, ptr %17, align 8, !tbaa !5
  %720 = getelementptr inbounds %struct.doublecomplex, ptr %719, i64 1
  %721 = getelementptr inbounds %struct.doublecomplex, ptr %720, i32 0, i32 1
  store double %718, ptr %721, align 8, !tbaa !14
  %722 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %39, i64 0, i64 0
  %723 = getelementptr inbounds %struct.doublecomplex, ptr %722, i32 0, i32 0
  %724 = load double, ptr %723, align 16, !tbaa !11
  %725 = load ptr, ptr %19, align 8, !tbaa !5
  %726 = getelementptr inbounds %struct.doublecomplex, ptr %725, i32 0, i32 0
  store double %724, ptr %726, align 8, !tbaa !11
  %727 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %39, i64 0, i64 0
  %728 = getelementptr inbounds %struct.doublecomplex, ptr %727, i32 0, i32 1
  %729 = load double, ptr %728, align 8, !tbaa !14
  %730 = load ptr, ptr %19, align 8, !tbaa !5
  %731 = getelementptr inbounds %struct.doublecomplex, ptr %730, i32 0, i32 1
  store double %729, ptr %731, align 8, !tbaa !14
  br label %732

732:                                              ; preds = %709, %705
  %733 = load ptr, ptr %13, align 8, !tbaa !5
  %734 = load i32, ptr %733, align 4, !tbaa !9
  %735 = icmp ne i32 %734, 0
  br i1 %735, label %736, label %776

736:                                              ; preds = %732
  %737 = load i32, ptr %37, align 4, !tbaa !9
  %738 = sub nsw i32 %737, 1
  store i32 %738, ptr %21, align 4, !tbaa !9
  %739 = load i32, ptr %21, align 4, !tbaa !9
  %740 = sext i32 %739 to i64
  %741 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %38, i64 0, i64 %740
  %742 = getelementptr inbounds %struct.doublecomplex, ptr %741, i32 0, i32 0
  %743 = load double, ptr %742, align 16, !tbaa !11
  %744 = load ptr, ptr %20, align 8, !tbaa !5
  %745 = getelementptr inbounds %struct.doublecomplex, ptr %744, i32 0, i32 0
  store double %743, ptr %745, align 8, !tbaa !11
  %746 = load i32, ptr %21, align 4, !tbaa !9
  %747 = sext i32 %746 to i64
  %748 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %38, i64 0, i64 %747
  %749 = getelementptr inbounds %struct.doublecomplex, ptr %748, i32 0, i32 1
  %750 = load double, ptr %749, align 8, !tbaa !14
  %751 = load ptr, ptr %20, align 8, !tbaa !5
  %752 = getelementptr inbounds %struct.doublecomplex, ptr %751, i32 0, i32 1
  store double %750, ptr %752, align 8, !tbaa !14
  %753 = load i32, ptr %40, align 4, !tbaa !9
  store i32 %753, ptr %21, align 4, !tbaa !9
  %754 = load i32, ptr %37, align 4, !tbaa !9
  %755 = sub nsw i32 %754, 1
  store i32 %755, ptr %22, align 4, !tbaa !9
  %756 = load i32, ptr %22, align 4, !tbaa !9
  %757 = sext i32 %756 to i64
  %758 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %39, i64 0, i64 %757
  %759 = getelementptr inbounds %struct.doublecomplex, ptr %758, i32 0, i32 0
  %760 = load double, ptr %759, align 16, !tbaa !11
  %761 = load ptr, ptr %17, align 8, !tbaa !5
  %762 = load i32, ptr %21, align 4, !tbaa !9
  %763 = sext i32 %762 to i64
  %764 = getelementptr inbounds %struct.doublecomplex, ptr %761, i64 %763
  %765 = getelementptr inbounds %struct.doublecomplex, ptr %764, i32 0, i32 0
  store double %760, ptr %765, align 8, !tbaa !11
  %766 = load i32, ptr %22, align 4, !tbaa !9
  %767 = sext i32 %766 to i64
  %768 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %39, i64 0, i64 %767
  %769 = getelementptr inbounds %struct.doublecomplex, ptr %768, i32 0, i32 1
  %770 = load double, ptr %769, align 8, !tbaa !14
  %771 = load ptr, ptr %17, align 8, !tbaa !5
  %772 = load i32, ptr %21, align 4, !tbaa !9
  %773 = sext i32 %772 to i64
  %774 = getelementptr inbounds %struct.doublecomplex, ptr %771, i64 %773
  %775 = getelementptr inbounds %struct.doublecomplex, ptr %774, i32 0, i32 1
  store double %770, ptr %775, align 8, !tbaa !14
  br label %776

776:                                              ; preds = %736, %732
  store i32 1, ptr %41, align 4
  br label %777

777:                                              ; preds = %776, %165, %147
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  ret void
}

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

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

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

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

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

; 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 = { 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 #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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"", !13, i64 0, !13, i64 8}
!13 = !{!"double", !7, i64 0}
!14 = !{!12, !13, i64 8}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}


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

@.str = external hidden unnamed_addr constant [7 x i8], align 1
@c__4 = external hidden global i32, align 4
@c__8 = external hidden global i32, align 4

; Function Attrs: nounwind uwtable
define dso_local void @zlarot_(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr noundef %4, ptr noundef %5, ptr nocapture noundef %6, ptr nocapture noundef readonly %7, ptr nocapture noundef %8, ptr nocapture noundef %9) local_unnamed_addr #0 {
  %11 = alloca %struct.doublecomplex, align 8
  %12 = alloca %struct.doublecomplex, align 16
  %13 = alloca [2 x %struct.doublecomplex], align 16
  %14 = alloca [2 x %struct.doublecomplex], align 16
  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 32, ptr nonnull %13) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #5
  %15 = getelementptr inbounds i8, ptr %6, i64 -16
  %16 = load i32, ptr %0, align 4, !tbaa !5
  %.not = icmp eq i32 %16, 0
  %17 = load i32, ptr %7, align 4, !tbaa !5
  %18 = add nsw i32 %17, 1
  %.0206 = select i1 %.not, i32 1, i32 %17
  %.0203 = select i1 %.not, i32 %18, i32 2
  %19 = load i32, ptr %1, align 4, !tbaa !5
  %.not209 = icmp eq i32 %19, 0
  br i1 %.not209, label %26, label %20

20:                                               ; preds = %10
  %21 = add nsw i32 %.0206, 1
  %22 = add nsw i32 %17, 2
  %23 = load <2 x double>, ptr %6, align 8, !tbaa !9
  store <2 x double> %23, ptr %13, align 16, !tbaa !9
  %24 = load <2 x double>, ptr %8, align 8, !tbaa !9
  store <2 x double> %24, ptr %14, align 16, !tbaa !9
  %25 = sext i32 %21 to i64
  br label %26

26:                                               ; preds = %10, %20
  %.0202 = phi i64 [ %25, %20 ], [ 1, %10 ]
  %.0201 = phi i32 [ %22, %20 ], [ %.0203, %10 ]
  %.0200 = phi i32 [ 1, %20 ], [ 0, %10 ]
  %27 = load i32, ptr %2, align 4, !tbaa !5
  %.not210 = icmp eq i32 %27, 0
  %.pre = load i32, ptr %3, align 4, !tbaa !5
  br i1 %.not210, label %40, label %28

28:                                               ; preds = %26
  %29 = add nsw i32 %.pre, -1
  %30 = mul nsw i32 %29, %.0206
  %31 = add nsw i32 %30, %.0203
  %32 = add nuw nsw i32 %.0200, 1
  %33 = zext nneg i32 %.0200 to i64
  %34 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %13, i64 0, i64 %33
  %35 = load <2 x double>, ptr %9, align 8, !tbaa !9
  store <2 x double> %35, ptr %34, align 16, !tbaa !9
  %36 = sext i32 %31 to i64
  %37 = getelementptr inbounds %struct.doublecomplex, ptr %15, i64 %36
  %38 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %14, i64 0, i64 %33
  %39 = load <2 x double>, ptr %37, align 8, !tbaa !9
  store <2 x double> %39, ptr %38, align 16, !tbaa !9
  br label %40

40:                                               ; preds = %28, %26
  %.1 = phi i32 [ %32, %28 ], [ %.0200, %26 ]
  %.0 = phi i64 [ %36, %28 ], [ 0, %26 ]
  %41 = icmp slt i32 %.pre, %.1
  br i1 %41, label %42, label %44

42:                                               ; preds = %40
  %43 = tail call i32 @xerbla_(ptr noundef nonnull @.str, ptr noundef nonnull @c__4, i32 noundef 6) #5
  br label %197

44:                                               ; preds = %40
  %45 = icmp slt i32 %17, 1
  br i1 %45, label %49, label %46

46:                                               ; preds = %44
  %47 = sub nsw i32 %.pre, %.1
  %48 = icmp slt i32 %17, %47
  %or.cond = select i1 %.not, i1 %48, i1 false
  br i1 %or.cond, label %49, label %51

49:                                               ; preds = %46, %44
  %50 = tail call i32 @xerbla_(ptr noundef nonnull @.str, ptr noundef nonnull @c__8, i32 noundef 6) #5
  br label %197

51:                                               ; preds = %46
  %.not212217.not = icmp slt i32 %.1, %.pre
  br i1 %.not212217.not, label %.lr.ph, label %.preheader

.lr.ph:                                           ; preds = %51
  %52 = getelementptr inbounds i8, ptr %4, i64 8
  %53 = getelementptr inbounds i8, ptr %5, i64 8
  %54 = getelementptr inbounds i8, ptr %11, i64 8
  %55 = getelementptr inbounds i8, ptr %12, i64 8
  %56 = zext nneg i32 %.0206 to i64
  %57 = sext i32 %.0201 to i64
  %wide.trip.count = zext i32 %47 to i64
  %invariant.gep = getelementptr %struct.doublecomplex, ptr %15, i64 %.0202
  %invariant.gep228 = getelementptr %struct.doublecomplex, ptr %15, i64 %57
  br label %63

.preheader:                                       ; preds = %63, %51
  %.not213219 = icmp slt i32 %.1, 1
  br i1 %.not213219, label %._crit_edge, label %.lr.ph221

.lr.ph221:                                        ; preds = %.preheader
  %58 = getelementptr inbounds i8, ptr %4, i64 8
  %59 = getelementptr inbounds i8, ptr %5, i64 8
  %60 = getelementptr inbounds i8, ptr %11, i64 8
  %61 = getelementptr inbounds i8, ptr %12, i64 8
  %62 = add nuw nsw i32 %.1, 1
  %wide.trip.count226 = zext nneg i32 %62 to i64
  br label %123

63:                                               ; preds = %.lr.ph, %63
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %63 ]
  %64 = mul nuw nsw i64 %indvars.iv, %56
  %65 = load double, ptr %4, align 8, !tbaa !11
  %gep = getelementptr %struct.doublecomplex, ptr %invariant.gep, i64 %64
  %66 = load double, ptr %52, align 8, !tbaa !13
  %67 = fneg double %66
  %68 = load double, ptr %5, align 8, !tbaa !11
  %gep229 = getelementptr %struct.doublecomplex, ptr %invariant.gep228, i64 %64
  %69 = load double, ptr %53, align 8, !tbaa !13
  %70 = fneg double %69
  %71 = load <2 x double>, ptr %gep, align 8, !tbaa !9
  %72 = insertelement <2 x double> poison, double %66, i64 0
  %73 = insertelement <2 x double> %72, double %67, i64 1
  %74 = fmul <2 x double> %71, %73
  %75 = shufflevector <2 x double> %74, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %76 = insertelement <2 x double> poison, double %65, i64 0
  %77 = shufflevector <2 x double> %76, <2 x double> poison, <2 x i32> zeroinitializer
  %78 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %77, <2 x double> %71, <2 x double> %75)
  %79 = load <2 x double>, ptr %gep229, align 8, !tbaa !9
  %80 = insertelement <2 x double> poison, double %69, i64 0
  %81 = insertelement <2 x double> %80, double %70, i64 1
  %82 = fmul <2 x double> %79, %81
  %83 = shufflevector <2 x double> %82, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %84 = insertelement <2 x double> poison, double %68, i64 0
  %85 = shufflevector <2 x double> %84, <2 x double> poison, <2 x i32> zeroinitializer
  %86 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %85, <2 x double> %79, <2 x double> %83)
  %87 = fadd <2 x double> %78, %86
  %88 = call { double, double } @Cd(ptr noundef nonnull %5)
  %89 = extractvalue { double, double } %88, 0
  %90 = extractvalue { double, double } %88, 1
  %91 = fneg double %90
  %92 = call ptr @_pCd(ptr noundef nonnull %11)
  %93 = getelementptr inbounds i8, ptr %92, i64 8
  store double %89, ptr %92, align 8
  store double %91, ptr %93, align 8
  %94 = load double, ptr %11, align 8, !tbaa !11
  %95 = fneg double %94
  %96 = load double, ptr %54, align 8, !tbaa !13
  %97 = fneg double %96
  %98 = load <2 x double>, ptr %gep, align 8, !tbaa !9
  %99 = insertelement <2 x double> poison, double %97, i64 0
  %100 = insertelement <2 x double> %99, double %96, i64 1
  %101 = fmul <2 x double> %98, %100
  %102 = shufflevector <2 x double> %101, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %103 = insertelement <2 x double> poison, double %95, i64 0
  %104 = shufflevector <2 x double> %103, <2 x double> poison, <2 x i32> zeroinitializer
  %105 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %104, <2 x double> %98, <2 x double> %102)
  %106 = call { double, double } @Cd(ptr noundef nonnull %4)
  %107 = extractvalue { double, double } %106, 0
  %108 = extractvalue { double, double } %106, 1
  %109 = fneg double %108
  %110 = call ptr @_pCd(ptr noundef nonnull %12)
  %111 = getelementptr inbounds i8, ptr %110, i64 8
  store double %107, ptr %110, align 8
  store double %109, ptr %111, align 8
  %112 = load <2 x double>, ptr %12, align 16
  %113 = load double, ptr %55, align 8, !tbaa !13
  %114 = load <2 x double>, ptr %gep229, align 8, !tbaa !9
  %115 = fneg double %113
  %116 = insertelement <2 x double> poison, double %113, i64 0
  %117 = insertelement <2 x double> %116, double %115, i64 1
  %118 = fmul <2 x double> %114, %117
  %119 = shufflevector <2 x double> %118, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %120 = shufflevector <2 x double> %112, <2 x double> poison, <2 x i32> zeroinitializer
  %121 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %120, <2 x double> %114, <2 x double> %119)
  %122 = fadd <2 x double> %105, %121
  store <2 x double> %122, ptr %gep229, align 8, !tbaa !9
  store <2 x double> %87, ptr %gep, align 8, !tbaa !9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.preheader, label %63, !llvm.loop !14

123:                                              ; preds = %.lr.ph221, %123
  %indvars.iv223 = phi i64 [ 1, %.lr.ph221 ], [ %indvars.iv.next224, %123 ]
  %124 = add nsw i64 %indvars.iv223, -1
  %125 = load double, ptr %4, align 8, !tbaa !11
  %126 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %13, i64 0, i64 %124
  %127 = load double, ptr %58, align 8, !tbaa !13
  %128 = fneg double %127
  %129 = load double, ptr %5, align 8, !tbaa !11
  %130 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %14, i64 0, i64 %124
  %131 = load double, ptr %59, align 8, !tbaa !13
  %132 = fneg double %131
  %133 = call { double, double } @Cd(ptr noundef nonnull %5)
  %134 = extractvalue { double, double } %133, 0
  %135 = extractvalue { double, double } %133, 1
  %136 = fneg double %135
  %137 = call ptr @_pCd(ptr noundef nonnull %11)
  %138 = getelementptr inbounds i8, ptr %137, i64 8
  store double %134, ptr %137, align 8
  store double %136, ptr %138, align 8
  %139 = load double, ptr %11, align 8, !tbaa !11
  %140 = fneg double %139
  %141 = load double, ptr %60, align 8, !tbaa !13
  %142 = fneg double %141
  %143 = call { double, double } @Cd(ptr noundef nonnull %4)
  %144 = extractvalue { double, double } %143, 0
  %145 = extractvalue { double, double } %143, 1
  %146 = fneg double %145
  %147 = call ptr @_pCd(ptr noundef nonnull %12)
  %148 = getelementptr inbounds i8, ptr %147, i64 8
  store double %144, ptr %147, align 8
  store double %146, ptr %148, align 8
  %149 = load <2 x double>, ptr %12, align 16
  %150 = load double, ptr %61, align 8, !tbaa !13
  %151 = fneg double %150
  %152 = load <2 x double>, ptr %126, align 16, !tbaa !9
  %153 = load <2 x double>, ptr %130, align 16, !tbaa !9
  %154 = insertelement <2 x double> poison, double %142, i64 0
  %155 = insertelement <2 x double> %154, double %141, i64 1
  %156 = fmul <2 x double> %152, %155
  %157 = shufflevector <2 x double> %156, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %158 = insertelement <2 x double> poison, double %140, i64 0
  %159 = shufflevector <2 x double> %158, <2 x double> poison, <2 x i32> zeroinitializer
  %160 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %159, <2 x double> %152, <2 x double> %157)
  %161 = insertelement <2 x double> poison, double %150, i64 0
  %162 = insertelement <2 x double> %161, double %151, i64 1
  %163 = fmul <2 x double> %153, %162
  %164 = shufflevector <2 x double> %163, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %165 = shufflevector <2 x double> %149, <2 x double> poison, <2 x i32> zeroinitializer
  %166 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %165, <2 x double> %153, <2 x double> %164)
  %167 = fadd <2 x double> %160, %166
  store <2 x double> %167, ptr %130, align 16, !tbaa !9
  %168 = insertelement <2 x double> poison, double %127, i64 0
  %169 = insertelement <2 x double> %168, double %128, i64 1
  %170 = fmul <2 x double> %152, %169
  %171 = shufflevector <2 x double> %170, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %172 = insertelement <2 x double> poison, double %125, i64 0
  %173 = shufflevector <2 x double> %172, <2 x double> poison, <2 x i32> zeroinitializer
  %174 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %173, <2 x double> %152, <2 x double> %171)
  %175 = insertelement <2 x double> poison, double %131, i64 0
  %176 = insertelement <2 x double> %175, double %132, i64 1
  %177 = fmul <2 x double> %153, %176
  %178 = shufflevector <2 x double> %177, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %179 = insertelement <2 x double> poison, double %129, i64 0
  %180 = shufflevector <2 x double> %179, <2 x double> poison, <2 x i32> zeroinitializer
  %181 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %180, <2 x double> %153, <2 x double> %178)
  %182 = fadd <2 x double> %174, %181
  store <2 x double> %182, ptr %126, align 16, !tbaa !9
  %indvars.iv.next224 = add nuw nsw i64 %indvars.iv223, 1
  %exitcond227.not = icmp eq i64 %indvars.iv.next224, %wide.trip.count226
  br i1 %exitcond227.not, label %._crit_edge, label %123, !llvm.loop !16

._crit_edge:                                      ; preds = %123, %.preheader
  %183 = load i32, ptr %1, align 4, !tbaa !5
  %.not214 = icmp eq i32 %183, 0
  br i1 %.not214, label %187, label %184

184:                                              ; preds = %._crit_edge
  %185 = load <2 x double>, ptr %13, align 16, !tbaa !9
  store <2 x double> %185, ptr %6, align 8, !tbaa !9
  %186 = load <2 x double>, ptr %14, align 16, !tbaa !9
  store <2 x double> %186, ptr %8, align 8, !tbaa !9
  br label %187

187:                                              ; preds = %184, %._crit_edge
  %188 = load i32, ptr %2, align 4, !tbaa !5
  %.not215 = icmp eq i32 %188, 0
  br i1 %.not215, label %197, label %189

189:                                              ; preds = %187
  %190 = add nsw i32 %.1, -1
  %191 = sext i32 %190 to i64
  %192 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %13, i64 0, i64 %191
  %193 = load <2 x double>, ptr %192, align 16, !tbaa !9
  store <2 x double> %193, ptr %9, align 8, !tbaa !9
  %194 = getelementptr inbounds [2 x %struct.doublecomplex], ptr %14, i64 0, i64 %191
  %195 = getelementptr inbounds %struct.doublecomplex, ptr %15, i64 %.0
  %196 = load <2 x double>, ptr %194, align 16, !tbaa !9
  store <2 x double> %196, ptr %195, align 8, !tbaa !9
  br label %197

197:                                              ; preds = %187, %189, %49, %42
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 32, 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
  ret void
}

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

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

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

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

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

!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,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass,VectorCombinePass