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

; 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.complex = type { float, float }

@clacon_.iter = external hidden global i32, align 4
@clacon_.temp = external hidden global float, align 4
@clacon_.jump = external hidden global i32, align 4
@clacon_.i__ = external hidden global i32, align 4
@clacon_.j = external hidden global i32, align 4
@clacon_.absxi = external hidden global float, align 4
@clacon_.jlast = external hidden global i32, align 4
@clacon_.safmin = external hidden global float, align 4
@clacon_.altsgn = external hidden global float, align 4
@clacon_.estold = external hidden global float, align 4
@.str = external hidden unnamed_addr constant [13 x i8], align 1
@c__1 = external hidden global i32, align 4

; Function Attrs: nounwind uwtable
define dso_local void @clacon_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca %struct.complex, align 4
  %17 = alloca i32, align 4
  %18 = alloca { float, float }, align 4
  %19 = alloca { float, float }, align 4
  %20 = alloca { float, float }, align 4
  %21 = alloca { float, float }, align 4
  %22 = alloca { float, float }, align 4
  %23 = alloca { float, float }, align 4
  %24 = alloca { float, float }, align 4
  %25 = alloca { float, float }, align 4
  %26 = alloca { float, float }, align 4
  %27 = alloca { float, float }, align 4
  %28 = alloca { float, float }, align 4
  %29 = alloca { float, float }, 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
  store ptr %4, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %30 = load ptr, ptr %8, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.complex, ptr %30, i32 -1
  store ptr %31, ptr %8, align 8, !tbaa !5
  %32 = load ptr, ptr %7, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.complex, ptr %32, i32 -1
  store ptr %33, ptr %7, align 8, !tbaa !5
  %34 = call float @slamch_(ptr noundef @.str)
  store float %34, ptr @clacon_.safmin, align 4, !tbaa !9
  %35 = load ptr, ptr %10, align 8, !tbaa !5
  %36 = load i32, ptr %35, align 4, !tbaa !11
  %37 = icmp eq i32 %36, 0
  br i1 %37, label %38, label %73

38:                                               ; preds = %5
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = load i32, ptr %39, align 4, !tbaa !11
  store i32 %40, ptr %11, align 4, !tbaa !11
  store i32 1, ptr @clacon_.i__, align 4, !tbaa !11
  br label %41

41:                                               ; preds = %68, %38
  %42 = load i32, ptr @clacon_.i__, align 4, !tbaa !11
  %43 = load i32, ptr %11, align 4, !tbaa !11
  %44 = icmp sle i32 %42, %43
  br i1 %44, label %45, label %71

45:                                               ; preds = %41
  %46 = load i32, ptr @clacon_.i__, align 4, !tbaa !11
  store i32 %46, ptr %12, align 4, !tbaa !11
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = load i32, ptr %47, align 4, !tbaa !11
  %49 = sitofp i32 %48 to float
  %50 = fdiv float 1.000000e+00, %49
  store float %50, ptr %14, align 4, !tbaa !9
  %51 = load float, ptr %14, align 4, !tbaa !9
  %52 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 0
  store float %51, ptr %52, align 4, !tbaa !13
  %53 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 1
  store float 0.000000e+00, ptr %53, align 4, !tbaa !15
  %54 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 0
  %55 = load float, ptr %54, align 4, !tbaa !13
  %56 = load ptr, ptr %8, align 8, !tbaa !5
  %57 = load i32, ptr %12, align 4, !tbaa !11
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds %struct.complex, ptr %56, i64 %58
  %60 = getelementptr inbounds %struct.complex, ptr %59, i32 0, i32 0
  store float %55, ptr %60, align 4, !tbaa !13
  %61 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 1
  %62 = load float, ptr %61, align 4, !tbaa !15
  %63 = load ptr, ptr %8, align 8, !tbaa !5
  %64 = load i32, ptr %12, align 4, !tbaa !11
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds %struct.complex, ptr %63, i64 %65
  %67 = getelementptr inbounds %struct.complex, ptr %66, i32 0, i32 1
  store float %62, ptr %67, align 4, !tbaa !15
  br label %68

68:                                               ; preds = %45
  %69 = load i32, ptr @clacon_.i__, align 4, !tbaa !11
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr @clacon_.i__, align 4, !tbaa !11
  br label %41, !llvm.loop !16

71:                                               ; preds = %41
  %72 = load ptr, ptr %10, align 8, !tbaa !5
  store i32 1, ptr %72, align 4, !tbaa !11
  store i32 1, ptr @clacon_.jump, align 4, !tbaa !11
  store i32 1, ptr %17, align 4
  br label %449

73:                                               ; preds = %5
  %74 = load i32, ptr @clacon_.jump, align 4, !tbaa !11
  switch i32 %74, label %80 [
    i32 1, label %75
    i32 2, label %76
    i32 3, label %77
    i32 4, label %78
    i32 5, label %79
  ]

75:                                               ; preds = %73
  br label %81

76:                                               ; preds = %73
  br label %199

77:                                               ; preds = %73
  br label %239

78:                                               ; preds = %73
  br label %339

79:                                               ; preds = %73
  br label %423

80:                                               ; preds = %73
  br label %81

81:                                               ; preds = %80, %75
  %82 = load ptr, ptr %6, align 8, !tbaa !5
  %83 = load i32, ptr %82, align 4, !tbaa !11
  %84 = icmp eq i32 %83, 1
  br i1 %84, label %85, label %112

85:                                               ; preds = %81
  %86 = load ptr, ptr %8, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.complex, ptr %86, i64 1
  %88 = getelementptr inbounds %struct.complex, ptr %87, i32 0, i32 0
  %89 = load float, ptr %88, align 4, !tbaa !13
  %90 = load ptr, ptr %7, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.complex, ptr %90, i64 1
  %92 = getelementptr inbounds %struct.complex, ptr %91, i32 0, i32 0
  store float %89, ptr %92, align 4, !tbaa !13
  %93 = load ptr, ptr %8, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.complex, ptr %93, i64 1
  %95 = getelementptr inbounds %struct.complex, ptr %94, i32 0, i32 1
  %96 = load float, ptr %95, align 4, !tbaa !15
  %97 = load ptr, ptr %7, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.complex, ptr %97, i64 1
  %99 = getelementptr inbounds %struct.complex, ptr %98, i32 0, i32 1
  store float %96, ptr %99, align 4, !tbaa !15
  %100 = load ptr, ptr %7, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.complex, ptr %100, i64 1
  %102 = call <2 x float> @Cf(ptr noundef %101)
  store <2 x float> %102, ptr %18, align 4
  %103 = getelementptr inbounds { float, float }, ptr %18, i32 0, i32 0
  %104 = load float, ptr %103, align 4
  %105 = getelementptr inbounds { float, float }, ptr %18, i32 0, i32 1
  %106 = load float, ptr %105, align 4
  %107 = getelementptr inbounds { float, float }, ptr %19, i32 0, i32 0
  %108 = getelementptr inbounds { float, float }, ptr %19, i32 0, i32 1
  store float %104, ptr %107, align 4
  store float %106, ptr %108, align 4
  %109 = load <2 x float>, ptr %19, align 4
  %110 = call float @cabsf(<2 x float> noundef %109) #5
  %111 = load ptr, ptr %9, align 8, !tbaa !5
  store float %110, ptr %111, align 4, !tbaa !9
  br label %447

