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

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

58:                                               ; preds = %18
  %59 = load ptr, ptr %22, align 8, !tbaa !5
  %60 = load i32, ptr %59, align 4, !tbaa !9
  %61 = load ptr, ptr %20, align 8, !tbaa !5
  %62 = load i32, ptr %61, align 4, !tbaa !9
  %63 = icmp sgt i32 %60, %62
  br i1 %63, label %74, label %64

64:                                               ; preds = %58
  %65 = load ptr, ptr %23, align 8, !tbaa !5
  %66 = load i32, ptr %65, align 4, !tbaa !9
  %67 = icmp slt i32 %66, 1
  br i1 %67, label %74, label %68

68:                                               ; preds = %64
  %69 = load ptr, ptr %23, align 8, !tbaa !5
  %70 = load i32, ptr %69, align 4, !tbaa !9
  %71 = load ptr, ptr %21, align 8, !tbaa !5
  %72 = load i32, ptr %71, align 4, !tbaa !9
  %73 = icmp sgt i32 %70, %72
  br i1 %73, label %74, label %85

74:                                               ; preds = %68, %64, %58, %18
  %75 = load ptr, ptr %22, align 8, !tbaa !5
  %76 = load i32, ptr %75, align 4, !tbaa !9
  %77 = load ptr, ptr %24, align 8, !tbaa !5
  store i32 %76, ptr %77, align 4, !tbaa !9
  %78 = load ptr, ptr %23, align 8, !tbaa !5
  %79 = load i32, ptr %78, align 4, !tbaa !9
  %80 = load ptr, ptr %25, align 8, !tbaa !5
  store i32 %79, ptr %80, align 4, !tbaa !9
  %81 = load ptr, ptr %19, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.doublecomplex, ptr %81, i32 0, i32 0
  store double 0.000000e+00, ptr %82, align 8, !tbaa !11
  %83 = load ptr, ptr %19, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.doublecomplex, ptr %83, i32 0, i32 1
  store double 0.000000e+00, ptr %84, align 8, !tbaa !14
  store i32 1, ptr %43, align 4
  br label %692

85:                                               ; preds = %68
  %86 = load ptr, ptr %34, align 8, !tbaa !5
  %87 = load i32, ptr %86, align 4, !tbaa !9
  %88 = icmp eq i32 %87, 0
  br i1 %88, label %89, label %96

89:                                               ; preds = %85
  %90 = load ptr, ptr %22, align 8, !tbaa !5
  %91 = load i32, ptr %90, align 4, !tbaa !9
  %92 = load ptr, ptr %24, align 8, !tbaa !5
  store i32 %91, ptr %92, align 4, !tbaa !9
  %93 = load ptr, ptr %23, align 8, !tbaa !5
  %94 = load i32, ptr %93, align 4, !tbaa !9
  %95 = load ptr, ptr %25, align 8, !tbaa !5
  store i32 %94, ptr %95, align 4, !tbaa !9
  br label %148

96:                                               ; preds = %85
  %97 = load ptr, ptr %34, align 8, !tbaa !5
  %98 = load i32, ptr %97, align 4, !tbaa !9
  %99 = icmp eq i32 %98, 1
  br i1 %99, label %100, label %111

100:                                              ; preds = %96
  %101 = load ptr, ptr %35, align 8, !tbaa !5
  %102 = load ptr, ptr %22, align 8, !tbaa !5
  %103 = load i32, ptr %102, align 4, !tbaa !9
  %104 = sext i32 %103 to i64
  %105 = getelementptr inbounds i32, ptr %101, i64 %104
  %106 = load i32, ptr %105, align 4, !tbaa !9
  %107 = load ptr, ptr %24, align 8, !tbaa !5
  store i32 %106, ptr %107, align 4, !tbaa !9
  %108 = load ptr, ptr %23, align 8, !tbaa !5
  %109 = load i32, ptr %108, align 4, !tbaa !9
  %110 = load ptr, ptr %25, align 8, !tbaa !5
  store i32 %109, ptr %110, align 4, !tbaa !9
  br label %147

111:                                              ; preds = %96
  %112 = load ptr, ptr %34, align 8, !tbaa !5
  %113 = load i32, ptr %112, align 4, !tbaa !9
  %114 = icmp eq i32 %113, 2
  br i1 %114, label %115, label %126

115:                                              ; preds = %111
  %116 = load ptr, ptr %22, align 8, !tbaa !5
  %117 = load i32, ptr %116, align 4, !tbaa !9
  %118 = load ptr, ptr %24, align 8, !tbaa !5
  store i32 %117, ptr %118, align 4, !tbaa !9
  %119 = load ptr, ptr %35, align 8, !tbaa !5
  %120 = load ptr, ptr %23, align 8, !tbaa !5
  %121 = load i32, ptr %120, align 4, !tbaa !9
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds i32, ptr %119, i64 %122
  %124 = load i32, ptr %123, align 4, !tbaa !9
  %125 = load ptr, ptr %25, align 8, !tbaa !5
  store i32 %124, ptr %125, align 4, !tbaa !9
  br label %146

126:                                              ; preds = %111
  %127 = load ptr, ptr %34, align 8, !tbaa !5
  %128 = load i32, ptr %127, align 4, !tbaa !9
  %129 = icmp eq i32 %128, 3
  br i1 %129, label %130, label %145

130:                                              ; preds = %126
  %131 = load ptr, ptr %35, align 8, !tbaa !5
  %132 = load ptr, ptr %22, align 8, !tbaa !5
  %133 = load i32, ptr %132, align 4, !tbaa !9
  %134 = sext i32 %133 to i64
  %135 = getelementptr inbounds i32, ptr %131, i64 %134
  %136 = load i32, ptr %135, align 4, !tbaa !9
  %137 = load ptr, ptr %24, align 8, !tbaa !5
  store i32 %136, ptr %137, align 4, !tbaa !9
  %138 = load ptr, ptr %35, align 8, !tbaa !5
  %139 = load ptr, ptr %23, align 8, !tbaa !5
  %140 = load i32, ptr %139, align 4, !tbaa !9
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds i32, ptr %138, i64 %141
  %143 = load i32, ptr %142, align 4, !tbaa !9
  %144 = load ptr, ptr %25, align 8, !tbaa !5
  store i32 %143, ptr %144, align 4, !tbaa !9
  br label %145

145:                                              ; preds = %130, %126
  br label %146

146:                                              ; preds = %145, %115
  br label %147

147:                                              ; preds = %146, %100
  br label %148

148:                                              ; preds = %147, %89
  %149 = load ptr, ptr %25, align 8, !tbaa !5
  %150 = load i32, ptr %149, align 4, !tbaa !9
  %151 = load ptr, ptr %24, align 8, !tbaa !5
  %152 = load i32, ptr %151, align 4, !tbaa !9
  %153 = load ptr, ptr %27, align 8, !tbaa !5
  %154 = load i32, ptr %153, align 4, !tbaa !9
  %155 = add nsw i32 %152, %154
  %156 = icmp sgt i32 %150, %155
  br i1 %156, label %166, label %157

157:                                              ; preds = %148
  %158 = load ptr, ptr %25, align 8, !tbaa !5
  %159 = load i32, ptr %158, align 4, !tbaa !9
  %160 = load ptr, ptr %24, align 8, !tbaa !5
  %161 = load i32, ptr %160, align 4, !tbaa !9
  %162 = load ptr, ptr %26, align 8, !tbaa !5
  %163 = load i32, ptr %162, align 4, !tbaa !9
  %164 = sub nsw i32 %161, %163
  %165 = icmp slt i32 %159, %164
  br i1 %165, label %166, label %171

