; LLVM IR from kkumatani/distant_speech_recognition :: btk20_src/matrix/linpack_c.ll (Z5cchddPSt7complexIfEiiS1_S1_iiS1_PfS2_S1_)

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

%"class.std::complex" = type { { float, float } }

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8)) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZSt4realIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8)) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt4sqrtf(float noundef) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #3

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z5cchddPSt7complexIfEiiS1_S1_iiS1_PfS2_S1_(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #6 {
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca float, align 4
  %25 = alloca float, align 4
  %26 = alloca float, align 4
  %27 = alloca %"class.std::complex", align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca float, align 4
  %33 = alloca float, align 4
  %34 = alloca %"class.std::complex", align 4
  %35 = alloca %"class.std::complex", align 4
  %36 = alloca %"class.std::complex", align 4
  %37 = alloca %"class.std::complex", align 4
  %38 = alloca %"class.std::complex", align 4
  %39 = alloca %"class.std::complex", align 4
  %40 = alloca %"class.std::complex", align 4
  %41 = alloca %"class.std::complex", align 4
  %42 = alloca %"class.std::complex", align 4
  %43 = alloca %"class.std::complex", align 4
  %44 = alloca %"class.std::complex", align 4
  %45 = alloca i32, align 4
  %46 = alloca %"class.std::complex", align 4
  %47 = alloca %"class.std::complex", align 4
  %48 = alloca %"class.std::complex", align 4
  %49 = alloca %"class.std::complex", align 4
  %50 = alloca %"class.std::complex", align 4
  %51 = alloca %"class.std::complex", align 4
  %52 = alloca %"class.std::complex", align 4
  %53 = alloca %"class.std::complex", align 4
  %54 = alloca %"class.std::complex", align 4
  %55 = alloca %"class.std::complex", align 4
  %56 = alloca %"class.std::complex", align 4
  %57 = alloca %"class.std::complex", align 4
  %58 = alloca %"class.std::complex", align 4
  %59 = alloca %"class.std::complex", align 4
  %60 = alloca %"class.std::complex", align 4
  %61 = alloca %"class.std::complex", align 4
  %62 = alloca %"class.std::complex", align 4
  %63 = alloca %"class.std::complex", align 4
  store ptr %0, ptr %13, align 8, !tbaa !5
  store i32 %1, ptr %14, align 4, !tbaa !9
  store i32 %2, ptr %15, align 4, !tbaa !9
  store ptr %3, ptr %16, align 8, !tbaa !5
  store ptr %4, ptr %17, align 8, !tbaa !5
  store i32 %5, ptr %18, align 4, !tbaa !9
  store i32 %6, ptr %19, align 4, !tbaa !9
  store ptr %7, ptr %20, align 8, !tbaa !5
  store ptr %8, ptr %21, align 8, !tbaa !5
  store ptr %9, ptr %22, align 8, !tbaa !5
  store ptr %10, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #10
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %27, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #10
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %34, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #10
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %35, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #10
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %36, float noundef 0.000000e+00, float noundef 0.000000e+00)
  store i32 0, ptr %30, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #10
  %64 = load ptr, ptr %16, align 8, !tbaa !5
  %65 = getelementptr inbounds %"class.std::complex", ptr %64, i64 0
  %66 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %65)
  %67 = getelementptr inbounds %"class.std::complex", ptr %38, i32 0, i32 0
  store <2 x float> %66, ptr %67, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #10
  %68 = load ptr, ptr %13, align 8, !tbaa !5
  %69 = load i32, ptr %14, align 4, !tbaa !9
  %70 = mul nsw i32 0, %69
  %71 = add nsw i32 0, %70
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds %"class.std::complex", ptr %68, i64 %72
  %74 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %73)
  %75 = getelementptr inbounds %"class.std::complex", ptr %39, i32 0, i32 0
  store <2 x float> %74, ptr %75, align 4
  %76 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %38, ptr noundef nonnull align 4 dereferenceable(8) %39)
  %77 = getelementptr inbounds %"class.std::complex", ptr %37, i32 0, i32 0
  store <2 x float> %76, ptr %77, align 4
  %78 = load ptr, ptr %23, align 8, !tbaa !5
  %79 = getelementptr inbounds %"class.std::complex", ptr %78, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %79, ptr align 4 %37, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #10
  store i32 2, ptr %31, align 4, !tbaa !9
  br label %80

80:                                               ; preds = %136, %11
  %81 = load i32, ptr %31, align 4, !tbaa !9
  %82 = load i32, ptr %15, align 4, !tbaa !9
  %83 = icmp sle i32 %81, %82
  br i1 %83, label %84, label %139

84:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #10
  %85 = load ptr, ptr %16, align 8, !tbaa !5
  %86 = load i32, ptr %31, align 4, !tbaa !9
  %87 = sub nsw i32 %86, 1
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds %"class.std::complex", ptr %85, i64 %88
  %90 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %89)
  %91 = getelementptr inbounds %"class.std::complex", ptr %41, i32 0, i32 0
  store <2 x float> %90, ptr %91, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #10
  %92 = load i32, ptr %31, align 4, !tbaa !9
  %93 = sub nsw i32 %92, 1
  %94 = load ptr, ptr %13, align 8, !tbaa !5
  %95 = getelementptr inbounds %"class.std::complex", ptr %94, i64 0
  %96 = load i32, ptr %31, align 4, !tbaa !9
  %97 = sub nsw i32 %96, 1
  %98 = load i32, ptr %14, align 4, !tbaa !9
  %99 = mul nsw i32 %97, %98
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds %"class.std::complex", ptr %95, i64 %100
  %102 = load ptr, ptr %23, align 8, !tbaa !5
  %103 = call <2 x float> @_Z5cdotciPSt7complexIfEiS1_i(i32 noundef %93, ptr noundef %101, i32 noundef 1, ptr noundef %102, i32 noundef 1)
  %104 = getelementptr inbounds %"class.std::complex", ptr %42, i32 0, i32 0
  store <2 x float> %103, ptr %104, align 4
  %105 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %41, ptr noundef nonnull align 4 dereferenceable(8) %42)
  %106 = getelementptr inbounds %"class.std::complex", ptr %40, i32 0, i32 0
  store <2 x float> %105, ptr %106, align 4
  %107 = load ptr, ptr %23, align 8, !tbaa !5
  %108 = load i32, ptr %31, align 4, !tbaa !9
  %109 = sub nsw i32 %108, 1
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds %"class.std::complex", ptr %107, i64 %110
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %111, ptr align 4 %40, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #10
  %112 = load ptr, ptr %23, align 8, !tbaa !5
  %113 = load i32, ptr %31, align 4, !tbaa !9
  %114 = sub nsw i32 %113, 1
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds %"class.std::complex", ptr %112, i64 %115
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #10
  %117 = load ptr, ptr %13, align 8, !tbaa !5
  %118 = load i32, ptr %31, align 4, !tbaa !9
  %119 = sub nsw i32 %118, 1
  %120 = load i32, ptr %31, align 4, !tbaa !9
  %121 = sub nsw i32 %120, 1
  %122 = load i32, ptr %14, align 4, !tbaa !9
  %123 = mul nsw i32 %121, %122
  %124 = add nsw i32 %119, %123
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds %"class.std::complex", ptr %117, i64 %125
  %127 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %126)
  %128 = getelementptr inbounds %"class.std::complex", ptr %44, i32 0, i32 0
  store <2 x float> %127, ptr %128, align 4
  %129 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %116, ptr noundef nonnull align 4 dereferenceable(8) %44)
  %130 = getelementptr inbounds %"class.std::complex", ptr %43, i32 0, i32 0
  store <2 x float> %129, ptr %130, align 4
  %131 = load ptr, ptr %23, align 8, !tbaa !5
  %132 = load i32, ptr %31, align 4, !tbaa !9
  %133 = sub nsw i32 %132, 1
  %134 = sext i32 %133 to i64
  %135 = getelementptr inbounds %"class.std::complex", ptr %131, i64 %134
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %135, ptr align 4 %43, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #10
  br label %136

136:                                              ; preds = %84
  %137 = load i32, ptr %31, align 4, !tbaa !9
  %138 = add nsw i32 %137, 1
  store i32 %138, ptr %31, align 4, !tbaa !9
  br label %80, !llvm.loop !13

139:                                              ; preds = %80
  %140 = load i32, ptr %15, align 4, !tbaa !9
  %141 = load ptr, ptr %23, align 8, !tbaa !5
  %142 = call noundef float @_Z6scnrm2iPSt7complexIfEi(i32 noundef %140, ptr noundef %141, i32 noundef 1)
  store float %142, ptr %32, align 4, !tbaa !15
  %143 = load float, ptr %32, align 4, !tbaa !15
  %144 = fpext float %143 to double
  %145 = fcmp ole double 1.000000e+00, %144
  br i1 %145, label %146, label %148

146:                                              ; preds = %139
  store i32 -1, ptr %30, align 4, !tbaa !9
  %147 = load i32, ptr %30, align 4, !tbaa !9
  store i32 %147, ptr %12, align 4
  store i32 1, ptr %45, align 4
  br label %442

148:                                              ; preds = %139
  %149 = load float, ptr %32, align 4, !tbaa !15
  %150 = load float, ptr %32, align 4, !tbaa !15
  %151 = fmul float %149, %150
  %152 = fpext float %151 to double
  %153 = fsub double 1.000000e+00, %152
  %154 = call double @sqrt(double noundef %153) #10
  %155 = fptrunc double %154 to float
  store float %155, ptr %25, align 4, !tbaa !15
  store i32 1, ptr %29, align 4, !tbaa !9
  br label %156

156:                                              ; preds = %213, %148
  %157 = load i32, ptr %29, align 4, !tbaa !9
  %158 = load i32, ptr %15, align 4, !tbaa !9
  %159 = icmp sle i32 %157, %158
  br i1 %159, label %160, label %216

160:                                              ; preds = %156
  %161 = load i32, ptr %15, align 4, !tbaa !9
  %162 = load i32, ptr %29, align 4, !tbaa !9
  %163 = sub nsw i32 %161, %162
  %164 = add nsw i32 %163, 1
  store i32 %164, ptr %28, align 4, !tbaa !9
  %165 = load float, ptr %25, align 4, !tbaa !15
  %166 = load ptr, ptr %23, align 8, !tbaa !5
  %167 = load i32, ptr %28, align 4, !tbaa !9
  %168 = sub nsw i32 %167, 1
  %169 = sext i32 %168 to i64
  %170 = getelementptr inbounds %"class.std::complex", ptr %166, i64 %169
  %171 = call noundef float @_ZSt3absIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %170)
  %172 = fadd float %165, %171
  store float %172, ptr %33, align 4, !tbaa !15
  %173 = load float, ptr %25, align 4, !tbaa !15
  %174 = load float, ptr %33, align 4, !tbaa !15
  %175 = fdiv float %173, %174
  store float %175, ptr %24, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #10
  %176 = load ptr, ptr %23, align 8, !tbaa !5
  %177 = load i32, ptr %28, align 4, !tbaa !9
  %178 = sub nsw i32 %177, 1
  %179 = sext i32 %178 to i64
  %180 = getelementptr inbounds %"class.std::complex", ptr %176, i64 %179
  %181 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_RKS1_(ptr noundef nonnull align 4 dereferenceable(8) %180, ptr noundef nonnull align 4 dereferenceable(4) %33)
  %182 = getelementptr inbounds %"class.std::complex", ptr %46, i32 0, i32 0
  store <2 x float> %181, ptr %182, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %27, ptr align 4 %46, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #10
  %183 = load float, ptr %24, align 4, !tbaa !15
  %184 = load float, ptr %24, align 4, !tbaa !15
  %185 = call noundef float @_ZSt4realIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %27)
  %186 = call noundef float @_ZSt4realIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %27)
  %187 = fmul float %185, %186
  %188 = call float @llvm.fmuladd.f32(float %183, float %184, float %187)
  %189 = call noundef float @_ZSt4imagIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %27)
  %190 = call noundef float @_ZSt4imagIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %27)
  %191 = call float @llvm.fmuladd.f32(float %189, float %190, float %188)
  %192 = call noundef float @_ZSt4sqrtf(float noundef %191)
  store float %192, ptr %32, align 4, !tbaa !15
  %193 = load float, ptr %24, align 4, !tbaa !15
  %194 = load float, ptr %32, align 4, !tbaa !15
  %195 = fdiv float %193, %194
  %196 = load ptr, ptr %22, align 8, !tbaa !5
  %197 = load i32, ptr %28, align 4, !tbaa !9
  %198 = sub nsw i32 %197, 1
  %199 = sext i32 %198 to i64
  %200 = getelementptr inbounds float, ptr %196, i64 %199
  store float %195, ptr %200, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #10
  %201 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %27)
  %202 = getelementptr inbounds %"class.std::complex", ptr %48, i32 0, i32 0
  store <2 x float> %201, ptr %202, align 4
  %203 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_RKS1_(ptr noundef nonnull align 4 dereferenceable(8) %48, ptr noundef nonnull align 4 dereferenceable(4) %32)
  %204 = getelementptr inbounds %"class.std::complex", ptr %47, i32 0, i32 0
  store <2 x float> %203, ptr %204, align 4
  %205 = load ptr, ptr %23, align 8, !tbaa !5
  %206 = load i32, ptr %28, align 4, !tbaa !9
  %207 = sub nsw i32 %206, 1
  %208 = sext i32 %207 to i64
  %209 = getelementptr inbounds %"class.std::complex", ptr %205, i64 %208
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %209, ptr align 4 %47, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #10
  %210 = load float, ptr %33, align 4, !tbaa !15
  %211 = load float, ptr %32, align 4, !tbaa !15
  %212 = fmul float %210, %211
  store float %212, ptr %25, align 4, !tbaa !15
  br label %213

