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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.doublecomplex = type { double, double }

@.str = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @zpttrf_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca %struct.doublecomplex, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %20 = load ptr, ptr %8, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.doublecomplex, ptr %20, i32 -1
  store ptr %21, ptr %8, align 8, !tbaa !5
  %22 = load ptr, ptr %7, align 8, !tbaa !5
  %23 = getelementptr inbounds double, ptr %22, i32 -1
  store ptr %23, ptr %7, align 8, !tbaa !5
  %24 = load ptr, ptr %9, align 8, !tbaa !5
  store i64 0, ptr %24, align 8, !tbaa !9
  %25 = load ptr, ptr %6, align 8, !tbaa !5
  %26 = load i64, ptr %25, align 8, !tbaa !9
  %27 = icmp slt i64 %26, 0
  br i1 %27, label %28, label %34

28:                                               ; preds = %4
  %29 = load ptr, ptr %9, align 8, !tbaa !5
  store i64 -1, ptr %29, align 8, !tbaa !9
  %30 = load ptr, ptr %9, align 8, !tbaa !5
  %31 = load i64, ptr %30, align 8, !tbaa !9
  %32 = sub nsw i64 0, %31
  store i64 %32, ptr %10, align 8, !tbaa !9
  %33 = call i32 @xerbla_(ptr noundef @.str, ptr noundef %10)
  store i32 0, ptr %5, align 4
  store i32 1, ptr %19, align 4
  br label %426

34:                                               ; preds = %4
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  %36 = load i64, ptr %35, align 8, !tbaa !9
  %37 = icmp eq i64 %36, 0
  br i1 %37, label %38, label %39

38:                                               ; preds = %34
  store i32 0, ptr %5, align 4
  store i32 1, ptr %19, align 4
  br label %426

39:                                               ; preds = %34
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  %41 = load i64, ptr %40, align 8, !tbaa !9
  %42 = sub nsw i64 %41, 1
  %43 = srem i64 %42, 4
  store i64 %43, ptr %16, align 8, !tbaa !9
  %44 = load i64, ptr %16, align 8, !tbaa !9
  store i64 %44, ptr %10, align 8, !tbaa !9
  store i64 1, ptr %15, align 8, !tbaa !9
  br label %45

45:                                               ; preds = %115, %39
  %46 = load i64, ptr %15, align 8, !tbaa !9
  %47 = load i64, ptr %10, align 8, !tbaa !9
  %48 = icmp sle i64 %46, %47
  br i1 %48, label %49, label %118

49:                                               ; preds = %45
  %50 = load ptr, ptr %7, align 8, !tbaa !5
  %51 = load i64, ptr %15, align 8, !tbaa !9
  %52 = getelementptr inbounds double, ptr %50, i64 %51
  %53 = load double, ptr %52, align 8, !tbaa !11
  %54 = fcmp ole double %53, 0.000000e+00
  br i1 %54, label %55, label %58

55:                                               ; preds = %49
  %56 = load i64, ptr %15, align 8, !tbaa !9
  %57 = load ptr, ptr %9, align 8, !tbaa !5
  store i64 %56, ptr %57, align 8, !tbaa !9
  br label %425

58:                                               ; preds = %49
  %59 = load i64, ptr %15, align 8, !tbaa !9
  store i64 %59, ptr %11, align 8, !tbaa !9
  %60 = load ptr, ptr %8, align 8, !tbaa !5
  %61 = load i64, ptr %11, align 8, !tbaa !9
  %62 = getelementptr inbounds %struct.doublecomplex, ptr %60, i64 %61
  %63 = getelementptr inbounds %struct.doublecomplex, ptr %62, i32 0, i32 0
  %64 = load double, ptr %63, align 8, !tbaa !13
  store double %64, ptr %18, align 8, !tbaa !11
  %65 = load ptr, ptr %8, align 8, !tbaa !5
  %66 = load i64, ptr %15, align 8, !tbaa !9
  %67 = getelementptr inbounds %struct.doublecomplex, ptr %65, i64 %66
  %68 = call double @d_imag(ptr noundef %67)
  store double %68, ptr %17, align 8, !tbaa !11
  %69 = load double, ptr %18, align 8, !tbaa !11
  %70 = load ptr, ptr %7, align 8, !tbaa !5
  %71 = load i64, ptr %15, align 8, !tbaa !9
  %72 = getelementptr inbounds double, ptr %70, i64 %71
  %73 = load double, ptr %72, align 8, !tbaa !11
  %74 = fdiv double %69, %73
  store double %74, ptr %13, align 8, !tbaa !11
  %75 = load double, ptr %17, align 8, !tbaa !11
  %76 = load ptr, ptr %7, align 8, !tbaa !5
  %77 = load i64, ptr %15, align 8, !tbaa !9
  %78 = getelementptr inbounds double, ptr %76, i64 %77
  %79 = load double, ptr %78, align 8, !tbaa !11
  %80 = fdiv double %75, %79
  store double %80, ptr %14, align 8, !tbaa !11
  %81 = load i64, ptr %15, align 8, !tbaa !9
  store i64 %81, ptr %11, align 8, !tbaa !9
  %82 = load double, ptr %13, align 8, !tbaa !11
  %83 = getelementptr inbounds %struct.doublecomplex, ptr %12, i32 0, i32 0
  store double %82, ptr %83, align 8, !tbaa !13
  %84 = load double, ptr %14, align 8, !tbaa !11
  %85 = getelementptr inbounds %struct.doublecomplex, ptr %12, i32 0, i32 1
  store double %84, ptr %85, align 8, !tbaa !15
  %86 = getelementptr inbounds %struct.doublecomplex, ptr %12, i32 0, i32 0
  %87 = load double, ptr %86, align 8, !tbaa !13
  %88 = load ptr, ptr %8, align 8, !tbaa !5
  %89 = load i64, ptr %11, align 8, !tbaa !9
  %90 = getelementptr inbounds %struct.doublecomplex, ptr %88, i64 %89
  %91 = getelementptr inbounds %struct.doublecomplex, ptr %90, i32 0, i32 0
  store double %87, ptr %91, align 8, !tbaa !13
  %92 = getelementptr inbounds %struct.doublecomplex, ptr %12, i32 0, i32 1
  %93 = load double, ptr %92, align 8, !tbaa !15
  %94 = load ptr, ptr %8, align 8, !tbaa !5
  %95 = load i64, ptr %11, align 8, !tbaa !9
  %96 = getelementptr inbounds %struct.doublecomplex, ptr %94, i64 %95
  %97 = getelementptr inbounds %struct.doublecomplex, ptr %96, i32 0, i32 1
  store double %93, ptr %97, align 8, !tbaa !15
  %98 = load ptr, ptr %7, align 8, !tbaa !5
  %99 = load i64, ptr %15, align 8, !tbaa !9
  %100 = add nsw i64 %99, 1
  %101 = getelementptr inbounds double, ptr %98, i64 %100
  %102 = load double, ptr %101, align 8, !tbaa !11
  %103 = load double, ptr %13, align 8, !tbaa !11
  %104 = load double, ptr %18, align 8, !tbaa !11
  %105 = fneg double %103
  %106 = call double @llvm.fmuladd.f64(double %105, double %104, double %102)
  %107 = load double, ptr %14, align 8, !tbaa !11
  %108 = load double, ptr %17, align 8, !tbaa !11
  %109 = fneg double %107
  %110 = call double @llvm.fmuladd.f64(double %109, double %108, double %106)
  %111 = load ptr, ptr %7, align 8, !tbaa !5
  %112 = load i64, ptr %15, align 8, !tbaa !9
  %113 = add nsw i64 %112, 1
  %114 = getelementptr inbounds double, ptr %111, i64 %113
  store double %110, ptr %114, align 8, !tbaa !11
  br label %115