166:                                              ; preds = %157, %148
  %167 = load ptr, ptr %19, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.doublecomplex, ptr %167, i32 0, i32 0
  store double 0.000000e+00, ptr %168, align 8, !tbaa !11
  %169 = load ptr, ptr %19, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.doublecomplex, ptr %169, i32 0, i32 1
  store double 0.000000e+00, ptr %170, align 8, !tbaa !14
  store i32 1, ptr %43, align 4
  br label %692

171:                                              ; preds = %157
  %172 = load ptr, ptr %36, align 8, !tbaa !5
  %173 = load double, ptr %172, align 8, !tbaa !15
  %174 = fcmp ogt double %173, 0.000000e+00
  br i1 %174, label %175, label %188

175:                                              ; preds = %171
  %176 = load ptr, ptr %29, align 8, !tbaa !5
  %177 = getelementptr inbounds i32, ptr %176, i64 1
  %178 = call double @dlaran_(ptr noundef %177)
  %179 = load ptr, ptr %36, align 8, !tbaa !5
  %180 = load double, ptr %179, align 8, !tbaa !15
  %181 = fcmp olt double %178, %180
  br i1 %181, label %182, label %187

182:                                              ; preds = %175
  %183 = load ptr, ptr %19, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.doublecomplex, ptr %183, i32 0, i32 0
  store double 0.000000e+00, ptr %184, align 8, !tbaa !11
  %185 = load ptr, ptr %19, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.doublecomplex, ptr %185, i32 0, i32 1
  store double 0.000000e+00, ptr %186, align 8, !tbaa !14
  store i32 1, ptr %43, align 4
  br label %692

187:                                              ; preds = %175
  br label %188

188:                                              ; preds = %187, %171
  %189 = load ptr, ptr %22, align 8, !tbaa !5
  %190 = load i32, ptr %189, align 4, !tbaa !9
  %191 = load ptr, ptr %23, align 8, !tbaa !5
  %192 = load i32, ptr %191, align 4, !tbaa !9
  %193 = icmp eq i32 %190, %192
  br i1 %193, label %194, label %211

194:                                              ; preds = %188
  %195 = load ptr, ptr %22, align 8, !tbaa !5
  %196 = load i32, ptr %195, align 4, !tbaa !9
  store i32 %196, ptr %37, align 4, !tbaa !9
  %197 = load ptr, ptr %30, align 8, !tbaa !5
  %198 = load i32, ptr %37, align 4, !tbaa !9
  %199 = sext i32 %198 to i64
  %200 = getelementptr inbounds %struct.doublecomplex, ptr %197, i64 %199
  %201 = getelementptr inbounds %struct.doublecomplex, ptr %200, i32 0, i32 0
  %202 = load double, ptr %201, align 8, !tbaa !11
  %203 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 0
  store double %202, ptr %203, align 8, !tbaa !11
  %204 = load ptr, ptr %30, align 8, !tbaa !5
  %205 = load i32, ptr %37, align 4, !tbaa !9
  %206 = sext i32 %205 to i64
  %207 = getelementptr inbounds %struct.doublecomplex, ptr %204, i64 %206
  %208 = getelementptr inbounds %struct.doublecomplex, ptr %207, i32 0, i32 1
  %209 = load double, ptr %208, align 8, !tbaa !14
  %210 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 1
  store double %209, ptr %210, align 8, !tbaa !14
  br label %226

211:                                              ; preds = %188
  call void @llvm.lifetime.start.p0(i64 16, ptr %44) #6
  %212 = load ptr, ptr %28, align 8, !tbaa !5
  %213 = load ptr, ptr %29, align 8, !tbaa !5
  %214 = getelementptr inbounds i32, ptr %213, i64 1
  %215 = call { double, double } @zlarnd_(ptr noundef %212, ptr noundef %214)
  %216 = getelementptr inbounds { double, double }, ptr %44, i32 0, i32 0
  %217 = extractvalue { double, double } %215, 0
  store double %217, ptr %216, align 8
  %218 = getelementptr inbounds { double, double }, ptr %44, i32 0, i32 1
  %219 = extractvalue { double, double } %215, 1
  store double %219, ptr %218, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %39, ptr align 8 %44, i64 16, i1 false), !tbaa.struct !16
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #6
  %220 = getelementptr inbounds %struct.doublecomplex, ptr %39, i32 0, i32 0
  %221 = load double, ptr %220, align 8, !tbaa !11
  %222 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 0
  store double %221, ptr %222, align 8, !tbaa !11
  %223 = getelementptr inbounds %struct.doublecomplex, ptr %39, i32 0, i32 1
  %224 = load double, ptr %223, align 8, !tbaa !14
  %225 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 1
  store double %224, ptr %225, align 8, !tbaa !14
  br label %226

226:                                              ; preds = %211, %194
  %227 = load ptr, ptr %31, align 8, !tbaa !5
  %228 = load i32, ptr %227, align 4, !tbaa !9
  %229 = icmp eq i32 %228, 1
  br i1 %229, label %230, label %278

230:                                              ; preds = %226
  %231 = load ptr, ptr %22, align 8, !tbaa !5
  %232 = load i32, ptr %231, align 4, !tbaa !9
  store i32 %232, ptr %37, align 4, !tbaa !9
  %233 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 0
  %234 = load double, ptr %233, align 8, !tbaa !11
  %235 = load ptr, ptr %32, align 8, !tbaa !5
  %236 = load i32, ptr %37, align 4, !tbaa !9
  %237 = sext i32 %236 to i64
  %238 = getelementptr inbounds %struct.doublecomplex, ptr %235, i64 %237
  %239 = getelementptr inbounds %struct.doublecomplex, ptr %238, i32 0, i32 0
  %240 = load double, ptr %239, align 8, !tbaa !11
  %241 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 1
  %242 = load double, ptr %241, align 8, !tbaa !14
  %243 = load ptr, ptr %32, align 8, !tbaa !5
  %244 = load i32, ptr %37, 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 %234, double %240, double %250)
  %252 = getelementptr inbounds %struct.doublecomplex, ptr %39, i32 0, i32 0
  store double %251, ptr %252, align 8, !tbaa !11
  %253 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 0
  %254 = load double, ptr %253, align 8, !tbaa !11
  %255 = load ptr, ptr %32, align 8, !tbaa !5
  %256 = load i32, ptr %37, align 4, !tbaa !9
  %257 = sext i32 %256 to i64
  %258 = getelementptr inbounds %struct.doublecomplex, ptr %255, i64 %257
  %259 = getelementptr inbounds %struct.doublecomplex, ptr %258, i32 0, i32 1
  %260 = load double, ptr %259, align 8, !tbaa !14
  %261 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 1
  %262 = load double, ptr %261, align 8, !tbaa !14
  %263 = load ptr, ptr %32, align 8, !tbaa !5
  %264 = load i32, ptr %37, align 4, !tbaa !9
  %265 = sext i32 %264 to i64
  %266 = getelementptr inbounds %struct.doublecomplex, ptr %263, i64 %265
  %267 = getelementptr inbounds %struct.doublecomplex, ptr %266, i32 0, i32 0
  %268 = load double, ptr %267, align 8, !tbaa !11
  %269 = fmul double %262, %268
  %270 = call double @llvm.fmuladd.f64(double %254, double %260, double %269)
  %271 = getelementptr inbounds %struct.doublecomplex, ptr %39, i32 0, i32 1
  store double %270, ptr %271, align 8, !tbaa !14
  %272 = getelementptr inbounds %struct.doublecomplex, ptr %39, i32 0, i32 0
  %273 = load double, ptr %272, align 8, !tbaa !11
  %274 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 0
  store double %273, ptr %274, align 8, !tbaa !11
  %275 = getelementptr inbounds %struct.doublecomplex, ptr %39, i32 0, i32 1
  %276 = load double, ptr %275, align 8, !tbaa !14
  %277 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 1
  store double %276, ptr %277, align 8, !tbaa !14
  br label %683