213:                                              ; preds = %160
  %214 = load i32, ptr %29, align 4, !tbaa !9
  %215 = add nsw i32 %214, 1
  store i32 %215, ptr %29, align 4, !tbaa !9
  br label %156, !llvm.loop !17

216:                                              ; preds = %156
  store i32 1, ptr %31, align 4, !tbaa !9
  br label %217

217:                                              ; preds = %299, %216
  %218 = load i32, ptr %31, align 4, !tbaa !9
  %219 = load i32, ptr %15, align 4, !tbaa !9
  %220 = icmp sle i32 %218, %219
  br i1 %220, label %221, label %302

221:                                              ; preds = %217
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #10
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %49, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %35, ptr align 4 %49, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #10
  store i32 1, ptr %29, align 4, !tbaa !9
  br label %222

222:                                              ; preds = %295, %221
  %223 = load i32, ptr %29, align 4, !tbaa !9
  %224 = load i32, ptr %31, align 4, !tbaa !9
  %225 = icmp sle i32 %223, %224
  br i1 %225, label %226, label %298

226:                                              ; preds = %222
  %227 = load i32, ptr %31, align 4, !tbaa !9
  %228 = load i32, ptr %29, align 4, !tbaa !9
  %229 = sub nsw i32 %227, %228
  %230 = add nsw i32 %229, 1
  store i32 %230, ptr %28, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #10
  %231 = load ptr, ptr %22, align 8, !tbaa !5
  %232 = load i32, ptr %28, align 4, !tbaa !9
  %233 = sub nsw i32 %232, 1
  %234 = sext i32 %233 to i64
  %235 = getelementptr inbounds float, ptr %231, i64 %234
  %236 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 4 dereferenceable(4) %235, ptr noundef nonnull align 4 dereferenceable(8) %35)
  %237 = getelementptr inbounds %"class.std::complex", ptr %51, i32 0, i32 0
  store <2 x float> %236, ptr %237, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #10
  %238 = load ptr, ptr %23, align 8, !tbaa !5
  %239 = load i32, ptr %28, align 4, !tbaa !9
  %240 = sub nsw i32 %239, 1
  %241 = sext i32 %240 to i64
  %242 = getelementptr inbounds %"class.std::complex", ptr %238, i64 %241
  %243 = load ptr, ptr %13, align 8, !tbaa !5
  %244 = load i32, ptr %28, align 4, !tbaa !9
  %245 = sub nsw i32 %244, 1
  %246 = load i32, ptr %31, align 4, !tbaa !9
  %247 = sub nsw i32 %246, 1
  %248 = load i32, ptr %14, align 4, !tbaa !9
  %249 = mul nsw i32 %247, %248
  %250 = add nsw i32 %245, %249
  %251 = sext i32 %250 to i64
  %252 = getelementptr inbounds %"class.std::complex", ptr %243, i64 %251
  %253 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %242, ptr noundef nonnull align 4 dereferenceable(8) %252)
  %254 = getelementptr inbounds %"class.std::complex", ptr %52, i32 0, i32 0
  store <2 x float> %253, ptr %254, align 4
  %255 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %51, ptr noundef nonnull align 4 dereferenceable(8) %52)
  %256 = getelementptr inbounds %"class.std::complex", ptr %50, i32 0, i32 0
  store <2 x float> %255, ptr %256, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %34, ptr align 4 %50, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #10
  %257 = load ptr, ptr %22, align 8, !tbaa !5
  %258 = load i32, ptr %28, align 4, !tbaa !9
  %259 = sub nsw i32 %258, 1
  %260 = sext i32 %259 to i64
  %261 = getelementptr inbounds float, ptr %257, i64 %260
  %262 = load ptr, ptr %13, align 8, !tbaa !5
  %263 = load i32, ptr %28, align 4, !tbaa !9
  %264 = sub nsw i32 %263, 1
  %265 = load i32, ptr %31, align 4, !tbaa !9
  %266 = sub nsw i32 %265, 1
  %267 = load i32, ptr %14, align 4, !tbaa !9
  %268 = mul nsw i32 %266, %267
  %269 = add nsw i32 %264, %268
  %270 = sext i32 %269 to i64
  %271 = getelementptr inbounds %"class.std::complex", ptr %262, i64 %270
  %272 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 4 dereferenceable(4) %261, ptr noundef nonnull align 4 dereferenceable(8) %271)
  %273 = getelementptr inbounds %"class.std::complex", ptr %54, i32 0, i32 0
  store <2 x float> %272, ptr %273, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #10
  %274 = load ptr, ptr %23, align 8, !tbaa !5
  %275 = load i32, ptr %28, align 4, !tbaa !9
  %276 = sub nsw i32 %275, 1
  %277 = sext i32 %276 to i64
  %278 = getelementptr inbounds %"class.std::complex", ptr %274, i64 %277
  %279 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %278)
  %280 = getelementptr inbounds %"class.std::complex", ptr %56, i32 0, i32 0
  store <2 x float> %279, ptr %280, align 4
  %281 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %56, ptr noundef nonnull align 4 dereferenceable(8) %35)
  %282 = getelementptr inbounds %"class.std::complex", ptr %55, i32 0, i32 0
  store <2 x float> %281, ptr %282, align 4
  %283 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %54, ptr noundef nonnull align 4 dereferenceable(8) %55)
  %284 = getelementptr inbounds %"class.std::complex", ptr %53, i32 0, i32 0
  store <2 x float> %283, ptr %284, align 4
  %285 = load ptr, ptr %13, align 8, !tbaa !5
  %286 = load i32, ptr %28, align 4, !tbaa !9
  %287 = sub nsw i32 %286, 1
  %288 = load i32, ptr %31, align 4, !tbaa !9
  %289 = sub nsw i32 %288, 1
  %290 = load i32, ptr %14, align 4, !tbaa !9
  %291 = mul nsw i32 %289, %290
  %292 = add nsw i32 %287, %291
  %293 = sext i32 %292 to i64
  %294 = getelementptr inbounds %"class.std::complex", ptr %285, i64 %293
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %294, ptr align 4 %53, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %35, ptr align 4 %34, i64 8, i1 false), !tbaa.struct !11
  br label %295