115:                                              ; preds = %58
  %116 = load i64, ptr %15, align 8, !tbaa !9
  %117 = add nsw i64 %116, 1
  store i64 %117, ptr %15, align 8, !tbaa !9
  br label %45, !llvm.loop !16

118:                                              ; preds = %45
  %119 = load ptr, ptr %6, align 8, !tbaa !5
  %120 = load i64, ptr %119, align 8, !tbaa !9
  %121 = sub nsw i64 %120, 4
  store i64 %121, ptr %10, align 8, !tbaa !9
  %122 = load i64, ptr %16, align 8, !tbaa !9
  %123 = add nsw i64 %122, 1
  store i64 %123, ptr %15, align 8, !tbaa !9
  br label %124

124:                                              ; preds = %410, %118
  %125 = load i64, ptr %15, align 8, !tbaa !9
  %126 = load i64, ptr %10, align 8, !tbaa !9
  %127 = icmp sle i64 %125, %126
  br i1 %127, label %128, label %413

128:                                              ; preds = %124
  %129 = load ptr, ptr %7, align 8, !tbaa !5
  %130 = load i64, ptr %15, align 8, !tbaa !9
  %131 = getelementptr inbounds double, ptr %129, i64 %130
  %132 = load double, ptr %131, align 8, !tbaa !11
  %133 = fcmp ole double %132, 0.000000e+00
  br i1 %133, label %134, label %137

134:                                              ; preds = %128
  %135 = load i64, ptr %15, align 8, !tbaa !9
  %136 = load ptr, ptr %9, align 8, !tbaa !5
  store i64 %135, ptr %136, align 8, !tbaa !9
  br label %425