278:                                              ; preds = %226
  %279 = load ptr, ptr %31, align 8, !tbaa !5
  %280 = load i32, ptr %279, align 4, !tbaa !9
  %281 = icmp eq i32 %280, 2
  br i1 %281, label %282, label %330

282:                                              ; preds = %278
  %283 = load ptr, ptr %23, align 8, !tbaa !5
  %284 = load i32, ptr %283, align 4, !tbaa !9
  store i32 %284, ptr %37, align 4, !tbaa !9
  %285 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 0
  %286 = load double, ptr %285, align 8, !tbaa !11
  %287 = load ptr, ptr %33, align 8, !tbaa !5
  %288 = load i32, ptr %37, align 4, !tbaa !9
  %289 = sext i32 %288 to i64
  %290 = getelementptr inbounds %struct.doublecomplex, ptr %287, i64 %289
  %291 = getelementptr inbounds %struct.doublecomplex, ptr %290, i32 0, i32 0
  %292 = load double, ptr %291, align 8, !tbaa !11
  %293 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 1
  %294 = load double, ptr %293, align 8, !tbaa !14
  %295 = load ptr, ptr %33, align 8, !tbaa !5
  %296 = load i32, ptr %37, align 4, !tbaa !9
  %297 = sext i32 %296 to i64
  %298 = getelementptr inbounds %struct.doublecomplex, ptr %295, i64 %297
  %299 = getelementptr inbounds %struct.doublecomplex, ptr %298, i32 0, i32 1
  %300 = load double, ptr %299, align 8, !tbaa !14
  %301 = fmul double %294, %300
  %302 = fneg double %301
  %303 = call double @llvm.fmuladd.f64(double %286, double %292, double %302)
  %304 = getelementptr inbounds %struct.doublecomplex, ptr %39, i32 0, i32 0
  store double %303, ptr %304, align 8, !tbaa !11
  %305 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 0
  %306 = load double, ptr %305, align 8, !tbaa !11
  %307 = load ptr, ptr %33, align 8, !tbaa !5
  %308 = load i32, ptr %37, align 4, !tbaa !9
  %309 = sext i32 %308 to i64
  %310 = getelementptr inbounds %struct.doublecomplex, ptr %307, i64 %309
  %311 = getelementptr inbounds %struct.doublecomplex, ptr %310, i32 0, i32 1
  %312 = load double, ptr %311, align 8, !tbaa !14
  %313 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 1
  %314 = load double, ptr %313, align 8, !tbaa !14
  %315 = load ptr, ptr %33, align 8, !tbaa !5
  %316 = load i32, ptr %37, align 4, !tbaa !9
  %317 = sext i32 %316 to i64
  %318 = getelementptr inbounds %struct.doublecomplex, ptr %315, i64 %317
  %319 = getelementptr inbounds %struct.doublecomplex, ptr %318, i32 0, i32 0
  %320 = load double, ptr %319, align 8, !tbaa !11
  %321 = fmul double %314, %320
  %322 = call double @llvm.fmuladd.f64(double %306, double %312, double %321)
  %323 = getelementptr inbounds %struct.doublecomplex, ptr %39, i32 0, i32 1
  store double %322, ptr %323, align 8, !tbaa !14
  %324 = getelementptr inbounds %struct.doublecomplex, ptr %39, i32 0, i32 0
  %325 = load double, ptr %324, align 8, !tbaa !11
  %326 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 0
  store double %325, ptr %326, align 8, !tbaa !11
  %327 = getelementptr inbounds %struct.doublecomplex, ptr %39, i32 0, i32 1
  %328 = load double, ptr %327, align 8, !tbaa !14
  %329 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 1
  store double %328, ptr %329, align 8, !tbaa !14
  br label %682

330:                                              ; preds = %278
  %331 = load ptr, ptr %31, align 8, !tbaa !5
  %332 = load i32, ptr %331, align 4, !tbaa !9
  %333 = icmp eq i32 %332, 3
  br i1 %333, label %334, label %423

334:                                              ; preds = %330
  %335 = load ptr, ptr %22, align 8, !tbaa !5
  %336 = load i32, ptr %335, align 4, !tbaa !9
  store i32 %336, ptr %37, align 4, !tbaa !9
  %337 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 0
  %338 = load double, ptr %337, align 8, !tbaa !11
  %339 = load ptr, ptr %32, align 8, !tbaa !5
  %340 = load i32, ptr %37, align 4, !tbaa !9
  %341 = sext i32 %340 to i64
  %342 = getelementptr inbounds %struct.doublecomplex, ptr %339, i64 %341
  %343 = getelementptr inbounds %struct.doublecomplex, ptr %342, i32 0, i32 0
  %344 = load double, ptr %343, align 8, !tbaa !11
  %345 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 1
  %346 = load double, ptr %345, align 8, !tbaa !14
  %347 = load ptr, ptr %32, align 8, !tbaa !5
  %348 = load i32, ptr %37, align 4, !tbaa !9
  %349 = sext i32 %348 to i64
  %350 = getelementptr inbounds %struct.doublecomplex, ptr %347, i64 %349
  %351 = getelementptr inbounds %struct.doublecomplex, ptr %350, i32 0, i32 1
  %352 = load double, ptr %351, align 8, !tbaa !14
  %353 = fmul double %346, %352
  %354 = fneg double %353
  %355 = call double @llvm.fmuladd.f64(double %338, double %344, double %354)
  %356 = getelementptr inbounds %struct.doublecomplex, ptr %40, i32 0, i32 0
  store double %355, ptr %356, align 8, !tbaa !11
  %357 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 0
  %358 = load double, ptr %357, align 8, !tbaa !11
  %359 = load ptr, ptr %32, align 8, !tbaa !5
  %360 = load i32, ptr %37, align 4, !tbaa !9
  %361 = sext i32 %360 to i64
  %362 = getelementptr inbounds %struct.doublecomplex, ptr %359, i64 %361
  %363 = getelementptr inbounds %struct.doublecomplex, ptr %362, i32 0, i32 1
  %364 = load double, ptr %363, align 8, !tbaa !14
  %365 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 1
  %366 = load double, ptr %365, align 8, !tbaa !14
  %367 = load ptr, ptr %32, align 8, !tbaa !5
  %368 = load i32, ptr %37, align 4, !tbaa !9
  %369 = sext i32 %368 to i64
  %370 = getelementptr inbounds %struct.doublecomplex, ptr %367, i64 %369
  %371 = getelementptr inbounds %struct.doublecomplex, ptr %370, i32 0, i32 0
  %372 = load double, ptr %371, align 8, !tbaa !11
  %373 = fmul double %366, %372
  %374 = call double @llvm.fmuladd.f64(double %358, double %364, double %373)
  %375 = getelementptr inbounds %struct.doublecomplex, ptr %40, i32 0, i32 1
  store double %374, ptr %375, align 8, !tbaa !14
  %376 = load ptr, ptr %23, align 8, !tbaa !5
  %377 = load i32, ptr %376, align 4, !tbaa !9
  store i32 %377, ptr %38, align 4, !tbaa !9
  %378 = getelementptr inbounds %struct.doublecomplex, ptr %40, i32 0, i32 0
  %379 = load double, ptr %378, align 8, !tbaa !11
  %380 = load ptr, ptr %33, align 8, !tbaa !5
  %381 = load i32, ptr %38, 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 !11
  %386 = getelementptr inbounds %struct.doublecomplex, ptr %40, i32 0, i32 1
  %387 = load double, ptr %386, align 8, !tbaa !14
  %388 = load ptr, ptr %33, align 8, !tbaa !5
  %389 = load i32, ptr %38, align 4, !tbaa !9
  %390 = sext i32 %389 to i64
  %391 = getelementptr inbounds %struct.doublecomplex, ptr %388, i64 %390
  %392 = getelementptr inbounds %struct.doublecomplex, ptr %391, i32 0, i32 1
  %393 = load double, ptr %392, align 8, !tbaa !14
  %394 = fmul double %387, %393
  %395 = fneg double %394
  %396 = call double @llvm.fmuladd.f64(double %379, double %385, double %395)
  %397 = getelementptr inbounds %struct.doublecomplex, ptr %39, i32 0, i32 0
  store double %396, ptr %397, align 8, !tbaa !11
  %398 = getelementptr inbounds %struct.doublecomplex, ptr %40, i32 0, i32 0
  %399 = load double, ptr %398, align 8, !tbaa !11
  %400 = load ptr, ptr %33, align 8, !tbaa !5
  %401 = load i32, ptr %38, 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 1
  %405 = load double, ptr %404, align 8, !tbaa !14
  %406 = getelementptr inbounds %struct.doublecomplex, ptr %40, i32 0, i32 1
  %407 = load double, ptr %406, align 8, !tbaa !14
  %408 = load ptr, ptr %33, align 8, !tbaa !5
  %409 = load i32, ptr %38, align 4, !tbaa !9
  %410 = sext i32 %409 to i64
  %411 = getelementptr inbounds %struct.doublecomplex, ptr %408, i64 %410
  %412 = getelementptr inbounds %struct.doublecomplex, ptr %411, i32 0, i32 0
  %413 = load double, ptr %412, align 8, !tbaa !11
  %414 = fmul double %407, %413
  %415 = call double @llvm.fmuladd.f64(double %399, double %405, double %414)
  %416 = getelementptr inbounds %struct.doublecomplex, ptr %39, i32 0, i32 1
  store double %415, ptr %416, align 8, !tbaa !14
  %417 = getelementptr inbounds %struct.doublecomplex, ptr %39, i32 0, i32 0
  %418 = load double, ptr %417, align 8, !tbaa !11
  %419 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 0
  store double %418, ptr %419, align 8, !tbaa !11
  %420 = getelementptr inbounds %struct.doublecomplex, ptr %39, i32 0, i32 1
  %421 = load double, ptr %420, align 8, !tbaa !14
  %422 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 1
  store double %421, ptr %422, align 8, !tbaa !14
  br label %681