295:                                              ; preds = %226
  %296 = load i32, ptr %29, align 4, !tbaa !9
  %297 = add nsw i32 %296, 1
  store i32 %297, ptr %29, align 4, !tbaa !9
  br label %222, !llvm.loop !18

298:                                              ; preds = %222
  br label %299

299:                                              ; preds = %298
  %300 = load i32, ptr %31, align 4, !tbaa !9
  %301 = add nsw i32 %300, 1
  store i32 %301, ptr %31, align 4, !tbaa !9
  br label %217, !llvm.loop !19

302:                                              ; preds = %217
  store i32 1, ptr %31, align 4, !tbaa !9
  br label %303

303:                                              ; preds = %437, %302
  %304 = load i32, ptr %31, align 4, !tbaa !9
  %305 = load i32, ptr %19, align 4, !tbaa !9
  %306 = icmp sle i32 %304, %305
  br i1 %306, label %307, label %440

307:                                              ; preds = %303
  %308 = load ptr, ptr %20, align 8, !tbaa !5
  %309 = load i32, ptr %31, align 4, !tbaa !9
  %310 = sub nsw i32 %309, 1
  %311 = sext i32 %310 to i64
  %312 = getelementptr inbounds %"class.std::complex", ptr %308, i64 %311
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %36, ptr align 4 %312, i64 8, i1 false), !tbaa.struct !11
  store i32 1, ptr %28, align 4, !tbaa !9
  br label %313

313:                                              ; preds = %382, %307
  %314 = load i32, ptr %28, align 4, !tbaa !9
  %315 = load i32, ptr %15, align 4, !tbaa !9
  %316 = icmp sle i32 %314, %315
  br i1 %316, label %317, label %385

317:                                              ; preds = %313
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #10
  %318 = load ptr, ptr %17, align 8, !tbaa !5
  %319 = load i32, ptr %28, align 4, !tbaa !9
  %320 = sub nsw i32 %319, 1
  %321 = load i32, ptr %31, align 4, !tbaa !9
  %322 = sub nsw i32 %321, 1
  %323 = load i32, ptr %18, align 4, !tbaa !9
  %324 = mul nsw i32 %322, %323
  %325 = add nsw i32 %320, %324
  %326 = sext i32 %325 to i64
  %327 = getelementptr inbounds %"class.std::complex", ptr %318, i64 %326
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %60) #10
  %328 = load ptr, ptr %23, align 8, !tbaa !5
  %329 = load i32, ptr %28, align 4, !tbaa !9
  %330 = sub nsw i32 %329, 1
  %331 = sext i32 %330 to i64
  %332 = getelementptr inbounds %"class.std::complex", ptr %328, i64 %331
  %333 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %332)
  %334 = getelementptr inbounds %"class.std::complex", ptr %60, i32 0, i32 0
  store <2 x float> %333, ptr %334, align 4
  %335 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %60, ptr noundef nonnull align 4 dereferenceable(8) %36)
  %336 = getelementptr inbounds %"class.std::complex", ptr %59, i32 0, i32 0
  store <2 x float> %335, ptr %336, align 4
  %337 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %327, ptr noundef nonnull align 4 dereferenceable(8) %59)
  %338 = getelementptr inbounds %"class.std::complex", ptr %58, i32 0, i32 0
  store <2 x float> %337, ptr %338, align 4
  %339 = load ptr, ptr %22, align 8, !tbaa !5
  %340 = load i32, ptr %28, align 4, !tbaa !9
  %341 = sub nsw i32 %340, 1
  %342 = sext i32 %341 to i64
  %343 = getelementptr inbounds float, ptr %339, i64 %342
  %344 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_RKS1_(ptr noundef nonnull align 4 dereferenceable(8) %58, ptr noundef nonnull align 4 dereferenceable(4) %343)
  %345 = getelementptr inbounds %"class.std::complex", ptr %57, i32 0, i32 0
  store <2 x float> %344, ptr %345, align 4
  %346 = load ptr, ptr %17, align 8, !tbaa !5
  %347 = load i32, ptr %28, align 4, !tbaa !9
  %348 = sub nsw i32 %347, 1
  %349 = load i32, ptr %31, align 4, !tbaa !9
  %350 = sub nsw i32 %349, 1
  %351 = load i32, ptr %18, align 4, !tbaa !9
  %352 = mul nsw i32 %350, %351
  %353 = add nsw i32 %348, %352
  %354 = sext i32 %353 to i64
  %355 = getelementptr inbounds %"class.std::complex", ptr %346, i64 %354
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %355, ptr align 4 %57, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %61) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #10
  %356 = load ptr, ptr %22, align 8, !tbaa !5
  %357 = load i32, ptr %28, align 4, !tbaa !9
  %358 = sub nsw i32 %357, 1
  %359 = sext i32 %358 to i64
  %360 = getelementptr inbounds float, ptr %356, i64 %359
  %361 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 4 dereferenceable(4) %360, ptr noundef nonnull align 4 dereferenceable(8) %36)
  %362 = getelementptr inbounds %"class.std::complex", ptr %62, i32 0, i32 0
  store <2 x float> %361, ptr %362, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %63) #10
  %363 = load ptr, ptr %23, align 8, !tbaa !5
  %364 = load i32, ptr %28, align 4, !tbaa !9
  %365 = sub nsw i32 %364, 1
  %366 = sext i32 %365 to i64
  %367 = getelementptr inbounds %"class.std::complex", ptr %363, i64 %366
  %368 = load ptr, ptr %17, align 8, !tbaa !5
  %369 = load i32, ptr %28, align 4, !tbaa !9
  %370 = sub nsw i32 %369, 1
  %371 = load i32, ptr %31, align 4, !tbaa !9
  %372 = sub nsw i32 %371, 1
  %373 = load i32, ptr %18, align 4, !tbaa !9
  %374 = mul nsw i32 %372, %373
  %375 = add nsw i32 %370, %374
  %376 = sext i32 %375 to i64
  %377 = getelementptr inbounds %"class.std::complex", ptr %368, i64 %376
  %378 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %367, ptr noundef nonnull align 4 dereferenceable(8) %377)
  %379 = getelementptr inbounds %"class.std::complex", ptr %63, i32 0, i32 0
  store <2 x float> %378, ptr %379, align 4
  %380 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %62, ptr noundef nonnull align 4 dereferenceable(8) %63)
  %381 = getelementptr inbounds %"class.std::complex", ptr %61, i32 0, i32 0
  store <2 x float> %380, ptr %381, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %36, ptr align 4 %61, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #10
  br label %382