137:                                              ; preds = %128
  %138 = load i64, ptr %15, align 8, !tbaa !9
  store i64 %138, ptr %11, align 8, !tbaa !9
  %139 = load ptr, ptr %8, align 8, !tbaa !5
  %140 = load i64, ptr %11, align 8, !tbaa !9
  %141 = getelementptr inbounds %struct.doublecomplex, ptr %139, i64 %140
  %142 = getelementptr inbounds %struct.doublecomplex, ptr %141, i32 0, i32 0
  %143 = load double, ptr %142, align 8, !tbaa !13
  store double %143, ptr %18, align 8, !tbaa !11
  %144 = load ptr, ptr %8, align 8, !tbaa !5
  %145 = load i64, ptr %15, align 8, !tbaa !9
  %146 = getelementptr inbounds %struct.doublecomplex, ptr %144, i64 %145
  %147 = call double @d_imag(ptr noundef %146)
  store double %147, ptr %17, align 8, !tbaa !11
  %148 = load double, ptr %18, align 8, !tbaa !11
  %149 = load ptr, ptr %7, align 8, !tbaa !5
  %150 = load i64, ptr %15, align 8, !tbaa !9
  %151 = getelementptr inbounds double, ptr %149, i64 %150
  %152 = load double, ptr %151, align 8, !tbaa !11
  %153 = fdiv double %148, %152
  store double %153, ptr %13, align 8, !tbaa !11
  %154 = load double, ptr %17, align 8, !tbaa !11
  %155 = load ptr, ptr %7, align 8, !tbaa !5
  %156 = load i64, ptr %15, align 8, !tbaa !9
  %157 = getelementptr inbounds double, ptr %155, i64 %156
  %158 = load double, ptr %157, align 8, !tbaa !11
  %159 = fdiv double %154, %158
  store double %159, ptr %14, align 8, !tbaa !11
  %160 = load i64, ptr %15, align 8, !tbaa !9
  store i64 %160, ptr %11, align 8, !tbaa !9
  %161 = load double, ptr %13, align 8, !tbaa !11
  %162 = getelementptr inbounds %struct.doublecomplex, ptr %12, i32 0, i32 0
  store double %161, ptr %162, align 8, !tbaa !13
  %163 = load double, ptr %14, align 8, !tbaa !11
  %164 = getelementptr inbounds %struct.doublecomplex, ptr %12, i32 0, i32 1
  store double %163, ptr %164, align 8, !tbaa !15
  %165 = getelementptr inbounds %struct.doublecomplex, ptr %12, i32 0, i32 0
  %166 = load double, ptr %165, align 8, !tbaa !13
  %167 = load ptr, ptr %8, align 8, !tbaa !5
  %168 = load i64, ptr %11, align 8, !tbaa !9
  %169 = getelementptr inbounds %struct.doublecomplex, ptr %167, i64 %168
  %170 = getelementptr inbounds %struct.doublecomplex, ptr %169, i32 0, i32 0
  store double %166, ptr %170, align 8, !tbaa !13
  %171 = getelementptr inbounds %struct.doublecomplex, ptr %12, i32 0, i32 1
  %172 = load double, ptr %171, align 8, !tbaa !15
  %173 = load ptr, ptr %8, align 8, !tbaa !5
  %174 = load i64, ptr %11, align 8, !tbaa !9
  %175 = getelementptr inbounds %struct.doublecomplex, ptr %173, i64 %174
  %176 = getelementptr inbounds %struct.doublecomplex, ptr %175, i32 0, i32 1
  store double %172, ptr %176, align 8, !tbaa !15
  %177 = load ptr, ptr %7, align 8, !tbaa !5
  %178 = load i64, ptr %15, align 8, !tbaa !9
  %179 = add nsw i64 %178, 1
  %180 = getelementptr inbounds double, ptr %177, i64 %179
  %181 = load double, ptr %180, align 8, !tbaa !11
  %182 = load double, ptr %13, align 8, !tbaa !11
  %183 = load double, ptr %18, align 8, !tbaa !11
  %184 = fneg double %182
  %185 = call double @llvm.fmuladd.f64(double %184, double %183, double %181)
  %186 = load double, ptr %14, align 8, !tbaa !11
  %187 = load double, ptr %17, align 8, !tbaa !11
  %188 = fneg double %186
  %189 = call double @llvm.fmuladd.f64(double %188, double %187, double %185)
  %190 = load ptr, ptr %7, align 8, !tbaa !5
  %191 = load i64, ptr %15, align 8, !tbaa !9
  %192 = add nsw i64 %191, 1
  %193 = getelementptr inbounds double, ptr %190, i64 %192
  store double %189, ptr %193, align 8, !tbaa !11
  %194 = load ptr, ptr %7, align 8, !tbaa !5
  %195 = load i64, ptr %15, align 8, !tbaa !9
  %196 = add nsw i64 %195, 1
  %197 = getelementptr inbounds double, ptr %194, i64 %196
  %198 = load double, ptr %197, align 8, !tbaa !11
  %199 = fcmp ole double %198, 0.000000e+00
  br i1 %199, label %200, label %204

200:                                              ; preds = %137
  %201 = load i64, ptr %15, align 8, !tbaa !9
  %202 = add nsw i64 %201, 1
  %203 = load ptr, ptr %9, align 8, !tbaa !5
  store i64 %202, ptr %203, align 8, !tbaa !9
  br label %425

