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

; 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 [13 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [10 x i8], align 1

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

52:                                               ; preds = %10
  %53 = load ptr, ptr %13, align 8, !tbaa !5
  %54 = load i64, ptr %53, align 8, !tbaa !9
  %55 = icmp sle i64 %54, 0
  br i1 %55, label %56, label %58

56:                                               ; preds = %52, %10
  %57 = load ptr, ptr %21, align 8, !tbaa !5
  store i8 78, ptr %57, align 1, !tbaa !11
  store i32 0, ptr %11, align 4
  store i32 1, ptr %36, align 4
  br label %297

58:                                               ; preds = %52
  %59 = call double @dlamch_(ptr noundef @.str)
  %60 = call double @dlamch_(ptr noundef @.str.1)
  %61 = fdiv double %59, %60
  store double %61, ptr %35, align 8, !tbaa !12
  %62 = load double, ptr %35, align 8, !tbaa !12
  %63 = fdiv double 1.000000e+00, %62
  store double %63, ptr %34, align 8, !tbaa !12
  %64 = load ptr, ptr %18, align 8, !tbaa !5
  %65 = load double, ptr %64, align 8, !tbaa !12
  %66 = fcmp oge double %65, 1.000000e-01
  br i1 %66, label %67, label %150

67:                                               ; preds = %58
  %68 = load ptr, ptr %20, align 8, !tbaa !5
  %69 = load double, ptr %68, align 8, !tbaa !12
  %70 = load double, ptr %35, align 8, !tbaa !12
  %71 = fcmp oge double %69, %70
  br i1 %71, label %72, label %150

72:                                               ; preds = %67
  %73 = load ptr, ptr %20, align 8, !tbaa !5
  %74 = load double, ptr %73, align 8, !tbaa !12
  %75 = load double, ptr %34, align 8, !tbaa !12
  %76 = fcmp ole double %74, %75
  br i1 %76, label %77, label %150

77:                                               ; preds = %72
  %78 = load ptr, ptr %19, align 8, !tbaa !5
  %79 = load double, ptr %78, align 8, !tbaa !12
  %80 = fcmp oge double %79, 1.000000e-01
  br i1 %80, label %81, label %83

81:                                               ; preds = %77
  %82 = load ptr, ptr %21, align 8, !tbaa !5
  store i8 78, ptr %82, align 1, !tbaa !11
  br label %149

83:                                               ; preds = %77
  %84 = load ptr, ptr %13, align 8, !tbaa !5
  %85 = load i64, ptr %84, align 8, !tbaa !9
  store i64 %85, ptr %24, align 8, !tbaa !9
  store i64 1, ptr %32, align 8, !tbaa !9
  br label %86

86:                                               ; preds = %144, %83
  %87 = load i64, ptr %32, align 8, !tbaa !9
  %88 = load i64, ptr %24, align 8, !tbaa !9
  %89 = icmp sle i64 %87, %88
  br i1 %89, label %90, label %147

90:                                               ; preds = %86
  %91 = load ptr, ptr %17, align 8, !tbaa !5
  %92 = load i64, ptr %32, align 8, !tbaa !9
  %93 = getelementptr inbounds double, ptr %91, i64 %92
  %94 = load double, ptr %93, align 8, !tbaa !12
  store double %94, ptr %33, align 8, !tbaa !12
  %95 = load ptr, ptr %12, align 8, !tbaa !5
  %96 = load i64, ptr %95, align 8, !tbaa !9
  store i64 %96, ptr %25, align 8, !tbaa !9
  store i64 1, ptr %31, align 8, !tbaa !9
  br label %97

97:                                               ; preds = %140, %90
  %98 = load i64, ptr %31, align 8, !tbaa !9
  %99 = load i64, ptr %25, align 8, !tbaa !9
  %100 = icmp sle i64 %98, %99
  br i1 %100, label %101, label %143

101:                                              ; preds = %97
  %102 = load i64, ptr %31, align 8, !tbaa !9
  %103 = load i64, ptr %32, align 8, !tbaa !9
  %104 = load i64, ptr %22, align 8, !tbaa !9
  %105 = mul nsw i64 %103, %104
  %106 = add nsw i64 %102, %105
  store i64 %106, ptr %26, align 8, !tbaa !9
  %107 = load i64, ptr %31, align 8, !tbaa !9
  %108 = load i64, ptr %32, align 8, !tbaa !9
  %109 = load i64, ptr %22, align 8, !tbaa !9
  %110 = mul nsw i64 %108, %109
  %111 = add nsw i64 %107, %110
  store i64 %111, ptr %27, align 8, !tbaa !9
  %112 = load double, ptr %33, align 8, !tbaa !12
  %113 = load ptr, ptr %14, align 8, !tbaa !5
  %114 = load i64, ptr %27, align 8, !tbaa !9
  %115 = getelementptr inbounds %struct.doublecomplex, ptr %113, i64 %114
  %116 = getelementptr inbounds %struct.doublecomplex, ptr %115, i32 0, i32 0
  %117 = load double, ptr %116, align 8, !tbaa !14
  %118 = fmul double %112, %117
  %119 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 0
  store double %118, ptr %119, align 8, !tbaa !14
  %120 = load double, ptr %33, align 8, !tbaa !12
  %121 = load ptr, ptr %14, align 8, !tbaa !5
  %122 = load i64, ptr %27, align 8, !tbaa !9
  %123 = getelementptr inbounds %struct.doublecomplex, ptr %121, i64 %122
  %124 = getelementptr inbounds %struct.doublecomplex, ptr %123, i32 0, i32 1
  %125 = load double, ptr %124, align 8, !tbaa !16
  %126 = fmul double %120, %125
  %127 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 1
  store double %126, ptr %127, align 8, !tbaa !16
  %128 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 0
  %129 = load double, ptr %128, align 8, !tbaa !14
  %130 = load ptr, ptr %14, align 8, !tbaa !5
  %131 = load i64, ptr %26, align 8, !tbaa !9
  %132 = getelementptr inbounds %struct.doublecomplex, ptr %130, i64 %131
  %133 = getelementptr inbounds %struct.doublecomplex, ptr %132, i32 0, i32 0
  store double %129, ptr %133, align 8, !tbaa !14
  %134 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 1
  %135 = load double, ptr %134, align 8, !tbaa !16
  %136 = load ptr, ptr %14, align 8, !tbaa !5
  %137 = load i64, ptr %26, align 8, !tbaa !9
  %138 = getelementptr inbounds %struct.doublecomplex, ptr %136, i64 %137
  %139 = getelementptr inbounds %struct.doublecomplex, ptr %138, i32 0, i32 1
  store double %135, ptr %139, align 8, !tbaa !16
  br label %140

140:                                              ; preds = %101
  %141 = load i64, ptr %31, align 8, !tbaa !9
  %142 = add nsw i64 %141, 1
  store i64 %142, ptr %31, align 8, !tbaa !9
  br label %97, !llvm.loop !17

143:                                              ; preds = %97
  br label %144

144:                                              ; preds = %143
  %145 = load i64, ptr %32, align 8, !tbaa !9
  %146 = add nsw i64 %145, 1
  store i64 %146, ptr %32, align 8, !tbaa !9
  br label %86, !llvm.loop !19

147:                                              ; preds = %86
  %148 = load ptr, ptr %21, align 8, !tbaa !5
  store i8 67, ptr %148, align 1, !tbaa !11
  br label %149

149:                                              ; preds = %147, %81
  br label %296

150:                                              ; preds = %72, %67, %58
  %151 = load ptr, ptr %19, align 8, !tbaa !5
  %152 = load double, ptr %151, align 8, !tbaa !12
  %153 = fcmp oge double %152, 1.000000e-01
  br i1 %153, label %154, label %223

154:                                              ; preds = %150
  %155 = load ptr, ptr %13, align 8, !tbaa !5
  %156 = load i64, ptr %155, align 8, !tbaa !9
  store i64 %156, ptr %24, align 8, !tbaa !9
  store i64 1, ptr %32, align 8, !tbaa !9
  br label %157

157:                                              ; preds = %218, %154
  %158 = load i64, ptr %32, align 8, !tbaa !9
  %159 = load i64, ptr %24, align 8, !tbaa !9
  %160 = icmp sle i64 %158, %159
  br i1 %160, label %161, label %221

161:                                              ; preds = %157
  %162 = load ptr, ptr %12, align 8, !tbaa !5
  %163 = load i64, ptr %162, align 8, !tbaa !9
  store i64 %163, ptr %25, align 8, !tbaa !9
  store i64 1, ptr %31, align 8, !tbaa !9
  br label %164

164:                                              ; preds = %214, %161
  %165 = load i64, ptr %31, align 8, !tbaa !9
  %166 = load i64, ptr %25, align 8, !tbaa !9
  %167 = icmp sle i64 %165, %166
  br i1 %167, label %168, label %217

168:                                              ; preds = %164
  %169 = load i64, ptr %31, align 8, !tbaa !9
  %170 = load i64, ptr %32, align 8, !tbaa !9
  %171 = load i64, ptr %22, align 8, !tbaa !9
  %172 = mul nsw i64 %170, %171
  %173 = add nsw i64 %169, %172
  store i64 %173, ptr %26, align 8, !tbaa !9
  %174 = load i64, ptr %31, align 8, !tbaa !9
  store i64 %174, ptr %27, align 8, !tbaa !9
  %175 = load i64, ptr %31, align 8, !tbaa !9
  %176 = load i64, ptr %32, align 8, !tbaa !9
  %177 = load i64, ptr %22, align 8, !tbaa !9
  %178 = mul nsw i64 %176, %177
  %179 = add nsw i64 %175, %178
  store i64 %179, ptr %28, align 8, !tbaa !9
  %180 = load ptr, ptr %16, align 8, !tbaa !5
  %181 = load i64, ptr %27, align 8, !tbaa !9
  %182 = getelementptr inbounds double, ptr %180, i64 %181
  %183 = load double, ptr %182, align 8, !tbaa !12
  %184 = load ptr, ptr %14, align 8, !tbaa !5
  %185 = load i64, ptr %28, align 8, !tbaa !9
  %186 = getelementptr inbounds %struct.doublecomplex, ptr %184, i64 %185
  %187 = getelementptr inbounds %struct.doublecomplex, ptr %186, i32 0, i32 0
  %188 = load double, ptr %187, align 8, !tbaa !14
  %189 = fmul double %183, %188
  %190 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 0
  store double %189, ptr %190, align 8, !tbaa !14
  %191 = load ptr, ptr %16, align 8, !tbaa !5
  %192 = load i64, ptr %27, align 8, !tbaa !9
  %193 = getelementptr inbounds double, ptr %191, i64 %192
  %194 = load double, ptr %193, align 8, !tbaa !12
  %195 = load ptr, ptr %14, align 8, !tbaa !5
  %196 = load i64, ptr %28, align 8, !tbaa !9
  %197 = getelementptr inbounds %struct.doublecomplex, ptr %195, i64 %196
  %198 = getelementptr inbounds %struct.doublecomplex, ptr %197, i32 0, i32 1
  %199 = load double, ptr %198, align 8, !tbaa !16
  %200 = fmul double %194, %199
  %201 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 1
  store double %200, ptr %201, align 8, !tbaa !16
  %202 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 0
  %203 = load double, ptr %202, align 8, !tbaa !14
  %204 = load ptr, ptr %14, align 8, !tbaa !5
  %205 = load i64, ptr %26, align 8, !tbaa !9
  %206 = getelementptr inbounds %struct.doublecomplex, ptr %204, i64 %205
  %207 = getelementptr inbounds %struct.doublecomplex, ptr %206, i32 0, i32 0
  store double %203, ptr %207, align 8, !tbaa !14
  %208 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 1
  %209 = load double, ptr %208, align 8, !tbaa !16
  %210 = load ptr, ptr %14, align 8, !tbaa !5
  %211 = load i64, ptr %26, align 8, !tbaa !9
  %212 = getelementptr inbounds %struct.doublecomplex, ptr %210, i64 %211
  %213 = getelementptr inbounds %struct.doublecomplex, ptr %212, i32 0, i32 1
  store double %209, ptr %213, align 8, !tbaa !16
  br label %214

214:                                              ; preds = %168
  %215 = load i64, ptr %31, align 8, !tbaa !9
  %216 = add nsw i64 %215, 1
  store i64 %216, ptr %31, align 8, !tbaa !9
  br label %164, !llvm.loop !20

217:                                              ; preds = %164
  br label %218

218:                                              ; preds = %217
  %219 = load i64, ptr %32, align 8, !tbaa !9
  %220 = add nsw i64 %219, 1
  store i64 %220, ptr %32, align 8, !tbaa !9
  br label %157, !llvm.loop !21

221:                                              ; preds = %157
  %222 = load ptr, ptr %21, align 8, !tbaa !5
  store i8 82, ptr %222, align 1, !tbaa !11
  br label %295

223:                                              ; preds = %150
  %224 = load ptr, ptr %13, align 8, !tbaa !5
  %225 = load i64, ptr %224, align 8, !tbaa !9
  store i64 %225, ptr %24, align 8, !tbaa !9
  store i64 1, ptr %32, align 8, !tbaa !9
  br label %226

226:                                              ; preds = %290, %223
  %227 = load i64, ptr %32, align 8, !tbaa !9
  %228 = load i64, ptr %24, align 8, !tbaa !9
  %229 = icmp sle i64 %227, %228
  br i1 %229, label %230, label %293

230:                                              ; preds = %226
  %231 = load ptr, ptr %17, align 8, !tbaa !5
  %232 = load i64, ptr %32, align 8, !tbaa !9
  %233 = getelementptr inbounds double, ptr %231, i64 %232
  %234 = load double, ptr %233, align 8, !tbaa !12
  store double %234, ptr %33, align 8, !tbaa !12
  %235 = load ptr, ptr %12, align 8, !tbaa !5
  %236 = load i64, ptr %235, align 8, !tbaa !9
  store i64 %236, ptr %25, align 8, !tbaa !9
  store i64 1, ptr %31, align 8, !tbaa !9
  br label %237

237:                                              ; preds = %286, %230
  %238 = load i64, ptr %31, align 8, !tbaa !9
  %239 = load i64, ptr %25, align 8, !tbaa !9
  %240 = icmp sle i64 %238, %239
  br i1 %240, label %241, label %289

241:                                              ; preds = %237
  %242 = load i64, ptr %31, align 8, !tbaa !9
  %243 = load i64, ptr %32, align 8, !tbaa !9
  %244 = load i64, ptr %22, align 8, !tbaa !9
  %245 = mul nsw i64 %243, %244
  %246 = add nsw i64 %242, %245
  store i64 %246, ptr %26, align 8, !tbaa !9
  %247 = load double, ptr %33, align 8, !tbaa !12
  %248 = load ptr, ptr %16, align 8, !tbaa !5
  %249 = load i64, ptr %31, align 8, !tbaa !9
  %250 = getelementptr inbounds double, ptr %248, i64 %249
  %251 = load double, ptr %250, align 8, !tbaa !12
  %252 = fmul double %247, %251
  store double %252, ptr %29, align 8, !tbaa !12
  %253 = load i64, ptr %31, align 8, !tbaa !9
  %254 = load i64, ptr %32, align 8, !tbaa !9
  %255 = load i64, ptr %22, align 8, !tbaa !9
  %256 = mul nsw i64 %254, %255
  %257 = add nsw i64 %253, %256
  store i64 %257, ptr %27, align 8, !tbaa !9
  %258 = load double, ptr %29, align 8, !tbaa !12
  %259 = load ptr, ptr %14, align 8, !tbaa !5
  %260 = load i64, ptr %27, align 8, !tbaa !9
  %261 = getelementptr inbounds %struct.doublecomplex, ptr %259, i64 %260
  %262 = getelementptr inbounds %struct.doublecomplex, ptr %261, i32 0, i32 0
  %263 = load double, ptr %262, align 8, !tbaa !14
  %264 = fmul double %258, %263
  %265 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 0
  store double %264, ptr %265, align 8, !tbaa !14
  %266 = load double, ptr %29, align 8, !tbaa !12
  %267 = load ptr, ptr %14, align 8, !tbaa !5
  %268 = load i64, ptr %27, align 8, !tbaa !9
  %269 = getelementptr inbounds %struct.doublecomplex, ptr %267, i64 %268
  %270 = getelementptr inbounds %struct.doublecomplex, ptr %269, i32 0, i32 1
  %271 = load double, ptr %270, align 8, !tbaa !16
  %272 = fmul double %266, %271
  %273 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 1
  store double %272, ptr %273, align 8, !tbaa !16
  %274 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 0
  %275 = load double, ptr %274, align 8, !tbaa !14
  %276 = load ptr, ptr %14, align 8, !tbaa !5
  %277 = load i64, ptr %26, align 8, !tbaa !9
  %278 = getelementptr inbounds %struct.doublecomplex, ptr %276, i64 %277
  %279 = getelementptr inbounds %struct.doublecomplex, ptr %278, i32 0, i32 0
  store double %275, ptr %279, align 8, !tbaa !14
  %280 = getelementptr inbounds %struct.doublecomplex, ptr %30, i32 0, i32 1
  %281 = load double, ptr %280, align 8, !tbaa !16
  %282 = load ptr, ptr %14, align 8, !tbaa !5
  %283 = load i64, ptr %26, align 8, !tbaa !9
  %284 = getelementptr inbounds %struct.doublecomplex, ptr %282, i64 %283
  %285 = getelementptr inbounds %struct.doublecomplex, ptr %284, i32 0, i32 1
  store double %281, ptr %285, align 8, !tbaa !16
  br label %286

286:                                              ; preds = %241
  %287 = load i64, ptr %31, align 8, !tbaa !9
  %288 = add nsw i64 %287, 1
  store i64 %288, ptr %31, align 8, !tbaa !9
  br label %237, !llvm.loop !22

289:                                              ; preds = %237
  br label %290

290:                                              ; preds = %289
  %291 = load i64, ptr %32, align 8, !tbaa !9
  %292 = add nsw i64 %291, 1
  store i64 %292, ptr %32, align 8, !tbaa !9
  br label %226, !llvm.loop !23

293:                                              ; preds = %226
  %294 = load ptr, ptr %21, align 8, !tbaa !5
  store i8 66, ptr %294, align 1, !tbaa !11
  br label %295

295:                                              ; preds = %293, %221
  br label %296

296:                                              ; preds = %295, %149
  store i32 0, ptr %11, align 4
  store i32 1, ptr %36, align 4
  br label %297

297:                                              ; preds = %296, %56
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #3
  %298 = load i32, ptr %11, align 4
  ret i32 %298
}

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