423:                                              ; preds = %330
  %424 = load ptr, ptr %31, align 8, !tbaa !5
  %425 = load i32, ptr %424, align 4, !tbaa !9
  %426 = icmp eq i32 %425, 4
  br i1 %426, label %427, label %498

427:                                              ; preds = %423
  %428 = load ptr, ptr %22, align 8, !tbaa !5
  %429 = load i32, ptr %428, align 4, !tbaa !9
  %430 = load ptr, ptr %23, align 8, !tbaa !5
  %431 = load i32, ptr %430, align 4, !tbaa !9
  %432 = icmp ne i32 %429, %431
  br i1 %432, label %433, label %498

433:                                              ; preds = %427
  %434 = load ptr, ptr %22, align 8, !tbaa !5
  %435 = load i32, ptr %434, align 4, !tbaa !9
  store i32 %435, ptr %37, align 4, !tbaa !9
  %436 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 0
  %437 = load double, ptr %436, align 8, !tbaa !11
  %438 = load ptr, ptr %32, align 8, !tbaa !5
  %439 = load i32, ptr %37, align 4, !tbaa !9
  %440 = sext i32 %439 to i64
  %441 = getelementptr inbounds %struct.doublecomplex, ptr %438, i64 %440
  %442 = getelementptr inbounds %struct.doublecomplex, ptr %441, i32 0, i32 0
  %443 = load double, ptr %442, align 8, !tbaa !11
  %444 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 1
  %445 = load double, ptr %444, align 8, !tbaa !14
  %446 = load ptr, ptr %32, align 8, !tbaa !5
  %447 = load i32, ptr %37, align 4, !tbaa !9
  %448 = sext i32 %447 to i64
  %449 = getelementptr inbounds %struct.doublecomplex, ptr %446, i64 %448
  %450 = getelementptr inbounds %struct.doublecomplex, ptr %449, i32 0, i32 1
  %451 = load double, ptr %450, align 8, !tbaa !14
  %452 = fmul double %445, %451
  %453 = fneg double %452
  %454 = call double @llvm.fmuladd.f64(double %437, double %443, double %453)
  %455 = getelementptr inbounds %struct.doublecomplex, ptr %40, i32 0, i32 0
  store double %454, ptr %455, align 8, !tbaa !11
  %456 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 0
  %457 = load double, ptr %456, align 8, !tbaa !11
  %458 = load ptr, ptr %32, align 8, !tbaa !5
  %459 = load i32, ptr %37, align 4, !tbaa !9
  %460 = sext i32 %459 to i64
  %461 = getelementptr inbounds %struct.doublecomplex, ptr %458, i64 %460
  %462 = getelementptr inbounds %struct.doublecomplex, ptr %461, i32 0, i32 1
  %463 = load double, ptr %462, align 8, !tbaa !14
  %464 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 1
  %465 = load double, ptr %464, align 8, !tbaa !14
  %466 = load ptr, ptr %32, align 8, !tbaa !5
  %467 = load i32, ptr %37, align 4, !tbaa !9
  %468 = sext i32 %467 to i64
  %469 = getelementptr inbounds %struct.doublecomplex, ptr %466, i64 %468
  %470 = getelementptr inbounds %struct.doublecomplex, ptr %469, i32 0, i32 0
  %471 = load double, ptr %470, align 8, !tbaa !11
  %472 = fmul double %465, %471
  %473 = call double @llvm.fmuladd.f64(double %457, double %463, double %472)
  %474 = getelementptr inbounds %struct.doublecomplex, ptr %40, i32 0, i32 1
  store double %473, ptr %474, align 8, !tbaa !14
  %475 = call { double, double } @Cd(ptr noundef %40)
  %476 = extractvalue { double, double } %475, 0
  %477 = extractvalue { double, double } %475, 1
  %478 = load ptr, ptr %32, align 8, !tbaa !5
  %479 = load ptr, ptr %23, align 8, !tbaa !5
  %480 = load i32, ptr %479, align 4, !tbaa !9
  %481 = sext i32 %480 to i64
  %482 = getelementptr inbounds %struct.doublecomplex, ptr %478, i64 %481
  %483 = call { double, double } @Cd(ptr noundef %482)
  %484 = extractvalue { double, double } %483, 0
  %485 = extractvalue { double, double } %483, 1
  %486 = call { double, double } @__divdc3(double noundef %476, double noundef %477, double noundef %484, double noundef %485) #6
  %487 = extractvalue { double, double } %486, 0
  %488 = extractvalue { double, double } %486, 1
  %489 = call ptr @_pCd(ptr noundef %39)
  %490 = getelementptr inbounds { double, double }, ptr %489, i32 0, i32 0
  %491 = getelementptr inbounds { double, double }, ptr %489, i32 0, i32 1
  store double %487, ptr %490, align 8
  store double %488, ptr %491, align 8
  %492 = getelementptr inbounds %struct.doublecomplex, ptr %39, i32 0, i32 0
  %493 = load double, ptr %492, align 8, !tbaa !11
  %494 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 0
  store double %493, ptr %494, align 8, !tbaa !11
  %495 = getelementptr inbounds %struct.doublecomplex, ptr %39, i32 0, i32 1
  %496 = load double, ptr %495, align 8, !tbaa !14
  %497 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 1
  store double %496, ptr %497, align 8, !tbaa !14
  br label %680

498:                                              ; preds = %427, %423
  %499 = load ptr, ptr %31, align 8, !tbaa !5
  %500 = load i32, ptr %499, align 4, !tbaa !9
  %501 = icmp eq i32 %500, 5
  br i1 %501, label %502, label %585