112:                                              ; preds = %81
  %113 = load ptr, ptr %6, align 8, !tbaa !5
  %114 = load ptr, ptr %8, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.complex, ptr %114, i64 1
  %116 = call float @scsum1_(ptr noundef %113, ptr noundef %115, ptr noundef @c__1)
  %117 = load ptr, ptr %9, align 8, !tbaa !5
  store float %116, ptr %117, align 4, !tbaa !9
  %118 = load ptr, ptr %6, align 8, !tbaa !5
  %119 = load i32, ptr %118, align 4, !tbaa !11
  store i32 %119, ptr %11, align 4, !tbaa !11
  store i32 1, ptr @clacon_.i__, align 4, !tbaa !11
  br label %120

120:                                              ; preds = %194, %112
  %121 = load i32, ptr @clacon_.i__, align 4, !tbaa !11
  %122 = load i32, ptr %11, align 4, !tbaa !11
  %123 = icmp sle i32 %121, %122
  br i1 %123, label %124, label %197

124:                                              ; preds = %120
  %125 = load ptr, ptr %8, align 8, !tbaa !5
  %126 = load i32, ptr @clacon_.i__, align 4, !tbaa !11
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds %struct.complex, ptr %125, i64 %127
  %129 = call <2 x float> @Cf(ptr noundef %128)
  store <2 x float> %129, ptr %20, align 4
  %130 = getelementptr inbounds { float, float }, ptr %20, i32 0, i32 0
  %131 = load float, ptr %130, align 4
  %132 = getelementptr inbounds { float, float }, ptr %20, i32 0, i32 1
  %133 = load float, ptr %132, align 4
  %134 = getelementptr inbounds { float, float }, ptr %21, i32 0, i32 0
  %135 = getelementptr inbounds { float, float }, ptr %21, i32 0, i32 1
  store float %131, ptr %134, align 4
  store float %133, ptr %135, align 4
  %136 = load <2 x float>, ptr %21, align 4
  %137 = call float @cabsf(<2 x float> noundef %136) #5
  store float %137, ptr @clacon_.absxi, align 4, !tbaa !9
  %138 = load float, ptr @clacon_.absxi, align 4, !tbaa !9
  %139 = load float, ptr @clacon_.safmin, align 4, !tbaa !9
  %140 = fcmp ogt float %138, %139
  br i1 %140, label %141, label %181

141:                                              ; preds = %124
  %142 = load i32, ptr @clacon_.i__, align 4, !tbaa !11
  store i32 %142, ptr %12, align 4, !tbaa !11
  %143 = load i32, ptr @clacon_.i__, align 4, !tbaa !11
  store i32 %143, ptr %13, align 4, !tbaa !11
  %144 = load ptr, ptr %8, align 8, !tbaa !5
  %145 = load i32, ptr %13, align 4, !tbaa !11
  %146 = sext i32 %145 to i64
  %147 = getelementptr inbounds %struct.complex, ptr %144, i64 %146
  %148 = getelementptr inbounds %struct.complex, ptr %147, i32 0, i32 0
  %149 = load float, ptr %148, align 4, !tbaa !13
  %150 = load float, ptr @clacon_.absxi, align 4, !tbaa !9
  %151 = fdiv float %149, %150
  store float %151, ptr %14, align 4, !tbaa !9
  %152 = load ptr, ptr %8, align 8, !tbaa !5
  %153 = load i32, ptr @clacon_.i__, align 4, !tbaa !11
  %154 = sext i32 %153 to i64
  %155 = getelementptr inbounds %struct.complex, ptr %152, i64 %154
  %156 = call <2 x float> @Cf(ptr noundef %155)
  store <2 x float> %156, ptr %22, align 4
  %157 = getelementptr inbounds { float, float }, ptr %22, i32 0, i32 0
  %158 = load float, ptr %157, align 4
  %159 = getelementptr inbounds { float, float }, ptr %22, i32 0, i32 1
  %160 = load float, ptr %159, align 4
  %161 = load float, ptr @clacon_.absxi, align 4, !tbaa !9
  %162 = fdiv float %160, %161
  store float %162, ptr %15, align 4, !tbaa !9
  %163 = load float, ptr %14, align 4, !tbaa !9
  %164 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 0
  store float %163, ptr %164, align 4, !tbaa !13
  %165 = load float, ptr %15, align 4, !tbaa !9
  %166 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 1
  store float %165, ptr %166, align 4, !tbaa !15
  %167 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 0
  %168 = load float, ptr %167, align 4, !tbaa !13
  %169 = load ptr, ptr %8, align 8, !tbaa !5
  %170 = load i32, ptr %12, align 4, !tbaa !11
  %171 = sext i32 %170 to i64
  %172 = getelementptr inbounds %struct.complex, ptr %169, i64 %171
  %173 = getelementptr inbounds %struct.complex, ptr %172, i32 0, i32 0
  store float %168, ptr %173, align 4, !tbaa !13
  %174 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 1
  %175 = load float, ptr %174, align 4, !tbaa !15
  %176 = load ptr, ptr %8, align 8, !tbaa !5
  %177 = load i32, ptr %12, align 4, !tbaa !11
  %178 = sext i32 %177 to i64
  %179 = getelementptr inbounds %struct.complex, ptr %176, i64 %178
  %180 = getelementptr inbounds %struct.complex, ptr %179, i32 0, i32 1
  store float %175, ptr %180, align 4, !tbaa !15
  br label %193

181:                                              ; preds = %124
  %182 = load i32, ptr @clacon_.i__, align 4, !tbaa !11
  store i32 %182, ptr %12, align 4, !tbaa !11
  %183 = load ptr, ptr %8, align 8, !tbaa !5
  %184 = load i32, ptr %12, align 4, !tbaa !11
  %185 = sext i32 %184 to i64
  %186 = getelementptr inbounds %struct.complex, ptr %183, i64 %185
  %187 = getelementptr inbounds %struct.complex, ptr %186, i32 0, i32 0
  store float 1.000000e+00, ptr %187, align 4, !tbaa !13
  %188 = load ptr, ptr %8, align 8, !tbaa !5
  %189 = load i32, ptr %12, align 4, !tbaa !11
  %190 = sext i32 %189 to i64
  %191 = getelementptr inbounds %struct.complex, ptr %188, i64 %190
  %192 = getelementptr inbounds %struct.complex, ptr %191, i32 0, i32 1
  store float 0.000000e+00, ptr %192, align 4, !tbaa !15
  br label %193

193:                                              ; preds = %181, %141
  br label %194

194:                                              ; preds = %193
  %195 = load i32, ptr @clacon_.i__, align 4, !tbaa !11
  %196 = add nsw i32 %195, 1
  store i32 %196, ptr @clacon_.i__, align 4, !tbaa !11
  br label %120, !llvm.loop !18

197:                                              ; preds = %120
  %198 = load ptr, ptr %10, align 8, !tbaa !5
  store i32 2, ptr %198, align 4, !tbaa !11
  store i32 2, ptr @clacon_.jump, align 4, !tbaa !11
  store i32 1, ptr %17, align 4
  br label %449