declare double @dlamch_(ptr noundef) #2

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

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

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

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


; 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 [13 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [10 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @zlaqge_(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2, ptr nocapture noundef readonly %3, ptr nocapture noundef readonly %4, ptr nocapture noundef readonly %5, ptr nocapture noundef readonly %6, ptr nocapture noundef readonly %7, ptr nocapture noundef readonly %8, ptr nocapture noundef writeonly %9) local_unnamed_addr #0 {
  %11 = load i64, ptr %3, align 8, !tbaa !5
  %12 = xor i64 %11, -1
  %13 = getelementptr inbounds %struct.doublecomplex, ptr %2, i64 %12
  %14 = getelementptr inbounds i8, ptr %4, i64 -8
  %15 = getelementptr inbounds i8, ptr %5, i64 -8
  %16 = load i64, ptr %0, align 8, !tbaa !5
  %17 = icmp slt i64 %16, 1
  br i1 %17, label %._crit_edge122, label %18

18:                                               ; preds = %10
  %19 = load i64, ptr %1, align 8, !tbaa !5
  %20 = icmp slt i64 %19, 1
  br i1 %20, label %._crit_edge122, label %21

21:                                               ; preds = %18
  %22 = tail call double @dlamch_(ptr noundef nonnull @.str) #2
  %23 = tail call double @dlamch_(ptr noundef nonnull @.str.1) #2
  %24 = load double, ptr %6, align 8, !tbaa !9
  %25 = fcmp ult double %24, 1.000000e-01
  br i1 %25, label %71, label %26

26:                                               ; preds = %21
  %27 = fdiv double %22, %23
  %28 = fdiv double 1.000000e+00, %27
  %29 = load double, ptr %8, align 8, !tbaa !9
  %30 = fcmp ult double %29, %27
  %31 = fcmp ugt double %29, %28
  %or.cond = or i1 %30, %31
  br i1 %or.cond, label %71, label %32

32:                                               ; preds = %26
  %33 = load double, ptr %7, align 8, !tbaa !9
  %34 = fcmp ult double %33, 1.000000e-01
  br i1 %34, label %35, label %._crit_edge122

35:                                               ; preds = %32
  %36 = load i64, ptr %1, align 8, !tbaa !5
  %.not114118 = icmp slt i64 %36, 1
  br i1 %.not114118, label %._crit_edge122, label %.lr.ph121

.lr.ph121:                                        ; preds = %35
  %37 = load i64, ptr %0, align 8, !tbaa !5
  %.not115116 = icmp slt i64 %37, 1
  br i1 %.not115116, label %._crit_edge122, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %.lr.ph121
  %38 = add nsw i64 %37, -1
  %39 = shl i64 %11, 4
  %min.iters.check = icmp ult i64 %37, 12
  %mul.result = shl i64 %38, 4
  %mul.result159 = shl i64 %38, 4
  %mul.overflow160 = icmp ugt i64 %38, 1152921504606846975
  %n.vec = and i64 %37, 2305843009213693950
  %ind.end = or i64 %37, 1
  %cmp.n = icmp eq i64 %37, %n.vec
  %xtraiter = and i64 %37, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %._crit_edge
  %indvar = phi i64 [ 0, %.lr.ph.preheader ], [ %indvar.next, %._crit_edge ]
  %.0107119 = phi i64 [ 1, %.lr.ph.preheader ], [ %70, %._crit_edge ]
  %40 = getelementptr inbounds double, ptr %15, i64 %.0107119
  %41 = load double, ptr %40, align 8, !tbaa !9
  %42 = mul nsw i64 %.0107119, %11
  %invariant.gep = getelementptr %struct.doublecomplex, ptr %13, i64 %42
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.scevcheck

vector.scevcheck:                                 ; preds = %.lr.ph
  %43 = mul i64 %39, %indvar
  %44 = or disjoint i64 %43, 8
  %scevgep157 = getelementptr i8, ptr %2, i64 %44
  %scevgep = getelementptr i8, ptr %2, i64 %43
  %45 = getelementptr i8, ptr %scevgep, i64 %mul.result
  %46 = icmp ult ptr %45, %scevgep
  %47 = getelementptr i8, ptr %scevgep157, i64 %mul.result159
  %48 = icmp ult ptr %47, %scevgep157
  %49 = or i1 %48, %mul.overflow160
  %50 = or i1 %46, %49
  br i1 %50, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %vector.scevcheck
  %broadcast.splatinsert = insertelement <2 x double> poison, double %41, i64 0
  %51 = shufflevector <2 x double> %broadcast.splatinsert, <2 x double> poison, <4 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = or disjoint i64 %index, 1
  %52 = getelementptr %struct.doublecomplex, ptr %invariant.gep, i64 %offset.idx
  %wide.vec = load <4 x double>, ptr %52, align 8, !tbaa !9
  %interleaved.vec = fmul <4 x double> %51, %wide.vec
  store <4 x double> %interleaved.vec, ptr %52, align 8, !tbaa !9
  %index.next = add nuw i64 %index, 2
  %53 = icmp eq i64 %index.next, %n.vec
  br i1 %53, label %middle.block, label %vector.body, !llvm.loop !11

middle.block:                                     ; preds = %vector.body
  br i1 %cmp.n, label %._crit_edge, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %vector.scevcheck, %.lr.ph
  %.0108117.ph = phi i64 [ 1, %vector.scevcheck ], [ 1, %.lr.ph ], [ %ind.end, %middle.block ]
  br i1 %lcmp.mod.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol

scalar.ph.prol:                                   ; preds = %scalar.ph.preheader
  %gep.prol = getelementptr %struct.doublecomplex, ptr %invariant.gep, i64 %.0108117.ph
  %54 = load <2 x double>, ptr %gep.prol, align 8, !tbaa !9
  %55 = insertelement <2 x double> poison, double %41, i64 0
  %56 = shufflevector <2 x double> %55, <2 x double> poison, <2 x i32> zeroinitializer
  %57 = fmul <2 x double> %56, %54
  store <2 x double> %57, ptr %gep.prol, align 8, !tbaa !9
  %58 = add nuw nsw i64 %.0108117.ph, 1
  br label %scalar.ph.prol.loopexit

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol, %scalar.ph.preheader
  %.0108117.unr = phi i64 [ %.0108117.ph, %scalar.ph.preheader ], [ %58, %scalar.ph.prol ]
  %59 = icmp eq i64 %37, %.0108117.ph
  br i1 %59, label %._crit_edge, label %scalar.ph.preheader.new

scalar.ph.preheader.new:                          ; preds = %scalar.ph.prol.loopexit
  %60 = insertelement <2 x double> poison, double %41, i64 0
  %61 = shufflevector <2 x double> %60, <2 x double> poison, <2 x i32> zeroinitializer
  %62 = insertelement <2 x double> poison, double %41, i64 0
  %63 = shufflevector <2 x double> %62, <2 x double> poison, <2 x i32> zeroinitializer
  br label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph, %scalar.ph.preheader.new
  %.0108117 = phi i64 [ %.0108117.unr, %scalar.ph.preheader.new ], [ %69, %scalar.ph ]
  %gep = getelementptr %struct.doublecomplex, ptr %invariant.gep, i64 %.0108117
  %64 = load <2 x double>, ptr %gep, align 8, !tbaa !9
  %65 = fmul <2 x double> %61, %64
  store <2 x double> %65, ptr %gep, align 8, !tbaa !9
  %66 = add nuw i64 %.0108117, 1
  %gep.1 = getelementptr %struct.doublecomplex, ptr %invariant.gep, i64 %66
  %67 = load <2 x double>, ptr %gep.1, align 8, !tbaa !9
  %68 = fmul <2 x double> %63, %67
  store <2 x double> %68, ptr %gep.1, align 8, !tbaa !9
  %69 = add nuw i64 %.0108117, 2
  %exitcond.not.1 = icmp eq i64 %66, %37
  br i1 %exitcond.not.1, label %._crit_edge, label %scalar.ph, !llvm.loop !15

._crit_edge:                                      ; preds = %scalar.ph.prol.loopexit, %scalar.ph, %middle.block
  %70 = add nuw i64 %.0107119, 1
  %exitcond150.not = icmp eq i64 %.0107119, %36
  %indvar.next = add i64 %indvar, 1
  br i1 %exitcond150.not, label %._crit_edge122, label %.lr.ph, !llvm.loop !16

71:                                               ; preds = %26, %21
  %72 = load double, ptr %7, align 8, !tbaa !9
  %73 = fcmp ult double %72, 1.000000e-01
  %74 = load i64, ptr %1, align 8, !tbaa !5
  %.not142 = icmp slt i64 %74, 1
  br i1 %73, label %122, label %75

75:                                               ; preds = %71
  br i1 %.not142, label %._crit_edge122, label %.lr.ph133

.lr.ph133:                                        ; preds = %75
  %76 = load i64, ptr %0, align 8, !tbaa !5
  %.not113123 = icmp slt i64 %76, 1
  br i1 %.not113123, label %._crit_edge122, label %.lr.ph126.preheader

.lr.ph126.preheader:                              ; preds = %.lr.ph133
  %77 = add nsw i64 %76, -1
  %78 = shl i64 %11, 4
  %79 = add nuw i64 %74, 1152921504606846975
  %80 = mul i64 %11, %79
  %81 = add i64 %80, %76
  %82 = shl i64 %81, 4
  %scevgep173 = getelementptr i8, ptr %2, i64 %82
  %83 = shl i64 %76, 3
  %scevgep174 = getelementptr i8, ptr %4, i64 %83
  %min.iters.check177 = icmp ult i64 %76, 12
  %mul.result167 = shl i64 %77, 4
  %mul.result171 = shl i64 %77, 4
  %mul.overflow172 = icmp ugt i64 %77, 1152921504606846975
  %bound0 = icmp ugt ptr %scevgep174, %2
  %bound1 = icmp ugt ptr %scevgep173, %4
  %found.conflict = and i1 %bound0, %bound1
  %.mask = and i64 %11, 576460752303423488
  %stride.check = icmp ne i64 %.mask, 0
  %84 = or i1 %found.conflict, %stride.check
  %n.vec180 = and i64 %76, 2305843009213693950
  %ind.end181 = or i64 %76, 1
  %cmp.n191 = icmp eq i64 %76, %n.vec180
  %xtraiter233 = and i64 %76, 1
  %lcmp.mod234.not = icmp eq i64 %xtraiter233, 0
  br label %.lr.ph126

.lr.ph126:                                        ; preds = %.lr.ph126.preheader, %._crit_edge127
  %indvar163 = phi i64 [ 0, %.lr.ph126.preheader ], [ %indvar.next164, %._crit_edge127 ]
  %.1131 = phi i64 [ 1, %.lr.ph126.preheader ], [ %121, %._crit_edge127 ]
  %85 = mul nsw i64 %.1131, %11
  %invariant.gep128 = getelementptr %struct.doublecomplex, ptr %13, i64 %85
  br i1 %min.iters.check177, label %scalar.ph176.preheader, label %vector.scevcheck162

vector.scevcheck162:                              ; preds = %.lr.ph126
  %86 = mul i64 %78, %indvar163
  %scevgep169 = getelementptr i8, ptr %2, i64 %86
  %87 = or disjoint i64 %86, 8
  %scevgep165 = getelementptr i8, ptr %2, i64 %87
  %88 = getelementptr i8, ptr %scevgep165, i64 %mul.result167
  %89 = icmp ult ptr %88, %scevgep165
  %90 = getelementptr i8, ptr %scevgep169, i64 %mul.result171
  %91 = icmp ult ptr %90, %scevgep169
  %92 = or i1 %91, %mul.overflow172
  %93 = or i1 %89, %92
  %brmerge = select i1 %93, i1 true, i1 %84
  br i1 %brmerge, label %scalar.ph176.preheader, label %vector.body183

vector.body183:                                   ; preds = %vector.scevcheck162, %vector.body183
  %index184 = phi i64 [ %index.next190, %vector.body183 ], [ 0, %vector.scevcheck162 ]
  %offset.idx185 = or disjoint i64 %index184, 1
  %94 = getelementptr double, ptr %4, i64 %index184
  %wide.load = load <2 x double>, ptr %94, align 8, !tbaa !9, !alias.scope !17
  %95 = getelementptr %struct.doublecomplex, ptr %invariant.gep128, i64 %offset.idx185
  %wide.vec186 = load <4 x double>, ptr %95, align 8, !tbaa !9
  %strided.vec187 = shufflevector <4 x double> %wide.vec186, <4 x double> poison, <2 x i32> <i32 0, i32 2>
  %strided.vec188 = shufflevector <4 x double> %wide.vec186, <4 x double> poison, <2 x i32> <i32 1, i32 3>
  %96 = fmul <2 x double> %wide.load, %strided.vec187
  %97 = fmul <2 x double> %wide.load, %strided.vec188
  %interleaved.vec189 = shufflevector <2 x double> %96, <2 x double> %97, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
  store <4 x double> %interleaved.vec189, ptr %95, align 8, !tbaa !9
  %index.next190 = add nuw i64 %index184, 2
  %98 = icmp eq i64 %index.next190, %n.vec180
  br i1 %98, label %middle.block175, label %vector.body183, !llvm.loop !20

middle.block175:                                  ; preds = %vector.body183
  br i1 %cmp.n191, label %._crit_edge127, label %scalar.ph176.preheader

scalar.ph176.preheader:                           ; preds = %vector.scevcheck162, %middle.block175, %.lr.ph126
  %.1109124.ph = phi i64 [ 1, %vector.scevcheck162 ], [ 1, %.lr.ph126 ], [ %ind.end181, %middle.block175 ]
  br i1 %lcmp.mod234.not, label %scalar.ph176.prol.loopexit, label %scalar.ph176.prol

scalar.ph176.prol:                                ; preds = %scalar.ph176.preheader
  %99 = getelementptr inbounds double, ptr %14, i64 %.1109124.ph
  %100 = load double, ptr %99, align 8, !tbaa !9
  %gep129.prol = getelementptr %struct.doublecomplex, ptr %invariant.gep128, i64 %.1109124.ph
  %101 = load <2 x double>, ptr %gep129.prol, align 8, !tbaa !9
  %102 = insertelement <2 x double> poison, double %100, i64 0
  %103 = shufflevector <2 x double> %102, <2 x double> poison, <2 x i32> zeroinitializer
  %104 = fmul <2 x double> %103, %101
  store <2 x double> %104, ptr %gep129.prol, align 8, !tbaa !9
  %105 = add nuw nsw i64 %.1109124.ph, 1
  br label %scalar.ph176.prol.loopexit

scalar.ph176.prol.loopexit:                       ; preds = %scalar.ph176.prol, %scalar.ph176.preheader
  %.1109124.unr = phi i64 [ %.1109124.ph, %scalar.ph176.preheader ], [ %105, %scalar.ph176.prol ]
  %106 = icmp eq i64 %76, %.1109124.ph
  br i1 %106, label %._crit_edge127, label %scalar.ph176

scalar.ph176:                                     ; preds = %scalar.ph176.prol.loopexit, %scalar.ph176
  %.1109124 = phi i64 [ %120, %scalar.ph176 ], [ %.1109124.unr, %scalar.ph176.prol.loopexit ]
  %107 = getelementptr inbounds double, ptr %14, i64 %.1109124
  %108 = load double, ptr %107, align 8, !tbaa !9
  %gep129 = getelementptr %struct.doublecomplex, ptr %invariant.gep128, i64 %.1109124
  %109 = load <2 x double>, ptr %gep129, align 8, !tbaa !9
  %110 = insertelement <2 x double> poison, double %108, i64 0
  %111 = shufflevector <2 x double> %110, <2 x double> poison, <2 x i32> zeroinitializer
  %112 = fmul <2 x double> %111, %109
  store <2 x double> %112, ptr %gep129, align 8, !tbaa !9
  %113 = add nuw i64 %.1109124, 1
  %114 = getelementptr double, ptr %4, i64 %.1109124
  %115 = load double, ptr %114, align 8, !tbaa !9
  %gep129.1 = getelementptr %struct.doublecomplex, ptr %invariant.gep128, i64 %113
  %116 = load <2 x double>, ptr %gep129.1, align 8, !tbaa !9
  %117 = insertelement <2 x double> poison, double %115, i64 0
  %118 = shufflevector <2 x double> %117, <2 x double> poison, <2 x i32> zeroinitializer
  %119 = fmul <2 x double> %118, %116
  store <2 x double> %119, ptr %gep129.1, align 8, !tbaa !9
  %120 = add nuw i64 %.1109124, 2
  %exitcond151.not.1 = icmp eq i64 %113, %76
  br i1 %exitcond151.not.1, label %._crit_edge127, label %scalar.ph176, !llvm.loop !21

._crit_edge127:                                   ; preds = %scalar.ph176.prol.loopexit, %scalar.ph176, %middle.block175
  %121 = add nuw i64 %.1131, 1
  %exitcond152.not = icmp eq i64 %.1131, %74
  %indvar.next164 = add i64 %indvar163, 1
  br i1 %exitcond152.not, label %._crit_edge122, label %.lr.ph126, !llvm.loop !22

122:                                              ; preds = %71
  br i1 %.not142, label %._crit_edge122, label %.lr.ph145

.lr.ph145:                                        ; preds = %122
  %123 = load i64, ptr %0, align 8, !tbaa !5
  %.not111135 = icmp slt i64 %123, 1
  br i1 %.not111135, label %._crit_edge122, label %.lr.ph138.preheader

.lr.ph138.preheader:                              ; preds = %.lr.ph145
  %124 = add nsw i64 %123, -1
  %125 = shl i64 %11, 4
  %126 = add nuw i64 %74, 1152921504606846975
  %127 = mul i64 %11, %126
  %128 = add i64 %127, %123
  %129 = shl i64 %128, 4
  %scevgep204 = getelementptr i8, ptr %2, i64 %129
  %130 = shl i64 %123, 3
  %scevgep205 = getelementptr i8, ptr %4, i64 %130
  %min.iters.check212 = icmp ult i64 %123, 10
  %mul.result197 = shl i64 %124, 4
  %mul.result201 = shl i64 %124, 4
  %mul.overflow202 = icmp ugt i64 %124, 1152921504606846975
  %bound0206 = icmp ugt ptr %scevgep205, %2
  %bound1207 = icmp ugt ptr %scevgep204, %4
  %found.conflict208 = and i1 %bound0206, %bound1207
  %.mask230 = and i64 %11, 576460752303423488
  %stride.check209 = icmp ne i64 %.mask230, 0
  %131 = or i1 %found.conflict208, %stride.check209
  %n.vec215 = and i64 %123, 2305843009213693950
  %ind.end216 = or i64 %123, 1
  %cmp.n229 = icmp eq i64 %123, %n.vec215
  %xtraiter235 = and i64 %123, 1
  %lcmp.mod236.not = icmp eq i64 %xtraiter235, 0
  br label %.lr.ph138

.lr.ph138:                                        ; preds = %.lr.ph138.preheader, %._crit_edge139
  %indvar193 = phi i64 [ 0, %.lr.ph138.preheader ], [ %indvar.next194, %._crit_edge139 ]
  %.2143 = phi i64 [ 1, %.lr.ph138.preheader ], [ %174, %._crit_edge139 ]
  %132 = getelementptr inbounds double, ptr %15, i64 %.2143
  %133 = load double, ptr %132, align 8, !tbaa !9
  %134 = mul nsw i64 %.2143, %11
  %invariant.gep140 = getelementptr %struct.doublecomplex, ptr %13, i64 %134
  br i1 %min.iters.check212, label %scalar.ph211.preheader, label %vector.scevcheck192

vector.scevcheck192:                              ; preds = %.lr.ph138
  %135 = mul i64 %125, %indvar193
  %scevgep199 = getelementptr i8, ptr %2, i64 %135
  %136 = or disjoint i64 %135, 8
  %scevgep195 = getelementptr i8, ptr %2, i64 %136
  %137 = getelementptr i8, ptr %scevgep195, i64 %mul.result197
  %138 = icmp ult ptr %137, %scevgep195
  %139 = getelementptr i8, ptr %scevgep199, i64 %mul.result201
  %140 = icmp ult ptr %139, %scevgep199
  %141 = or i1 %140, %mul.overflow202
  %142 = or i1 %138, %141
  %brmerge237 = select i1 %142, i1 true, i1 %131
  br i1 %brmerge237, label %scalar.ph211.preheader, label %vector.ph213

vector.ph213:                                     ; preds = %vector.scevcheck192
  %broadcast.splatinsert222 = insertelement <2 x double> poison, double %133, i64 0
  %broadcast.splat223 = shufflevector <2 x double> %broadcast.splatinsert222, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body218

vector.body218:                                   ; preds = %vector.body218, %vector.ph213
  %index219 = phi i64 [ 0, %vector.ph213 ], [ %index.next228, %vector.body218 ]
  %offset.idx220 = or disjoint i64 %index219, 1
  %143 = getelementptr double, ptr %4, i64 %index219
  %wide.load221 = load <2 x double>, ptr %143, align 8, !tbaa !9, !alias.scope !23
  %144 = fmul <2 x double> %broadcast.splat223, %wide.load221
  %145 = getelementptr %struct.doublecomplex, ptr %invariant.gep140, i64 %offset.idx220
  %wide.vec224 = load <4 x double>, ptr %145, align 8, !tbaa !9
  %strided.vec225 = shufflevector <4 x double> %wide.vec224, <4 x double> poison, <2 x i32> <i32 0, i32 2>
  %strided.vec226 = shufflevector <4 x double> %wide.vec224, <4 x double> poison, <2 x i32> <i32 1, i32 3>
  %146 = fmul <2 x double> %144, %strided.vec225
  %147 = fmul <2 x double> %144, %strided.vec226
  %interleaved.vec227 = shufflevector <2 x double> %146, <2 x double> %147, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
  store <4 x double> %interleaved.vec227, ptr %145, align 8, !tbaa !9
  %index.next228 = add nuw i64 %index219, 2
  %148 = icmp eq i64 %index.next228, %n.vec215
  br i1 %148, label %middle.block210, label %vector.body218, !llvm.loop !26

middle.block210:                                  ; preds = %vector.body218
  br i1 %cmp.n229, label %._crit_edge139, label %scalar.ph211.preheader

scalar.ph211.preheader:                           ; preds = %vector.scevcheck192, %middle.block210, %.lr.ph138
  %.2110136.ph = phi i64 [ 1, %vector.scevcheck192 ], [ 1, %.lr.ph138 ], [ %ind.end216, %middle.block210 ]
  br i1 %lcmp.mod236.not, label %scalar.ph211.prol.loopexit, label %scalar.ph211.prol

scalar.ph211.prol:                                ; preds = %scalar.ph211.preheader
  %149 = getelementptr inbounds double, ptr %14, i64 %.2110136.ph
  %150 = load double, ptr %149, align 8, !tbaa !9
  %151 = fmul double %133, %150
  %gep141.prol = getelementptr %struct.doublecomplex, ptr %invariant.gep140, i64 %.2110136.ph
  %152 = load <2 x double>, ptr %gep141.prol, align 8, !tbaa !9
  %153 = insertelement <2 x double> poison, double %151, i64 0
  %154 = shufflevector <2 x double> %153, <2 x double> poison, <2 x i32> zeroinitializer
  %155 = fmul <2 x double> %154, %152
  store <2 x double> %155, ptr %gep141.prol, align 8, !tbaa !9
  %156 = add nuw nsw i64 %.2110136.ph, 1
  br label %scalar.ph211.prol.loopexit

scalar.ph211.prol.loopexit:                       ; preds = %scalar.ph211.prol, %scalar.ph211.preheader
  %.2110136.unr = phi i64 [ %.2110136.ph, %scalar.ph211.preheader ], [ %156, %scalar.ph211.prol ]
  %157 = icmp eq i64 %123, %.2110136.ph
  br i1 %157, label %._crit_edge139, label %scalar.ph211

scalar.ph211:                                     ; preds = %scalar.ph211.prol.loopexit, %scalar.ph211
  %.2110136 = phi i64 [ %173, %scalar.ph211 ], [ %.2110136.unr, %scalar.ph211.prol.loopexit ]
  %158 = getelementptr inbounds double, ptr %14, i64 %.2110136
  %159 = load double, ptr %158, align 8, !tbaa !9
  %160 = fmul double %133, %159
  %gep141 = getelementptr %struct.doublecomplex, ptr %invariant.gep140, i64 %.2110136
  %161 = load <2 x double>, ptr %gep141, align 8, !tbaa !9
  %162 = insertelement <2 x double> poison, double %160, i64 0
  %163 = shufflevector <2 x double> %162, <2 x double> poison, <2 x i32> zeroinitializer
  %164 = fmul <2 x double> %163, %161
  store <2 x double> %164, ptr %gep141, align 8, !tbaa !9
  %165 = add nuw i64 %.2110136, 1
  %166 = getelementptr double, ptr %4, i64 %.2110136
  %167 = load double, ptr %166, align 8, !tbaa !9
  %168 = fmul double %133, %167
  %gep141.1 = getelementptr %struct.doublecomplex, ptr %invariant.gep140, i64 %165
  %169 = load <2 x double>, ptr %gep141.1, align 8, !tbaa !9
  %170 = insertelement <2 x double> poison, double %168, i64 0
  %171 = shufflevector <2 x double> %170, <2 x double> poison, <2 x i32> zeroinitializer
  %172 = fmul <2 x double> %171, %169
  store <2 x double> %172, ptr %gep141.1, align 8, !tbaa !9
  %173 = add nuw i64 %.2110136, 2
  %exitcond153.not.1 = icmp eq i64 %165, %123
  br i1 %exitcond153.not.1, label %._crit_edge139, label %scalar.ph211, !llvm.loop !27

._crit_edge139:                                   ; preds = %scalar.ph211.prol.loopexit, %scalar.ph211, %middle.block210
  %174 = add nuw i64 %.2143, 1
  %exitcond154.not = icmp eq i64 %.2143, %74
  %indvar.next194 = add i64 %indvar193, 1
  br i1 %exitcond154.not, label %._crit_edge122, label %.lr.ph138, !llvm.loop !28

._crit_edge122:                                   ; preds = %._crit_edge, %._crit_edge127, %._crit_edge139, %122, %.lr.ph145, %75, %.lr.ph133, %35, %.lr.ph121, %32, %10, %18
  %.sink = phi i8 [ 78, %18 ], [ 78, %10 ], [ 78, %32 ], [ 67, %.lr.ph121 ], [ 67, %35 ], [ 82, %.lr.ph133 ], [ 82, %75 ], [ 66, %.lr.ph145 ], [ 66, %122 ], [ 66, %._crit_edge139 ], [ 82, %._crit_edge127 ], [ 67, %._crit_edge ]
  store i8 %.sink, ptr %9, align 1, !tbaa !29
  ret i32 0
}

declare double @dlamch_(ptr noundef) local_unnamed_addr #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 = { "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 #2 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = distinct !{!11, !12, !13, !14}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!"llvm.loop.isvectorized", i32 1}
!14 = !{!"llvm.loop.unroll.runtime.disable"}
!15 = distinct !{!15, !12, !13}
!16 = distinct !{!16, !12}
!17 = !{!18}
!18 = distinct !{!18, !19}
!19 = distinct !{!19, !"LVerDomain"}
!20 = distinct !{!20, !12, !13, !14}
!21 = distinct !{!21, !12, !13}
!22 = distinct !{!22, !12}
!23 = !{!24}
!24 = distinct !{!24, !25}
!25 = distinct !{!25, !"LVerDomain"}
!26 = distinct !{!26, !12, !13, !14}
!27 = distinct !{!27, !12, !13}
!28 = distinct !{!28, !12}
!29 = !{!7, !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalDCEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopInstSimplifyPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass,VectorCombinePass