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

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

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@c_b5 = external hidden global %struct.complex, align 4

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

32:                                               ; preds = %5
  %33 = load ptr, ptr %11, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.complex, ptr %33, i32 0, i32 0
  store float 0.000000e+00, ptr %34, align 4, !tbaa !11
  %35 = load ptr, ptr %11, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.complex, ptr %35, i32 0, i32 1
  store float 0.000000e+00, ptr %36, align 4, !tbaa !14
  store i32 0, ptr %6, align 4
  store i32 1, ptr %26, align 4
  br label %394

37:                                               ; preds = %5
  %38 = load ptr, ptr %7, align 8, !tbaa !5
  %39 = load i64, ptr %38, align 8, !tbaa !9
  %40 = sub nsw i64 %39, 1
  store i64 %40, ptr %12, align 8, !tbaa !9
  %41 = load ptr, ptr %9, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.complex, ptr %41, i64 1
  %43 = load ptr, ptr %10, align 8, !tbaa !5
  %44 = call double @f2c_scnrm2(ptr noundef %12, ptr noundef %42, ptr noundef %43)
  %45 = fptrunc double %44 to float
  store float %45, ptr %23, align 4, !tbaa !15
  %46 = load ptr, ptr %8, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.complex, ptr %46, i32 0, i32 0
  %48 = load float, ptr %47, align 4, !tbaa !11
  store float %48, ptr %22, align 4, !tbaa !15
  %49 = load ptr, ptr %8, align 8, !tbaa !5
  %50 = call double @r_imag(ptr noundef %49)
  %51 = fptrunc double %50 to float
  store float %51, ptr %21, align 4, !tbaa !15
  %52 = load float, ptr %23, align 4, !tbaa !15
  %53 = fcmp oeq float %52, 0.000000e+00
  br i1 %53, label %54, label %173

54:                                               ; preds = %37
  %55 = load float, ptr %21, align 4, !tbaa !15
  %56 = fcmp oeq float %55, 0.000000e+00
  br i1 %56, label %57, label %173

57:                                               ; preds = %54
  %58 = load float, ptr %21, align 4, !tbaa !15
  %59 = fcmp oeq float %58, 0.000000e+00
  br i1 %59, label %60, label %118

60:                                               ; preds = %57
  %61 = load float, ptr %22, align 4, !tbaa !15
  %62 = fcmp oge float %61, 0.000000e+00
  br i1 %62, label %63, label %68

63:                                               ; preds = %60
  %64 = load ptr, ptr %11, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.complex, ptr %64, i32 0, i32 0
  store float 0.000000e+00, ptr %65, align 4, !tbaa !11
  %66 = load ptr, ptr %11, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.complex, ptr %66, i32 0, i32 1
  store float 0.000000e+00, ptr %67, align 4, !tbaa !14
  br label %117

68:                                               ; preds = %60
  %69 = load ptr, ptr %11, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.complex, ptr %69, i32 0, i32 0
  store float 2.000000e+00, ptr %70, align 4, !tbaa !11
  %71 = load ptr, ptr %11, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.complex, ptr %71, i32 0, i32 1
  store float 0.000000e+00, ptr %72, align 4, !tbaa !14
  %73 = load ptr, ptr %7, align 8, !tbaa !5
  %74 = load i64, ptr %73, align 8, !tbaa !9
  %75 = sub nsw i64 %74, 1
  store i64 %75, ptr %12, align 8, !tbaa !9
  store i64 1, ptr %18, align 8, !tbaa !9
  br label %76

76:                                               ; preds = %95, %68
  %77 = load i64, ptr %18, align 8, !tbaa !9
  %78 = load i64, ptr %12, align 8, !tbaa !9
  %79 = icmp sle i64 %77, %78
  br i1 %79, label %80, label %98

80:                                               ; preds = %76
  %81 = load i64, ptr %18, align 8, !tbaa !9
  %82 = sub nsw i64 %81, 1
  %83 = load ptr, ptr %10, align 8, !tbaa !5
  %84 = load i64, ptr %83, align 8, !tbaa !9
  %85 = mul nsw i64 %82, %84
  %86 = add nsw i64 %85, 1
  store i64 %86, ptr %13, align 8, !tbaa !9
  %87 = load ptr, ptr %9, align 8, !tbaa !5
  %88 = load i64, ptr %13, align 8, !tbaa !9
  %89 = getelementptr inbounds %struct.complex, ptr %87, i64 %88
  %90 = getelementptr inbounds %struct.complex, ptr %89, i32 0, i32 0
  store float 0.000000e+00, ptr %90, align 4, !tbaa !11
  %91 = load ptr, ptr %9, align 8, !tbaa !5
  %92 = load i64, ptr %13, align 8, !tbaa !9
  %93 = getelementptr inbounds %struct.complex, ptr %91, i64 %92
  %94 = getelementptr inbounds %struct.complex, ptr %93, i32 0, i32 1
  store float 0.000000e+00, ptr %94, align 4, !tbaa !14
  br label %95

95:                                               ; preds = %80
  %96 = load i64, ptr %18, align 8, !tbaa !9
  %97 = add nsw i64 %96, 1
  store i64 %97, ptr %18, align 8, !tbaa !9
  br label %76, !llvm.loop !16