199:                                              ; preds = %76
  %200 = load ptr, ptr %6, align 8, !tbaa !5
  %201 = load ptr, ptr %8, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.complex, ptr %201, i64 1
  %203 = call i32 @icmax1_(ptr noundef %200, ptr noundef %202, ptr noundef @c__1)
  store i32 %203, ptr @clacon_.j, align 4, !tbaa !11
  store i32 2, ptr @clacon_.iter, align 4, !tbaa !11
  br label %204

204:                                              ; preds = %375, %199
  %205 = load ptr, ptr %6, align 8, !tbaa !5
  %206 = load i32, ptr %205, align 4, !tbaa !11
  store i32 %206, ptr %11, align 4, !tbaa !11
  store i32 1, ptr @clacon_.i__, align 4, !tbaa !11
  br label %207

207:                                              ; preds = %223, %204
  %208 = load i32, ptr @clacon_.i__, align 4, !tbaa !11
  %209 = load i32, ptr %11, align 4, !tbaa !11
  %210 = icmp sle i32 %208, %209
  br i1 %210, label %211, label %226

211:                                              ; preds = %207
  %212 = load i32, ptr @clacon_.i__, align 4, !tbaa !11
  store i32 %212, ptr %12, align 4, !tbaa !11
  %213 = load ptr, ptr %8, align 8, !tbaa !5
  %214 = load i32, ptr %12, align 4, !tbaa !11
  %215 = sext i32 %214 to i64
  %216 = getelementptr inbounds %struct.complex, ptr %213, i64 %215
  %217 = getelementptr inbounds %struct.complex, ptr %216, i32 0, i32 0
  store float 0.000000e+00, ptr %217, align 4, !tbaa !13
  %218 = load ptr, ptr %8, align 8, !tbaa !5
  %219 = load i32, ptr %12, align 4, !tbaa !11
  %220 = sext i32 %219 to i64
  %221 = getelementptr inbounds %struct.complex, ptr %218, i64 %220
  %222 = getelementptr inbounds %struct.complex, ptr %221, i32 0, i32 1
  store float 0.000000e+00, ptr %222, align 4, !tbaa !15
  br label %223

223:                                              ; preds = %211
  %224 = load i32, ptr @clacon_.i__, align 4, !tbaa !11
  %225 = add nsw i32 %224, 1
  store i32 %225, ptr @clacon_.i__, align 4, !tbaa !11
  br label %207, !llvm.loop !19

226:                                              ; preds = %207
  %227 = load i32, ptr @clacon_.j, align 4, !tbaa !11
  store i32 %227, ptr %11, align 4, !tbaa !11
  %228 = load ptr, ptr %8, align 8, !tbaa !5
  %229 = load i32, ptr %11, align 4, !tbaa !11
  %230 = sext i32 %229 to i64
  %231 = getelementptr inbounds %struct.complex, ptr %228, i64 %230
  %232 = getelementptr inbounds %struct.complex, ptr %231, i32 0, i32 0
  store float 1.000000e+00, ptr %232, align 4, !tbaa !13
  %233 = load ptr, ptr %8, align 8, !tbaa !5
  %234 = load i32, ptr %11, align 4, !tbaa !11
  %235 = sext i32 %234 to i64
  %236 = getelementptr inbounds %struct.complex, ptr %233, i64 %235
  %237 = getelementptr inbounds %struct.complex, ptr %236, i32 0, i32 1
  store float 0.000000e+00, ptr %237, align 4, !tbaa !15
  %238 = load ptr, ptr %10, align 8, !tbaa !5
  store i32 1, ptr %238, align 4, !tbaa !11
  store i32 3, ptr @clacon_.jump, align 4, !tbaa !11
  store i32 1, ptr %17, align 4
  br label %449

239:                                              ; preds = %77
  %240 = load ptr, ptr %6, align 8, !tbaa !5
  %241 = load ptr, ptr %8, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.complex, ptr %241, i64 1
  %243 = load ptr, ptr %7, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.complex, ptr %243, i64 1
  call void @ccopy_(ptr noundef %240, ptr noundef %242, ptr noundef @c__1, ptr noundef %244, ptr noundef @c__1)
  %245 = load ptr, ptr %9, align 8, !tbaa !5
  %246 = load float, ptr %245, align 4, !tbaa !9
  store float %246, ptr @clacon_.estold, align 4, !tbaa !9
  %247 = load ptr, ptr %6, align 8, !tbaa !5
  %248 = load ptr, ptr %7, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.complex, ptr %248, i64 1
  %250 = call float @scsum1_(ptr noundef %247, ptr noundef %249, ptr noundef @c__1)
  %251 = load ptr, ptr %9, align 8, !tbaa !5
  store float %250, ptr %251, align 4, !tbaa !9
  %252 = load ptr, ptr %9, align 8, !tbaa !5
  %253 = load float, ptr %252, align 4, !tbaa !9
  %254 = load float, ptr @clacon_.estold, align 4, !tbaa !9
  %255 = fcmp ole float %253, %254
  br i1 %255, label %256, label %257

256:                                              ; preds = %239
  br label %379

257:                                              ; preds = %239
  %258 = load ptr, ptr %6, align 8, !tbaa !5
  %259 = load i32, ptr %258, align 4, !tbaa !11
  store i32 %259, ptr %11, align 4, !tbaa !11
  store i32 1, ptr @clacon_.i__, align 4, !tbaa !11
  br label %260

260:                                              ; preds = %334, %257
  %261 = load i32, ptr @clacon_.i__, align 4, !tbaa !11
  %262 = load i32, ptr %11, align 4, !tbaa !11
  %263 = icmp sle i32 %261, %262
  br i1 %263, label %264, label %337

264:                                              ; preds = %260
  %265 = load ptr, ptr %8, align 8, !tbaa !5
  %266 = load i32, ptr @clacon_.i__, align 4, !tbaa !11
  %267 = sext i32 %266 to i64
  %268 = getelementptr inbounds %struct.complex, ptr %265, i64 %267
  %269 = call <2 x float> @Cf(ptr noundef %268)
  store <2 x float> %269, ptr %23, align 4
  %270 = getelementptr inbounds { float, float }, ptr %23, i32 0, i32 0
  %271 = load float, ptr %270, align 4
  %272 = getelementptr inbounds { float, float }, ptr %23, i32 0, i32 1
  %273 = load float, ptr %272, align 4
  %274 = getelementptr inbounds { float, float }, ptr %24, i32 0, i32 0
  %275 = getelementptr inbounds { float, float }, ptr %24, i32 0, i32 1
  store float %271, ptr %274, align 4
  store float %273, ptr %275, align 4
  %276 = load <2 x float>, ptr %24, align 4
  %277 = call float @cabsf(<2 x float> noundef %276) #5
  store float %277, ptr @clacon_.absxi, align 4, !tbaa !9
  %278 = load float, ptr @clacon_.absxi, align 4, !tbaa !9
  %279 = load float, ptr @clacon_.safmin, align 4, !tbaa !9
  %280 = fcmp ogt float %278, %279
  br i1 %280, label %281, label %321