382:                                              ; preds = %317
  %383 = load i32, ptr %28, align 4, !tbaa !9
  %384 = add nsw i32 %383, 1
  store i32 %384, ptr %28, align 4, !tbaa !9
  br label %313, !llvm.loop !20

385:                                              ; preds = %313
  %386 = call noundef float @_ZSt3absIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %36)
  store float %386, ptr %26, align 4, !tbaa !15
  %387 = load ptr, ptr %21, align 8, !tbaa !5
  %388 = load i32, ptr %31, align 4, !tbaa !9
  %389 = sub nsw i32 %388, 1
  %390 = sext i32 %389 to i64
  %391 = getelementptr inbounds float, ptr %387, i64 %390
  %392 = load float, ptr %391, align 4, !tbaa !15
  %393 = load float, ptr %26, align 4, !tbaa !15
  %394 = fcmp olt float %392, %393
  br i1 %394, label %395, label %401

395:                                              ; preds = %385
  store i32 1, ptr %30, align 4, !tbaa !9
  %396 = load ptr, ptr %21, align 8, !tbaa !5
  %397 = load i32, ptr %31, align 4, !tbaa !9
  %398 = sub nsw i32 %397, 1
  %399 = sext i32 %398 to i64
  %400 = getelementptr inbounds float, ptr %396, i64 %399
  store float -1.000000e+00, ptr %400, align 4, !tbaa !15
  br label %436

401:                                              ; preds = %385
  %402 = load ptr, ptr %21, align 8, !tbaa !5
  %403 = load i32, ptr %31, align 4, !tbaa !9
  %404 = sub nsw i32 %403, 1
  %405 = sext i32 %404 to i64
  %406 = getelementptr inbounds float, ptr %402, i64 %405
  %407 = load float, ptr %406, align 4, !tbaa !15
  %408 = fpext float %407 to double
  %409 = load float, ptr %26, align 4, !tbaa !15
  %410 = load ptr, ptr %21, align 8, !tbaa !5
  %411 = load i32, ptr %31, align 4, !tbaa !9
  %412 = sub nsw i32 %411, 1
  %413 = sext i32 %412 to i64
  %414 = getelementptr inbounds float, ptr %410, i64 %413
  %415 = load float, ptr %414, align 4, !tbaa !15
  %416 = fdiv float %409, %415
  %417 = load float, ptr %26, align 4, !tbaa !15
  %418 = load ptr, ptr %21, align 8, !tbaa !5
  %419 = load i32, ptr %31, align 4, !tbaa !9
  %420 = sub nsw i32 %419, 1
  %421 = sext i32 %420 to i64
  %422 = getelementptr inbounds float, ptr %418, i64 %421
  %423 = load float, ptr %422, align 4, !tbaa !15
  %424 = fdiv float %417, %423
  %425 = fmul float %416, %424
  %426 = fpext float %425 to double
  %427 = fsub double 1.000000e+00, %426
  %428 = call double @sqrt(double noundef %427) #10
  %429 = fmul double %408, %428
  %430 = fptrunc double %429 to float
  %431 = load ptr, ptr %21, align 8, !tbaa !5
  %432 = load i32, ptr %31, align 4, !tbaa !9
  %433 = sub nsw i32 %432, 1
  %434 = sext i32 %433 to i64
  %435 = getelementptr inbounds float, ptr %431, i64 %434
  store float %430, ptr %435, align 4, !tbaa !15
  br label %436

436:                                              ; preds = %401, %395
  br label %437

437:                                              ; preds = %436
  %438 = load i32, ptr %31, align 4, !tbaa !9
  %439 = add nsw i32 %438, 1
  store i32 %439, ptr %31, align 4, !tbaa !9
  br label %303, !llvm.loop !21

440:                                              ; preds = %303
  %441 = load i32, ptr %30, align 4, !tbaa !9
  store i32 %441, ptr %12, align 4
  store i32 1, ptr %45, align 4
  br label %442

442:                                              ; preds = %440, %146
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #10
  %443 = load i32, ptr %12, align 4
  ret i32 %443
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #3