98:                                               ; preds = %76
  %99 = load ptr, ptr %8, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.complex, ptr %99, i32 0, i32 0
  %101 = load float, ptr %100, align 4, !tbaa !11
  %102 = fneg float %101
  %103 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 0
  store float %102, ptr %103, align 4, !tbaa !11
  %104 = load ptr, ptr %8, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.complex, ptr %104, i32 0, i32 1
  %106 = load float, ptr %105, align 4, !tbaa !14
  %107 = fneg float %106
  %108 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 1
  store float %107, ptr %108, align 4, !tbaa !14
  %109 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 0
  %110 = load float, ptr %109, align 4, !tbaa !11
  %111 = load ptr, ptr %8, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.complex, ptr %111, i32 0, i32 0
  store float %110, ptr %112, align 4, !tbaa !11
  %113 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 1
  %114 = load float, ptr %113, align 4, !tbaa !14
  %115 = load ptr, ptr %8, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.complex, ptr %115, i32 0, i32 1
  store float %114, ptr %116, align 4, !tbaa !14
  br label %117

117:                                              ; preds = %98, %63
  br label %172

118:                                              ; preds = %57
  %119 = call double @slapy2_(ptr noundef %22, ptr noundef %21)
  %120 = fptrunc double %119 to float
  store float %120, ptr %23, align 4, !tbaa !15
  %121 = load float, ptr %22, align 4, !tbaa !15
  %122 = load float, ptr %23, align 4, !tbaa !15
  %123 = fdiv float %121, %122
  %124 = fsub float 1.000000e+00, %123
  store float %124, ptr %14, align 4, !tbaa !15
  %125 = load float, ptr %21, align 4, !tbaa !15
  %126 = fneg float %125
  %127 = load float, ptr %23, align 4, !tbaa !15
  %128 = fdiv float %126, %127
  store float %128, ptr %15, align 4, !tbaa !15
  %129 = load float, ptr %14, align 4, !tbaa !15
  %130 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 0
  store float %129, ptr %130, align 4, !tbaa !11
  %131 = load float, ptr %15, align 4, !tbaa !15
  %132 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 1
  store float %131, ptr %132, align 4, !tbaa !14
  %133 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 0
  %134 = load float, ptr %133, align 4, !tbaa !11
  %135 = load ptr, ptr %11, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.complex, ptr %135, i32 0, i32 0
  store float %134, ptr %136, align 4, !tbaa !11
  %137 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 1
  %138 = load float, ptr %137, align 4, !tbaa !14
  %139 = load ptr, ptr %11, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.complex, ptr %139, i32 0, i32 1
  store float %138, ptr %140, align 4, !tbaa !14
  %141 = load ptr, ptr %7, align 8, !tbaa !5
  %142 = load i64, ptr %141, align 8, !tbaa !9
  %143 = sub nsw i64 %142, 1
  store i64 %143, ptr %12, align 8, !tbaa !9
  store i64 1, ptr %18, align 8, !tbaa !9
  br label %144

144:                                              ; preds = %163, %118
  %145 = load i64, ptr %18, align 8, !tbaa !9
  %146 = load i64, ptr %12, align 8, !tbaa !9
  %147 = icmp sle i64 %145, %146
  br i1 %147, label %148, label %166

148:                                              ; preds = %144
  %149 = load i64, ptr %18, align 8, !tbaa !9
  %150 = sub nsw i64 %149, 1
  %151 = load ptr, ptr %10, align 8, !tbaa !5
  %152 = load i64, ptr %151, align 8, !tbaa !9
  %153 = mul nsw i64 %150, %152
  %154 = add nsw i64 %153, 1
  store i64 %154, ptr %13, align 8, !tbaa !9
  %155 = load ptr, ptr %9, align 8, !tbaa !5
  %156 = load i64, ptr %13, align 8, !tbaa !9
  %157 = getelementptr inbounds %struct.complex, ptr %155, i64 %156
  %158 = getelementptr inbounds %struct.complex, ptr %157, i32 0, i32 0
  store float 0.000000e+00, ptr %158, align 4, !tbaa !11
  %159 = load ptr, ptr %9, align 8, !tbaa !5
  %160 = load i64, ptr %13, align 8, !tbaa !9
  %161 = getelementptr inbounds %struct.complex, ptr %159, i64 %160
  %162 = getelementptr inbounds %struct.complex, ptr %161, i32 0, i32 1
  store float 0.000000e+00, ptr %162, align 4, !tbaa !14
  br label %163

163:                                              ; preds = %148
  %164 = load i64, ptr %18, align 8, !tbaa !9
  %165 = add nsw i64 %164, 1
  store i64 %165, ptr %18, align 8, !tbaa !9
  br label %144, !llvm.loop !18

166:                                              ; preds = %144
  %167 = load float, ptr %23, align 4, !tbaa !15
  %168 = load ptr, ptr %8, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.complex, ptr %168, i32 0, i32 0
  store float %167, ptr %169, align 4, !tbaa !11
  %170 = load ptr, ptr %8, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.complex, ptr %170, i32 0, i32 1
  store float 0.000000e+00, ptr %171, align 4, !tbaa !14
  br label %172

172:                                              ; preds = %166, %117
  br label %393

173:                                              ; preds = %54, %37
  %174 = call double @slapy3_(ptr noundef %22, ptr noundef %21, ptr noundef %23)
  %175 = fptrunc double %174 to float
  store float %175, ptr %14, align 4, !tbaa !15
  %176 = call double @r_sign(ptr noundef %14, ptr noundef %22)
  %177 = fptrunc double %176 to float
  store float %177, ptr %20, align 4, !tbaa !15
  %178 = call double @slamch_(ptr noundef @.str)
  %179 = call double @slamch_(ptr noundef @.str.1)
  %180 = fdiv double %178, %179
  %181 = fptrunc double %180 to float
  store float %181, ptr %24, align 4, !tbaa !15
  %182 = load float, ptr %24, align 4, !tbaa !15
  %183 = fdiv float 1.000000e+00, %182
  store float %183, ptr %25, align 4, !tbaa !15
  store i64 0, ptr %19, align 8, !tbaa !9
  %184 = load float, ptr %20, align 4, !tbaa !15
  %185 = fcmp oge float %184, 0.000000e+00
  br i1 %185, label %186, label %188