502:                                              ; preds = %498
  %503 = load ptr, ptr %22, align 8, !tbaa !5
  %504 = load i32, ptr %503, align 4, !tbaa !9
  store i32 %504, ptr %37, align 4, !tbaa !9
  %505 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 0
  %506 = load double, ptr %505, align 8, !tbaa !11
  %507 = load ptr, ptr %32, align 8, !tbaa !5
  %508 = load i32, ptr %37, align 4, !tbaa !9
  %509 = sext i32 %508 to i64
  %510 = getelementptr inbounds %struct.doublecomplex, ptr %507, i64 %509
  %511 = getelementptr inbounds %struct.doublecomplex, ptr %510, i32 0, i32 0
  %512 = load double, ptr %511, align 8, !tbaa !11
  %513 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 1
  %514 = load double, ptr %513, align 8, !tbaa !14
  %515 = load ptr, ptr %32, align 8, !tbaa !5
  %516 = load i32, ptr %37, align 4, !tbaa !9
  %517 = sext i32 %516 to i64
  %518 = getelementptr inbounds %struct.doublecomplex, ptr %515, i64 %517
  %519 = getelementptr inbounds %struct.doublecomplex, ptr %518, i32 0, i32 1
  %520 = load double, ptr %519, align 8, !tbaa !14
  %521 = fmul double %514, %520
  %522 = fneg double %521
  %523 = call double @llvm.fmuladd.f64(double %506, double %512, double %522)
  %524 = getelementptr inbounds %struct.doublecomplex, ptr %40, i32 0, i32 0
  store double %523, ptr %524, align 8, !tbaa !11
  %525 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 0
  %526 = load double, ptr %525, align 8, !tbaa !11
  %527 = load ptr, ptr %32, align 8, !tbaa !5
  %528 = load i32, ptr %37, align 4, !tbaa !9
  %529 = sext i32 %528 to i64
  %530 = getelementptr inbounds %struct.doublecomplex, ptr %527, i64 %529
  %531 = getelementptr inbounds %struct.doublecomplex, ptr %530, i32 0, i32 1
  %532 = load double, ptr %531, align 8, !tbaa !14
  %533 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 1
  %534 = load double, ptr %533, align 8, !tbaa !14
  %535 = load ptr, ptr %32, align 8, !tbaa !5
  %536 = load i32, ptr %37, align 4, !tbaa !9
  %537 = sext i32 %536 to i64
  %538 = getelementptr inbounds %struct.doublecomplex, ptr %535, i64 %537
  %539 = getelementptr inbounds %struct.doublecomplex, ptr %538, i32 0, i32 0
  %540 = load double, ptr %539, align 8, !tbaa !11
  %541 = fmul double %534, %540
  %542 = call double @llvm.fmuladd.f64(double %526, double %532, double %541)
  %543 = getelementptr inbounds %struct.doublecomplex, ptr %40, i32 0, i32 1
  store double %542, ptr %543, align 8, !tbaa !14
  %544 = load ptr, ptr %32, align 8, !tbaa !5
  %545 = load ptr, ptr %23, align 8, !tbaa !5
  %546 = load i32, ptr %545, align 4, !tbaa !9
  %547 = sext i32 %546 to i64
  %548 = getelementptr inbounds %struct.doublecomplex, ptr %544, i64 %547
  %549 = call { double, double } @Cd(ptr noundef %548)
  %550 = extractvalue { double, double } %549, 0
  %551 = extractvalue { double, double } %549, 1
  %552 = fneg double %551
  %553 = call ptr @_pCd(ptr noundef %41)
  %554 = getelementptr inbounds { double, double }, ptr %553, i32 0, i32 0
  %555 = getelementptr inbounds { double, double }, ptr %553, i32 0, i32 1
  store double %550, ptr %554, align 8
  store double %552, ptr %555, align 8
  %556 = getelementptr inbounds %struct.doublecomplex, ptr %40, i32 0, i32 0
  %557 = load double, ptr %556, align 8, !tbaa !11
  %558 = getelementptr inbounds %struct.doublecomplex, ptr %41, i32 0, i32 0
  %559 = load double, ptr %558, align 8, !tbaa !11
  %560 = getelementptr inbounds %struct.doublecomplex, ptr %40, i32 0, i32 1
  %561 = load double, ptr %560, align 8, !tbaa !14
  %562 = getelementptr inbounds %struct.doublecomplex, ptr %41, i32 0, i32 1
  %563 = load double, ptr %562, align 8, !tbaa !14
  %564 = fmul double %561, %563
  %565 = fneg double %564
  %566 = call double @llvm.fmuladd.f64(double %557, double %559, double %565)
  %567 = getelementptr inbounds %struct.doublecomplex, ptr %39, i32 0, i32 0
  store double %566, ptr %567, align 8, !tbaa !11
  %568 = getelementptr inbounds %struct.doublecomplex, ptr %40, i32 0, i32 0
  %569 = load double, ptr %568, align 8, !tbaa !11
  %570 = getelementptr inbounds %struct.doublecomplex, ptr %41, i32 0, i32 1
  %571 = load double, ptr %570, align 8, !tbaa !14
  %572 = getelementptr inbounds %struct.doublecomplex, ptr %40, i32 0, i32 1
  %573 = load double, ptr %572, align 8, !tbaa !14
  %574 = getelementptr inbounds %struct.doublecomplex, ptr %41, i32 0, i32 0
  %575 = load double, ptr %574, align 8, !tbaa !11
  %576 = fmul double %573, %575
  %577 = call double @llvm.fmuladd.f64(double %569, double %571, double %576)
  %578 = getelementptr inbounds %struct.doublecomplex, ptr %39, i32 0, i32 1
  store double %577, ptr %578, align 8, !tbaa !14
  %579 = getelementptr inbounds %struct.doublecomplex, ptr %39, i32 0, i32 0
  %580 = load double, ptr %579, align 8, !tbaa !11
  %581 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 0
  store double %580, ptr %581, align 8, !tbaa !11
  %582 = getelementptr inbounds %struct.doublecomplex, ptr %39, i32 0, i32 1
  %583 = load double, ptr %582, align 8, !tbaa !14
  %584 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 1
  store double %583, ptr %584, align 8, !tbaa !14
  br label %679

585:                                              ; preds = %498
  %586 = load ptr, ptr %31, align 8, !tbaa !5
  %587 = load i32, ptr %586, align 4, !tbaa !9
  %588 = icmp eq i32 %587, 6
  br i1 %588, label %589, label %678