281:                                              ; preds = %264
  %282 = load i32, ptr @clacon_.i__, align 4, !tbaa !11
  store i32 %282, ptr %12, align 4, !tbaa !11
  %283 = load i32, ptr @clacon_.i__, align 4, !tbaa !11
  store i32 %283, ptr %13, align 4, !tbaa !11
  %284 = load ptr, ptr %8, align 8, !tbaa !5
  %285 = load i32, ptr %13, align 4, !tbaa !11
  %286 = sext i32 %285 to i64
  %287 = getelementptr inbounds %struct.complex, ptr %284, i64 %286
  %288 = getelementptr inbounds %struct.complex, ptr %287, i32 0, i32 0
  %289 = load float, ptr %288, align 4, !tbaa !13
  %290 = load float, ptr @clacon_.absxi, align 4, !tbaa !9
  %291 = fdiv float %289, %290
  store float %291, ptr %14, align 4, !tbaa !9
  %292 = load ptr, ptr %8, align 8, !tbaa !5
  %293 = load i32, ptr @clacon_.i__, align 4, !tbaa !11
  %294 = sext i32 %293 to i64
  %295 = getelementptr inbounds %struct.complex, ptr %292, i64 %294
  %296 = call <2 x float> @Cf(ptr noundef %295)
  store <2 x float> %296, ptr %25, align 4
  %297 = getelementptr inbounds { float, float }, ptr %25, i32 0, i32 0
  %298 = load float, ptr %297, align 4
  %299 = getelementptr inbounds { float, float }, ptr %25, i32 0, i32 1
  %300 = load float, ptr %299, align 4
  %301 = load float, ptr @clacon_.absxi, align 4, !tbaa !9
  %302 = fdiv float %300, %301
  store float %302, ptr %15, align 4, !tbaa !9
  %303 = load float, ptr %14, align 4, !tbaa !9
  %304 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 0
  store float %303, ptr %304, align 4, !tbaa !13
  %305 = load float, ptr %15, align 4, !tbaa !9
  %306 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 1
  store float %305, ptr %306, align 4, !tbaa !15
  %307 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 0
  %308 = load float, ptr %307, align 4, !tbaa !13
  %309 = load ptr, ptr %8, align 8, !tbaa !5
  %310 = load i32, ptr %12, align 4, !tbaa !11
  %311 = sext i32 %310 to i64
  %312 = getelementptr inbounds %struct.complex, ptr %309, i64 %311
  %313 = getelementptr inbounds %struct.complex, ptr %312, i32 0, i32 0
  store float %308, ptr %313, align 4, !tbaa !13
  %314 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 1
  %315 = load float, ptr %314, align 4, !tbaa !15
  %316 = load ptr, ptr %8, align 8, !tbaa !5
  %317 = load i32, ptr %12, align 4, !tbaa !11
  %318 = sext i32 %317 to i64
  %319 = getelementptr inbounds %struct.complex, ptr %316, i64 %318
  %320 = getelementptr inbounds %struct.complex, ptr %319, i32 0, i32 1
  store float %315, ptr %320, align 4, !tbaa !15
  br label %333

321:                                              ; preds = %264
  %322 = load i32, ptr @clacon_.i__, align 4, !tbaa !11
  store i32 %322, ptr %12, align 4, !tbaa !11
  %323 = load ptr, ptr %8, align 8, !tbaa !5
  %324 = load i32, ptr %12, align 4, !tbaa !11
  %325 = sext i32 %324 to i64
  %326 = getelementptr inbounds %struct.complex, ptr %323, i64 %325
  %327 = getelementptr inbounds %struct.complex, ptr %326, i32 0, i32 0
  store float 1.000000e+00, ptr %327, align 4, !tbaa !13
  %328 = load ptr, ptr %8, align 8, !tbaa !5
  %329 = load i32, ptr %12, align 4, !tbaa !11
  %330 = sext i32 %329 to i64
  %331 = getelementptr inbounds %struct.complex, ptr %328, i64 %330
  %332 = getelementptr inbounds %struct.complex, ptr %331, i32 0, i32 1
  store float 0.000000e+00, ptr %332, align 4, !tbaa !15
  br label %333

333:                                              ; preds = %321, %281
  br label %334

334:                                              ; preds = %333
  %335 = load i32, ptr @clacon_.i__, align 4, !tbaa !11
  %336 = add nsw i32 %335, 1
  store i32 %336, ptr @clacon_.i__, align 4, !tbaa !11
  br label %260, !llvm.loop !20

337:                                              ; preds = %260
  %338 = load ptr, ptr %10, align 8, !tbaa !5
  store i32 2, ptr %338, align 4, !tbaa !11
  store i32 4, ptr @clacon_.jump, align 4, !tbaa !11
  store i32 1, ptr %17, align 4
  br label %449

339:                                              ; preds = %78
  %340 = load i32, ptr @clacon_.j, align 4, !tbaa !11
  store i32 %340, ptr @clacon_.jlast, align 4, !tbaa !11
  %341 = load ptr, ptr %6, align 8, !tbaa !5
  %342 = load ptr, ptr %8, align 8, !tbaa !5
  %343 = getelementptr inbounds %struct.complex, ptr %342, i64 1
  %344 = call i32 @icmax1_(ptr noundef %341, ptr noundef %343, ptr noundef @c__1)
  store i32 %344, ptr @clacon_.j, align 4, !tbaa !11
  %345 = load ptr, ptr %8, align 8, !tbaa !5
  %346 = load i32, ptr @clacon_.jlast, align 4, !tbaa !11
  %347 = sext i32 %346 to i64
  %348 = getelementptr inbounds %struct.complex, ptr %345, i64 %347
  %349 = call <2 x float> @Cf(ptr noundef %348)
  store <2 x float> %349, ptr %26, align 4
  %350 = getelementptr inbounds { float, float }, ptr %26, i32 0, i32 0
  %351 = load float, ptr %350, align 4
  %352 = getelementptr inbounds { float, float }, ptr %26, i32 0, i32 1
  %353 = load float, ptr %352, align 4
  %354 = getelementptr inbounds { float, float }, ptr %27, i32 0, i32 0
  %355 = getelementptr inbounds { float, float }, ptr %27, i32 0, i32 1
  store float %351, ptr %354, align 4
  store float %353, ptr %355, align 4
  %356 = load <2 x float>, ptr %27, align 4
  %357 = call float @cabsf(<2 x float> noundef %356) #5
  %358 = load ptr, ptr %8, align 8, !tbaa !5
  %359 = load i32, ptr @clacon_.j, align 4, !tbaa !11
  %360 = sext i32 %359 to i64
  %361 = getelementptr inbounds %struct.complex, ptr %358, i64 %360
  %362 = call <2 x float> @Cf(ptr noundef %361)
  store <2 x float> %362, ptr %28, align 4
  %363 = getelementptr inbounds { float, float }, ptr %28, i32 0, i32 0
  %364 = load float, ptr %363, align 4
  %365 = getelementptr inbounds { float, float }, ptr %28, i32 0, i32 1
  %366 = load float, ptr %365, align 4
  %367 = getelementptr inbounds { float, float }, ptr %29, i32 0, i32 0
  %368 = getelementptr inbounds { float, float }, ptr %29, i32 0, i32 1
  store float %364, ptr %367, align 4
  store float %366, ptr %368, align 4
  %369 = load <2 x float>, ptr %29, align 4
  %370 = call float @cabsf(<2 x float> noundef %369) #5
  %371 = fcmp une float %357, %370
  br i1 %371, label %372, label %378