186:                                              ; preds = %173
  %187 = load float, ptr %20, align 4, !tbaa !15
  br label %191

188:                                              ; preds = %173
  %189 = load float, ptr %20, align 4, !tbaa !15
  %190 = fneg float %189
  br label %191

191:                                              ; preds = %188, %186
  %192 = phi float [ %187, %186 ], [ %190, %188 ]
  %193 = fpext float %192 to double
  %194 = load float, ptr %24, align 4, !tbaa !15
  %195 = fpext float %194 to double
  %196 = fcmp olt double %193, %195
  br i1 %196, label %197, label %256

197:                                              ; preds = %191
  br label %198

198:                                              ; preds = %230, %197
  %199 = load i64, ptr %19, align 8, !tbaa !9
  %200 = add nsw i64 %199, 1
  store i64 %200, ptr %19, align 8, !tbaa !9
  %201 = load ptr, ptr %7, align 8, !tbaa !5
  %202 = load i64, ptr %201, align 8, !tbaa !9
  %203 = sub nsw i64 %202, 1
  store i64 %203, ptr %12, align 8, !tbaa !9
  %204 = load ptr, ptr %9, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.complex, ptr %204, i64 1
  %206 = load ptr, ptr %10, align 8, !tbaa !5
  %207 = call i32 @f2c_csscal(ptr noundef %12, ptr noundef %25, ptr noundef %205, ptr noundef %206)
  %208 = load float, ptr %25, align 4, !tbaa !15
  %209 = load float, ptr %20, align 4, !tbaa !15
  %210 = fmul float %209, %208
  store float %210, ptr %20, align 4, !tbaa !15
  %211 = load float, ptr %25, align 4, !tbaa !15
  %212 = load float, ptr %21, align 4, !tbaa !15
  %213 = fmul float %212, %211
  store float %213, ptr %21, align 4, !tbaa !15
  %214 = load float, ptr %25, align 4, !tbaa !15
  %215 = load float, ptr %22, align 4, !tbaa !15
  %216 = fmul float %215, %214
  store float %216, ptr %22, align 4, !tbaa !15
  %217 = load float, ptr %20, align 4, !tbaa !15
  %218 = fcmp oge float %217, 0.000000e+00
  br i1 %218, label %219, label %221

219:                                              ; preds = %198
  %220 = load float, ptr %20, align 4, !tbaa !15
  br label %224

221:                                              ; preds = %198
  %222 = load float, ptr %20, align 4, !tbaa !15
  %223 = fneg float %222
  br label %224

224:                                              ; preds = %221, %219
  %225 = phi float [ %220, %219 ], [ %223, %221 ]
  %226 = fpext float %225 to double
  %227 = load float, ptr %24, align 4, !tbaa !15
  %228 = fpext float %227 to double
  %229 = fcmp olt double %226, %228
  br i1 %229, label %230, label %231

230:                                              ; preds = %224
  br label %198

231:                                              ; preds = %224
  %232 = load ptr, ptr %7, align 8, !tbaa !5
  %233 = load i64, ptr %232, align 8, !tbaa !9
  %234 = sub nsw i64 %233, 1
  store i64 %234, ptr %12, align 8, !tbaa !9
  %235 = load ptr, ptr %9, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.complex, ptr %235, i64 1
  %237 = load ptr, ptr %10, align 8, !tbaa !5
  %238 = call double @f2c_scnrm2(ptr noundef %12, ptr noundef %236, ptr noundef %237)
  %239 = fptrunc double %238 to float
  store float %239, ptr %23, align 4, !tbaa !15
  %240 = load float, ptr %22, align 4, !tbaa !15
  %241 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 0
  store float %240, ptr %241, align 4, !tbaa !11
  %242 = load float, ptr %21, align 4, !tbaa !15
  %243 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 1
  store float %242, ptr %243, align 4, !tbaa !14
  %244 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 0
  %245 = load float, ptr %244, align 4, !tbaa !11
  %246 = load ptr, ptr %8, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.complex, ptr %246, i32 0, i32 0
  store float %245, ptr %247, align 4, !tbaa !11
  %248 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 1
  %249 = load float, ptr %248, align 4, !tbaa !14
  %250 = load ptr, ptr %8, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.complex, ptr %250, i32 0, i32 1
  store float %249, ptr %251, align 4, !tbaa !14
  %252 = call double @slapy3_(ptr noundef %22, ptr noundef %21, ptr noundef %23)
  %253 = fptrunc double %252 to float
  store float %253, ptr %14, align 4, !tbaa !15
  %254 = call double @r_sign(ptr noundef %14, ptr noundef %22)
  %255 = fptrunc double %254 to float
  store float %255, ptr %20, align 4, !tbaa !15
  br label %256