589:                                              ; preds = %585
  %590 = load ptr, ptr %22, align 8, !tbaa !5
  %591 = load i32, ptr %590, align 4, !tbaa !9
  store i32 %591, ptr %37, align 4, !tbaa !9
  %592 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 0
  %593 = load double, ptr %592, align 8, !tbaa !11
  %594 = load ptr, ptr %32, align 8, !tbaa !5
  %595 = load i32, ptr %37, align 4, !tbaa !9
  %596 = sext i32 %595 to i64
  %597 = getelementptr inbounds %struct.doublecomplex, ptr %594, i64 %596
  %598 = getelementptr inbounds %struct.doublecomplex, ptr %597, i32 0, i32 0
  %599 = load double, ptr %598, align 8, !tbaa !11
  %600 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 1
  %601 = load double, ptr %600, align 8, !tbaa !14
  %602 = load ptr, ptr %32, align 8, !tbaa !5
  %603 = load i32, ptr %37, align 4, !tbaa !9
  %604 = sext i32 %603 to i64
  %605 = getelementptr inbounds %struct.doublecomplex, ptr %602, i64 %604
  %606 = getelementptr inbounds %struct.doublecomplex, ptr %605, i32 0, i32 1
  %607 = load double, ptr %606, align 8, !tbaa !14
  %608 = fmul double %601, %607
  %609 = fneg double %608
  %610 = call double @llvm.fmuladd.f64(double %593, double %599, double %609)
  %611 = getelementptr inbounds %struct.doublecomplex, ptr %40, i32 0, i32 0
  store double %610, ptr %611, align 8, !tbaa !11
  %612 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 0
  %613 = load double, ptr %612, align 8, !tbaa !11
  %614 = load ptr, ptr %32, align 8, !tbaa !5
  %615 = load i32, ptr %37, align 4, !tbaa !9
  %616 = sext i32 %615 to i64
  %617 = getelementptr inbounds %struct.doublecomplex, ptr %614, i64 %616
  %618 = getelementptr inbounds %struct.doublecomplex, ptr %617, i32 0, i32 1
  %619 = load double, ptr %618, align 8, !tbaa !14
  %620 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 1
  %621 = load double, ptr %620, align 8, !tbaa !14
  %622 = load ptr, ptr %32, align 8, !tbaa !5
  %623 = load i32, ptr %37, align 4, !tbaa !9
  %624 = sext i32 %623 to i64
  %625 = getelementptr inbounds %struct.doublecomplex, ptr %622, i64 %624
  %626 = getelementptr inbounds %struct.doublecomplex, ptr %625, i32 0, i32 0
  %627 = load double, ptr %626, align 8, !tbaa !11
  %628 = fmul double %621, %627
  %629 = call double @llvm.fmuladd.f64(double %613, double %619, double %628)
  %630 = getelementptr inbounds %struct.doublecomplex, ptr %40, i32 0, i32 1
  store double %629, ptr %630, align 8, !tbaa !14
  %631 = load ptr, ptr %23, align 8, !tbaa !5
  %632 = load i32, ptr %631, align 4, !tbaa !9
  store i32 %632, ptr %38, align 4, !tbaa !9
  %633 = getelementptr inbounds %struct.doublecomplex, ptr %40, i32 0, i32 0
  %634 = load double, ptr %633, align 8, !tbaa !11
  %635 = load ptr, ptr %32, align 8, !tbaa !5
  %636 = load i32, ptr %38, align 4, !tbaa !9
  %637 = sext i32 %636 to i64
  %638 = getelementptr inbounds %struct.doublecomplex, ptr %635, i64 %637
  %639 = getelementptr inbounds %struct.doublecomplex, ptr %638, i32 0, i32 0
  %640 = load double, ptr %639, align 8, !tbaa !11
  %641 = getelementptr inbounds %struct.doublecomplex, ptr %40, i32 0, i32 1
  %642 = load double, ptr %641, align 8, !tbaa !14
  %643 = load ptr, ptr %32, align 8, !tbaa !5
  %644 = load i32, ptr %38, align 4, !tbaa !9
  %645 = sext i32 %644 to i64
  %646 = getelementptr inbounds %struct.doublecomplex, ptr %643, i64 %645
  %647 = getelementptr inbounds %struct.doublecomplex, ptr %646, i32 0, i32 1
  %648 = load double, ptr %647, align 8, !tbaa !14
  %649 = fmul double %642, %648
  %650 = fneg double %649
  %651 = call double @llvm.fmuladd.f64(double %634, double %640, double %650)
  %652 = getelementptr inbounds %struct.doublecomplex, ptr %39, i32 0, i32 0
  store double %651, ptr %652, align 8, !tbaa !11
  %653 = getelementptr inbounds %struct.doublecomplex, ptr %40, i32 0, i32 0
  %654 = load double, ptr %653, align 8, !tbaa !11
  %655 = load ptr, ptr %32, align 8, !tbaa !5
  %656 = load i32, ptr %38, align 4, !tbaa !9
  %657 = sext i32 %656 to i64
  %658 = getelementptr inbounds %struct.doublecomplex, ptr %655, i64 %657
  %659 = getelementptr inbounds %struct.doublecomplex, ptr %658, i32 0, i32 1
  %660 = load double, ptr %659, align 8, !tbaa !14
  %661 = getelementptr inbounds %struct.doublecomplex, ptr %40, i32 0, i32 1
  %662 = load double, ptr %661, align 8, !tbaa !14
  %663 = load ptr, ptr %32, align 8, !tbaa !5
  %664 = load i32, ptr %38, align 4, !tbaa !9
  %665 = sext i32 %664 to i64
  %666 = getelementptr inbounds %struct.doublecomplex, ptr %663, i64 %665
  %667 = getelementptr inbounds %struct.doublecomplex, ptr %666, i32 0, i32 0
  %668 = load double, ptr %667, align 8, !tbaa !11
  %669 = fmul double %662, %668
  %670 = call double @llvm.fmuladd.f64(double %654, double %660, double %669)
  %671 = getelementptr inbounds %struct.doublecomplex, ptr %39, i32 0, i32 1
  store double %670, ptr %671, align 8, !tbaa !14
  %672 = getelementptr inbounds %struct.doublecomplex, ptr %39, i32 0, i32 0
  %673 = load double, ptr %672, align 8, !tbaa !11
  %674 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 0
  store double %673, ptr %674, align 8, !tbaa !11
  %675 = getelementptr inbounds %struct.doublecomplex, ptr %39, i32 0, i32 1
  %676 = load double, ptr %675, align 8, !tbaa !14
  %677 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 1
  store double %676, ptr %677, align 8, !tbaa !14
  br label %678

678:                                              ; preds = %589, %585
  br label %679

679:                                              ; preds = %678, %502
  br label %680

680:                                              ; preds = %679, %433
  br label %681

681:                                              ; preds = %680, %334
  br label %682

682:                                              ; preds = %681, %282
  br label %683

683:                                              ; preds = %682, %230
  %684 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 0
  %685 = load double, ptr %684, align 8, !tbaa !11
  %686 = load ptr, ptr %19, align 8, !tbaa !5
  %687 = getelementptr inbounds %struct.doublecomplex, ptr %686, i32 0, i32 0
  store double %685, ptr %687, align 8, !tbaa !11
  %688 = getelementptr inbounds %struct.doublecomplex, ptr %42, i32 0, i32 1
  %689 = load double, ptr %688, align 8, !tbaa !14
  %690 = load ptr, ptr %19, align 8, !tbaa !5
  %691 = getelementptr inbounds %struct.doublecomplex, ptr %690, i32 0, i32 1
  store double %689, ptr %691, align 8, !tbaa !14
  store i32 1, ptr %43, align 4
  br label %692

692:                                              ; preds = %683, %182, %166, %74
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #6
  ret void
}

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

declare double @dlaran_(ptr noundef) #2

declare { double, double } @zlarnd_(ptr noundef, ptr noundef) #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

; Function Attrs: 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 double @llvm.fmuladd.f64(double, double, double) #4

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

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

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

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 nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 #6 = { nounwind }

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

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


; 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 @zlatm3_(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef readonly %4, ptr nocapture noundef %5, ptr nocapture noundef %6, ptr nocapture noundef readonly %7, ptr nocapture noundef readonly %8, ptr noundef %9, ptr noundef %10, ptr nocapture noundef readonly %11, ptr nocapture noundef readonly %12, ptr noundef %13, ptr nocapture noundef readonly %14, ptr nocapture noundef readonly %15, ptr nocapture noundef readonly %16, ptr nocapture noundef readonly %17) local_unnamed_addr #0 {
  %19 = alloca %struct.doublecomplex, align 16
  %20 = alloca %struct.doublecomplex, align 16
  %21 = alloca %struct.doublecomplex, align 16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #7
  %22 = getelementptr inbounds i8, ptr %16, i64 -4
  %23 = getelementptr inbounds i8, ptr %14, i64 -16
  %24 = getelementptr inbounds i8, ptr %13, i64 -16
  %25 = getelementptr inbounds i8, ptr %11, i64 -16
  %26 = load i32, ptr %3, align 4, !tbaa !5
  %27 = icmp slt i32 %26, 1
  br i1 %27, label %37, label %28