204:                                              ; preds = %137
  %205 = load i64, ptr %15, align 8, !tbaa !9
  %206 = add nsw i64 %205, 1
  store i64 %206, ptr %11, align 8, !tbaa !9
  %207 = load ptr, ptr %8, align 8, !tbaa !5
  %208 = load i64, ptr %11, align 8, !tbaa !9
  %209 = getelementptr inbounds %struct.doublecomplex, ptr %207, i64 %208
  %210 = getelementptr inbounds %struct.doublecomplex, ptr %209, i32 0, i32 0
  %211 = load double, ptr %210, align 8, !tbaa !13
  store double %211, ptr %18, align 8, !tbaa !11
  %212 = load ptr, ptr %8, align 8, !tbaa !5
  %213 = load i64, ptr %15, align 8, !tbaa !9
  %214 = add nsw i64 %213, 1
  %215 = getelementptr inbounds %struct.doublecomplex, ptr %212, i64 %214
  %216 = call double @d_imag(ptr noundef %215)
  store double %216, ptr %17, align 8, !tbaa !11
  %217 = load double, ptr %18, align 8, !tbaa !11
  %218 = load ptr, ptr %7, align 8, !tbaa !5
  %219 = load i64, ptr %15, align 8, !tbaa !9
  %220 = add nsw i64 %219, 1
  %221 = getelementptr inbounds double, ptr %218, i64 %220
  %222 = load double, ptr %221, align 8, !tbaa !11
  %223 = fdiv double %217, %222
  store double %223, ptr %13, align 8, !tbaa !11
  %224 = load double, ptr %17, align 8, !tbaa !11
  %225 = load ptr, ptr %7, align 8, !tbaa !5
  %226 = load i64, ptr %15, align 8, !tbaa !9
  %227 = add nsw i64 %226, 1
  %228 = getelementptr inbounds double, ptr %225, i64 %227
  %229 = load double, ptr %228, align 8, !tbaa !11
  %230 = fdiv double %224, %229
  store double %230, ptr %14, align 8, !tbaa !11
  %231 = load i64, ptr %15, align 8, !tbaa !9
  %232 = add nsw i64 %231, 1
  store i64 %232, ptr %11, align 8, !tbaa !9
  %233 = load double, ptr %13, align 8, !tbaa !11
  %234 = getelementptr inbounds %struct.doublecomplex, ptr %12, i32 0, i32 0
  store double %233, ptr %234, align 8, !tbaa !13
  %235 = load double, ptr %14, align 8, !tbaa !11
  %236 = getelementptr inbounds %struct.doublecomplex, ptr %12, i32 0, i32 1
  store double %235, ptr %236, align 8, !tbaa !15
  %237 = getelementptr inbounds %struct.doublecomplex, ptr %12, i32 0, i32 0
  %238 = load double, ptr %237, align 8, !tbaa !13
  %239 = load ptr, ptr %8, align 8, !tbaa !5
  %240 = load i64, ptr %11, align 8, !tbaa !9
  %241 = getelementptr inbounds %struct.doublecomplex, ptr %239, i64 %240
  %242 = getelementptr inbounds %struct.doublecomplex, ptr %241, i32 0, i32 0
  store double %238, ptr %242, align 8, !tbaa !13
  %243 = getelementptr inbounds %struct.doublecomplex, ptr %12, i32 0, i32 1
  %244 = load double, ptr %243, align 8, !tbaa !15
  %245 = load ptr, ptr %8, align 8, !tbaa !5
  %246 = load i64, ptr %11, align 8, !tbaa !9
  %247 = getelementptr inbounds %struct.doublecomplex, ptr %245, i64 %246
  %248 = getelementptr inbounds %struct.doublecomplex, ptr %247, i32 0, i32 1
  store double %244, ptr %248, align 8, !tbaa !15
  %249 = load ptr, ptr %7, align 8, !tbaa !5
  %250 = load i64, ptr %15, align 8, !tbaa !9
  %251 = add nsw i64 %250, 2
  %252 = getelementptr inbounds double, ptr %249, i64 %251
  %253 = load double, ptr %252, align 8, !tbaa !11
  %254 = load double, ptr %13, align 8, !tbaa !11
  %255 = load double, ptr %18, align 8, !tbaa !11
  %256 = fneg double %254
  %257 = call double @llvm.fmuladd.f64(double %256, double %255, double %253)
  %258 = load double, ptr %14, align 8, !tbaa !11
  %259 = load double, ptr %17, align 8, !tbaa !11
  %260 = fneg double %258
  %261 = call double @llvm.fmuladd.f64(double %260, double %259, double %257)
  %262 = load ptr, ptr %7, align 8, !tbaa !5
  %263 = load i64, ptr %15, align 8, !tbaa !9
  %264 = add nsw i64 %263, 2
  %265 = getelementptr inbounds double, ptr %262, i64 %264
  store double %261, ptr %265, align 8, !tbaa !11
  %266 = load ptr, ptr %7, align 8, !tbaa !5
  %267 = load i64, ptr %15, align 8, !tbaa !9
  %268 = add nsw i64 %267, 2
  %269 = getelementptr inbounds double, ptr %266, i64 %268
  %270 = load double, ptr %269, align 8, !tbaa !11
  %271 = fcmp ole double %270, 0.000000e+00
  br i1 %271, label %272, label %276

272:                                              ; preds = %204
  %273 = load i64, ptr %15, align 8, !tbaa !9
  %274 = add nsw i64 %273, 2
  %275 = load ptr, ptr %9, align 8, !tbaa !5
  store i64 %274, ptr %275, align 8, !tbaa !9
  br label %425