256:                                              ; preds = %231, %191
  %257 = load ptr, ptr %8, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.complex, ptr %257, i32 0, i32 0
  %259 = load float, ptr %258, align 4, !tbaa !11
  %260 = load float, ptr %20, align 4, !tbaa !15
  %261 = fadd float %259, %260
  %262 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 0
  store float %261, ptr %262, align 4, !tbaa !11
  %263 = load ptr, ptr %8, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.complex, ptr %263, i32 0, i32 1
  %265 = load float, ptr %264, align 4, !tbaa !14
  %266 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 1
  store float %265, ptr %266, align 4, !tbaa !14
  %267 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 0
  %268 = load float, ptr %267, align 4, !tbaa !11
  %269 = load ptr, ptr %8, align 8, !tbaa !5
  %270 = getelementptr inbounds %struct.complex, ptr %269, i32 0, i32 0
  store float %268, ptr %270, align 4, !tbaa !11
  %271 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 1
  %272 = load float, ptr %271, align 4, !tbaa !14
  %273 = load ptr, ptr %8, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.complex, ptr %273, i32 0, i32 1
  store float %272, ptr %274, align 4, !tbaa !14
  %275 = load float, ptr %20, align 4, !tbaa !15
  %276 = fcmp olt float %275, 0.000000e+00
  br i1 %276, label %277, label %308

277:                                              ; preds = %256
  %278 = load float, ptr %20, align 4, !tbaa !15
  %279 = fneg float %278
  store float %279, ptr %20, align 4, !tbaa !15
  %280 = load ptr, ptr %8, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.complex, ptr %280, i32 0, i32 0
  %282 = load float, ptr %281, align 4, !tbaa !11
  %283 = fneg float %282
  %284 = getelementptr inbounds %struct.complex, ptr %17, i32 0, i32 0
  store float %283, ptr %284, align 4, !tbaa !11
  %285 = load ptr, ptr %8, align 8, !tbaa !5
  %286 = getelementptr inbounds %struct.complex, ptr %285, i32 0, i32 1
  %287 = load float, ptr %286, align 4, !tbaa !14
  %288 = fneg float %287
  %289 = getelementptr inbounds %struct.complex, ptr %17, i32 0, i32 1
  store float %288, ptr %289, align 4, !tbaa !14
  %290 = getelementptr inbounds %struct.complex, ptr %17, i32 0, i32 0
  %291 = load float, ptr %290, align 4, !tbaa !11
  %292 = load float, ptr %20, align 4, !tbaa !15
  %293 = fdiv float %291, %292
  %294 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 0
  store float %293, ptr %294, align 4, !tbaa !11
  %295 = getelementptr inbounds %struct.complex, ptr %17, i32 0, i32 1
  %296 = load float, ptr %295, align 4, !tbaa !14
  %297 = load float, ptr %20, align 4, !tbaa !15
  %298 = fdiv float %296, %297
  %299 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 1
  store float %298, ptr %299, align 4, !tbaa !14
  %300 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 0
  %301 = load float, ptr %300, align 4, !tbaa !11
  %302 = load ptr, ptr %11, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.complex, ptr %302, i32 0, i32 0
  store float %301, ptr %303, align 4, !tbaa !11
  %304 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 1
  %305 = load float, ptr %304, align 4, !tbaa !14
  %306 = load ptr, ptr %11, align 8, !tbaa !5
  %307 = getelementptr inbounds %struct.complex, ptr %306, i32 0, i32 1
  store float %305, ptr %307, align 4, !tbaa !14
  br label %357

308:                                              ; preds = %256
  %309 = load float, ptr %21, align 4, !tbaa !15
  %310 = load float, ptr %21, align 4, !tbaa !15
  %311 = load ptr, ptr %8, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.complex, ptr %311, i32 0, i32 0
  %313 = load float, ptr %312, align 4, !tbaa !11
  %314 = fdiv float %310, %313
  %315 = fmul float %309, %314
  store float %315, ptr %22, align 4, !tbaa !15
  %316 = load float, ptr %23, align 4, !tbaa !15
  %317 = load float, ptr %23, align 4, !tbaa !15
  %318 = load ptr, ptr %8, align 8, !tbaa !5
  %319 = getelementptr inbounds %struct.complex, ptr %318, i32 0, i32 0
  %320 = load float, ptr %319, align 4, !tbaa !11
  %321 = fdiv float %317, %320
  %322 = load float, ptr %22, align 4, !tbaa !15
  %323 = call float @llvm.fmuladd.f32(float %316, float %321, float %322)
  store float %323, ptr %22, align 4, !tbaa !15
  %324 = load float, ptr %22, align 4, !tbaa !15
  %325 = load float, ptr %20, align 4, !tbaa !15
  %326 = fdiv float %324, %325
  store float %326, ptr %14, align 4, !tbaa !15
  %327 = load float, ptr %21, align 4, !tbaa !15
  %328 = fneg float %327
  %329 = load float, ptr %20, align 4, !tbaa !15
  %330 = fdiv float %328, %329
  store float %330, ptr %15, align 4, !tbaa !15
  %331 = load float, ptr %14, align 4, !tbaa !15
  %332 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 0
  store float %331, ptr %332, align 4, !tbaa !11
  %333 = load float, ptr %15, align 4, !tbaa !15
  %334 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 1
  store float %333, ptr %334, align 4, !tbaa !14
  %335 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 0
  %336 = load float, ptr %335, align 4, !tbaa !11
  %337 = load ptr, ptr %11, align 8, !tbaa !5
  %338 = getelementptr inbounds %struct.complex, ptr %337, i32 0, i32 0
  store float %336, ptr %338, align 4, !tbaa !11
  %339 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 1
  %340 = load float, ptr %339, align 4, !tbaa !14
  %341 = load ptr, ptr %11, align 8, !tbaa !5
  %342 = getelementptr inbounds %struct.complex, ptr %341, i32 0, i32 1
  store float %340, ptr %342, align 4, !tbaa !14
  %343 = load float, ptr %22, align 4, !tbaa !15
  %344 = fneg float %343
  store float %344, ptr %14, align 4, !tbaa !15
  %345 = load float, ptr %14, align 4, !tbaa !15
  %346 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 0
  store float %345, ptr %346, align 4, !tbaa !11
  %347 = load float, ptr %21, align 4, !tbaa !15
  %348 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 1
  store float %347, ptr %348, align 4, !tbaa !14
  %349 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 0
  %350 = load float, ptr %349, align 4, !tbaa !11
  %351 = load ptr, ptr %8, align 8, !tbaa !5
  %352 = getelementptr inbounds %struct.complex, ptr %351, i32 0, i32 0
  store float %350, ptr %352, align 4, !tbaa !11
  %353 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 1
  %354 = load float, ptr %353, align 4, !tbaa !14
  %355 = load ptr, ptr %8, align 8, !tbaa !5
  %356 = getelementptr inbounds %struct.complex, ptr %355, i32 0, i32 1
  store float %354, ptr %356, align 4, !tbaa !14
  br label %357