372:                                              ; preds = %339
  %373 = load i32, ptr @clacon_.iter, align 4, !tbaa !11
  %374 = icmp slt i32 %373, 5
  br i1 %374, label %375, label %378

375:                                              ; preds = %372
  %376 = load i32, ptr @clacon_.iter, align 4, !tbaa !11
  %377 = add nsw i32 %376, 1
  store i32 %377, ptr @clacon_.iter, align 4, !tbaa !11
  br label %204

378:                                              ; preds = %372, %339
  br label %379

379:                                              ; preds = %378, %256
  store float 1.000000e+00, ptr @clacon_.altsgn, align 4, !tbaa !9
  %380 = load ptr, ptr %6, align 8, !tbaa !5
  %381 = load i32, ptr %380, align 4, !tbaa !11
  store i32 %381, ptr %11, align 4, !tbaa !11
  store i32 1, ptr @clacon_.i__, align 4, !tbaa !11
  br label %382

382:                                              ; preds = %418, %379
  %383 = load i32, ptr @clacon_.i__, align 4, !tbaa !11
  %384 = load i32, ptr %11, align 4, !tbaa !11
  %385 = icmp sle i32 %383, %384
  br i1 %385, label %386, label %421

386:                                              ; preds = %382
  %387 = load i32, ptr @clacon_.i__, align 4, !tbaa !11
  store i32 %387, ptr %12, align 4, !tbaa !11
  %388 = load float, ptr @clacon_.altsgn, align 4, !tbaa !9
  %389 = load i32, ptr @clacon_.i__, align 4, !tbaa !11
  %390 = sub nsw i32 %389, 1
  %391 = sitofp i32 %390 to float
  %392 = load ptr, ptr %6, align 8, !tbaa !5
  %393 = load i32, ptr %392, align 4, !tbaa !11
  %394 = sub nsw i32 %393, 1
  %395 = sitofp i32 %394 to float
  %396 = fdiv float %391, %395
  %397 = fadd float %396, 1.000000e+00
  %398 = fmul float %388, %397
  store float %398, ptr %14, align 4, !tbaa !9
  %399 = load float, ptr %14, align 4, !tbaa !9
  %400 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 0
  store float %399, ptr %400, align 4, !tbaa !13
  %401 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 1
  store float 0.000000e+00, ptr %401, align 4, !tbaa !15
  %402 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 0
  %403 = load float, ptr %402, align 4, !tbaa !13
  %404 = load ptr, ptr %8, align 8, !tbaa !5
  %405 = load i32, ptr %12, align 4, !tbaa !11
  %406 = sext i32 %405 to i64
  %407 = getelementptr inbounds %struct.complex, ptr %404, i64 %406
  %408 = getelementptr inbounds %struct.complex, ptr %407, i32 0, i32 0
  store float %403, ptr %408, align 4, !tbaa !13
  %409 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 1
  %410 = load float, ptr %409, align 4, !tbaa !15
  %411 = load ptr, ptr %8, align 8, !tbaa !5
  %412 = load i32, ptr %12, align 4, !tbaa !11
  %413 = sext i32 %412 to i64
  %414 = getelementptr inbounds %struct.complex, ptr %411, i64 %413
  %415 = getelementptr inbounds %struct.complex, ptr %414, i32 0, i32 1
  store float %410, ptr %415, align 4, !tbaa !15
  %416 = load float, ptr @clacon_.altsgn, align 4, !tbaa !9
  %417 = fneg float %416
  store float %417, ptr @clacon_.altsgn, align 4, !tbaa !9
  br label %418

418:                                              ; preds = %386
  %419 = load i32, ptr @clacon_.i__, align 4, !tbaa !11
  %420 = add nsw i32 %419, 1
  store i32 %420, ptr @clacon_.i__, align 4, !tbaa !11
  br label %382, !llvm.loop !21

421:                                              ; preds = %382
  %422 = load ptr, ptr %10, align 8, !tbaa !5
  store i32 1, ptr %422, align 4, !tbaa !11
  store i32 5, ptr @clacon_.jump, align 4, !tbaa !11
  store i32 1, ptr %17, align 4
  br label %449

423:                                              ; preds = %79
  %424 = load ptr, ptr %6, align 8, !tbaa !5
  %425 = load ptr, ptr %8, align 8, !tbaa !5
  %426 = getelementptr inbounds %struct.complex, ptr %425, i64 1
  %427 = call float @scsum1_(ptr noundef %424, ptr noundef %426, ptr noundef @c__1)
  %428 = load ptr, ptr %6, align 8, !tbaa !5
  %429 = load i32, ptr %428, align 4, !tbaa !11
  %430 = mul nsw i32 %429, 3
  %431 = sitofp i32 %430 to float
  %432 = fdiv float %427, %431
  %433 = fmul float %432, 2.000000e+00
  store float %433, ptr @clacon_.temp, align 4, !tbaa !9
  %434 = load float, ptr @clacon_.temp, align 4, !tbaa !9
  %435 = load ptr, ptr %9, align 8, !tbaa !5
  %436 = load float, ptr %435, align 4, !tbaa !9
  %437 = fcmp ogt float %434, %436
  br i1 %437, label %438, label %446

438:                                              ; preds = %423
  %439 = load ptr, ptr %6, align 8, !tbaa !5
  %440 = load ptr, ptr %8, align 8, !tbaa !5
  %441 = getelementptr inbounds %struct.complex, ptr %440, i64 1
  %442 = load ptr, ptr %7, align 8, !tbaa !5
  %443 = getelementptr inbounds %struct.complex, ptr %442, i64 1
  call void @ccopy_(ptr noundef %439, ptr noundef %441, ptr noundef @c__1, ptr noundef %443, ptr noundef @c__1)
  %444 = load float, ptr @clacon_.temp, align 4, !tbaa !9
  %445 = load ptr, ptr %9, align 8, !tbaa !5
  store float %444, ptr %445, align 4, !tbaa !9
  br label %446

446:                                              ; preds = %438, %423
  br label %447

447:                                              ; preds = %446, %85
  %448 = load ptr, ptr %10, align 8, !tbaa !5
  store i32 0, ptr %448, align 4, !tbaa !11
  store i32 1, ptr %17, align 4
  br label %449

449:                                              ; preds = %447, %421, %337, %226, %197, %71
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  ret void
}

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

declare float @slamch_(ptr noundef) #2