declare <2 x float> @_Z5cdotciPSt7complexIfEiS1_i(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #7

declare noundef float @_Z6scnrm2iPSt7complexIfEi(i32 noundef, ptr noundef, i32 noundef) #7

; Function Attrs: nounwind
declare double @sqrt(double noundef) #8

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef float @_ZSt3absIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZStdvIfESt7complexIT_ERKS2_RKS1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZSt4imagIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZStmlIfESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(8)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress 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 #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { inlinehint mustprogress 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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress 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 #7 = { "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 #8 = { 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 #9 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #10 = { 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{i64 0, i64 8, !12}
!12 = !{!7, !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !7, i64 0}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}


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

%"class.std::complex" = type { { float, float } }

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8)) 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) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZSt4realIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt4sqrtf(float noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 -1, 2) i32 @_Z5cchddPSt7complexIfEiiS1_S1_iiS1_PfS2_S1_(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7, ptr nocapture noundef %8, ptr noundef %9, ptr noundef %10) local_unnamed_addr #5 {
  %12 = alloca %"class.std::complex", align 8
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca %"class.std::complex", align 8
  %16 = alloca %"class.std::complex", align 8
  %17 = alloca %"class.std::complex", align 8
  %18 = alloca %"class.std::complex", align 8
  %19 = alloca %"class.std::complex", align 8
  %20 = alloca %"class.std::complex", align 8
  %21 = alloca %"class.std::complex", align 8
  %22 = alloca %"class.std::complex", align 8
  %23 = alloca %"class.std::complex", align 8
  %24 = alloca %"class.std::complex", align 8
  %25 = alloca %"class.std::complex", align 8
  %26 = alloca %"class.std::complex", align 8
  %27 = alloca %"class.std::complex", align 8
  %28 = alloca %"class.std::complex", align 8
  %29 = alloca %"class.std::complex", align 8
  %30 = alloca %"class.std::complex", align 8
  %31 = alloca %"class.std::complex", align 8
  %32 = alloca %"class.std::complex", align 8
  %33 = alloca %"class.std::complex", align 8
  %34 = alloca %"class.std::complex", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %12, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #9
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #9
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #9
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %17, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #9
  %35 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %3)
  store <2 x float> %35, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #9
  %36 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %0)
  store <2 x float> %36, ptr %19, align 8
  %37 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(8) %19)
  store <2 x float> %37, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #9
  %.not141 = icmp slt i32 %2, 2
  br i1 %.not141, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %11
  %38 = sext i32 %1 to i64
  %39 = add nuw i32 %2, 1
  %wide.trip.count = zext i32 %39 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ 2, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #9
  %40 = add nsw i64 %indvars.iv, -1
  %41 = getelementptr inbounds %"class.std::complex", ptr %3, i64 %40
  %42 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %41)
  store <2 x float> %42, ptr %20, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #9
  %43 = mul nsw i64 %40, %38
  %44 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %43
  %45 = trunc nuw nsw i64 %40 to i32
  %46 = call <2 x float> @_Z5cdotciPSt7complexIfEiS1_i(i32 noundef %45, ptr noundef nonnull %44, i32 noundef 1, ptr noundef nonnull %10, i32 noundef 1)
  store <2 x float> %46, ptr %21, align 8
  %47 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %20, ptr noundef nonnull align 4 dereferenceable(8) %21)
  %48 = getelementptr inbounds %"class.std::complex", ptr %10, i64 %40
  store <2 x float> %47, ptr %48, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #9
  %49 = getelementptr %"class.std::complex", ptr %0, i64 %43
  %50 = getelementptr %"class.std::complex", ptr %49, i64 %40
  %51 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %50)
  store <2 x float> %51, ptr %22, align 8
  %52 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %48, ptr noundef nonnull align 4 dereferenceable(8) %22)
  store <2 x float> %52, ptr %48, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !8

._crit_edge:                                      ; preds = %.lr.ph, %11
  %53 = call noundef float @_Z6scnrm2iPSt7complexIfEi(i32 noundef %2, ptr noundef nonnull %10, i32 noundef 1)
  store float %53, ptr %13, align 4, !tbaa !10
  %54 = fcmp ult float %53, 1.000000e+00
  br i1 %54, label %55, label %.loopexit

55:                                               ; preds = %._crit_edge
  %56 = fmul float %53, %53
  %57 = fpext float %56 to double
  %58 = fsub double 1.000000e+00, %57
  %59 = call double @sqrt(double noundef %58) #9
  %.not135143 = icmp slt i32 %2, 1
  br i1 %.not135143, label %.preheader, label %.lr.ph147.preheader

.lr.ph147.preheader:                              ; preds = %55
  %60 = fptrunc double %59 to float
  %61 = zext nneg i32 %2 to i64
  %62 = add nuw i32 %2, 1
  %wide.trip.count166 = zext i32 %62 to i64
  br label %.lr.ph147

.preheader140:                                    ; preds = %.lr.ph147
  br i1 %.not135143, label %.preheader, label %.lr.ph151.preheader

.lr.ph151.preheader:                              ; preds = %.preheader140
  %63 = sext i32 %1 to i64
  %64 = add nuw i32 %2, 1
  %wide.trip.count182 = zext i32 %64 to i64
  br label %.lr.ph151