276:                                              ; preds = %204
  %277 = load i64, ptr %15, align 8, !tbaa !9
  %278 = add nsw i64 %277, 2
  store i64 %278, ptr %11, align 8, !tbaa !9
  %279 = load ptr, ptr %8, align 8, !tbaa !5
  %280 = load i64, ptr %11, align 8, !tbaa !9
  %281 = getelementptr inbounds %struct.doublecomplex, ptr %279, i64 %280
  %282 = getelementptr inbounds %struct.doublecomplex, ptr %281, i32 0, i32 0
  %283 = load double, ptr %282, align 8, !tbaa !13
  store double %283, ptr %18, align 8, !tbaa !11
  %284 = load ptr, ptr %8, align 8, !tbaa !5
  %285 = load i64, ptr %15, align 8, !tbaa !9
  %286 = add nsw i64 %285, 2
  %287 = getelementptr inbounds %struct.doublecomplex, ptr %284, i64 %286
  %288 = call double @d_imag(ptr noundef %287)
  store double %288, ptr %17, align 8, !tbaa !11
  %289 = load double, ptr %18, align 8, !tbaa !11
  %290 = load ptr, ptr %7, align 8, !tbaa !5
  %291 = load i64, ptr %15, align 8, !tbaa !9
  %292 = add nsw i64 %291, 2
  %293 = getelementptr inbounds double, ptr %290, i64 %292
  %294 = load double, ptr %293, align 8, !tbaa !11
  %295 = fdiv double %289, %294
  store double %295, ptr %13, align 8, !tbaa !11
  %296 = load double, ptr %17, align 8, !tbaa !11
  %297 = load ptr, ptr %7, align 8, !tbaa !5
  %298 = load i64, ptr %15, align 8, !tbaa !9
  %299 = add nsw i64 %298, 2
  %300 = getelementptr inbounds double, ptr %297, i64 %299
  %301 = load double, ptr %300, align 8, !tbaa !11
  %302 = fdiv double %296, %301
  store double %302, ptr %14, align 8, !tbaa !11
  %303 = load i64, ptr %15, align 8, !tbaa !9
  %304 = add nsw i64 %303, 2
  store i64 %304, ptr %11, align 8, !tbaa !9
  %305 = load double, ptr %13, align 8, !tbaa !11
  %306 = getelementptr inbounds %struct.doublecomplex, ptr %12, i32 0, i32 0
  store double %305, ptr %306, align 8, !tbaa !13
  %307 = load double, ptr %14, align 8, !tbaa !11
  %308 = getelementptr inbounds %struct.doublecomplex, ptr %12, i32 0, i32 1
  store double %307, ptr %308, align 8, !tbaa !15
  %309 = getelementptr inbounds %struct.doublecomplex, ptr %12, i32 0, i32 0
  %310 = load double, ptr %309, align 8, !tbaa !13
  %311 = load ptr, ptr %8, align 8, !tbaa !5
  %312 = load i64, ptr %11, align 8, !tbaa !9
  %313 = getelementptr inbounds %struct.doublecomplex, ptr %311, i64 %312
  %314 = getelementptr inbounds %struct.doublecomplex, ptr %313, i32 0, i32 0
  store double %310, ptr %314, align 8, !tbaa !13
  %315 = getelementptr inbounds %struct.doublecomplex, ptr %12, i32 0, i32 1
  %316 = load double, ptr %315, align 8, !tbaa !15
  %317 = load ptr, ptr %8, align 8, !tbaa !5
  %318 = load i64, ptr %11, align 8, !tbaa !9
  %319 = getelementptr inbounds %struct.doublecomplex, ptr %317, i64 %318
  %320 = getelementptr inbounds %struct.doublecomplex, ptr %319, i32 0, i32 1
  store double %316, ptr %320, align 8, !tbaa !15
  %321 = load ptr, ptr %7, align 8, !tbaa !5
  %322 = load i64, ptr %15, align 8, !tbaa !9
  %323 = add nsw i64 %322, 3
  %324 = getelementptr inbounds double, ptr %321, i64 %323
  %325 = load double, ptr %324, align 8, !tbaa !11
  %326 = load double, ptr %13, align 8, !tbaa !11
  %327 = load double, ptr %18, align 8, !tbaa !11
  %328 = fneg double %326
  %329 = call double @llvm.fmuladd.f64(double %328, double %327, double %325)
  %330 = load double, ptr %14, align 8, !tbaa !11
  %331 = load double, ptr %17, align 8, !tbaa !11
  %332 = fneg double %330
  %333 = call double @llvm.fmuladd.f64(double %332, double %331, double %329)
  %334 = load ptr, ptr %7, align 8, !tbaa !5
  %335 = load i64, ptr %15, align 8, !tbaa !9
  %336 = add nsw i64 %335, 3
  %337 = getelementptr inbounds double, ptr %334, i64 %336
  store double %333, ptr %337, align 8, !tbaa !11
  %338 = load ptr, ptr %7, align 8, !tbaa !5
  %339 = load i64, ptr %15, align 8, !tbaa !9
  %340 = add nsw i64 %339, 3
  %341 = getelementptr inbounds double, ptr %338, i64 %340
  %342 = load double, ptr %341, align 8, !tbaa !11
  %343 = fcmp ole double %342, 0.000000e+00
  br i1 %343, label %344, label %348

344:                                              ; preds = %276
  %345 = load i64, ptr %15, align 8, !tbaa !9
  %346 = add nsw i64 %345, 3
  %347 = load ptr, ptr %9, align 8, !tbaa !5
  store i64 %346, ptr %347, align 8, !tbaa !9
  br label %425