; Function Attrs: nounwind
declare float @cabsf(<2 x float> noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden <2 x float> @Cf(ptr noundef) #4

declare float @scsum1_(ptr noundef, ptr noundef, ptr noundef) #2

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

declare void @ccopy_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, 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"="64" "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 "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint nounwind uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

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

@clacon_.iter = external hidden local_unnamed_addr global i32, align 4
@clacon_.temp = external hidden local_unnamed_addr global float, align 4
@clacon_.jump = external hidden local_unnamed_addr global i32, align 4
@clacon_.i__ = external hidden local_unnamed_addr global i32, align 4
@clacon_.j = external hidden local_unnamed_addr global i32, align 4
@clacon_.absxi = external hidden local_unnamed_addr global float, align 4
@clacon_.jlast = external hidden local_unnamed_addr global i32, align 4
@clacon_.safmin = external hidden local_unnamed_addr global float, align 4
@clacon_.altsgn = external hidden local_unnamed_addr global float, align 4
@clacon_.estold = external hidden local_unnamed_addr global float, align 4
@.str = external hidden unnamed_addr constant [13 x i8], align 1
@c__1 = external hidden global i32, align 4

; Function Attrs: nounwind uwtable
define dso_local void @clacon_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef %3, ptr nocapture noundef %4) local_unnamed_addr #0 {
  %6 = getelementptr inbounds i8, ptr %2, i64 -8
  %7 = tail call float @slamch_(ptr noundef nonnull @.str) #5
  store float %7, ptr @clacon_.safmin, align 4, !tbaa !5
  %8 = load i32, ptr %4, align 4, !tbaa !9
  %9 = icmp eq i32 %8, 0
  br i1 %9, label %10, label %46

10:                                               ; preds = %5
  %11 = load i32, ptr %0, align 4, !tbaa !9
  store i32 1, ptr @clacon_.i__, align 4, !tbaa !9
  %.not137155 = icmp slt i32 %11, 1
  br i1 %.not137155, label %._crit_edge159, label %.lr.ph158.preheader

.lr.ph158.preheader:                              ; preds = %10
  %12 = add nuw i32 %11, 1
  %wide.trip.count169 = zext i32 %12 to i64
  %13 = zext nneg i32 %11 to i64
  %min.iters.check = icmp ult i32 %11, 4
  br i1 %min.iters.check, label %.lr.ph158.preheader172, label %vector.memcheck

vector.memcheck:                                  ; preds = %.lr.ph158.preheader
  %scevgep = getelementptr i8, ptr %0, i64 4
  %bound0 = icmp ugt ptr %scevgep, @clacon_.i__
  %bound1 = icmp ult ptr %0, getelementptr inbounds (i8, ptr @clacon_.i__, i64 4)
  %found.conflict = and i1 %bound0, %bound1
  br i1 %found.conflict, label %.lr.ph158.preheader172, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %13, 2147483644
  %ind.end = or disjoint i64 %n.vec, 1
  %14 = load i32, ptr %0, align 4, !tbaa !9, !alias.scope !11
  %broadcast.splatinsert = insertelement <4 x i32> poison, i32 %14, i64 0
  %15 = sitofp <4 x i32> %broadcast.splatinsert to <4 x float>
  %16 = fdiv <4 x float> <float 1.000000e+00, float poison, float poison, float poison>, %15
  %17 = shufflevector <4 x float> %16, <4 x float> poison, <4 x i32> zeroinitializer
  %interleaved.vec = shufflevector <4 x float> %17, <4 x float> zeroinitializer, <8 x i32> <i32 0, i32 4, i32 1, i32 5, i32 2, i32 6, i32 3, i32 7>
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %18 = phi i64 [ 4, %vector.ph ], [ %22, %vector.body ]
  %19 = getelementptr %struct.complex, ptr %2, i64 %index
  store <8 x float> %interleaved.vec, ptr %19, align 4, !tbaa !5
  %20 = trunc i64 %18 to i32
  %21 = or disjoint i32 %20, 1
  %index.next = add nuw i64 %index, 4
  %22 = add i64 %18, 4
  %23 = icmp eq i64 %index.next, %n.vec
  br i1 %23, label %middle.block, label %vector.body, !llvm.loop !14

middle.block:                                     ; preds = %vector.body
  store i32 %21, ptr @clacon_.i__, align 4, !tbaa !9, !alias.scope !18, !noalias !11
  %cmp.n = icmp eq i64 %n.vec, %13
  br i1 %cmp.n, label %._crit_edge159, label %.lr.ph158.preheader172

.lr.ph158.preheader172:                           ; preds = %middle.block, %vector.memcheck, %.lr.ph158.preheader
  %indvars.iv166.ph = phi i64 [ 1, %vector.memcheck ], [ 1, %.lr.ph158.preheader ], [ %ind.end, %middle.block ]
  %24 = zext nneg i32 %11 to i64
  %25 = and i32 %11, 1
  %lcmp.mod.not = icmp eq i32 %25, 0
  br i1 %lcmp.mod.not, label %.lr.ph158.prol.loopexit, label %.lr.ph158.prol

.lr.ph158.prol:                                   ; preds = %.lr.ph158.preheader172
  %26 = load i32, ptr %0, align 4, !tbaa !9
  %27 = sitofp i32 %26 to float
  %28 = fdiv float 1.000000e+00, %27
  %29 = getelementptr inbounds %struct.complex, ptr %6, i64 %indvars.iv166.ph
  store float %28, ptr %29, align 4, !tbaa !20
  %30 = getelementptr inbounds i8, ptr %29, i64 4
  store float 0.000000e+00, ptr %30, align 4, !tbaa !22
  %indvars.iv.next167.prol = add nuw nsw i64 %indvars.iv166.ph, 1
  %31 = trunc nuw i64 %indvars.iv.next167.prol to i32
  store i32 %31, ptr @clacon_.i__, align 4, !tbaa !9
  br label %.lr.ph158.prol.loopexit

.lr.ph158.prol.loopexit:                          ; preds = %.lr.ph158.prol, %.lr.ph158.preheader172
  %indvars.iv166.unr = phi i64 [ %indvars.iv166.ph, %.lr.ph158.preheader172 ], [ %indvars.iv.next167.prol, %.lr.ph158.prol ]
  %32 = icmp eq i64 %indvars.iv166.ph, %24
  br i1 %32, label %._crit_edge159, label %.lr.ph158

.lr.ph158:                                        ; preds = %.lr.ph158.prol.loopexit, %.lr.ph158
  %indvars.iv166 = phi i64 [ %indvars.iv.next167.1, %.lr.ph158 ], [ %indvars.iv166.unr, %.lr.ph158.prol.loopexit ]
  %33 = load i32, ptr %0, align 4, !tbaa !9
  %34 = sitofp i32 %33 to float
  %35 = fdiv float 1.000000e+00, %34
  %36 = getelementptr inbounds %struct.complex, ptr %6, i64 %indvars.iv166
  store float %35, ptr %36, align 4, !tbaa !20
  %37 = getelementptr inbounds i8, ptr %36, i64 4
  store float 0.000000e+00, ptr %37, align 4, !tbaa !22
  %38 = trunc i64 %indvars.iv166 to i32
  %39 = add i32 %38, 1
  store i32 %39, ptr @clacon_.i__, align 4, !tbaa !9
  %40 = load i32, ptr %0, align 4, !tbaa !9
  %41 = sitofp i32 %40 to float
  %42 = fdiv float 1.000000e+00, %41
  %43 = getelementptr %struct.complex, ptr %2, i64 %indvars.iv166
  store float %42, ptr %43, align 4, !tbaa !20
  %44 = getelementptr inbounds i8, ptr %43, i64 4
  store float 0.000000e+00, ptr %44, align 4, !tbaa !22
  %indvars.iv.next167.1 = add nuw nsw i64 %indvars.iv166, 2
  %45 = trunc nuw i64 %indvars.iv.next167.1 to i32
  store i32 %45, ptr @clacon_.i__, align 4, !tbaa !9
  %exitcond170.not.1 = icmp eq i64 %indvars.iv.next167.1, %wide.trip.count169
  br i1 %exitcond170.not.1, label %._crit_edge159, label %.lr.ph158, !llvm.loop !23