.lr.ph147:                                        ; preds = %.lr.ph147.preheader, %.lr.ph147
  %indvars.iv163 = phi i64 [ 1, %.lr.ph147.preheader ], [ %indvars.iv.next164, %.lr.ph147 ]
  %.0125145 = phi float [ %60, %.lr.ph147.preheader ], [ %85, %.lr.ph147 ]
  %65 = sub nsw i64 %61, %indvars.iv163
  %66 = getelementptr inbounds %"class.std::complex", ptr %10, i64 %65
  %67 = call noundef float @_ZSt3absIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %66)
  %68 = fadd float %.0125145, %67
  store float %68, ptr %14, align 4, !tbaa !10
  %69 = fdiv float %.0125145, %68
  %70 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_RKS1_(ptr noundef nonnull align 4 dereferenceable(8) %66, ptr noundef nonnull align 4 dereferenceable(4) %14)
  store <2 x float> %70, ptr %12, align 8, !tbaa !5
  %71 = call noundef float @_ZSt4realIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %12)
  %72 = call noundef float @_ZSt4realIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %12)
  %73 = fmul float %71, %72
  %74 = call float @llvm.fmuladd.f32(float %69, float %69, float %73)
  %75 = call noundef float @_ZSt4imagIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %12)
  %76 = call noundef float @_ZSt4imagIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %12)
  %77 = call float @llvm.fmuladd.f32(float %75, float %76, float %74)
  %78 = call noundef float @_ZSt4sqrtf(float noundef %77)
  store float %78, ptr %13, align 4, !tbaa !10
  %79 = fdiv float %69, %78
  %80 = getelementptr inbounds float, ptr %9, i64 %65
  store float %79, ptr %80, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #9
  %81 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %12)
  store <2 x float> %81, ptr %23, align 8
  %82 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_RKS1_(ptr noundef nonnull align 4 dereferenceable(8) %23, ptr noundef nonnull align 4 dereferenceable(4) %13)
  store <2 x float> %82, ptr %66, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #9
  %83 = load float, ptr %14, align 4, !tbaa !10
  %84 = load float, ptr %13, align 4, !tbaa !10
  %85 = fmul float %83, %84
  %indvars.iv.next164 = add nuw nsw i64 %indvars.iv163, 1
  %exitcond167.not = icmp eq i64 %indvars.iv.next164, %wide.trip.count166
  br i1 %exitcond167.not, label %.preheader140, label %.lr.ph147, !llvm.loop !12

.preheader:                                       ; preds = %122, %55, %.preheader140
  %.not137157 = icmp slt i32 %6, 1
  br i1 %.not137157, label %.loopexit, label %.lr.ph160

.lr.ph160:                                        ; preds = %.preheader
  br i1 %.not135143, label %.lr.ph160.split.us.preheader, label %.lr.ph155.preheader

.lr.ph155.preheader:                              ; preds = %.lr.ph160
  %86 = add nuw i32 %2, 1
  %87 = sext i32 %5 to i64
  %88 = add nuw i32 %6, 1
  %wide.trip.count192 = zext i32 %88 to i64
  %wide.trip.count187 = zext i32 %86 to i64
  br label %.lr.ph155

.lr.ph160.split.us.preheader:                     ; preds = %.lr.ph160
  %89 = add nuw i32 %6, 1
  %wide.trip.count197 = zext i32 %89 to i64
  br label %.lr.ph160.split.us

.lr.ph160.split.us:                               ; preds = %.lr.ph160.split.us.preheader, %106
  %indvars.iv194 = phi i64 [ 1, %.lr.ph160.split.us.preheader ], [ %indvars.iv.next195, %106 ]
  %.0128159.us = phi i32 [ 0, %.lr.ph160.split.us.preheader ], [ %.1129.us, %106 ]
  %90 = add nsw i64 %indvars.iv194, -1
  %91 = getelementptr inbounds %"class.std::complex", ptr %7, i64 %90
  %92 = load i64, ptr %91, align 4, !tbaa !5
  store i64 %92, ptr %17, align 8, !tbaa !5
  %93 = call noundef float @_ZSt3absIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %17)
  %94 = getelementptr inbounds float, ptr %8, i64 %90
  %95 = load float, ptr %94, align 4, !tbaa !10
  %96 = fcmp olt float %95, %93
  br i1 %96, label %106, label %97

97:                                               ; preds = %.lr.ph160.split.us
  %98 = fpext float %95 to double
  %99 = fdiv float %93, %95
  %100 = fmul float %99, %99
  %101 = fpext float %100 to double
  %102 = fsub double 1.000000e+00, %101
  %103 = call double @sqrt(double noundef %102) #9
  %104 = fmul double %103, %98
  %105 = fptrunc double %104 to float
  br label %106

106:                                              ; preds = %97, %.lr.ph160.split.us
  %storemerge.us = phi float [ %105, %97 ], [ -1.000000e+00, %.lr.ph160.split.us ]
  %.1129.us = phi i32 [ %.0128159.us, %97 ], [ 1, %.lr.ph160.split.us ]
  store float %storemerge.us, ptr %94, align 4, !tbaa !10
  %indvars.iv.next195 = add nuw nsw i64 %indvars.iv194, 1
  %exitcond198.not = icmp eq i64 %indvars.iv.next195, %wide.trip.count197
  br i1 %exitcond198.not, label %.loopexit, label %.lr.ph160.split.us, !llvm.loop !13

.lr.ph151:                                        ; preds = %.lr.ph151.preheader, %122
  %indvars.iv177 = phi i64 [ 1, %.lr.ph151.preheader ], [ %indvars.iv.next178, %122 ]
  %indvars.iv175 = phi i64 [ 2, %.lr.ph151.preheader ], [ %indvars.iv.next176, %122 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #9
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %24, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %107 = load i64, ptr %24, align 8, !tbaa !5
  store i64 %107, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #9
  %108 = add nsw i64 %indvars.iv177, -1
  %109 = mul nsw i64 %108, %63
  %invariant.gep = getelementptr %"class.std::complex", ptr %0, i64 %109
  br label %110

110:                                              ; preds = %.lr.ph151, %110
  %indvars.iv168 = phi i64 [ 1, %.lr.ph151 ], [ %indvars.iv.next169, %110 ]
  %111 = sub nsw i64 %indvars.iv177, %indvars.iv168
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #9
  %112 = getelementptr inbounds float, ptr %9, i64 %111
  %113 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 4 dereferenceable(4) %112, ptr noundef nonnull align 4 dereferenceable(8) %16)
  store <2 x float> %113, ptr %25, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #9
  %114 = getelementptr inbounds %"class.std::complex", ptr %10, i64 %111
  %gep = getelementptr %"class.std::complex", ptr %invariant.gep, i64 %111
  %115 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %114, ptr noundef nonnull align 4 dereferenceable(8) %gep)
  store <2 x float> %115, ptr %26, align 8
  %116 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %25, ptr noundef nonnull align 4 dereferenceable(8) %26)
  store <2 x float> %116, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #9
  %117 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 4 dereferenceable(4) %112, ptr noundef nonnull align 4 dereferenceable(8) %gep)
  store <2 x float> %117, ptr %27, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #9
  %118 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %114)
  store <2 x float> %118, ptr %29, align 8
  %119 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %29, ptr noundef nonnull align 4 dereferenceable(8) %16)
  store <2 x float> %119, ptr %28, align 8
  %120 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %27, ptr noundef nonnull align 4 dereferenceable(8) %28)
  store <2 x float> %120, ptr %gep, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #9
  %121 = load i64, ptr %15, align 8, !tbaa !5
  store i64 %121, ptr %16, align 8, !tbaa !5
  %indvars.iv.next169 = add nuw nsw i64 %indvars.iv168, 1
  %exitcond174.not = icmp eq i64 %indvars.iv.next169, %indvars.iv175
  br i1 %exitcond174.not, label %122, label %110, !llvm.loop !14