357:                                              ; preds = %308, %277
  %358 = load ptr, ptr %8, align 8, !tbaa !5
  call void @cladiv_(ptr noundef %16, ptr noundef @c_b5, ptr noundef %358)
  %359 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 0
  %360 = load float, ptr %359, align 4, !tbaa !11
  %361 = load ptr, ptr %8, align 8, !tbaa !5
  %362 = getelementptr inbounds %struct.complex, ptr %361, i32 0, i32 0
  store float %360, ptr %362, align 4, !tbaa !11
  %363 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 1
  %364 = load float, ptr %363, align 4, !tbaa !14
  %365 = load ptr, ptr %8, align 8, !tbaa !5
  %366 = getelementptr inbounds %struct.complex, ptr %365, i32 0, i32 1
  store float %364, ptr %366, align 4, !tbaa !14
  %367 = load ptr, ptr %7, align 8, !tbaa !5
  %368 = load i64, ptr %367, align 8, !tbaa !9
  %369 = sub nsw i64 %368, 1
  store i64 %369, ptr %12, align 8, !tbaa !9
  %370 = load ptr, ptr %8, align 8, !tbaa !5
  %371 = load ptr, ptr %9, align 8, !tbaa !5
  %372 = getelementptr inbounds %struct.complex, ptr %371, i64 1
  %373 = load ptr, ptr %10, align 8, !tbaa !5
  %374 = call i32 @f2c_cscal(ptr noundef %12, ptr noundef %370, ptr noundef %372, ptr noundef %373)
  %375 = load i64, ptr %19, align 8, !tbaa !9
  store i64 %375, ptr %12, align 8, !tbaa !9
  store i64 1, ptr %18, align 8, !tbaa !9
  br label %376

376:                                              ; preds = %384, %357
  %377 = load i64, ptr %18, align 8, !tbaa !9
  %378 = load i64, ptr %12, align 8, !tbaa !9
  %379 = icmp sle i64 %377, %378
  br i1 %379, label %380, label %387

380:                                              ; preds = %376
  %381 = load float, ptr %24, align 4, !tbaa !15
  %382 = load float, ptr %20, align 4, !tbaa !15
  %383 = fmul float %382, %381
  store float %383, ptr %20, align 4, !tbaa !15
  br label %384

384:                                              ; preds = %380
  %385 = load i64, ptr %18, align 8, !tbaa !9
  %386 = add nsw i64 %385, 1
  store i64 %386, ptr %18, align 8, !tbaa !9
  br label %376, !llvm.loop !19

387:                                              ; preds = %376
  %388 = load float, ptr %20, align 4, !tbaa !15
  %389 = load ptr, ptr %8, align 8, !tbaa !5
  %390 = getelementptr inbounds %struct.complex, ptr %389, i32 0, i32 0
  store float %388, ptr %390, align 4, !tbaa !11
  %391 = load ptr, ptr %8, align 8, !tbaa !5
  %392 = getelementptr inbounds %struct.complex, ptr %391, i32 0, i32 1
  store float 0.000000e+00, ptr %392, align 4, !tbaa !14
  br label %393

393:                                              ; preds = %387, %172
  store i32 0, ptr %6, align 4
  store i32 1, ptr %26, align 4
  br label %394

394:                                              ; preds = %393, %32
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  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 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  %395 = load i32, ptr %6, align 4
  ret i32 %395
}

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

declare double @f2c_scnrm2(ptr noundef, ptr noundef, ptr noundef) #2

declare double @r_imag(ptr noundef) #2

declare double @slapy2_(ptr noundef, ptr noundef) #2

declare double @slapy3_(ptr noundef, ptr noundef, ptr noundef) #2

declare double @r_sign(ptr noundef, ptr noundef) #2

declare double @slamch_(ptr noundef) #2

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

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

declare void @cladiv_(ptr noundef, ptr noundef, ptr noundef) #2