._crit_edge159:                                   ; preds = %.lr.ph158.prol.loopexit, %.lr.ph158, %middle.block, %10
  store i32 1, ptr %4, align 4, !tbaa !9
  store i32 1, ptr @clacon_.jump, align 4, !tbaa !9
  br label %165

46:                                               ; preds = %5
  %47 = load i32, ptr @clacon_.jump, align 4, !tbaa !9
  switch i32 %47, label %48 [
    i32 5, label %153
    i32 2, label %79
    i32 3, label %89
    i32 4, label %117
  ]

48:                                               ; preds = %46
  %49 = load i32, ptr %0, align 4, !tbaa !9
  %50 = icmp eq i32 %49, 1
  br i1 %50, label %51, label %55

51:                                               ; preds = %48
  %52 = load <2 x float>, ptr %2, align 4, !tbaa !5
  store <2 x float> %52, ptr %1, align 4, !tbaa !5
  %53 = tail call <2 x float> @Cf(ptr noundef nonnull %1)
  %54 = tail call float @cabsf(<2 x float> noundef %53) #5
  br label %.sink.split

55:                                               ; preds = %48
  %56 = tail call float @scsum1_(ptr noundef nonnull %0, ptr noundef %2, ptr noundef nonnull @c__1) #5
  store float %56, ptr %3, align 4, !tbaa !5
  %57 = load i32, ptr %0, align 4, !tbaa !9
  store i32 1, ptr @clacon_.i__, align 4, !tbaa !9
  %.not135150 = icmp slt i32 %57, 1
  br i1 %.not135150, label %._crit_edge154, label %.lr.ph153

.lr.ph153:                                        ; preds = %55, %76
  %storemerge134151 = phi i32 [ %78, %76 ], [ 1, %55 ]
  %58 = sext i32 %storemerge134151 to i64
  %59 = getelementptr inbounds %struct.complex, ptr %6, i64 %58
  %60 = tail call <2 x float> @Cf(ptr noundef nonnull %59)
  %61 = tail call float @cabsf(<2 x float> noundef %60) #5
  store float %61, ptr @clacon_.absxi, align 4, !tbaa !5
  %62 = load float, ptr @clacon_.safmin, align 4, !tbaa !5
  %63 = fcmp ogt float %61, %62
  %64 = load i32, ptr @clacon_.i__, align 4, !tbaa !9
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds %struct.complex, ptr %6, i64 %65
  br i1 %63, label %67, label %75

67:                                               ; preds = %.lr.ph153
  %68 = load float, ptr %66, align 4, !tbaa !20
  %69 = tail call <2 x float> @Cf(ptr noundef nonnull %66)
  %70 = load float, ptr @clacon_.absxi, align 4, !tbaa !5
  %71 = insertelement <2 x float> %69, float %68, i64 0
  %72 = insertelement <2 x float> poison, float %61, i64 0
  %73 = insertelement <2 x float> %72, float %70, i64 1
  %74 = fdiv <2 x float> %71, %73
  store <2 x float> %74, ptr %66, align 4, !tbaa !5
  %.pre171 = load i32, ptr @clacon_.i__, align 4, !tbaa !9
  br label %76

75:                                               ; preds = %.lr.ph153
  store <2 x float> <float 1.000000e+00, float 0.000000e+00>, ptr %66, align 4, !tbaa !5
  br label %76

76:                                               ; preds = %67, %75
  %77 = phi i32 [ %.pre171, %67 ], [ %64, %75 ]
  %78 = add nsw i32 %77, 1
  store i32 %78, ptr @clacon_.i__, align 4, !tbaa !9
  %.not135.not = icmp slt i32 %77, %57
  br i1 %.not135.not, label %.lr.ph153, label %._crit_edge154, !llvm.loop !24

._crit_edge154:                                   ; preds = %76, %55
  store i32 2, ptr %4, align 4, !tbaa !9
  store i32 2, ptr @clacon_.jump, align 4, !tbaa !9
  br label %165

79:                                               ; preds = %46
  %80 = tail call i32 @icmax1_(ptr noundef %0, ptr noundef %2, ptr noundef nonnull @c__1) #5
  store i32 %80, ptr @clacon_.j, align 4, !tbaa !9
  br label %81

81:                                               ; preds = %133, %79
  %storemerge = phi i32 [ %134, %133 ], [ 2, %79 ]
  store i32 %storemerge, ptr @clacon_.iter, align 4, !tbaa !9
  %82 = load i32, ptr %0, align 4, !tbaa !9
  %.not133145 = icmp slt i32 %82, 1
  br i1 %.not133145, label %._crit_edge149, label %.lr.ph148.preheader

.lr.ph148.preheader:                              ; preds = %81
  %83 = zext nneg i32 %82 to i64
  %84 = shl nuw nsw i64 %83, 3
  tail call void @llvm.memset.p0.i64(ptr align 4 %2, i8 0, i64 %84, i1 false), !tbaa !5
  %85 = add nuw i32 %82, 1
  br label %._crit_edge149

._crit_edge149:                                   ; preds = %.lr.ph148.preheader, %81
  %storemerge132.lcssa = phi i32 [ 1, %81 ], [ %85, %.lr.ph148.preheader ]
  store i32 %storemerge132.lcssa, ptr @clacon_.i__, align 4, !tbaa !9
  %86 = load i32, ptr @clacon_.j, align 4, !tbaa !9
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds %struct.complex, ptr %6, i64 %87
  store <2 x float> <float 1.000000e+00, float 0.000000e+00>, ptr %88, align 4, !tbaa !5
  store i32 1, ptr %4, align 4, !tbaa !9
  store i32 3, ptr @clacon_.jump, align 4, !tbaa !9
  br label %165

89:                                               ; preds = %46
  tail call void @ccopy_(ptr noundef %0, ptr noundef %2, ptr noundef nonnull @c__1, ptr noundef %1, ptr noundef nonnull @c__1) #5
  %90 = load float, ptr %3, align 4, !tbaa !5
  store float %90, ptr @clacon_.estold, align 4, !tbaa !5
  %91 = tail call float @scsum1_(ptr noundef %0, ptr noundef %1, ptr noundef nonnull @c__1) #5
  store float %91, ptr %3, align 4, !tbaa !5
  %92 = load float, ptr @clacon_.estold, align 4, !tbaa !5
  %93 = fcmp ugt float %91, %92
  br i1 %93, label %94, label %135

94:                                               ; preds = %89
  %95 = load i32, ptr %0, align 4, !tbaa !9
  store i32 1, ptr @clacon_.i__, align 4, !tbaa !9
  %.not140 = icmp slt i32 %95, 1
  br i1 %.not140, label %._crit_edge144, label %.lr.ph143