28:                                               ; preds = %18
  %29 = load i32, ptr %1, align 4, !tbaa !5
  %30 = icmp sgt i32 %26, %29
  br i1 %30, label %37, label %31

31:                                               ; preds = %28
  %32 = load i32, ptr %4, align 4, !tbaa !5
  %33 = icmp slt i32 %32, 1
  br i1 %33, label %37, label %34

34:                                               ; preds = %31
  %35 = load i32, ptr %2, align 4, !tbaa !5
  %36 = icmp sgt i32 %32, %35
  br i1 %36, label %37, label %39

37:                                               ; preds = %34, %31, %28, %18
  store i32 %26, ptr %5, align 4, !tbaa !5
  %38 = load i32, ptr %4, align 4, !tbaa !5
  store i32 %38, ptr %6, align 4, !tbaa !5
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false)
  br label %235

39:                                               ; preds = %34
  %40 = load i32, ptr %15, align 4, !tbaa !5
  switch i32 %40, label %._crit_edge [
    i32 0, label %41
    i32 1, label %43
    i32 2, label %48
    i32 3, label %53
  ]

._crit_edge:                                      ; preds = %39
  %.pre = load i32, ptr %6, align 4, !tbaa !5
  br label %61

41:                                               ; preds = %39
  store i32 %26, ptr %5, align 4, !tbaa !5
  %42 = load i32, ptr %4, align 4, !tbaa !5
  store i32 %42, ptr %6, align 4, !tbaa !5
  br label %61

43:                                               ; preds = %39
  %44 = zext nneg i32 %26 to i64
  %45 = getelementptr inbounds i32, ptr %22, i64 %44
  %46 = load i32, ptr %45, align 4, !tbaa !5
  store i32 %46, ptr %5, align 4, !tbaa !5
  %47 = load i32, ptr %4, align 4, !tbaa !5
  store i32 %47, ptr %6, align 4, !tbaa !5
  br label %61

48:                                               ; preds = %39
  store i32 %26, ptr %5, align 4, !tbaa !5
  %49 = load i32, ptr %4, align 4, !tbaa !5
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds i32, ptr %22, i64 %50
  %52 = load i32, ptr %51, align 4, !tbaa !5
  store i32 %52, ptr %6, align 4, !tbaa !5
  br label %61

53:                                               ; preds = %39
  %54 = zext nneg i32 %26 to i64
  %55 = getelementptr inbounds i32, ptr %22, i64 %54
  %56 = load i32, ptr %55, align 4, !tbaa !5
  store i32 %56, ptr %5, align 4, !tbaa !5
  %57 = load i32, ptr %4, align 4, !tbaa !5
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds i32, ptr %22, i64 %58
  %60 = load i32, ptr %59, align 4, !tbaa !5
  store i32 %60, ptr %6, align 4, !tbaa !5
  br label %61

61:                                               ; preds = %._crit_edge, %43, %53, %48, %41
  %62 = phi i32 [ %.pre, %._crit_edge ], [ %47, %43 ], [ %60, %53 ], [ %52, %48 ], [ %42, %41 ]
  %63 = load i32, ptr %5, align 4, !tbaa !5
  %64 = load i32, ptr %8, align 4, !tbaa !5
  %65 = add nsw i32 %64, %63
  %66 = icmp sgt i32 %62, %65
  br i1 %66, label %71, label %67

67:                                               ; preds = %61
  %68 = load i32, ptr %7, align 4, !tbaa !5
  %69 = sub nsw i32 %63, %68
  %70 = icmp slt i32 %62, %69
  br i1 %70, label %71, label %72

71:                                               ; preds = %67, %61
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false)
  br label %235

72:                                               ; preds = %67
  %73 = load double, ptr %17, align 8, !tbaa !9
  %74 = fcmp ogt double %73, 0.000000e+00
  br i1 %74, label %75, label %80

75:                                               ; preds = %72
  %76 = tail call double @dlaran_(ptr noundef %10) #7
  %77 = load double, ptr %17, align 8, !tbaa !9
  %78 = fcmp olt double %76, %77
  br i1 %78, label %79, label %80

79:                                               ; preds = %75
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false)
  br label %235

80:                                               ; preds = %75, %72
  %81 = load i32, ptr %3, align 4, !tbaa !5
  %82 = load i32, ptr %4, align 4, !tbaa !5
  %83 = icmp eq i32 %81, %82
  br i1 %83, label %84, label %88

84:                                               ; preds = %80
  %85 = sext i32 %81 to i64
  %86 = getelementptr inbounds %struct.doublecomplex, ptr %25, i64 %85
  %87 = load <2 x double>, ptr %86, align 8, !tbaa !9
  br label %94

88:                                               ; preds = %80
  %89 = tail call { double, double } @zlarnd_(ptr noundef %9, ptr noundef %10) #7
  %90 = extractvalue { double, double } %89, 0
  %91 = extractvalue { double, double } %89, 1
  store double %90, ptr %19, align 16, !tbaa !9
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %19, i64 8
  store double %91, ptr %.sroa.4.0..sroa_idx, align 8, !tbaa !9
  %92 = insertelement <2 x double> poison, double %90, i64 0
  %93 = insertelement <2 x double> %92, double %91, i64 1
  br label %94

94:                                               ; preds = %88, %84
  %95 = phi <2 x double> [ %87, %84 ], [ %93, %88 ]
  %96 = load i32, ptr %12, align 4, !tbaa !5
  switch i32 %96, label %.thread [
    i32 1, label %97
    i32 2, label %109
    i32 3, label %121
    i32 4, label %147
    i32 5, label %176
    i32 6, label %208
  ]

97:                                               ; preds = %94
  %98 = load i32, ptr %3, align 4, !tbaa !5
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds %struct.doublecomplex, ptr %24, i64 %99
  %101 = load <2 x double>, ptr %100, align 8, !tbaa !9
  %102 = shufflevector <2 x double> %95, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %103 = fneg <2 x double> %95
  %104 = shufflevector <2 x double> %102, <2 x double> %103, <2 x i32> <i32 0, i32 3>
  %105 = fmul <2 x double> %101, %104
  %106 = shufflevector <2 x double> %105, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %107 = shufflevector <2 x double> %95, <2 x double> poison, <2 x i32> zeroinitializer
  %108 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %107, <2 x double> %101, <2 x double> %106)
  br label %.thread

109:                                              ; preds = %94
  %110 = load i32, ptr %4, align 4, !tbaa !5
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds %struct.doublecomplex, ptr %23, i64 %111
  %113 = load <2 x double>, ptr %112, align 8, !tbaa !9
  %114 = shufflevector <2 x double> %95, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %115 = fneg <2 x double> %95
  %116 = shufflevector <2 x double> %114, <2 x double> %115, <2 x i32> <i32 0, i32 3>
  %117 = fmul <2 x double> %113, %116
  %118 = shufflevector <2 x double> %117, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %119 = shufflevector <2 x double> %95, <2 x double> poison, <2 x i32> zeroinitializer
  %120 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %119, <2 x double> %113, <2 x double> %118)
  br label %.thread