348:                                              ; preds = %276
  %349 = load i64, ptr %15, align 8, !tbaa !9
  %350 = add nsw i64 %349, 3
  store i64 %350, ptr %11, align 8, !tbaa !9
  %351 = load ptr, ptr %8, align 8, !tbaa !5
  %352 = load i64, ptr %11, align 8, !tbaa !9
  %353 = getelementptr inbounds %struct.doublecomplex, ptr %351, i64 %352
  %354 = getelementptr inbounds %struct.doublecomplex, ptr %353, i32 0, i32 0
  %355 = load double, ptr %354, align 8, !tbaa !13
  store double %355, ptr %18, align 8, !tbaa !11
  %356 = load ptr, ptr %8, align 8, !tbaa !5
  %357 = load i64, ptr %15, align 8, !tbaa !9
  %358 = add nsw i64 %357, 3
  %359 = getelementptr inbounds %struct.doublecomplex, ptr %356, i64 %358
  %360 = call double @d_imag(ptr noundef %359)
  store double %360, ptr %17, align 8, !tbaa !11
  %361 = load double, ptr %18, align 8, !tbaa !11
  %362 = load ptr, ptr %7, align 8, !tbaa !5
  %363 = load i64, ptr %15, align 8, !tbaa !9
  %364 = add nsw i64 %363, 3
  %365 = getelementptr inbounds double, ptr %362, i64 %364
  %366 = load double, ptr %365, align 8, !tbaa !11
  %367 = fdiv double %361, %366
  store double %367, ptr %13, align 8, !tbaa !11
  %368 = load double, ptr %17, align 8, !tbaa !11
  %369 = load ptr, ptr %7, align 8, !tbaa !5
  %370 = load i64, ptr %15, align 8, !tbaa !9
  %371 = add nsw i64 %370, 3
  %372 = getelementptr inbounds double, ptr %369, i64 %371
  %373 = load double, ptr %372, align 8, !tbaa !11
  %374 = fdiv double %368, %373
  store double %374, ptr %14, align 8, !tbaa !11
  %375 = load i64, ptr %15, align 8, !tbaa !9
  %376 = add nsw i64 %375, 3
  store i64 %376, ptr %11, align 8, !tbaa !9
  %377 = load double, ptr %13, align 8, !tbaa !11
  %378 = getelementptr inbounds %struct.doublecomplex, ptr %12, i32 0, i32 0
  store double %377, ptr %378, align 8, !tbaa !13
  %379 = load double, ptr %14, align 8, !tbaa !11
  %380 = getelementptr inbounds %struct.doublecomplex, ptr %12, i32 0, i32 1
  store double %379, ptr %380, align 8, !tbaa !15
  %381 = getelementptr inbounds %struct.doublecomplex, ptr %12, i32 0, i32 0
  %382 = load double, ptr %381, align 8, !tbaa !13
  %383 = load ptr, ptr %8, align 8, !tbaa !5
  %384 = load i64, ptr %11, align 8, !tbaa !9
  %385 = getelementptr inbounds %struct.doublecomplex, ptr %383, i64 %384
  %386 = getelementptr inbounds %struct.doublecomplex, ptr %385, i32 0, i32 0
  store double %382, ptr %386, align 8, !tbaa !13
  %387 = getelementptr inbounds %struct.doublecomplex, ptr %12, i32 0, i32 1
  %388 = load double, ptr %387, align 8, !tbaa !15
  %389 = load ptr, ptr %8, align 8, !tbaa !5
  %390 = load i64, ptr %11, align 8, !tbaa !9
  %391 = getelementptr inbounds %struct.doublecomplex, ptr %389, i64 %390
  %392 = getelementptr inbounds %struct.doublecomplex, ptr %391, i32 0, i32 1
  store double %388, ptr %392, align 8, !tbaa !15
  %393 = load ptr, ptr %7, align 8, !tbaa !5
  %394 = load i64, ptr %15, align 8, !tbaa !9
  %395 = add nsw i64 %394, 4
  %396 = getelementptr inbounds double, ptr %393, i64 %395
  %397 = load double, ptr %396, align 8, !tbaa !11
  %398 = load double, ptr %13, align 8, !tbaa !11
  %399 = load double, ptr %18, align 8, !tbaa !11
  %400 = fneg double %398
  %401 = call double @llvm.fmuladd.f64(double %400, double %399, double %397)
  %402 = load double, ptr %14, align 8, !tbaa !11
  %403 = load double, ptr %17, align 8, !tbaa !11
  %404 = fneg double %402
  %405 = call double @llvm.fmuladd.f64(double %404, double %403, double %401)
  %406 = load ptr, ptr %7, align 8, !tbaa !5
  %407 = load i64, ptr %15, align 8, !tbaa !9
  %408 = add nsw i64 %407, 4
  %409 = getelementptr inbounds double, ptr %406, i64 %408
  store double %405, ptr %409, align 8, !tbaa !11
  br label %410

410:                                              ; preds = %348
  %411 = load i64, ptr %15, align 8, !tbaa !9
  %412 = add nsw i64 %411, 4
  store i64 %412, ptr %15, align 8, !tbaa !9
  br label %124, !llvm.loop !18

413:                                              ; preds = %124
  %414 = load ptr, ptr %7, align 8, !tbaa !5
  %415 = load ptr, ptr %6, align 8, !tbaa !5
  %416 = load i64, ptr %415, align 8, !tbaa !9
  %417 = getelementptr inbounds double, ptr %414, i64 %416
  %418 = load double, ptr %417, align 8, !tbaa !11
  %419 = fcmp ole double %418, 0.000000e+00
  br i1 %419, label %420, label %424

420:                                              ; preds = %413
  %421 = load ptr, ptr %6, align 8, !tbaa !5
  %422 = load i64, ptr %421, align 8, !tbaa !9
  %423 = load ptr, ptr %9, align 8, !tbaa !5
  store i64 %422, ptr %423, align 8, !tbaa !9
  br label %424

424:                                              ; preds = %420, %413
  br label %425

425:                                              ; preds = %424, %344, %272, %200, %134, %55
  store i32 0, ptr %5, align 4
  store i32 1, ptr %19, align 4
  br label %426

426:                                              ; preds = %425, %38, %28
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  %427 = load i32, ptr %5, align 4
  ret i32 %427
}

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

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

declare double @d_imag(ptr noundef) #2

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

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

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

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

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.doublecomplex = type { double, double }

@.str = external hidden unnamed_addr constant [7 x i8], align 1

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

10:                                               ; preds = %4
  store i64 -1, ptr %3, align 8, !tbaa !5
  store i64 1, ptr %5, align 8, !tbaa !5
  %11 = call i32 @xerbla_(ptr noundef nonnull @.str, ptr noundef nonnull %5) #4
  br label %134

12:                                               ; preds = %4
  %13 = icmp eq i64 %8, 0
  br i1 %13, label %134, label %14