.lr.ph143:                                        ; preds = %94, %114
  %storemerge129141 = phi i32 [ %116, %114 ], [ 1, %94 ]
  %96 = sext i32 %storemerge129141 to i64
  %97 = getelementptr inbounds %struct.complex, ptr %6, i64 %96
  %98 = tail call <2 x float> @Cf(ptr noundef nonnull %97)
  %99 = tail call float @cabsf(<2 x float> noundef %98) #5
  store float %99, ptr @clacon_.absxi, align 4, !tbaa !5
  %100 = load float, ptr @clacon_.safmin, align 4, !tbaa !5
  %101 = fcmp ogt float %99, %100
  %102 = load i32, ptr @clacon_.i__, align 4, !tbaa !9
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds %struct.complex, ptr %6, i64 %103
  br i1 %101, label %105, label %113

105:                                              ; preds = %.lr.ph143
  %106 = load float, ptr %104, align 4, !tbaa !20
  %107 = tail call <2 x float> @Cf(ptr noundef nonnull %104)
  %108 = load float, ptr @clacon_.absxi, align 4, !tbaa !5
  %109 = insertelement <2 x float> %107, float %106, i64 0
  %110 = insertelement <2 x float> poison, float %99, i64 0
  %111 = insertelement <2 x float> %110, float %108, i64 1
  %112 = fdiv <2 x float> %109, %111
  store <2 x float> %112, ptr %104, align 4, !tbaa !5
  %.pre = load i32, ptr @clacon_.i__, align 4, !tbaa !9
  br label %114

113:                                              ; preds = %.lr.ph143
  store <2 x float> <float 1.000000e+00, float 0.000000e+00>, ptr %104, align 4, !tbaa !5
  br label %114

114:                                              ; preds = %105, %113
  %115 = phi i32 [ %.pre, %105 ], [ %102, %113 ]
  %116 = add nsw i32 %115, 1
  store i32 %116, ptr @clacon_.i__, align 4, !tbaa !9
  %.not.not = icmp slt i32 %115, %95
  br i1 %.not.not, label %.lr.ph143, label %._crit_edge144, !llvm.loop !25

._crit_edge144:                                   ; preds = %114, %94
  store i32 2, ptr %4, align 4, !tbaa !9
  store i32 4, ptr @clacon_.jump, align 4, !tbaa !9
  br label %165

117:                                              ; preds = %46
  %118 = load i32, ptr @clacon_.j, align 4, !tbaa !9
  store i32 %118, ptr @clacon_.jlast, align 4, !tbaa !9
  %119 = tail call i32 @icmax1_(ptr noundef %0, ptr noundef %2, ptr noundef nonnull @c__1) #5
  store i32 %119, ptr @clacon_.j, align 4, !tbaa !9
  %120 = load i32, ptr @clacon_.jlast, align 4, !tbaa !9
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds %struct.complex, ptr %6, i64 %121
  %123 = tail call <2 x float> @Cf(ptr noundef nonnull %122)
  %124 = tail call float @cabsf(<2 x float> noundef %123) #5
  %125 = load i32, ptr @clacon_.j, align 4, !tbaa !9
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds %struct.complex, ptr %6, i64 %126
  %128 = tail call <2 x float> @Cf(ptr noundef nonnull %127)
  %129 = tail call float @cabsf(<2 x float> noundef %128) #5
  %130 = fcmp une float %124, %129
  %131 = load i32, ptr @clacon_.iter, align 4
  %132 = icmp slt i32 %131, 5
  %or.cond = select i1 %130, i1 %132, i1 false
  br i1 %or.cond, label %133, label %135

133:                                              ; preds = %117
  %134 = add nsw i32 %131, 1
  br label %81

135:                                              ; preds = %117, %89
  store float 1.000000e+00, ptr @clacon_.altsgn, align 4, !tbaa !5
  %136 = load i32, ptr %0, align 4, !tbaa !9
  store i32 1, ptr @clacon_.i__, align 4, !tbaa !9
  %.not131138 = icmp slt i32 %136, 1
  br i1 %.not131138, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %135
  %137 = add nuw i32 %136, 1
  %wide.trip.count = zext i32 %137 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %138 = phi float [ 1.000000e+00, %.lr.ph.preheader ], [ %151, %.lr.ph ]
  %indvars.iv = phi i64 [ 1, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %139 = trunc i64 %indvars.iv to i32
  %140 = add i32 %139, -1
  %141 = sitofp i32 %140 to float
  %142 = load i32, ptr %0, align 4, !tbaa !9
  %143 = add nsw i32 %142, -1
  %144 = sitofp i32 %143 to float
  %145 = fdiv float %141, %144
  %146 = fadd float %145, 1.000000e+00
  %147 = fmul float %138, %146
  %148 = getelementptr inbounds %struct.complex, ptr %6, i64 %indvars.iv
  store float %147, ptr %148, align 4, !tbaa !20
  %149 = getelementptr inbounds i8, ptr %148, i64 4
  store float 0.000000e+00, ptr %149, align 4, !tbaa !22
  %150 = load float, ptr @clacon_.altsgn, align 4, !tbaa !5
  %151 = fneg float %150
  store float %151, ptr @clacon_.altsgn, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %152 = trunc nuw i64 %indvars.iv.next to i32
  store i32 %152, ptr @clacon_.i__, align 4, !tbaa !9
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !26

._crit_edge:                                      ; preds = %.lr.ph, %135
  store i32 1, ptr %4, align 4, !tbaa !9
  store i32 5, ptr @clacon_.jump, align 4, !tbaa !9
  br label %165

153:                                              ; preds = %46
  %154 = tail call float @scsum1_(ptr noundef %0, ptr noundef %2, ptr noundef nonnull @c__1) #5
  %155 = load i32, ptr %0, align 4, !tbaa !9
  %156 = mul nsw i32 %155, 3
  %157 = sitofp i32 %156 to float
  %158 = fdiv float %154, %157
  %159 = fmul float %158, 2.000000e+00
  store float %159, ptr @clacon_.temp, align 4, !tbaa !5
  %160 = load float, ptr %3, align 4, !tbaa !5
  %161 = fcmp ogt float %159, %160
  br i1 %161, label %162, label %164

162:                                              ; preds = %153
  tail call void @ccopy_(ptr noundef nonnull %0, ptr noundef %2, ptr noundef nonnull @c__1, ptr noundef %1, ptr noundef nonnull @c__1) #5
  %163 = load float, ptr @clacon_.temp, align 4, !tbaa !5
  br label %.sink.split

.sink.split:                                      ; preds = %51, %162
  %.sink = phi float [ %163, %162 ], [ %54, %51 ]
  store float %.sink, ptr %3, align 4, !tbaa !5
  br label %164

164:                                              ; preds = %.sink.split, %153
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %165

165:                                              ; preds = %164, %._crit_edge, %._crit_edge144, %._crit_edge149, %._crit_edge154, %._crit_edge159
  ret void
}

declare float @slamch_(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind
declare float @cabsf(<2 x float> noundef) local_unnamed_addr #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden <2 x float> @Cf(ptr noundef) local_unnamed_addr #3

declare float @scsum1_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare i32 @icmax1_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @ccopy_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

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

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

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


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