declare i32 @f2c_cscal(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"="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, !13, i64 0}
!12 = !{!"", !13, i64 0, !13, i64 4}
!13 = !{!"float", !7, i64 0}
!14 = !{!12, !13, i64 4}
!15 = !{!13, !13, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = distinct !{!19, !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 }

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@c_b5 = external hidden global %struct.complex, align 4

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @clarfp_(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #0 {
  %6 = alloca i64, align 8
  %7 = alloca float, align 4
  %8 = alloca %struct.complex, align 8
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #4
  %13 = load i64, ptr %0, align 8, !tbaa !5
  %14 = icmp slt i64 %13, 1
  br i1 %14, label %15, label %16

15:                                               ; preds = %5
  store <2 x float> zeroinitializer, ptr %4, align 4, !tbaa !9
  br label %143

16:                                               ; preds = %5
  %17 = add nsw i64 %13, -1
  store i64 %17, ptr %6, align 8, !tbaa !5
  %18 = call double @f2c_scnrm2(ptr noundef nonnull %6, ptr noundef %2, ptr noundef %3) #4
  %19 = fptrunc double %18 to float
  store float %19, ptr %11, align 4, !tbaa !9
  %20 = load float, ptr %1, align 4, !tbaa !11
  store float %20, ptr %10, align 4, !tbaa !9
  %21 = call double @r_imag(ptr noundef nonnull %1) #4
  %22 = fptrunc double %21 to float
  store float %22, ptr %9, align 4, !tbaa !9
  %23 = fcmp oeq float %19, 0.000000e+00
  %24 = fcmp oeq float %22, 0.000000e+00
  %or.cond = select i1 %23, i1 %24, i1 false
  br i1 %or.cond, label %25, label %57

25:                                               ; preds = %16
  %26 = fcmp ult float %20, 0.000000e+00
  br i1 %26, label %28, label %27

27:                                               ; preds = %25
  store <2 x float> zeroinitializer, ptr %4, align 4, !tbaa !9
  br label %143

28:                                               ; preds = %25
  store <2 x float> <float 2.000000e+00, float 0.000000e+00>, ptr %4, align 4, !tbaa !9
  %29 = load i64, ptr %0, align 8, !tbaa !5
  %.not103.not107 = icmp sgt i64 %29, 1
  br i1 %.not103.not107, label %.lr.ph110, label %._crit_edge111

.lr.ph110:                                        ; preds = %28
  %30 = load i64, ptr %3, align 8, !tbaa !5
  %31 = add nsw i64 %29, -1
  %min.iters.check = icmp ugt i64 %29, 4
  %ident.check.not = icmp eq i64 %30, 1
  %or.cond117 = select i1 %min.iters.check, i1 %ident.check.not, i1 false
  br i1 %or.cond117, label %vector.ph, label %scalar.ph.preheader

vector.ph:                                        ; preds = %.lr.ph110
  %n.vec = and i64 %31, -4
  %ind.end = or disjoint i64 %n.vec, 1
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %32 = or disjoint i64 %index, 2
  %33 = getelementptr %struct.complex, ptr %2, i64 %index
  %34 = getelementptr %struct.complex, ptr %2, i64 %32
  store <4 x float> zeroinitializer, ptr %33, align 4, !tbaa !9
  store <4 x float> zeroinitializer, ptr %34, align 4, !tbaa !9
  %index.next = add nuw i64 %index, 4
  %35 = icmp eq i64 %index.next, %n.vec
  br i1 %35, label %middle.block, label %vector.body, !llvm.loop !13

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %31, %n.vec
  br i1 %cmp.n, label %._crit_edge111, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %.lr.ph110
  %.0100108.ph = phi i64 [ 1, %.lr.ph110 ], [ %ind.end, %middle.block ]
  %36 = sub i64 %29, %.0100108.ph
  %xtraiter120 = and i64 %36, 3
  %lcmp.mod121.not = icmp eq i64 %xtraiter120, 0
  br i1 %lcmp.mod121.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol

scalar.ph.prol:                                   ; preds = %scalar.ph.preheader, %scalar.ph.prol
  %.0100108.prol = phi i64 [ %40, %scalar.ph.prol ], [ %.0100108.ph, %scalar.ph.preheader ]
  %prol.iter = phi i64 [ %prol.iter.next, %scalar.ph.prol ], [ 0, %scalar.ph.preheader ]
  %37 = add nsw i64 %.0100108.prol, -1
  %38 = mul nsw i64 %30, %37
  %39 = getelementptr %struct.complex, ptr %2, i64 %38
  store <2 x float> zeroinitializer, ptr %39, align 4, !tbaa !9
  %40 = add nuw nsw i64 %.0100108.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter120
  br i1 %prol.iter.cmp.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol, !llvm.loop !17

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol, %scalar.ph.preheader
  %.0100108.unr = phi i64 [ %.0100108.ph, %scalar.ph.preheader ], [ %40, %scalar.ph.prol ]
  %41 = sub i64 %.0100108.ph, %29
  %42 = icmp ugt i64 %41, -4
  br i1 %42, label %._crit_edge111, label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.prol.loopexit, %scalar.ph
  %.0100108 = phi i64 [ %54, %scalar.ph ], [ %.0100108.unr, %scalar.ph.prol.loopexit ]
  %43 = add nsw i64 %.0100108, -1
  %44 = mul nsw i64 %30, %43
  %45 = getelementptr %struct.complex, ptr %2, i64 %44
  store <2 x float> zeroinitializer, ptr %45, align 4, !tbaa !9
  %46 = mul nsw i64 %30, %.0100108
  %47 = getelementptr %struct.complex, ptr %2, i64 %46
  store <2 x float> zeroinitializer, ptr %47, align 4, !tbaa !9
  %48 = add nsw i64 %.0100108, 1
  %49 = mul nsw i64 %30, %48
  %50 = getelementptr %struct.complex, ptr %2, i64 %49
  store <2 x float> zeroinitializer, ptr %50, align 4, !tbaa !9
  %51 = add nsw i64 %.0100108, 2
  %52 = mul nsw i64 %30, %51
  %53 = getelementptr %struct.complex, ptr %2, i64 %52
  store <2 x float> zeroinitializer, ptr %53, align 4, !tbaa !9
  %54 = add nuw nsw i64 %.0100108, 4
  %exitcond113.not.3 = icmp eq i64 %54, %29
  br i1 %exitcond113.not.3, label %._crit_edge111, label %scalar.ph, !llvm.loop !19

._crit_edge111:                                   ; preds = %scalar.ph.prol.loopexit, %scalar.ph, %middle.block, %28
  %55 = load <2 x float>, ptr %1, align 4, !tbaa !9
  %56 = fneg <2 x float> %55
  store <2 x float> %56, ptr %1, align 4, !tbaa !9
  br label %143

57:                                               ; preds = %16
  %58 = call double @slapy3_(ptr noundef nonnull %10, ptr noundef nonnull %9, ptr noundef nonnull %11) #4
  %59 = fptrunc double %58 to float
  store float %59, ptr %7, align 4, !tbaa !9
  %60 = call double @r_sign(ptr noundef nonnull %7, ptr noundef nonnull %10) #4
  %61 = fptrunc double %60 to float
  %62 = call double @slamch_(ptr noundef nonnull @.str) #4
  %63 = call double @slamch_(ptr noundef nonnull @.str.1) #4
  %64 = fdiv double %62, %63
  %65 = fptrunc double %64 to float
  %66 = fdiv float 1.000000e+00, %65
  store float %66, ptr %12, align 4, !tbaa !9
  %67 = fcmp oge float %61, 0.000000e+00
  %68 = fneg float %61
  %69 = select i1 %67, float %61, float %68
  %70 = fcmp olt float %69, %65
  br i1 %70, label %.preheader, label %98

.preheader:                                       ; preds = %57, %.preheader
  %.098 = phi i64 [ %71, %.preheader ], [ 0, %57 ]
  %.097 = phi float [ %76, %.preheader ], [ %61, %57 ]
  %71 = add nuw nsw i64 %.098, 1
  %72 = load i64, ptr %0, align 8, !tbaa !5
  %73 = add nsw i64 %72, -1
  store i64 %73, ptr %6, align 8, !tbaa !5
  %74 = call i32 @f2c_csscal(ptr noundef nonnull %6, ptr noundef nonnull %12, ptr noundef %2, ptr noundef %3) #4
  %75 = load float, ptr %12, align 4, !tbaa !9
  %76 = fmul float %.097, %75
  %77 = load float, ptr %9, align 4, !tbaa !9
  %78 = fmul float %75, %77
  store float %78, ptr %9, align 4, !tbaa !9
  %79 = load float, ptr %10, align 4, !tbaa !9
  %80 = fmul float %75, %79
  store float %80, ptr %10, align 4, !tbaa !9
  %81 = fcmp oge float %76, 0.000000e+00
  %82 = fneg float %76
  %83 = select i1 %81, float %76, float %82
  %84 = fcmp olt float %83, %65
  br i1 %84, label %.preheader, label %85

85:                                               ; preds = %.preheader
  %86 = load i64, ptr %0, align 8, !tbaa !5
  %87 = add nsw i64 %86, -1
  store i64 %87, ptr %6, align 8, !tbaa !5
  %88 = call double @f2c_scnrm2(ptr noundef nonnull %6, ptr noundef %2, ptr noundef %3) #4
  %89 = fptrunc double %88 to float
  store float %89, ptr %11, align 4, !tbaa !9
  %90 = load float, ptr %10, align 4, !tbaa !9
  store float %90, ptr %8, align 8, !tbaa !11
  %91 = load float, ptr %9, align 4, !tbaa !9
  %92 = getelementptr inbounds i8, ptr %8, i64 4
  store float %91, ptr %92, align 4, !tbaa !20
  store float %90, ptr %1, align 4, !tbaa !11
  %93 = getelementptr inbounds i8, ptr %1, i64 4
  store float %91, ptr %93, align 4, !tbaa !20
  %94 = call double @slapy3_(ptr noundef nonnull %10, ptr noundef nonnull %9, ptr noundef nonnull %11) #4
  %95 = fptrunc double %94 to float
  store float %95, ptr %7, align 4, !tbaa !9
  %96 = call double @r_sign(ptr noundef nonnull %7, ptr noundef nonnull %10) #4
  %97 = fptrunc double %96 to float
  br label %98

98:                                               ; preds = %85, %57
  %.199 = phi i64 [ %71, %85 ], [ 0, %57 ]
  %.1 = phi float [ %97, %85 ], [ %61, %57 ]
  %99 = load float, ptr %1, align 4, !tbaa !11
  %100 = fadd float %.1, %99
  %101 = getelementptr inbounds i8, ptr %1, i64 4
  %102 = load float, ptr %101, align 4, !tbaa !20
  store float %100, ptr %1, align 4, !tbaa !11
  %103 = fcmp olt float %.1, 0.000000e+00
  br i1 %103, label %104, label %111

104:                                              ; preds = %98
  %105 = fneg float %.1
  %106 = insertelement <2 x float> poison, float %100, i64 0
  %107 = insertelement <2 x float> %106, float %102, i64 1
  %108 = insertelement <2 x float> poison, float %.1, i64 0
  %109 = shufflevector <2 x float> %108, <2 x float> poison, <2 x i32> zeroinitializer
  %110 = fdiv <2 x float> %107, %109
  store <2 x float> %110, ptr %4, align 4, !tbaa !9
  br label %127

111:                                              ; preds = %98
  %112 = load float, ptr %9, align 4, !tbaa !9
  %113 = fdiv float %112, %100
  %114 = fmul float %112, %113
  %115 = load float, ptr %11, align 4, !tbaa !9
  %116 = fdiv float %115, %100
  %117 = call float @llvm.fmuladd.f32(float %115, float %116, float %114)
  store float %117, ptr %10, align 4, !tbaa !9
  %118 = fneg float %112
  %119 = insertelement <2 x float> poison, float %117, i64 0
  %120 = insertelement <2 x float> %119, float %118, i64 1
  %121 = insertelement <2 x float> poison, float %.1, i64 0
  %122 = shufflevector <2 x float> %121, <2 x float> poison, <2 x i32> zeroinitializer
  %123 = fdiv <2 x float> %120, %122
  store <2 x float> %123, ptr %4, align 4, !tbaa !9
  %124 = fneg float %117
  store float %124, ptr %7, align 4, !tbaa !9
  store float %124, ptr %1, align 4, !tbaa !11
  store float %112, ptr %101, align 4, !tbaa !20
  %125 = insertelement <2 x float> poison, float %124, i64 0
  %126 = insertelement <2 x float> %125, float %112, i64 1
  br label %127

127:                                              ; preds = %111, %104
  %.2 = phi float [ %105, %104 ], [ %.1, %111 ]
  %128 = phi <2 x float> [ %110, %104 ], [ %126, %111 ]
  store <2 x float> %128, ptr %8, align 8
  call void @cladiv_(ptr noundef nonnull %8, ptr noundef nonnull @c_b5, ptr noundef nonnull %1) #4
  %129 = load <2 x float>, ptr %8, align 8, !tbaa !9
  store <2 x float> %129, ptr %1, align 4, !tbaa !9
  %130 = load i64, ptr %0, align 8, !tbaa !5
  %131 = add nsw i64 %130, -1
  store i64 %131, ptr %6, align 8, !tbaa !5
  %132 = call i32 @f2c_cscal(ptr noundef nonnull %6, ptr noundef nonnull %1, ptr noundef %2, ptr noundef %3) #4
  %.not104 = icmp slt i64 %.199, 1
  br i1 %.not104, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %127
  %xtraiter = and i64 %.199, 7
  %133 = icmp ult i64 %.199, 8
  br i1 %133, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph.preheader.new

.lr.ph.preheader.new:                             ; preds = %.lr.ph.preheader
  %unroll_iter = and i64 %.199, 9223372036854775800
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph, %.lr.ph.preheader.new
  %.3106 = phi float [ %.2, %.lr.ph.preheader.new ], [ %141, %.lr.ph ]
  %niter = phi i64 [ 0, %.lr.ph.preheader.new ], [ %niter.next.7, %.lr.ph ]
  %134 = fmul float %.3106, %65
  %135 = fmul float %134, %65
  %136 = fmul float %135, %65
  %137 = fmul float %136, %65
  %138 = fmul float %137, %65
  %139 = fmul float %138, %65
  %140 = fmul float %139, %65
  %141 = fmul float %140, %65
  %niter.next.7 = add i64 %niter, 8
  %niter.ncmp.7 = icmp eq i64 %niter.next.7, %unroll_iter
  br i1 %niter.ncmp.7, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph, !llvm.loop !21

._crit_edge.loopexit.unr-lcssa:                   ; preds = %.lr.ph, %.lr.ph.preheader
  %.lcssa.ph = phi float [ poison, %.lr.ph.preheader ], [ %141, %.lr.ph ]
  %.3106.unr = phi float [ %.2, %.lr.ph.preheader ], [ %141, %.lr.ph ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.lr.ph.epil

.lr.ph.epil:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.lr.ph.epil
  %.3106.epil = phi float [ %142, %.lr.ph.epil ], [ %.3106.unr, %._crit_edge.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.lr.ph.epil ], [ 0, %._crit_edge.loopexit.unr-lcssa ]
  %142 = fmul float %.3106.epil, %65
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge, label %.lr.ph.epil, !llvm.loop !22

._crit_edge:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.lr.ph.epil, %127
  %.3.lcssa = phi float [ %.2, %127 ], [ %.lcssa.ph, %._crit_edge.loopexit.unr-lcssa ], [ %142, %.lr.ph.epil ]
  store float %.3.lcssa, ptr %1, align 4, !tbaa !11
  store float 0.000000e+00, ptr %101, align 4, !tbaa !20
  br label %143

143:                                              ; preds = %._crit_edge, %27, %._crit_edge111, %15
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #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 double @f2c_scnrm2(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare double @r_imag(ptr noundef) local_unnamed_addr #2

declare double @slapy3_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare double @r_sign(ptr noundef, ptr noundef) local_unnamed_addr #2

declare double @slamch_(ptr noundef) local_unnamed_addr #2

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

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

declare void @cladiv_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

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

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 = !{!"float", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"", !10, i64 0, !10, i64 4}
!13 = distinct !{!13, !14, !15, !16}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!"llvm.loop.isvectorized", i32 1}
!16 = !{!"llvm.loop.unroll.runtime.disable"}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.unroll.disable"}
!19 = distinct !{!19, !14, !15}
!20 = !{!12, !10, i64 4}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !18}


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