14:                                               ; preds = %12
  %15 = add nuw i64 %8, 3
  %16 = and i64 %15, 3
  %.not186 = icmp eq i64 %16, 0
  br i1 %.not186, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %14
  %17 = add nuw nsw i64 %16, 1
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %22
  %.0177187 = phi i64 [ %32, %22 ], [ 1, %.lr.ph.preheader ]
  %18 = getelementptr inbounds double, ptr %7, i64 %.0177187
  %19 = load double, ptr %18, align 8, !tbaa !9
  %20 = fcmp ugt double %19, 0.000000e+00
  br i1 %20, label %22, label %21

21:                                               ; preds = %.lr.ph
  store i64 %.0177187, ptr %3, align 8, !tbaa !5
  br label %134

22:                                               ; preds = %.lr.ph
  %23 = getelementptr inbounds %struct.doublecomplex, ptr %6, i64 %.0177187
  %24 = load double, ptr %23, align 8, !tbaa !11
  %25 = tail call double @d_imag(ptr noundef nonnull %23) #4
  %26 = load double, ptr %18, align 8, !tbaa !9
  %27 = insertelement <2 x double> poison, double %24, i64 0
  %28 = insertelement <2 x double> %27, double %25, i64 1
  %29 = insertelement <2 x double> poison, double %26, i64 0
  %30 = shufflevector <2 x double> %29, <2 x double> poison, <2 x i32> zeroinitializer
  %31 = fdiv <2 x double> %28, %30
  store <2 x double> %31, ptr %23, align 8, !tbaa !9
  %32 = add nuw nsw i64 %.0177187, 1
  %33 = getelementptr double, ptr %1, i64 %.0177187
  %34 = load double, ptr %33, align 8, !tbaa !9
  %35 = extractelement <2 x double> %31, i64 0
  %36 = fneg double %35
  %37 = tail call double @llvm.fmuladd.f64(double %36, double %24, double %34)
  %38 = extractelement <2 x double> %31, i64 1
  %39 = fneg double %38
  %40 = tail call double @llvm.fmuladd.f64(double %39, double %25, double %37)
  store double %40, ptr %33, align 8, !tbaa !9
  %exitcond.not = icmp eq i64 %.0177187, %16
  br i1 %exitcond.not, label %._crit_edge.loopexit, label %.lr.ph, !llvm.loop !13

._crit_edge.loopexit:                             ; preds = %22
  %.pre = load i64, ptr %0, align 8, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %14, %._crit_edge.loopexit
  %.pre-phi = phi i64 [ %17, %._crit_edge.loopexit ], [ 1, %14 ]
  %41 = phi i64 [ %.pre, %._crit_edge.loopexit ], [ %8, %14 ]
  %42 = add nsw i64 %41, -4
  %.not178188.not = icmp slt i64 %16, %42
  br i1 %.not178188.not, label %.lr.ph191.preheader, label %._crit_edge192

.lr.ph191.preheader:                              ; preds = %._crit_edge
  %.phi.trans.insert = getelementptr inbounds double, ptr %7, i64 %.pre-phi
  %.pre202 = load double, ptr %.phi.trans.insert, align 8, !tbaa !9
  br label %.lr.ph191

.lr.ph191:                                        ; preds = %.lr.ph191.preheader, %110
  %43 = phi double [ %128, %110 ], [ %.pre202, %.lr.ph191.preheader ]
  %.1189 = phi i64 [ %120, %110 ], [ %.pre-phi, %.lr.ph191.preheader ]
  %44 = fcmp ugt double %43, 0.000000e+00
  br i1 %44, label %46, label %45

45:                                               ; preds = %.lr.ph191
  store i64 %.1189, ptr %3, align 8, !tbaa !5
  br label %134

46:                                               ; preds = %.lr.ph191
  %47 = getelementptr inbounds double, ptr %7, i64 %.1189
  %48 = getelementptr inbounds %struct.doublecomplex, ptr %6, i64 %.1189
  %49 = load double, ptr %48, align 8, !tbaa !11
  %50 = tail call double @d_imag(ptr noundef nonnull %48) #4
  %51 = load double, ptr %47, align 8, !tbaa !9
  %52 = insertelement <2 x double> poison, double %49, i64 0
  %53 = insertelement <2 x double> %52, double %50, i64 1
  %54 = insertelement <2 x double> poison, double %51, i64 0
  %55 = shufflevector <2 x double> %54, <2 x double> poison, <2 x i32> zeroinitializer
  %56 = fdiv <2 x double> %53, %55
  store <2 x double> %56, ptr %48, align 8, !tbaa !9
  %57 = getelementptr double, ptr %1, i64 %.1189
  %58 = load double, ptr %57, align 8, !tbaa !9
  %59 = extractelement <2 x double> %56, i64 0
  %60 = fneg double %59
  %61 = tail call double @llvm.fmuladd.f64(double %60, double %49, double %58)
  %62 = extractelement <2 x double> %56, i64 1
  %63 = fneg double %62
  %64 = tail call double @llvm.fmuladd.f64(double %63, double %50, double %61)
  store double %64, ptr %57, align 8, !tbaa !9
  %65 = fcmp ugt double %64, 0.000000e+00
  br i1 %65, label %68, label %66

66:                                               ; preds = %46
  %67 = add nuw nsw i64 %.1189, 1
  store i64 %67, ptr %3, align 8, !tbaa !5
  br label %134