122:                                              ; preds = %110
  %indvars.iv.next178 = add nuw nsw i64 %indvars.iv177, 1
  %indvars.iv.next176 = add nuw nsw i64 %indvars.iv175, 1
  %exitcond183.not = icmp eq i64 %indvars.iv.next178, %wide.trip.count182
  br i1 %exitcond183.not, label %.preheader, label %.lr.ph151, !llvm.loop !15

.lr.ph155:                                        ; preds = %.lr.ph155.preheader, %151
  %indvars.iv189 = phi i64 [ 1, %.lr.ph155.preheader ], [ %indvars.iv.next190, %151 ]
  %.0128159 = phi i32 [ 0, %.lr.ph155.preheader ], [ %.1129, %151 ]
  %123 = add nsw i64 %indvars.iv189, -1
  %124 = getelementptr inbounds %"class.std::complex", ptr %7, i64 %123
  %125 = load i64, ptr %124, align 4, !tbaa !5
  store i64 %125, ptr %17, align 8, !tbaa !5
  %126 = mul nsw i64 %123, %87
  %invariant.gep200 = getelementptr %"class.std::complex", ptr %4, i64 %126
  br label %127

127:                                              ; preds = %.lr.ph155, %127
  %indvars.iv184 = phi i64 [ 1, %.lr.ph155 ], [ %indvars.iv.next185, %127 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #9
  %128 = add nsw i64 %indvars.iv184, -1
  %gep201 = getelementptr %"class.std::complex", ptr %invariant.gep200, i64 %128
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %31) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %32) #9
  %129 = getelementptr inbounds %"class.std::complex", ptr %10, i64 %128
  %130 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %129)
  store <2 x float> %130, ptr %32, align 8
  %131 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %32, ptr noundef nonnull align 4 dereferenceable(8) %17)
  store <2 x float> %131, ptr %31, align 8
  %132 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %gep201, ptr noundef nonnull align 4 dereferenceable(8) %31)
  store <2 x float> %132, ptr %30, align 8
  %133 = getelementptr inbounds float, ptr %9, i64 %128
  %134 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_RKS1_(ptr noundef nonnull align 4 dereferenceable(8) %30, ptr noundef nonnull align 4 dereferenceable(4) %133)
  store <2 x float> %134, ptr %gep201, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #9
  %135 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 4 dereferenceable(4) %133, ptr noundef nonnull align 4 dereferenceable(8) %17)
  store <2 x float> %135, ptr %33, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %34) #9
  %136 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %129, ptr noundef nonnull align 4 dereferenceable(8) %gep201)
  store <2 x float> %136, ptr %34, align 8
  %137 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %33, ptr noundef nonnull align 4 dereferenceable(8) %34)
  store <2 x float> %137, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #9
  %indvars.iv.next185 = add nuw nsw i64 %indvars.iv184, 1
  %exitcond188.not = icmp eq i64 %indvars.iv.next185, %wide.trip.count187
  br i1 %exitcond188.not, label %._crit_edge156, label %127, !llvm.loop !16

._crit_edge156:                                   ; preds = %127
  %138 = call noundef float @_ZSt3absIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %17)
  %139 = getelementptr inbounds float, ptr %8, i64 %123
  %140 = load float, ptr %139, align 4, !tbaa !10
  %141 = fcmp olt float %140, %138
  br i1 %141, label %151, label %142

142:                                              ; preds = %._crit_edge156
  %143 = fpext float %140 to double
  %144 = fdiv float %138, %140
  %145 = fmul float %144, %144
  %146 = fpext float %145 to double
  %147 = fsub double 1.000000e+00, %146
  %148 = call double @sqrt(double noundef %147) #9
  %149 = fmul double %148, %143
  %150 = fptrunc double %149 to float
  br label %151

151:                                              ; preds = %._crit_edge156, %142
  %storemerge = phi float [ %150, %142 ], [ -1.000000e+00, %._crit_edge156 ]
  %.1129 = phi i32 [ %.0128159, %142 ], [ 1, %._crit_edge156 ]
  store float %storemerge, ptr %139, align 4, !tbaa !10
  %indvars.iv.next190 = add nuw nsw i64 %indvars.iv189, 1
  %exitcond193.not = icmp eq i64 %indvars.iv.next190, %wide.trip.count192
  br i1 %exitcond193.not, label %.loopexit, label %.lr.ph155, !llvm.loop !13

.loopexit:                                        ; preds = %151, %106, %.preheader, %._crit_edge
  %.0 = phi i32 [ -1, %._crit_edge ], [ 0, %.preheader ], [ %.1129.us, %106 ], [ %.1129, %151 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  ret i32 %.0
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2

declare <2 x float> @_Z5cdotciPSt7complexIfEiS1_i(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #6

declare noundef float @_Z6scnrm2iPSt7complexIfEi(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sqrt(double noundef) local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef float @_ZSt3absIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZStdvIfESt7complexIT_ERKS2_RKS1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZSt4imagIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZStmlIfESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress 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 #2 = { inlinehint mustprogress 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 #3 = { mustprogress 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 #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress 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 #6 = { "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 #7 = { mustprogress nofree nounwind willreturn memory(write) "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 #8 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = !{!11, !11, i64 0}
!11 = !{!"float", !6, i64 0}
!12 = distinct !{!12, !9}
!13 = distinct !{!13, !9}
!14 = distinct !{!14, !9}
!15 = distinct !{!15, !9}
!16 = distinct !{!16, !9}


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