121:                                              ; preds = %94
  %122 = load i32, ptr %3, align 4, !tbaa !5
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds %struct.doublecomplex, ptr %24, i64 %123
  %125 = load double, ptr %124, align 8, !tbaa !11
  %126 = getelementptr inbounds i8, ptr %124, i64 8
  %127 = load double, ptr %126, align 8, !tbaa !13
  %128 = extractelement <2 x double> %95, i64 1
  %129 = fneg double %128
  %130 = fmul double %127, %129
  %131 = extractelement <2 x double> %95, i64 0
  %132 = tail call double @llvm.fmuladd.f64(double %131, double %125, double %130)
  %133 = fmul double %128, %125
  %134 = tail call double @llvm.fmuladd.f64(double %131, double %127, double %133)
  %135 = load i32, ptr %4, align 4, !tbaa !5
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds %struct.doublecomplex, ptr %23, i64 %136
  %138 = fneg double %134
  %139 = load <2 x double>, ptr %137, align 8, !tbaa !9
  %140 = insertelement <2 x double> poison, double %134, i64 0
  %141 = insertelement <2 x double> %140, double %138, i64 1
  %142 = fmul <2 x double> %139, %141
  %143 = shufflevector <2 x double> %142, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %144 = insertelement <2 x double> poison, double %132, i64 0
  %145 = shufflevector <2 x double> %144, <2 x double> poison, <2 x i32> zeroinitializer
  %146 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %145, <2 x double> %139, <2 x double> %143)
  br label %.thread

147:                                              ; preds = %94
  %148 = load i32, ptr %3, align 4, !tbaa !5
  %149 = load i32, ptr %4, align 4, !tbaa !5
  %.not = icmp eq i32 %148, %149
  br i1 %.not, label %.thread, label %150

150:                                              ; preds = %147
  %151 = sext i32 %148 to i64
  %152 = getelementptr inbounds %struct.doublecomplex, ptr %24, i64 %151
  %153 = load <2 x double>, ptr %152, align 8, !tbaa !9
  %154 = shufflevector <2 x double> %95, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %155 = fneg <2 x double> %95
  %156 = shufflevector <2 x double> %154, <2 x double> %155, <2 x i32> <i32 0, i32 3>
  %157 = fmul <2 x double> %153, %156
  %158 = shufflevector <2 x double> %157, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %159 = shufflevector <2 x double> %95, <2 x double> poison, <2 x i32> zeroinitializer
  %160 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %159, <2 x double> %153, <2 x double> %158)
  store <2 x double> %160, ptr %20, align 16, !tbaa !9
  %161 = call { double, double } @Cd(ptr noundef nonnull %20)
  %162 = extractvalue { double, double } %161, 0
  %163 = extractvalue { double, double } %161, 1
  %164 = load i32, ptr %4, align 4, !tbaa !5
  %165 = sext i32 %164 to i64
  %166 = getelementptr inbounds %struct.doublecomplex, ptr %24, i64 %165
  %167 = call { double, double } @Cd(ptr noundef nonnull %166)
  %168 = extractvalue { double, double } %167, 0
  %169 = extractvalue { double, double } %167, 1
  %170 = call { double, double } @__divdc3(double noundef %162, double noundef %163, double noundef %168, double noundef %169) #7
  %171 = extractvalue { double, double } %170, 0
  %172 = extractvalue { double, double } %170, 1
  %173 = call ptr @_pCd(ptr noundef nonnull %19)
  %174 = getelementptr inbounds i8, ptr %173, i64 8
  store double %171, ptr %173, align 8
  store double %172, ptr %174, align 8
  %175 = load <2 x double>, ptr %19, align 16, !tbaa !9
  br label %.thread

176:                                              ; preds = %94
  %177 = load i32, ptr %3, align 4, !tbaa !5
  %178 = sext i32 %177 to i64
  %179 = getelementptr inbounds %struct.doublecomplex, ptr %24, i64 %178
  %180 = load double, ptr %179, align 8, !tbaa !11
  %181 = getelementptr inbounds i8, ptr %179, i64 8
  %182 = load double, ptr %181, align 8, !tbaa !13
  %183 = extractelement <2 x double> %95, i64 1
  %184 = fneg double %183
  %185 = fmul double %182, %184
  %186 = extractelement <2 x double> %95, i64 0
  %187 = tail call double @llvm.fmuladd.f64(double %186, double %180, double %185)
  %188 = fmul double %183, %180
  %189 = tail call double @llvm.fmuladd.f64(double %186, double %182, double %188)
  %190 = load i32, ptr %4, align 4, !tbaa !5
  %191 = sext i32 %190 to i64
  %192 = getelementptr inbounds %struct.doublecomplex, ptr %24, i64 %191
  %193 = tail call { double, double } @Cd(ptr noundef nonnull %192)
  %194 = extractvalue { double, double } %193, 0
  %195 = extractvalue { double, double } %193, 1
  %196 = fneg double %195
  %197 = call ptr @_pCd(ptr noundef nonnull %21)
  %198 = getelementptr inbounds i8, ptr %197, i64 8
  store double %194, ptr %197, align 8
  store double %196, ptr %198, align 8
  %199 = fneg double %189
  %200 = load <2 x double>, ptr %21, align 16, !tbaa !9
  %201 = insertelement <2 x double> poison, double %189, i64 0
  %202 = insertelement <2 x double> %201, double %199, i64 1
  %203 = fmul <2 x double> %200, %202
  %204 = shufflevector <2 x double> %203, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %205 = insertelement <2 x double> poison, double %187, i64 0
  %206 = shufflevector <2 x double> %205, <2 x double> poison, <2 x i32> zeroinitializer
  %207 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %206, <2 x double> %200, <2 x double> %204)
  br label %.thread

208:                                              ; preds = %94
  %209 = load i32, ptr %3, align 4, !tbaa !5
  %210 = sext i32 %209 to i64
  %211 = getelementptr inbounds %struct.doublecomplex, ptr %24, i64 %210
  %212 = load double, ptr %211, align 8, !tbaa !11
  %213 = getelementptr inbounds i8, ptr %211, i64 8
  %214 = load double, ptr %213, align 8, !tbaa !13
  %215 = extractelement <2 x double> %95, i64 1
  %216 = fneg double %215
  %217 = fmul double %214, %216
  %218 = extractelement <2 x double> %95, i64 0
  %219 = tail call double @llvm.fmuladd.f64(double %218, double %212, double %217)
  %220 = fmul double %215, %212
  %221 = tail call double @llvm.fmuladd.f64(double %218, double %214, double %220)
  %222 = load i32, ptr %4, align 4, !tbaa !5
  %223 = sext i32 %222 to i64
  %224 = getelementptr inbounds %struct.doublecomplex, ptr %24, i64 %223
  %225 = fneg double %221
  %226 = load <2 x double>, ptr %224, align 8, !tbaa !9
  %227 = insertelement <2 x double> poison, double %221, i64 0
  %228 = insertelement <2 x double> %227, double %225, i64 1
  %229 = fmul <2 x double> %226, %228
  %230 = shufflevector <2 x double> %229, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %231 = insertelement <2 x double> poison, double %219, i64 0
  %232 = shufflevector <2 x double> %231, <2 x double> poison, <2 x i32> zeroinitializer
  %233 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %232, <2 x double> %226, <2 x double> %230)
  br label %.thread

.thread:                                          ; preds = %94, %147, %109, %150, %208, %176, %121, %97
  %234 = phi <2 x double> [ %108, %97 ], [ %120, %109 ], [ %146, %121 ], [ %175, %150 ], [ %207, %176 ], [ %233, %208 ], [ %95, %147 ], [ %95, %94 ]
  store <2 x double> %234, ptr %0, align 8, !tbaa !9
  br label %235

235:                                              ; preds = %.thread, %79, %71, %37
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #7
  ret void
}

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

declare double @dlaran_(ptr noundef) local_unnamed_addr #2

declare { double, double } @zlarnd_(ptr noundef, ptr noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress 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) local_unnamed_addr #4

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #6

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"", !10, i64 0, !10, i64 8}
!13 = !{!12, !10, i64 8}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,MemCpyOptPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass,VectorCombinePass