68:                                               ; preds = %46
  %69 = getelementptr %struct.doublecomplex, ptr %2, i64 %.1189
  %70 = load double, ptr %69, align 8, !tbaa !11
  %71 = tail call double @d_imag(ptr noundef nonnull %69) #4
  %72 = load double, ptr %57, align 8, !tbaa !9
  %73 = insertelement <2 x double> poison, double %70, i64 0
  %74 = insertelement <2 x double> %73, double %71, i64 1
  %75 = insertelement <2 x double> poison, double %72, i64 0
  %76 = shufflevector <2 x double> %75, <2 x double> poison, <2 x i32> zeroinitializer
  %77 = fdiv <2 x double> %74, %76
  store <2 x double> %77, ptr %69, align 8, !tbaa !9
  %78 = add nuw nsw i64 %.1189, 2
  %79 = getelementptr inbounds double, ptr %7, i64 %78
  %80 = load double, ptr %79, align 8, !tbaa !9
  %81 = extractelement <2 x double> %77, i64 0
  %82 = fneg double %81
  %83 = tail call double @llvm.fmuladd.f64(double %82, double %70, double %80)
  %84 = extractelement <2 x double> %77, i64 1
  %85 = fneg double %84
  %86 = tail call double @llvm.fmuladd.f64(double %85, double %71, double %83)
  store double %86, ptr %79, align 8, !tbaa !9
  %87 = fcmp ugt double %86, 0.000000e+00
  br i1 %87, label %89, label %88

88:                                               ; preds = %68
  store i64 %78, ptr %3, align 8, !tbaa !5
  br label %134

89:                                               ; preds = %68
  %90 = getelementptr inbounds %struct.doublecomplex, ptr %6, i64 %78
  %91 = load double, ptr %90, align 8, !tbaa !11
  %92 = tail call double @d_imag(ptr noundef nonnull %90) #4
  %93 = load double, ptr %79, align 8, !tbaa !9
  %94 = insertelement <2 x double> poison, double %91, i64 0
  %95 = insertelement <2 x double> %94, double %92, i64 1
  %96 = insertelement <2 x double> poison, double %93, i64 0
  %97 = shufflevector <2 x double> %96, <2 x double> poison, <2 x i32> zeroinitializer
  %98 = fdiv <2 x double> %95, %97
  store <2 x double> %98, ptr %90, align 8, !tbaa !9
  %99 = add nuw nsw i64 %.1189, 3
  %100 = getelementptr inbounds double, ptr %7, i64 %99
  %101 = load double, ptr %100, align 8, !tbaa !9
  %102 = extractelement <2 x double> %98, i64 0
  %103 = fneg double %102
  %104 = tail call double @llvm.fmuladd.f64(double %103, double %91, double %101)
  %105 = extractelement <2 x double> %98, i64 1
  %106 = fneg double %105
  %107 = tail call double @llvm.fmuladd.f64(double %106, double %92, double %104)
  store double %107, ptr %100, align 8, !tbaa !9
  %108 = fcmp ugt double %107, 0.000000e+00
  br i1 %108, label %110, label %109

109:                                              ; preds = %89
  store i64 %99, ptr %3, align 8, !tbaa !5
  br label %134

110:                                              ; preds = %89
  %111 = getelementptr inbounds %struct.doublecomplex, ptr %6, i64 %99
  %112 = load double, ptr %111, align 8, !tbaa !11
  %113 = tail call double @d_imag(ptr noundef nonnull %111) #4
  %114 = load double, ptr %100, align 8, !tbaa !9
  %115 = insertelement <2 x double> poison, double %112, i64 0
  %116 = insertelement <2 x double> %115, double %113, i64 1
  %117 = insertelement <2 x double> poison, double %114, i64 0
  %118 = shufflevector <2 x double> %117, <2 x double> poison, <2 x i32> zeroinitializer
  %119 = fdiv <2 x double> %116, %118
  store <2 x double> %119, ptr %111, align 8, !tbaa !9
  %120 = add nuw nsw i64 %.1189, 4
  %121 = getelementptr inbounds double, ptr %7, i64 %120
  %122 = load double, ptr %121, align 8, !tbaa !9
  %123 = extractelement <2 x double> %119, i64 0
  %124 = fneg double %123
  %125 = tail call double @llvm.fmuladd.f64(double %124, double %112, double %122)
  %126 = extractelement <2 x double> %119, i64 1
  %127 = fneg double %126
  %128 = tail call double @llvm.fmuladd.f64(double %127, double %113, double %125)
  store double %128, ptr %121, align 8, !tbaa !9
  %.not178 = icmp sgt i64 %120, %42
  br i1 %.not178, label %._crit_edge192.loopexit, label %.lr.ph191, !llvm.loop !15

._crit_edge192.loopexit:                          ; preds = %110
  %.pre203 = load i64, ptr %0, align 8, !tbaa !5
  br label %._crit_edge192

._crit_edge192:                                   ; preds = %._crit_edge192.loopexit, %._crit_edge
  %129 = phi i64 [ %.pre203, %._crit_edge192.loopexit ], [ %41, %._crit_edge ]
  %130 = getelementptr inbounds double, ptr %7, i64 %129
  %131 = load double, ptr %130, align 8, !tbaa !9
  %132 = fcmp ugt double %131, 0.000000e+00
  br i1 %132, label %134, label %133

133:                                              ; preds = %._crit_edge192
  store i64 %129, ptr %3, align 8, !tbaa !5
  br label %134

134:                                              ; preds = %21, %45, %66, %88, %109, %133, %._crit_edge192, %12, %10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  ret i32 0
}

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

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

declare double @d_imag(ptr noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress 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 = { 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 = { 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 = !{!12, !10, i64 0}
!12 = !{!"", !10, i64 0, !10, i64 8}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass