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

; 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 nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #3

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPvm(ptr noundef, i64 noundef) #4

; 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) #5

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

; 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)) #7

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) #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)) #6

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

declare void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef, <2 x float>, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #8

; 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)) #6

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

; 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)) #6

; 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)) #6

declare noundef i32 @_Z6i4_maxii(i32 noundef, i32 noundef) #8

declare noundef i32 @_Z6i4_minii(i32 noundef, i32 noundef) #8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_Z6r4_maxff(float noundef, float noundef) #1

declare noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef, ptr noundef, i32 noundef) #8

declare noundef float @_Z5cabs1St7complexIfE(<2 x float>) #8

declare <2 x float> @_Z6csign1St7complexIfES0_(<2 x float>, <2 x float>) #8

declare void @_Z6csscalifPSt7complexIfEi(i32 noundef, float noundef, ptr noundef, i32 noundef) #8

; Function Attrs: mustprogress uwtable
define dso_local noundef float @_Z5cpbcoPSt7complexIfEiiiPi(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #9 personality ptr @__gxx_personality_v0 {
  %6 = alloca float, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca float, align 4
  %13 = alloca %"class.std::complex", align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca float, align 4
  %24 = alloca float, align 4
  %25 = alloca float, align 4
  %26 = alloca %"class.std::complex", align 4
  %27 = alloca %"class.std::complex", align 4
  %28 = alloca %"class.std::complex", align 4
  %29 = alloca float, align 4
  %30 = alloca ptr, align 8
  %31 = alloca ptr, align 8
  %32 = alloca i32, align 4
  %33 = alloca %"class.std::complex", align 4
  %34 = alloca %"class.std::complex", align 4
  %35 = alloca %"class.std::complex", align 4
  %36 = alloca i32, 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 %"class.std::complex", 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
  %64 = alloca %"class.std::complex", align 4
  %65 = alloca %"class.std::complex", align 4
  %66 = alloca %"class.std::complex", align 4
  %67 = alloca %"class.std::complex", align 4
  %68 = alloca %"class.std::complex", align 4
  %69 = alloca %"class.std::complex", align 4
  %70 = alloca %"class.std::complex", align 4
  %71 = alloca %"class.std::complex", align 4
  %72 = alloca %"class.std::complex", align 4
  %73 = alloca %"class.std::complex", align 4
  %74 = alloca %"class.std::complex", align 4
  %75 = alloca %"class.std::complex", align 4
  %76 = alloca %"class.std::complex", align 4
  %77 = alloca %"class.std::complex", align 4
  %78 = alloca %"class.std::complex", align 4
  %79 = alloca %"class.std::complex", align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i32 %1, ptr %8, align 4, !tbaa !9
  store i32 %2, ptr %9, align 4, !tbaa !9
  store i32 %3, ptr %10, align 4, !tbaa !9
  store ptr %4, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #10
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #10
  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 8, ptr %26) #10
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %26, float noundef 0.000000e+00, float noundef 0.000000e+00)
  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 8, ptr %28) #10
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %28, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #10
  %80 = load i32, ptr %9, align 4, !tbaa !9
  %81 = sext i32 %80 to i64
  %82 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %81, i64 8)
  %83 = extractvalue { i64, i1 } %82, 1
  %84 = extractvalue { i64, i1 } %82, 0
  %85 = select i1 %83, i64 -1, i64 %84
  %86 = call noalias noundef nonnull ptr @_Znam(i64 noundef %85) #11
  %87 = icmp eq i64 %81, 0
  br i1 %87, label %95, label %88

88:                                               ; preds = %5
  %89 = getelementptr inbounds %"class.std::complex", ptr %86, i64 %81
  br label %90

90:                                               ; preds = %92, %88
  %91 = phi ptr [ %86, %88 ], [ %93, %92 ]
  invoke void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %91, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %92 unwind label %167

92:                                               ; preds = %90
  %93 = getelementptr inbounds %"class.std::complex", ptr %91, i64 1
  %94 = icmp eq ptr %93, %89
  br i1 %94, label %95, label %90

95:                                               ; preds = %92, %5
  store ptr %86, ptr %30, align 8, !tbaa !5
  store i32 1, ptr %15, align 4, !tbaa !9
  br label %96

96:                                               ; preds = %172, %95
  %97 = load i32, ptr %15, align 4, !tbaa !9
  %98 = load i32, ptr %9, align 4, !tbaa !9
  %99 = icmp sle i32 %97, %98
  br i1 %99, label %100, label %175

100:                                              ; preds = %96
  %101 = load i32, ptr %15, align 4, !tbaa !9
  %102 = load i32, ptr %10, align 4, !tbaa !9
  %103 = add nsw i32 %102, 1
  %104 = call noundef i32 @_Z6i4_minii(i32 noundef %101, i32 noundef %103)
  store i32 %104, ptr %18, align 4, !tbaa !9
  %105 = load i32, ptr %10, align 4, !tbaa !9
  %106 = add nsw i32 %105, 2
  %107 = load i32, ptr %15, align 4, !tbaa !9
  %108 = sub nsw i32 %106, %107
  %109 = call noundef i32 @_Z6i4_maxii(i32 noundef %108, i32 noundef 1)
  store i32 %109, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #10
  %110 = load i32, ptr %18, align 4, !tbaa !9
  %111 = load ptr, ptr %7, align 8, !tbaa !5
  %112 = load i32, ptr %22, align 4, !tbaa !9
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds %"class.std::complex", ptr %111, i64 %113
  %115 = getelementptr inbounds %"class.std::complex", ptr %114, i64 -1
  %116 = load i32, ptr %15, align 4, !tbaa !9
  %117 = sub nsw i32 %116, 1
  %118 = load i32, ptr %8, align 4, !tbaa !9
  %119 = mul nsw i32 %117, %118
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds %"class.std::complex", ptr %115, i64 %120
  %122 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %110, ptr noundef %121, i32 noundef 1)
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %33, float noundef %122, float noundef 0.000000e+00)
  %123 = load ptr, ptr %30, align 8, !tbaa !5
  %124 = load i32, ptr %15, align 4, !tbaa !9
  %125 = sub nsw i32 %124, 1
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds %"class.std::complex", ptr %123, i64 %126
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %127, ptr align 4 %33, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #10
  %128 = load i32, ptr %15, align 4, !tbaa !9
  %129 = load i32, ptr %18, align 4, !tbaa !9
  %130 = sub nsw i32 %128, %129
  store i32 %130, ptr %17, align 4, !tbaa !9
  %131 = load i32, ptr %22, align 4, !tbaa !9
  store i32 %131, ptr %14, align 4, !tbaa !9
  br label %132

132:                                              ; preds = %164, %100
  %133 = load i32, ptr %14, align 4, !tbaa !9
  %134 = load i32, ptr %10, align 4, !tbaa !9
  %135 = icmp sle i32 %133, %134
  br i1 %135, label %136, label %171

136:                                              ; preds = %132
  %137 = load i32, ptr %17, align 4, !tbaa !9
  %138 = add nsw i32 %137, 1
  store i32 %138, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #10
  %139 = load ptr, ptr %30, align 8, !tbaa !5
  %140 = load i32, ptr %17, align 4, !tbaa !9
  %141 = sub nsw i32 %140, 1
  %142 = sext i32 %141 to i64
  %143 = getelementptr inbounds %"class.std::complex", ptr %139, i64 %142
  %144 = call noundef float @_ZSt4realIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %143)
  %145 = load ptr, ptr %7, align 8, !tbaa !5
  %146 = load i32, ptr %14, align 4, !tbaa !9
  %147 = sub nsw i32 %146, 1
  %148 = load i32, ptr %15, align 4, !tbaa !9
  %149 = sub nsw i32 %148, 1
  %150 = load i32, ptr %8, align 4, !tbaa !9
  %151 = mul nsw i32 %149, %150
  %152 = add nsw i32 %147, %151
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds %"class.std::complex", ptr %145, i64 %153
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %35, ptr align 4 %154, i64 8, i1 false), !tbaa.struct !11
  %155 = getelementptr inbounds %"class.std::complex", ptr %35, i32 0, i32 0
  %156 = load <2 x float>, ptr %155, align 4
  %157 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %156)
  %158 = fadd float %144, %157
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %34, float noundef %158, float noundef 0.000000e+00)
  %159 = load ptr, ptr %30, align 8, !tbaa !5
  %160 = load i32, ptr %17, align 4, !tbaa !9
  %161 = sub nsw i32 %160, 1
  %162 = sext i32 %161 to i64
  %163 = getelementptr inbounds %"class.std::complex", ptr %159, i64 %162
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %163, ptr align 4 %34, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #10
  br label %164

164:                                              ; preds = %136
  %165 = load i32, ptr %14, align 4, !tbaa !9
  %166 = add nsw i32 %165, 1
  store i32 %166, ptr %14, align 4, !tbaa !9
  br label %132, !llvm.loop !13

167:                                              ; preds = %90
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %31, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %32, align 4
  call void @_ZdaPvm(ptr noundef %86, i64 noundef %85) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #10
  call void @llvm.lifetime.end.p0(i64 8, 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #10
  br label %889

171:                                              ; preds = %132
  br label %172

172:                                              ; preds = %171
  %173 = load i32, ptr %15, align 4, !tbaa !9
  %174 = add nsw i32 %173, 1
  store i32 %174, ptr %15, align 4, !tbaa !9
  br label %96, !llvm.loop !15

175:                                              ; preds = %96
  store float 0.000000e+00, ptr %12, align 4, !tbaa !16
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %176

176:                                              ; preds = %188, %175
  %177 = load i32, ptr %15, align 4, !tbaa !9
  %178 = load i32, ptr %9, align 4, !tbaa !9
  %179 = icmp slt i32 %177, %178
  br i1 %179, label %180, label %191

180:                                              ; preds = %176
  %181 = load float, ptr %12, align 4, !tbaa !16
  %182 = load ptr, ptr %30, align 8, !tbaa !5
  %183 = load i32, ptr %15, align 4, !tbaa !9
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds %"class.std::complex", ptr %182, i64 %184
  %186 = call noundef float @_ZSt4realIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %185)
  %187 = call noundef float @_Z6r4_maxff(float noundef %181, float noundef %186)
  store float %187, ptr %12, align 4, !tbaa !16
  br label %188

188:                                              ; preds = %180
  %189 = load i32, ptr %15, align 4, !tbaa !9
  %190 = add nsw i32 %189, 1
  store i32 %190, ptr %15, align 4, !tbaa !9
  br label %176, !llvm.loop !18

191:                                              ; preds = %176
  %192 = load ptr, ptr %7, align 8, !tbaa !5
  %193 = load i32, ptr %8, align 4, !tbaa !9
  %194 = load i32, ptr %9, align 4, !tbaa !9
  %195 = load i32, ptr %10, align 4, !tbaa !9
  %196 = call noundef i32 @_Z5cpbfaPSt7complexIfEiii(ptr noundef %192, i32 noundef %193, i32 noundef %194, i32 noundef %195)
  %197 = load ptr, ptr %11, align 8, !tbaa !5
  store i32 %196, ptr %197, align 4, !tbaa !9
  %198 = load ptr, ptr %11, align 8, !tbaa !5
  %199 = load i32, ptr %198, align 4, !tbaa !9
  %200 = icmp ne i32 %199, 0
  br i1 %200, label %201, label %207

201:                                              ; preds = %191
  store float 0.000000e+00, ptr %23, align 4, !tbaa !16
  %202 = load ptr, ptr %30, align 8, !tbaa !5
  %203 = icmp eq ptr %202, null
  br i1 %203, label %205, label %204

204:                                              ; preds = %201
  call void @_ZdaPv(ptr noundef %202) #12
  br label %205

205:                                              ; preds = %204, %201
  %206 = load float, ptr %23, align 4, !tbaa !16
  store float %206, ptr %6, align 4
  store i32 1, ptr %36, align 4
  br label %887

207:                                              ; preds = %191
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #10
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %37, float noundef 1.000000e+00, float noundef 0.000000e+00)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 4 %37, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #10
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %208

208:                                              ; preds = %217, %207
  %209 = load i32, ptr %14, align 4, !tbaa !9
  %210 = load i32, ptr %9, align 4, !tbaa !9
  %211 = icmp slt i32 %209, %210
  br i1 %211, label %212, label %220

212:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #10
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %38, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %213 = load ptr, ptr %30, align 8, !tbaa !5
  %214 = load i32, ptr %14, align 4, !tbaa !9
  %215 = sext i32 %214 to i64
  %216 = getelementptr inbounds %"class.std::complex", ptr %213, i64 %215
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %216, ptr align 4 %38, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #10
  br label %217

217:                                              ; preds = %212
  %218 = load i32, ptr %14, align 4, !tbaa !9
  %219 = add nsw i32 %218, 1
  store i32 %219, ptr %14, align 4, !tbaa !9
  br label %208, !llvm.loop !19

220:                                              ; preds = %208
  store i32 1, ptr %17, align 4, !tbaa !9
  br label %221

221:                                              ; preds = %486, %220
  %222 = load i32, ptr %17, align 4, !tbaa !9
  %223 = load i32, ptr %9, align 4, !tbaa !9
  %224 = icmp sle i32 %222, %223
  br i1 %224, label %225, label %489

225:                                              ; preds = %221
  %226 = load ptr, ptr %30, align 8, !tbaa !5
  %227 = load i32, ptr %17, align 4, !tbaa !9
  %228 = sub nsw i32 %227, 1
  %229 = sext i32 %228 to i64
  %230 = getelementptr inbounds %"class.std::complex", ptr %226, i64 %229
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %39, ptr align 4 %230, i64 8, i1 false), !tbaa.struct !11
  %231 = getelementptr inbounds %"class.std::complex", ptr %39, i32 0, i32 0
  %232 = load <2 x float>, ptr %231, align 4
  %233 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %232)
  %234 = fpext float %233 to double
  %235 = fcmp une double %234, 0.000000e+00
  br i1 %235, label %236, label %250

236:                                              ; preds = %225
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %41, ptr align 4 %13, i64 8, i1 false), !tbaa.struct !11
  %237 = load ptr, ptr %30, align 8, !tbaa !5
  %238 = load i32, ptr %17, align 4, !tbaa !9
  %239 = sub nsw i32 %238, 1
  %240 = sext i32 %239 to i64
  %241 = getelementptr inbounds %"class.std::complex", ptr %237, i64 %240
  %242 = call <2 x float> @_ZStngIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %241)
  %243 = getelementptr inbounds %"class.std::complex", ptr %42, i32 0, i32 0
  store <2 x float> %242, ptr %243, align 4
  %244 = getelementptr inbounds %"class.std::complex", ptr %41, i32 0, i32 0
  %245 = load <2 x float>, ptr %244, align 4
  %246 = getelementptr inbounds %"class.std::complex", ptr %42, i32 0, i32 0
  %247 = load <2 x float>, ptr %246, align 4
  %248 = call <2 x float> @_Z6csign1St7complexIfES0_(<2 x float> %245, <2 x float> %247)
  %249 = getelementptr inbounds %"class.std::complex", ptr %40, i32 0, i32 0
  store <2 x float> %248, ptr %249, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 4 %40, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #10
  br label %250

250:                                              ; preds = %236, %225
  %251 = load ptr, ptr %7, align 8, !tbaa !5
  %252 = load i32, ptr %10, align 4, !tbaa !9
  %253 = load i32, ptr %17, align 4, !tbaa !9
  %254 = sub nsw i32 %253, 1
  %255 = load i32, ptr %8, align 4, !tbaa !9
  %256 = mul nsw i32 %254, %255
  %257 = add nsw i32 %252, %256
  %258 = sext i32 %257 to i64
  %259 = getelementptr inbounds %"class.std::complex", ptr %251, i64 %258
  %260 = call noundef float @_ZSt4realIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %259)
  %261 = load ptr, ptr %30, align 8, !tbaa !5
  %262 = load i32, ptr %17, align 4, !tbaa !9
  %263 = sub nsw i32 %262, 1
  %264 = sext i32 %263 to i64
  %265 = getelementptr inbounds %"class.std::complex", ptr %261, i64 %264
  %266 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %265)
  %267 = getelementptr inbounds %"class.std::complex", ptr %43, i32 0, i32 0
  store <2 x float> %266, ptr %267, align 4
  %268 = getelementptr inbounds %"class.std::complex", ptr %43, i32 0, i32 0
  %269 = load <2 x float>, ptr %268, align 4
  %270 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %269)
  %271 = fcmp olt float %260, %270
  br i1 %271, label %272, label %300

272:                                              ; preds = %250
  %273 = load ptr, ptr %7, align 8, !tbaa !5
  %274 = load i32, ptr %10, align 4, !tbaa !9
  %275 = load i32, ptr %17, align 4, !tbaa !9
  %276 = sub nsw i32 %275, 1
  %277 = load i32, ptr %8, align 4, !tbaa !9
  %278 = mul nsw i32 %276, %277
  %279 = add nsw i32 %274, %278
  %280 = sext i32 %279 to i64
  %281 = getelementptr inbounds %"class.std::complex", ptr %273, i64 %280
  %282 = call noundef float @_ZSt4realIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %281)
  %283 = load ptr, ptr %30, align 8, !tbaa !5
  %284 = load i32, ptr %17, align 4, !tbaa !9
  %285 = sub nsw i32 %284, 1
  %286 = sext i32 %285 to i64
  %287 = getelementptr inbounds %"class.std::complex", ptr %283, i64 %286
  %288 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %287)
  %289 = getelementptr inbounds %"class.std::complex", ptr %44, i32 0, i32 0
  store <2 x float> %288, ptr %289, align 4
  %290 = getelementptr inbounds %"class.std::complex", ptr %44, i32 0, i32 0
  %291 = load <2 x float>, ptr %290, align 4
  %292 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %291)
  %293 = fdiv float %282, %292
  store float %293, ptr %24, align 4, !tbaa !16
  %294 = load i32, ptr %9, align 4, !tbaa !9
  %295 = load float, ptr %24, align 4, !tbaa !16
  %296 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %294, float noundef %295, ptr noundef %296, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #10
  %297 = load float, ptr %24, align 4, !tbaa !16
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %46, float noundef %297, float noundef 0.000000e+00)
  %298 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %46, ptr noundef nonnull align 4 dereferenceable(8) %13)
  %299 = getelementptr inbounds %"class.std::complex", ptr %45, i32 0, i32 0
  store <2 x float> %298, ptr %299, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 4 %45, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #10
  br label %300

300:                                              ; preds = %272, %250
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #10
  %301 = load ptr, ptr %30, align 8, !tbaa !5
  %302 = load i32, ptr %17, align 4, !tbaa !9
  %303 = sub nsw i32 %302, 1
  %304 = sext i32 %303 to i64
  %305 = getelementptr inbounds %"class.std::complex", ptr %301, i64 %304
  %306 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %305)
  %307 = getelementptr inbounds %"class.std::complex", ptr %47, i32 0, i32 0
  store <2 x float> %306, ptr %307, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %27, ptr align 4 %47, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #10
  %308 = call <2 x float> @_ZStngIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %13)
  %309 = getelementptr inbounds %"class.std::complex", ptr %49, i32 0, i32 0
  store <2 x float> %308, ptr %309, align 4
  %310 = load ptr, ptr %30, align 8, !tbaa !5
  %311 = load i32, ptr %17, align 4, !tbaa !9
  %312 = sub nsw i32 %311, 1
  %313 = sext i32 %312 to i64
  %314 = getelementptr inbounds %"class.std::complex", ptr %310, i64 %313
  %315 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %49, ptr noundef nonnull align 4 dereferenceable(8) %314)
  %316 = getelementptr inbounds %"class.std::complex", ptr %48, i32 0, i32 0
  store <2 x float> %315, ptr %316, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 4 %48, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %50, ptr align 4 %27, i64 8, i1 false), !tbaa.struct !11
  %317 = getelementptr inbounds %"class.std::complex", ptr %50, i32 0, i32 0
  %318 = load <2 x float>, ptr %317, align 4
  %319 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %318)
  store float %319, ptr %24, align 4, !tbaa !16
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %51, ptr align 4 %28, i64 8, i1 false), !tbaa.struct !11
  %320 = getelementptr inbounds %"class.std::complex", ptr %51, i32 0, i32 0
  %321 = load <2 x float>, ptr %320, align 4
  %322 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %321)
  store float %322, ptr %25, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #10
  %323 = load ptr, ptr %7, align 8, !tbaa !5
  %324 = load i32, ptr %10, align 4, !tbaa !9
  %325 = load i32, ptr %17, align 4, !tbaa !9
  %326 = sub nsw i32 %325, 1
  %327 = load i32, ptr %8, align 4, !tbaa !9
  %328 = mul nsw i32 %326, %327
  %329 = add nsw i32 %324, %328
  %330 = sext i32 %329 to i64
  %331 = getelementptr inbounds %"class.std::complex", ptr %323, i64 %330
  %332 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %27, ptr noundef nonnull align 4 dereferenceable(8) %331)
  %333 = getelementptr inbounds %"class.std::complex", ptr %52, i32 0, i32 0
  store <2 x float> %332, ptr %333, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %27, ptr align 4 %52, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #10
  %334 = load ptr, ptr %7, align 8, !tbaa !5
  %335 = load i32, ptr %10, align 4, !tbaa !9
  %336 = load i32, ptr %17, align 4, !tbaa !9
  %337 = sub nsw i32 %336, 1
  %338 = load i32, ptr %8, align 4, !tbaa !9
  %339 = mul nsw i32 %337, %338
  %340 = add nsw i32 %335, %339
  %341 = sext i32 %340 to i64
  %342 = getelementptr inbounds %"class.std::complex", ptr %334, i64 %341
  %343 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %28, ptr noundef nonnull align 4 dereferenceable(8) %342)
  %344 = getelementptr inbounds %"class.std::complex", ptr %53, i32 0, i32 0
  store <2 x float> %343, ptr %344, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 4 %53, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #10
  %345 = load i32, ptr %17, align 4, !tbaa !9
  %346 = load i32, ptr %10, align 4, !tbaa !9
  %347 = add nsw i32 %345, %346
  %348 = load i32, ptr %9, align 4, !tbaa !9
  %349 = call noundef i32 @_Z6i4_minii(i32 noundef %347, i32 noundef %348)
  store i32 %349, ptr %16, align 4, !tbaa !9
  %350 = load i32, ptr %10, align 4, !tbaa !9
  %351 = add nsw i32 %350, 1
  store i32 %351, ptr %14, align 4, !tbaa !9
  %352 = load i32, ptr %17, align 4, !tbaa !9
  %353 = add nsw i32 %352, 1
  %354 = load i32, ptr %16, align 4, !tbaa !9
  %355 = icmp sle i32 %353, %354
  br i1 %355, label %356, label %480

356:                                              ; preds = %300
  %357 = load i32, ptr %17, align 4, !tbaa !9
  %358 = add nsw i32 %357, 1
  store i32 %358, ptr %15, align 4, !tbaa !9
  br label %359

359:                                              ; preds = %428, %356
  %360 = load i32, ptr %15, align 4, !tbaa !9
  %361 = load i32, ptr %16, align 4, !tbaa !9
  %362 = icmp sle i32 %360, %361
  br i1 %362, label %363, label %431

363:                                              ; preds = %359
  %364 = load i32, ptr %14, align 4, !tbaa !9
  %365 = sub nsw i32 %364, 1
  store i32 %365, ptr %14, align 4, !tbaa !9
  %366 = load float, ptr %25, align 4, !tbaa !16
  %367 = load ptr, ptr %30, align 8, !tbaa !5
  %368 = load i32, ptr %15, align 4, !tbaa !9
  %369 = sub nsw i32 %368, 1
  %370 = sext i32 %369 to i64
  %371 = getelementptr inbounds %"class.std::complex", ptr %367, i64 %370
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #10
  %372 = load ptr, ptr %7, align 8, !tbaa !5
  %373 = load i32, ptr %14, align 4, !tbaa !9
  %374 = sub nsw i32 %373, 1
  %375 = load i32, ptr %15, align 4, !tbaa !9
  %376 = sub nsw i32 %375, 1
  %377 = load i32, ptr %8, align 4, !tbaa !9
  %378 = mul nsw i32 %376, %377
  %379 = add nsw i32 %374, %378
  %380 = sext i32 %379 to i64
  %381 = getelementptr inbounds %"class.std::complex", ptr %372, i64 %380
  %382 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %381)
  %383 = getelementptr inbounds %"class.std::complex", ptr %56, i32 0, i32 0
  store <2 x float> %382, ptr %383, align 4
  %384 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %28, ptr noundef nonnull align 4 dereferenceable(8) %56)
  %385 = getelementptr inbounds %"class.std::complex", ptr %55, i32 0, i32 0
  store <2 x float> %384, ptr %385, align 4
  %386 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %371, ptr noundef nonnull align 4 dereferenceable(8) %55)
  %387 = getelementptr inbounds %"class.std::complex", ptr %54, i32 0, i32 0
  store <2 x float> %386, ptr %387, align 4
  %388 = getelementptr inbounds %"class.std::complex", ptr %54, i32 0, i32 0
  %389 = load <2 x float>, ptr %388, align 4
  %390 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %389)
  %391 = fadd float %366, %390
  store float %391, ptr %25, align 4, !tbaa !16
  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.start.p0(i64 8, ptr %57) #10
  %392 = load ptr, ptr %30, align 8, !tbaa !5
  %393 = load i32, ptr %15, align 4, !tbaa !9
  %394 = sub nsw i32 %393, 1
  %395 = sext i32 %394 to i64
  %396 = getelementptr inbounds %"class.std::complex", ptr %392, i64 %395
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #10
  %397 = load ptr, ptr %7, align 8, !tbaa !5
  %398 = load i32, ptr %14, align 4, !tbaa !9
  %399 = sub nsw i32 %398, 1
  %400 = load i32, ptr %15, align 4, !tbaa !9
  %401 = sub nsw i32 %400, 1
  %402 = load i32, ptr %8, align 4, !tbaa !9
  %403 = mul nsw i32 %401, %402
  %404 = add nsw i32 %399, %403
  %405 = sext i32 %404 to i64
  %406 = getelementptr inbounds %"class.std::complex", ptr %397, i64 %405
  %407 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %406)
  %408 = getelementptr inbounds %"class.std::complex", ptr %59, i32 0, i32 0
  store <2 x float> %407, ptr %408, align 4
  %409 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %27, ptr noundef nonnull align 4 dereferenceable(8) %59)
  %410 = getelementptr inbounds %"class.std::complex", ptr %58, i32 0, i32 0
  store <2 x float> %409, ptr %410, align 4
  %411 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %396, ptr noundef nonnull align 4 dereferenceable(8) %58)
  %412 = getelementptr inbounds %"class.std::complex", ptr %57, i32 0, i32 0
  store <2 x float> %411, ptr %412, align 4
  %413 = load ptr, ptr %30, align 8, !tbaa !5
  %414 = load i32, ptr %15, align 4, !tbaa !9
  %415 = sub nsw i32 %414, 1
  %416 = sext i32 %415 to i64
  %417 = getelementptr inbounds %"class.std::complex", ptr %413, i64 %416
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %417, ptr align 4 %57, i64 8, i1 false), !tbaa.struct !11
  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
  %418 = load float, ptr %24, align 4, !tbaa !16
  %419 = load ptr, ptr %30, align 8, !tbaa !5
  %420 = load i32, ptr %15, align 4, !tbaa !9
  %421 = sub nsw i32 %420, 1
  %422 = sext i32 %421 to i64
  %423 = getelementptr inbounds %"class.std::complex", ptr %419, i64 %422
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %60, ptr align 4 %423, i64 8, i1 false), !tbaa.struct !11
  %424 = getelementptr inbounds %"class.std::complex", ptr %60, i32 0, i32 0
  %425 = load <2 x float>, ptr %424, align 4
  %426 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %425)
  %427 = fadd float %418, %426
  store float %427, ptr %24, align 4, !tbaa !16
  br label %428

428:                                              ; preds = %363
  %429 = load i32, ptr %15, align 4, !tbaa !9
  %430 = add nsw i32 %429, 1
  store i32 %430, ptr %15, align 4, !tbaa !9
  br label %359, !llvm.loop !20

431:                                              ; preds = %359
  %432 = load float, ptr %24, align 4, !tbaa !16
  %433 = load float, ptr %25, align 4, !tbaa !16
  %434 = fcmp olt float %432, %433
  br i1 %434, label %435, label %479

435:                                              ; preds = %431
  call void @llvm.lifetime.start.p0(i64 8, ptr %61) #10
  %436 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %28, ptr noundef nonnull align 4 dereferenceable(8) %27)
  %437 = getelementptr inbounds %"class.std::complex", ptr %61, i32 0, i32 0
  store <2 x float> %436, ptr %437, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 %61, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %27, ptr align 4 %28, i64 8, i1 false), !tbaa.struct !11
  %438 = load i32, ptr %10, align 4, !tbaa !9
  %439 = add nsw i32 %438, 1
  store i32 %439, ptr %14, align 4, !tbaa !9
  %440 = load i32, ptr %17, align 4, !tbaa !9
  %441 = add nsw i32 %440, 1
  store i32 %441, ptr %15, align 4, !tbaa !9
  br label %442

442:                                              ; preds = %475, %435
  %443 = load i32, ptr %15, align 4, !tbaa !9
  %444 = load i32, ptr %16, align 4, !tbaa !9
  %445 = icmp sle i32 %443, %444
  br i1 %445, label %446, label %478

446:                                              ; preds = %442
  %447 = load i32, ptr %14, align 4, !tbaa !9
  %448 = sub nsw i32 %447, 1
  store i32 %448, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #10
  %449 = load ptr, ptr %30, align 8, !tbaa !5
  %450 = load i32, ptr %15, align 4, !tbaa !9
  %451 = sub nsw i32 %450, 1
  %452 = sext i32 %451 to i64
  %453 = getelementptr inbounds %"class.std::complex", ptr %449, i64 %452
  call void @llvm.lifetime.start.p0(i64 8, ptr %63) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %64) #10
  %454 = load ptr, ptr %7, align 8, !tbaa !5
  %455 = load i32, ptr %14, align 4, !tbaa !9
  %456 = sub nsw i32 %455, 1
  %457 = load i32, ptr %15, align 4, !tbaa !9
  %458 = sub nsw i32 %457, 1
  %459 = load i32, ptr %8, align 4, !tbaa !9
  %460 = mul nsw i32 %458, %459
  %461 = add nsw i32 %456, %460
  %462 = sext i32 %461 to i64
  %463 = getelementptr inbounds %"class.std::complex", ptr %454, i64 %462
  %464 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %463)
  %465 = getelementptr inbounds %"class.std::complex", ptr %64, i32 0, i32 0
  store <2 x float> %464, ptr %465, align 4
  %466 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %26, ptr noundef nonnull align 4 dereferenceable(8) %64)
  %467 = getelementptr inbounds %"class.std::complex", ptr %63, i32 0, i32 0
  store <2 x float> %466, ptr %467, align 4
  %468 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %453, ptr noundef nonnull align 4 dereferenceable(8) %63)
  %469 = getelementptr inbounds %"class.std::complex", ptr %62, i32 0, i32 0
  store <2 x float> %468, ptr %469, align 4
  %470 = load ptr, ptr %30, align 8, !tbaa !5
  %471 = load i32, ptr %15, align 4, !tbaa !9
  %472 = sub nsw i32 %471, 1
  %473 = sext i32 %472 to i64
  %474 = getelementptr inbounds %"class.std::complex", ptr %470, i64 %473
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %474, ptr align 4 %62, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #10
  br label %475

475:                                              ; preds = %446
  %476 = load i32, ptr %15, align 4, !tbaa !9
  %477 = add nsw i32 %476, 1
  store i32 %477, ptr %15, align 4, !tbaa !9
  br label %442, !llvm.loop !21

478:                                              ; preds = %442
  br label %479

479:                                              ; preds = %478, %431
  br label %480

480:                                              ; preds = %479, %300
  %481 = load ptr, ptr %30, align 8, !tbaa !5
  %482 = load i32, ptr %17, align 4, !tbaa !9
  %483 = sub nsw i32 %482, 1
  %484 = sext i32 %483 to i64
  %485 = getelementptr inbounds %"class.std::complex", ptr %481, i64 %484
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %485, ptr align 4 %27, i64 8, i1 false), !tbaa.struct !11
  br label %486

486:                                              ; preds = %480
  %487 = load i32, ptr %17, align 4, !tbaa !9
  %488 = add nsw i32 %487, 1
  store i32 %488, ptr %17, align 4, !tbaa !9
  br label %221, !llvm.loop !22

489:                                              ; preds = %221
  %490 = load i32, ptr %9, align 4, !tbaa !9
  %491 = load ptr, ptr %30, align 8, !tbaa !5
  %492 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %490, ptr noundef %491, i32 noundef 1)
  %493 = fpext float %492 to double
  %494 = fdiv double 1.000000e+00, %493
  %495 = fptrunc double %494 to float
  store float %495, ptr %24, align 4, !tbaa !16
  %496 = load i32, ptr %9, align 4, !tbaa !9
  %497 = load float, ptr %24, align 4, !tbaa !16
  %498 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %496, float noundef %497, ptr noundef %498, i32 noundef 1)
  %499 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %499, ptr %17, align 4, !tbaa !9
  br label %500

500:                                              ; preds = %605, %489
  %501 = load i32, ptr %17, align 4, !tbaa !9
  %502 = icmp sle i32 1, %501
  br i1 %502, label %503, label %608

503:                                              ; preds = %500
  %504 = load ptr, ptr %7, align 8, !tbaa !5
  %505 = load i32, ptr %10, align 4, !tbaa !9
  %506 = load i32, ptr %17, align 4, !tbaa !9
  %507 = sub nsw i32 %506, 1
  %508 = load i32, ptr %8, align 4, !tbaa !9
  %509 = mul nsw i32 %507, %508
  %510 = add nsw i32 %505, %509
  %511 = sext i32 %510 to i64
  %512 = getelementptr inbounds %"class.std::complex", ptr %504, i64 %511
  %513 = call noundef float @_ZSt4realIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %512)
  %514 = load ptr, ptr %30, align 8, !tbaa !5
  %515 = load i32, ptr %17, align 4, !tbaa !9
  %516 = sub nsw i32 %515, 1
  %517 = sext i32 %516 to i64
  %518 = getelementptr inbounds %"class.std::complex", ptr %514, i64 %517
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %65, ptr align 4 %518, i64 8, i1 false), !tbaa.struct !11
  %519 = getelementptr inbounds %"class.std::complex", ptr %65, i32 0, i32 0
  %520 = load <2 x float>, ptr %519, align 4
  %521 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %520)
  %522 = fcmp olt float %513, %521
  br i1 %522, label %523, label %546

523:                                              ; preds = %503
  %524 = load ptr, ptr %7, align 8, !tbaa !5
  %525 = load i32, ptr %10, align 4, !tbaa !9
  %526 = load i32, ptr %17, align 4, !tbaa !9
  %527 = sub nsw i32 %526, 1
  %528 = load i32, ptr %8, align 4, !tbaa !9
  %529 = mul nsw i32 %527, %528
  %530 = add nsw i32 %525, %529
  %531 = sext i32 %530 to i64
  %532 = getelementptr inbounds %"class.std::complex", ptr %524, i64 %531
  %533 = call noundef float @_ZSt4realIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %532)
  %534 = load ptr, ptr %30, align 8, !tbaa !5
  %535 = load i32, ptr %17, align 4, !tbaa !9
  %536 = sub nsw i32 %535, 1
  %537 = sext i32 %536 to i64
  %538 = getelementptr inbounds %"class.std::complex", ptr %534, i64 %537
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %66, ptr align 4 %538, i64 8, i1 false), !tbaa.struct !11
  %539 = getelementptr inbounds %"class.std::complex", ptr %66, i32 0, i32 0
  %540 = load <2 x float>, ptr %539, align 4
  %541 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %540)
  %542 = fdiv float %533, %541
  store float %542, ptr %24, align 4, !tbaa !16
  %543 = load i32, ptr %9, align 4, !tbaa !9
  %544 = load float, ptr %24, align 4, !tbaa !16
  %545 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %543, float noundef %544, ptr noundef %545, i32 noundef 1)
  br label %546

546:                                              ; preds = %523, %503
  call void @llvm.lifetime.start.p0(i64 8, ptr %67) #10
  %547 = load ptr, ptr %30, align 8, !tbaa !5
  %548 = load i32, ptr %17, align 4, !tbaa !9
  %549 = sub nsw i32 %548, 1
  %550 = sext i32 %549 to i64
  %551 = getelementptr inbounds %"class.std::complex", ptr %547, i64 %550
  %552 = load ptr, ptr %7, align 8, !tbaa !5
  %553 = load i32, ptr %10, align 4, !tbaa !9
  %554 = load i32, ptr %17, align 4, !tbaa !9
  %555 = sub nsw i32 %554, 1
  %556 = load i32, ptr %8, align 4, !tbaa !9
  %557 = mul nsw i32 %555, %556
  %558 = add nsw i32 %553, %557
  %559 = sext i32 %558 to i64
  %560 = getelementptr inbounds %"class.std::complex", ptr %552, i64 %559
  %561 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %551, ptr noundef nonnull align 4 dereferenceable(8) %560)
  %562 = getelementptr inbounds %"class.std::complex", ptr %67, i32 0, i32 0
  store <2 x float> %561, ptr %562, align 4
  %563 = load ptr, ptr %30, align 8, !tbaa !5
  %564 = load i32, ptr %17, align 4, !tbaa !9
  %565 = sub nsw i32 %564, 1
  %566 = sext i32 %565 to i64
  %567 = getelementptr inbounds %"class.std::complex", ptr %563, i64 %566
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %567, ptr align 4 %67, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #10
  %568 = load i32, ptr %17, align 4, !tbaa !9
  %569 = sub nsw i32 %568, 1
  %570 = load i32, ptr %10, align 4, !tbaa !9
  %571 = call noundef i32 @_Z6i4_minii(i32 noundef %569, i32 noundef %570)
  store i32 %571, ptr %21, align 4, !tbaa !9
  %572 = load i32, ptr %10, align 4, !tbaa !9
  %573 = add nsw i32 %572, 1
  %574 = load i32, ptr %21, align 4, !tbaa !9
  %575 = sub nsw i32 %573, %574
  store i32 %575, ptr %19, align 4, !tbaa !9
  %576 = load i32, ptr %17, align 4, !tbaa !9
  %577 = load i32, ptr %21, align 4, !tbaa !9
  %578 = sub nsw i32 %576, %577
  store i32 %578, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %68) #10
  %579 = load ptr, ptr %30, align 8, !tbaa !5
  %580 = load i32, ptr %17, align 4, !tbaa !9
  %581 = sub nsw i32 %580, 1
  %582 = sext i32 %581 to i64
  %583 = getelementptr inbounds %"class.std::complex", ptr %579, i64 %582
  %584 = call <2 x float> @_ZStngIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %583)
  %585 = getelementptr inbounds %"class.std::complex", ptr %68, i32 0, i32 0
  store <2 x float> %584, ptr %585, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 %68, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #10
  %586 = load i32, ptr %21, align 4, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %69, ptr align 4 %26, i64 8, i1 false), !tbaa.struct !11
  %587 = load ptr, ptr %7, align 8, !tbaa !5
  %588 = load i32, ptr %19, align 4, !tbaa !9
  %589 = sext i32 %588 to i64
  %590 = getelementptr inbounds %"class.std::complex", ptr %587, i64 %589
  %591 = getelementptr inbounds %"class.std::complex", ptr %590, i64 -1
  %592 = load i32, ptr %17, align 4, !tbaa !9
  %593 = sub nsw i32 %592, 1
  %594 = load i32, ptr %8, align 4, !tbaa !9
  %595 = mul nsw i32 %593, %594
  %596 = sext i32 %595 to i64
  %597 = getelementptr inbounds %"class.std::complex", ptr %591, i64 %596
  %598 = load ptr, ptr %30, align 8, !tbaa !5
  %599 = load i32, ptr %20, align 4, !tbaa !9
  %600 = sext i32 %599 to i64
  %601 = getelementptr inbounds %"class.std::complex", ptr %598, i64 %600
  %602 = getelementptr inbounds %"class.std::complex", ptr %601, i64 -1
  %603 = getelementptr inbounds %"class.std::complex", ptr %69, i32 0, i32 0
  %604 = load <2 x float>, ptr %603, align 4
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %586, <2 x float> %604, ptr noundef %597, i32 noundef 1, ptr noundef %602, i32 noundef 1)
  br label %605

605:                                              ; preds = %546
  %606 = load i32, ptr %17, align 4, !tbaa !9
  %607 = add nsw i32 %606, -1
  store i32 %607, ptr %17, align 4, !tbaa !9
  br label %500, !llvm.loop !23

608:                                              ; preds = %500
  %609 = load i32, ptr %9, align 4, !tbaa !9
  %610 = load ptr, ptr %30, align 8, !tbaa !5
  %611 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %609, ptr noundef %610, i32 noundef 1)
  %612 = fpext float %611 to double
  %613 = fdiv double 1.000000e+00, %612
  %614 = fptrunc double %613 to float
  store float %614, ptr %24, align 4, !tbaa !16
  %615 = load i32, ptr %9, align 4, !tbaa !9
  %616 = load float, ptr %24, align 4, !tbaa !16
  %617 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %615, float noundef %616, ptr noundef %617, i32 noundef 1)
  store float 1.000000e+00, ptr %29, align 4, !tbaa !16
  store i32 1, ptr %17, align 4, !tbaa !9
  br label %618

618:                                              ; preds = %732, %608
  %619 = load i32, ptr %17, align 4, !tbaa !9
  %620 = load i32, ptr %9, align 4, !tbaa !9
  %621 = icmp sle i32 %619, %620
  br i1 %621, label %622, label %735

622:                                              ; preds = %618
  %623 = load i32, ptr %17, align 4, !tbaa !9
  %624 = sub nsw i32 %623, 1
  %625 = load i32, ptr %10, align 4, !tbaa !9
  %626 = call noundef i32 @_Z6i4_minii(i32 noundef %624, i32 noundef %625)
  store i32 %626, ptr %21, align 4, !tbaa !9
  %627 = load i32, ptr %10, align 4, !tbaa !9
  %628 = add nsw i32 %627, 1
  %629 = load i32, ptr %21, align 4, !tbaa !9
  %630 = sub nsw i32 %628, %629
  store i32 %630, ptr %19, align 4, !tbaa !9
  %631 = load i32, ptr %17, align 4, !tbaa !9
  %632 = load i32, ptr %21, align 4, !tbaa !9
  %633 = sub nsw i32 %631, %632
  store i32 %633, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %70) #10
  %634 = load ptr, ptr %30, align 8, !tbaa !5
  %635 = load i32, ptr %17, align 4, !tbaa !9
  %636 = sub nsw i32 %635, 1
  %637 = sext i32 %636 to i64
  %638 = getelementptr inbounds %"class.std::complex", ptr %634, i64 %637
  call void @llvm.lifetime.start.p0(i64 8, ptr %71) #10
  %639 = load i32, ptr %21, align 4, !tbaa !9
  %640 = load ptr, ptr %7, align 8, !tbaa !5
  %641 = load i32, ptr %19, align 4, !tbaa !9
  %642 = sext i32 %641 to i64
  %643 = getelementptr inbounds %"class.std::complex", ptr %640, i64 %642
  %644 = getelementptr inbounds %"class.std::complex", ptr %643, i64 -1
  %645 = load i32, ptr %17, align 4, !tbaa !9
  %646 = sub nsw i32 %645, 1
  %647 = load i32, ptr %8, align 4, !tbaa !9
  %648 = mul nsw i32 %646, %647
  %649 = sext i32 %648 to i64
  %650 = getelementptr inbounds %"class.std::complex", ptr %644, i64 %649
  %651 = load ptr, ptr %30, align 8, !tbaa !5
  %652 = load i32, ptr %20, align 4, !tbaa !9
  %653 = sext i32 %652 to i64
  %654 = getelementptr inbounds %"class.std::complex", ptr %651, i64 %653
  %655 = getelementptr inbounds %"class.std::complex", ptr %654, i64 -1
  %656 = call <2 x float> @_Z5cdotciPSt7complexIfEiS1_i(i32 noundef %639, ptr noundef %650, i32 noundef 1, ptr noundef %655, i32 noundef 1)
  %657 = getelementptr inbounds %"class.std::complex", ptr %71, i32 0, i32 0
  store <2 x float> %656, ptr %657, align 4
  %658 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %638, ptr noundef nonnull align 4 dereferenceable(8) %71)
  %659 = getelementptr inbounds %"class.std::complex", ptr %70, i32 0, i32 0
  store <2 x float> %658, ptr %659, align 4
  %660 = load ptr, ptr %30, align 8, !tbaa !5
  %661 = load i32, ptr %17, align 4, !tbaa !9
  %662 = sub nsw i32 %661, 1
  %663 = sext i32 %662 to i64
  %664 = getelementptr inbounds %"class.std::complex", ptr %660, i64 %663
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %664, ptr align 4 %70, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #10
  %665 = load ptr, ptr %7, align 8, !tbaa !5
  %666 = load i32, ptr %10, align 4, !tbaa !9
  %667 = load i32, ptr %17, align 4, !tbaa !9
  %668 = sub nsw i32 %667, 1
  %669 = load i32, ptr %8, align 4, !tbaa !9
  %670 = mul nsw i32 %668, %669
  %671 = add nsw i32 %666, %670
  %672 = sext i32 %671 to i64
  %673 = getelementptr inbounds %"class.std::complex", ptr %665, i64 %672
  %674 = call noundef float @_ZSt4realIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %673)
  %675 = load ptr, ptr %30, align 8, !tbaa !5
  %676 = load i32, ptr %17, align 4, !tbaa !9
  %677 = sub nsw i32 %676, 1
  %678 = sext i32 %677 to i64
  %679 = getelementptr inbounds %"class.std::complex", ptr %675, i64 %678
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %72, ptr align 4 %679, i64 8, i1 false), !tbaa.struct !11
  %680 = getelementptr inbounds %"class.std::complex", ptr %72, i32 0, i32 0
  %681 = load <2 x float>, ptr %680, align 4
  %682 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %681)
  %683 = fcmp olt float %674, %682
  br i1 %683, label %684, label %710

684:                                              ; preds = %622
  %685 = load ptr, ptr %7, align 8, !tbaa !5
  %686 = load i32, ptr %10, align 4, !tbaa !9
  %687 = load i32, ptr %17, align 4, !tbaa !9
  %688 = sub nsw i32 %687, 1
  %689 = load i32, ptr %8, align 4, !tbaa !9
  %690 = mul nsw i32 %688, %689
  %691 = add nsw i32 %686, %690
  %692 = sext i32 %691 to i64
  %693 = getelementptr inbounds %"class.std::complex", ptr %685, i64 %692
  %694 = call noundef float @_ZSt4realIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %693)
  %695 = load ptr, ptr %30, align 8, !tbaa !5
  %696 = load i32, ptr %17, align 4, !tbaa !9
  %697 = sub nsw i32 %696, 1
  %698 = sext i32 %697 to i64
  %699 = getelementptr inbounds %"class.std::complex", ptr %695, i64 %698
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %73, ptr align 4 %699, i64 8, i1 false), !tbaa.struct !11
  %700 = getelementptr inbounds %"class.std::complex", ptr %73, i32 0, i32 0
  %701 = load <2 x float>, ptr %700, align 4
  %702 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %701)
  %703 = fdiv float %694, %702
  store float %703, ptr %24, align 4, !tbaa !16
  %704 = load i32, ptr %9, align 4, !tbaa !9
  %705 = load float, ptr %24, align 4, !tbaa !16
  %706 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %704, float noundef %705, ptr noundef %706, i32 noundef 1)
  %707 = load float, ptr %24, align 4, !tbaa !16
  %708 = load float, ptr %29, align 4, !tbaa !16
  %709 = fmul float %707, %708
  store float %709, ptr %29, align 4, !tbaa !16
  br label %710

710:                                              ; preds = %684, %622
  call void @llvm.lifetime.start.p0(i64 8, ptr %74) #10
  %711 = load ptr, ptr %30, align 8, !tbaa !5
  %712 = load i32, ptr %17, align 4, !tbaa !9
  %713 = sub nsw i32 %712, 1
  %714 = sext i32 %713 to i64
  %715 = getelementptr inbounds %"class.std::complex", ptr %711, i64 %714
  %716 = load ptr, ptr %7, align 8, !tbaa !5
  %717 = load i32, ptr %10, align 4, !tbaa !9
  %718 = load i32, ptr %17, align 4, !tbaa !9
  %719 = sub nsw i32 %718, 1
  %720 = load i32, ptr %8, align 4, !tbaa !9
  %721 = mul nsw i32 %719, %720
  %722 = add nsw i32 %717, %721
  %723 = sext i32 %722 to i64
  %724 = getelementptr inbounds %"class.std::complex", ptr %716, i64 %723
  %725 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %715, ptr noundef nonnull align 4 dereferenceable(8) %724)
  %726 = getelementptr inbounds %"class.std::complex", ptr %74, i32 0, i32 0
  store <2 x float> %725, ptr %726, align 4
  %727 = load ptr, ptr %30, align 8, !tbaa !5
  %728 = load i32, ptr %17, align 4, !tbaa !9
  %729 = sub nsw i32 %728, 1
  %730 = sext i32 %729 to i64
  %731 = getelementptr inbounds %"class.std::complex", ptr %727, i64 %730
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %731, ptr align 4 %74, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #10
  br label %732

732:                                              ; preds = %710
  %733 = load i32, ptr %17, align 4, !tbaa !9
  %734 = add nsw i32 %733, 1
  store i32 %734, ptr %17, align 4, !tbaa !9
  br label %618, !llvm.loop !24

735:                                              ; preds = %618
  %736 = load i32, ptr %9, align 4, !tbaa !9
  %737 = load ptr, ptr %30, align 8, !tbaa !5
  %738 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %736, ptr noundef %737, i32 noundef 1)
  %739 = fpext float %738 to double
  %740 = fdiv double 1.000000e+00, %739
  %741 = fptrunc double %740 to float
  store float %741, ptr %24, align 4, !tbaa !16
  %742 = load i32, ptr %9, align 4, !tbaa !9
  %743 = load float, ptr %24, align 4, !tbaa !16
  %744 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %742, float noundef %743, ptr noundef %744, i32 noundef 1)
  %745 = load float, ptr %24, align 4, !tbaa !16
  %746 = load float, ptr %29, align 4, !tbaa !16
  %747 = fmul float %745, %746
  store float %747, ptr %29, align 4, !tbaa !16
  %748 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %748, ptr %17, align 4, !tbaa !9
  br label %749

749:                                              ; preds = %857, %735
  %750 = load i32, ptr %17, align 4, !tbaa !9
  %751 = icmp sle i32 1, %750
  br i1 %751, label %752, label %860

752:                                              ; preds = %749
  %753 = load ptr, ptr %7, align 8, !tbaa !5
  %754 = load i32, ptr %10, align 4, !tbaa !9
  %755 = load i32, ptr %17, align 4, !tbaa !9
  %756 = sub nsw i32 %755, 1
  %757 = load i32, ptr %8, align 4, !tbaa !9
  %758 = mul nsw i32 %756, %757
  %759 = add nsw i32 %754, %758
  %760 = sext i32 %759 to i64
  %761 = getelementptr inbounds %"class.std::complex", ptr %753, i64 %760
  %762 = call noundef float @_ZSt4realIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %761)
  %763 = load ptr, ptr %30, align 8, !tbaa !5
  %764 = load i32, ptr %17, align 4, !tbaa !9
  %765 = sub nsw i32 %764, 1
  %766 = sext i32 %765 to i64
  %767 = getelementptr inbounds %"class.std::complex", ptr %763, i64 %766
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %75, ptr align 4 %767, i64 8, i1 false), !tbaa.struct !11
  %768 = getelementptr inbounds %"class.std::complex", ptr %75, i32 0, i32 0
  %769 = load <2 x float>, ptr %768, align 4
  %770 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %769)
  %771 = fcmp olt float %762, %770
  br i1 %771, label %772, label %798

772:                                              ; preds = %752
  %773 = load ptr, ptr %7, align 8, !tbaa !5
  %774 = load i32, ptr %10, align 4, !tbaa !9
  %775 = load i32, ptr %17, align 4, !tbaa !9
  %776 = sub nsw i32 %775, 1
  %777 = load i32, ptr %8, align 4, !tbaa !9
  %778 = mul nsw i32 %776, %777
  %779 = add nsw i32 %774, %778
  %780 = sext i32 %779 to i64
  %781 = getelementptr inbounds %"class.std::complex", ptr %773, i64 %780
  %782 = call noundef float @_ZSt4realIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %781)
  %783 = load ptr, ptr %30, align 8, !tbaa !5
  %784 = load i32, ptr %17, align 4, !tbaa !9
  %785 = sub nsw i32 %784, 1
  %786 = sext i32 %785 to i64
  %787 = getelementptr inbounds %"class.std::complex", ptr %783, i64 %786
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %76, ptr align 4 %787, i64 8, i1 false), !tbaa.struct !11
  %788 = getelementptr inbounds %"class.std::complex", ptr %76, i32 0, i32 0
  %789 = load <2 x float>, ptr %788, align 4
  %790 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %789)
  %791 = fdiv float %782, %790
  store float %791, ptr %24, align 4, !tbaa !16
  %792 = load i32, ptr %9, align 4, !tbaa !9
  %793 = load float, ptr %24, align 4, !tbaa !16
  %794 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %792, float noundef %793, ptr noundef %794, i32 noundef 1)
  %795 = load float, ptr %24, align 4, !tbaa !16
  %796 = load float, ptr %29, align 4, !tbaa !16
  %797 = fmul float %795, %796
  store float %797, ptr %29, align 4, !tbaa !16
  br label %798

798:                                              ; preds = %772, %752
  call void @llvm.lifetime.start.p0(i64 8, ptr %77) #10
  %799 = load ptr, ptr %30, align 8, !tbaa !5
  %800 = load i32, ptr %17, align 4, !tbaa !9
  %801 = sub nsw i32 %800, 1
  %802 = sext i32 %801 to i64
  %803 = getelementptr inbounds %"class.std::complex", ptr %799, i64 %802
  %804 = load ptr, ptr %7, align 8, !tbaa !5
  %805 = load i32, ptr %10, align 4, !tbaa !9
  %806 = load i32, ptr %17, align 4, !tbaa !9
  %807 = sub nsw i32 %806, 1
  %808 = load i32, ptr %8, align 4, !tbaa !9
  %809 = mul nsw i32 %807, %808
  %810 = add nsw i32 %805, %809
  %811 = sext i32 %810 to i64
  %812 = getelementptr inbounds %"class.std::complex", ptr %804, i64 %811
  %813 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %803, ptr noundef nonnull align 4 dereferenceable(8) %812)
  %814 = getelementptr inbounds %"class.std::complex", ptr %77, i32 0, i32 0
  store <2 x float> %813, ptr %814, align 4
  %815 = load ptr, ptr %30, align 8, !tbaa !5
  %816 = load i32, ptr %17, align 4, !tbaa !9
  %817 = sub nsw i32 %816, 1
  %818 = sext i32 %817 to i64
  %819 = getelementptr inbounds %"class.std::complex", ptr %815, i64 %818
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %819, ptr align 4 %77, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %77) #10
  %820 = load i32, ptr %17, align 4, !tbaa !9
  %821 = sub nsw i32 %820, 1
  %822 = load i32, ptr %10, align 4, !tbaa !9
  %823 = call noundef i32 @_Z6i4_minii(i32 noundef %821, i32 noundef %822)
  store i32 %823, ptr %21, align 4, !tbaa !9
  %824 = load i32, ptr %10, align 4, !tbaa !9
  %825 = add nsw i32 %824, 1
  %826 = load i32, ptr %21, align 4, !tbaa !9
  %827 = sub nsw i32 %825, %826
  store i32 %827, ptr %19, align 4, !tbaa !9
  %828 = load i32, ptr %17, align 4, !tbaa !9
  %829 = load i32, ptr %21, align 4, !tbaa !9
  %830 = sub nsw i32 %828, %829
  store i32 %830, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %78) #10
  %831 = load ptr, ptr %30, align 8, !tbaa !5
  %832 = load i32, ptr %17, align 4, !tbaa !9
  %833 = sub nsw i32 %832, 1
  %834 = sext i32 %833 to i64
  %835 = getelementptr inbounds %"class.std::complex", ptr %831, i64 %834
  %836 = call <2 x float> @_ZStngIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %835)
  %837 = getelementptr inbounds %"class.std::complex", ptr %78, i32 0, i32 0
  store <2 x float> %836, ptr %837, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 %78, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %78) #10
  %838 = load i32, ptr %21, align 4, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %79, ptr align 4 %26, i64 8, i1 false), !tbaa.struct !11
  %839 = load ptr, ptr %7, align 8, !tbaa !5
  %840 = load i32, ptr %19, align 4, !tbaa !9
  %841 = sext i32 %840 to i64
  %842 = getelementptr inbounds %"class.std::complex", ptr %839, i64 %841
  %843 = getelementptr inbounds %"class.std::complex", ptr %842, i64 -1
  %844 = load i32, ptr %17, align 4, !tbaa !9
  %845 = sub nsw i32 %844, 1
  %846 = load i32, ptr %8, align 4, !tbaa !9
  %847 = mul nsw i32 %845, %846
  %848 = sext i32 %847 to i64
  %849 = getelementptr inbounds %"class.std::complex", ptr %843, i64 %848
  %850 = load ptr, ptr %30, align 8, !tbaa !5
  %851 = load i32, ptr %20, align 4, !tbaa !9
  %852 = sext i32 %851 to i64
  %853 = getelementptr inbounds %"class.std::complex", ptr %850, i64 %852
  %854 = getelementptr inbounds %"class.std::complex", ptr %853, i64 -1
  %855 = getelementptr inbounds %"class.std::complex", ptr %79, i32 0, i32 0
  %856 = load <2 x float>, ptr %855, align 4
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %838, <2 x float> %856, ptr noundef %849, i32 noundef 1, ptr noundef %854, i32 noundef 1)
  br label %857

857:                                              ; preds = %798
  %858 = load i32, ptr %17, align 4, !tbaa !9
  %859 = add nsw i32 %858, -1
  store i32 %859, ptr %17, align 4, !tbaa !9
  br label %749, !llvm.loop !25

860:                                              ; preds = %749
  %861 = load i32, ptr %9, align 4, !tbaa !9
  %862 = load ptr, ptr %30, align 8, !tbaa !5
  %863 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %861, ptr noundef %862, i32 noundef 1)
  %864 = fpext float %863 to double
  %865 = fdiv double 1.000000e+00, %864
  %866 = fptrunc double %865 to float
  store float %866, ptr %24, align 4, !tbaa !16
  %867 = load i32, ptr %9, align 4, !tbaa !9
  %868 = load float, ptr %24, align 4, !tbaa !16
  %869 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %867, float noundef %868, ptr noundef %869, i32 noundef 1)
  %870 = load float, ptr %24, align 4, !tbaa !16
  %871 = load float, ptr %29, align 4, !tbaa !16
  %872 = fmul float %870, %871
  store float %872, ptr %29, align 4, !tbaa !16
  %873 = load float, ptr %12, align 4, !tbaa !16
  %874 = fpext float %873 to double
  %875 = fcmp une double %874, 0.000000e+00
  br i1 %875, label %876, label %880

876:                                              ; preds = %860
  %877 = load float, ptr %29, align 4, !tbaa !16
  %878 = load float, ptr %12, align 4, !tbaa !16
  %879 = fdiv float %877, %878
  store float %879, ptr %23, align 4, !tbaa !16
  br label %881

880:                                              ; preds = %860
  store float 0.000000e+00, ptr %23, align 4, !tbaa !16
  br label %881

881:                                              ; preds = %880, %876
  %882 = load ptr, ptr %30, align 8, !tbaa !5
  %883 = icmp eq ptr %882, null
  br i1 %883, label %885, label %884

884:                                              ; preds = %881
  call void @_ZdaPv(ptr noundef %882) #12
  br label %885

885:                                              ; preds = %884, %881
  %886 = load float, ptr %23, align 4, !tbaa !16
  store float %886, ptr %6, align 4
  store i32 1, ptr %36, align 4
  br label %887

887:                                              ; preds = %885, %205
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #10
  call void @llvm.lifetime.end.p0(i64 8, 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #10
  %888 = load float, ptr %6, align 4
  ret float %888

889:                                              ; preds = %167
  %890 = load ptr, ptr %31, align 8
  %891 = load i32, ptr %32, align 4
  %892 = insertvalue { ptr, i32 } poison, ptr %890, 0
  %893 = insertvalue { ptr, i32 } %892, i32 %891, 1
  resume { ptr, i32 } %893
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z5cpbfaPSt7complexIfEiii(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #9

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 nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nobuiltin allocsize(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 = { nobuiltin 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 #5 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { 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 #7 = { 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 #8 = { "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 = { 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 #10 = { nounwind }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { builtin 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 = distinct !{!15, !14}
!16 = !{!17, !17, i64 0}
!17 = !{!"float", !7, i64 0}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !14}
!23 = distinct !{!23, !14}
!24 = distinct !{!24, !14}
!25 = distinct !{!25, !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: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #2

declare i32 @__gxx_personality_v0(...)

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

; 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 #4

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #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)) local_unnamed_addr #3

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

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

; 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 #3

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

; 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 #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)) local_unnamed_addr #3

declare noundef i32 @_Z6i4_maxii(i32 noundef, i32 noundef) local_unnamed_addr #6

declare noundef i32 @_Z6i4_minii(i32 noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_Z6r4_maxff(float noundef, float noundef) local_unnamed_addr #1

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

declare noundef float @_Z5cabs1St7complexIfE(<2 x float>) local_unnamed_addr #6

declare <2 x float> @_Z6csign1St7complexIfES0_(<2 x float>, <2 x float>) local_unnamed_addr #6

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

; Function Attrs: mustprogress uwtable
define dso_local noundef float @_Z5cpbcoPSt7complexIfEiiiPi(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #7 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"class.std::complex", align 8
  %7 = alloca %"class.std::complex", align 8
  %8 = alloca %"class.std::complex", align 8
  %9 = alloca %"class.std::complex", align 8
  %10 = alloca %"class.std::complex", align 8
  %11 = alloca %"class.std::complex", align 8
  %12 = alloca %"class.std::complex", align 8
  %13 = alloca %"class.std::complex", align 8
  %14 = alloca %"class.std::complex", 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
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %7, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %8, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #8
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %23 = sext i32 %2 to i64
  %24 = icmp slt i32 %2, 0
  %25 = shl nsw i64 %23, 3
  %26 = select i1 %24, i64 -1, i64 %25
  %27 = call noalias noundef nonnull ptr @_Znam(i64 noundef %26) #9
  %28 = icmp eq i32 %2, 0
  br i1 %28, label %._crit_edge364, label %29

29:                                               ; preds = %5
  %30 = getelementptr inbounds %"class.std::complex", ptr %27, i64 %23
  br label %31

31:                                               ; preds = %31, %29
  %32 = phi ptr [ %27, %29 ], [ %33, %31 ]
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %32, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %33 = getelementptr inbounds i8, ptr %32, i64 8
  %34 = icmp eq ptr %33, %30
  br i1 %34, label %.loopexit353, label %31

.loopexit353:                                     ; preds = %31
  %invariant.gep = getelementptr i8, ptr %0, i64 -8
  %.not357 = icmp slt i32 %2, 1
  br i1 %.not357, label %._crit_edge364, label %.lr.ph360

.lr.ph360:                                        ; preds = %.loopexit353
  %35 = add i32 %3, 1
  %36 = add nsw i32 %3, 2
  %37 = sext i32 %1 to i64
  %38 = add nuw i32 %2, 1
  %wide.trip.count = zext i32 %38 to i64
  br label %39

.lr.ph363.preheader:                              ; preds = %._crit_edge
  %wide.trip.count429 = zext nneg i32 %2 to i64
  br label %.lr.ph363

39:                                               ; preds = %.lr.ph360, %._crit_edge
  %indvars.iv422 = phi i64 [ 1, %.lr.ph360 ], [ %indvars.iv.next423, %._crit_edge ]
  %40 = trunc nuw nsw i64 %indvars.iv422 to i32
  %41 = call noundef i32 @_Z6i4_minii(i32 noundef %40, i32 noundef %35)
  %42 = sub i32 %36, %40
  %43 = call noundef i32 @_Z6i4_maxii(i32 noundef %42, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #8
  %44 = sext i32 %43 to i64
  %gep = getelementptr %"class.std::complex", ptr %invariant.gep, i64 %44
  %45 = add nsw i64 %indvars.iv422, -1
  %46 = mul nsw i64 %45, %37
  %47 = getelementptr inbounds %"class.std::complex", ptr %gep, i64 %46
  %48 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %41, ptr noundef nonnull %47, i32 noundef 1)
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef %48, float noundef 0.000000e+00)
  %49 = getelementptr inbounds %"class.std::complex", ptr %27, i64 %45
  %50 = load i64, ptr %10, align 8, !tbaa !5
  store i64 %50, ptr %49, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  %.not348354 = icmp sgt i32 %43, %3
  br i1 %.not348354, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %39
  %51 = add i64 %46, 4294967295
  %52 = sub i32 %40, %41
  %53 = sext i32 %52 to i64
  br label %54

54:                                               ; preds = %.lr.ph, %54
  %indvars.iv417 = phi i64 [ %53, %.lr.ph ], [ %indvars.iv.next418, %54 ]
  %indvars.iv = phi i64 [ %44, %.lr.ph ], [ %indvars.iv.next, %54 ]
  %indvars.iv.next418 = add nsw i64 %indvars.iv417, 1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #8
  %55 = getelementptr inbounds %"class.std::complex", ptr %27, i64 %indvars.iv417
  %56 = call noundef float @_ZSt4realIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %55)
  %57 = add i64 %51, %indvars.iv
  %sext = shl i64 %57, 32
  %58 = ashr exact i64 %sext, 29
  %59 = getelementptr inbounds i8, ptr %0, i64 %58
  %.sroa.032.0.copyload = load <2 x float>, ptr %59, align 4, !tbaa !5
  %60 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.032.0.copyload)
  %61 = fadd float %56, %60
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef %61, float noundef 0.000000e+00)
  %62 = load i64, ptr %11, align 8, !tbaa !5
  store i64 %62, ptr %55, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %lftr.wideiv = trunc i64 %indvars.iv.next to i32
  %exitcond.not = icmp eq i32 %35, %lftr.wideiv
  br i1 %exitcond.not, label %._crit_edge, label %54, !llvm.loop !8

._crit_edge:                                      ; preds = %54, %39
  %indvars.iv.next423 = add nuw nsw i64 %indvars.iv422, 1
  %exitcond425.not = icmp eq i64 %indvars.iv.next423, %wide.trip.count
  br i1 %exitcond425.not, label %.lr.ph363.preheader, label %39, !llvm.loop !10

.lr.ph363:                                        ; preds = %.lr.ph363.preheader, %.lr.ph363
  %indvars.iv426 = phi i64 [ 0, %.lr.ph363.preheader ], [ %indvars.iv.next427, %.lr.ph363 ]
  %.0321362 = phi float [ 0.000000e+00, %.lr.ph363.preheader ], [ %65, %.lr.ph363 ]
  %63 = getelementptr inbounds %"class.std::complex", ptr %27, i64 %indvars.iv426
  %64 = call noundef float @_ZSt4realIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %63)
  %65 = call noundef float @_Z6r4_maxff(float noundef %.0321362, float noundef %64)
  %indvars.iv.next427 = add nuw nsw i64 %indvars.iv426, 1
  %exitcond430.not = icmp eq i64 %indvars.iv.next427, %wide.trip.count429
  br i1 %exitcond430.not, label %._crit_edge364, label %.lr.ph363, !llvm.loop !11

._crit_edge364:                                   ; preds = %.lr.ph363, %5, %.loopexit353
  %66 = phi i1 [ false, %.loopexit353 ], [ false, %5 ], [ true, %.lr.ph363 ]
  %.not357475478 = phi i1 [ true, %.loopexit353 ], [ true, %5 ], [ %.not357, %.lr.ph363 ]
  %.0321.lcssa = phi float [ 0.000000e+00, %.loopexit353 ], [ 0.000000e+00, %5 ], [ %65, %.lr.ph363 ]
  %67 = call noundef i32 @_Z5cpbfaPSt7complexIfEiii(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3)
  store i32 %67, ptr %4, align 4, !tbaa !12
  %.not342 = icmp eq i32 %67, 0
  br i1 %.not342, label %68, label %228

68:                                               ; preds = %._crit_edge364
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #8
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %12, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %69 = load i64, ptr %12, align 8, !tbaa !5
  store i64 %69, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #8
  br i1 %66, label %.lr.ph367.preheader, label %.preheader351

.lr.ph367.preheader:                              ; preds = %68
  %wide.trip.count434 = zext nneg i32 %2 to i64
  br label %.lr.ph367

.preheader351:                                    ; preds = %.lr.ph367, %68
  br i1 %.not357475478, label %._crit_edge385, label %.lr.ph384

.lr.ph384:                                        ; preds = %.preheader351
  %70 = add i32 %3, 1
  %71 = sext i32 %70 to i64
  %72 = sext i32 %1 to i64
  %73 = sext i32 %3 to i64
  %74 = add nuw i32 %2, 1
  %wide.trip.count459 = zext i32 %74 to i64
  %invariant.gep486 = getelementptr %"class.std::complex", ptr %0, i64 %73
  %invariant.gep482 = getelementptr i8, ptr %0, i64 -16
  %invariant.gep484 = getelementptr i8, ptr %0, i64 -16
  br label %77

.lr.ph367:                                        ; preds = %.lr.ph367.preheader, %.lr.ph367
  %indvars.iv431 = phi i64 [ 0, %.lr.ph367.preheader ], [ %indvars.iv.next432, %.lr.ph367 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %75 = getelementptr inbounds %"class.std::complex", ptr %27, i64 %indvars.iv431
  %76 = load i64, ptr %13, align 8, !tbaa !5
  store i64 %76, ptr %75, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  %indvars.iv.next432 = add nuw nsw i64 %indvars.iv431, 1
  %exitcond435.not = icmp eq i64 %indvars.iv.next432, %wide.trip.count434
  br i1 %exitcond435.not, label %.preheader351, label %.lr.ph367, !llvm.loop !14

77:                                               ; preds = %.lr.ph384, %.loopexit
  %indvars.iv456 = phi i64 [ 1, %.lr.ph384 ], [ %indvars.iv.next457, %.loopexit ]
  %indvars.iv438 = phi i32 [ 2, %.lr.ph384 ], [ %indvars.iv.next439, %.loopexit ]
  %78 = sext i32 %indvars.iv438 to i64
  %79 = add nsw i64 %indvars.iv456, -1
  %80 = getelementptr inbounds %"class.std::complex", ptr %27, i64 %79
  %.sroa.031.0.copyload = load <2 x float>, ptr %80, align 4, !tbaa !5
  %81 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.031.0.copyload)
  %82 = fcmp une float %81, 0.000000e+00
  br i1 %82, label %83, label %86

83:                                               ; preds = %77
  %.sroa.029.0.copyload = load <2 x float>, ptr %6, align 8, !tbaa !5
  %84 = call <2 x float> @_ZStngIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %80)
  %85 = call <2 x float> @_Z6csign1St7complexIfES0_(<2 x float> %.sroa.029.0.copyload, <2 x float> %84)
  store <2 x float> %85, ptr %6, align 8, !tbaa !5
  br label %86

86:                                               ; preds = %83, %77
  %87 = mul nsw i64 %79, %72
  %gep487 = getelementptr %"class.std::complex", ptr %invariant.gep486, i64 %87
  %88 = call noundef float @_ZSt4realIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %gep487)
  %89 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %80)
  %90 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %89)
  %91 = fcmp olt float %88, %90
  br i1 %91, label %92, label %98

92:                                               ; preds = %86
  %93 = call noundef float @_ZSt4realIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %gep487)
  %94 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %80)
  %95 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %94)
  %96 = fdiv float %93, %95
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %2, float noundef %96, ptr noundef nonnull %27, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #8
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef %96, float noundef 0.000000e+00)
  %97 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(8) %6)
  store <2 x float> %97, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #8
  br label %98

98:                                               ; preds = %92, %86
  %99 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %80)
  store <2 x float> %99, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #8
  %100 = call <2 x float> @_ZStngIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %6)
  store <2 x float> %100, ptr %15, align 8
  %101 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef nonnull align 4 dereferenceable(8) %80)
  store <2 x float> %101, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  %.sroa.022.0.copyload = load <2 x float>, ptr %8, align 8, !tbaa !5
  %102 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.022.0.copyload)
  %.sroa.021.0.copyload = load <2 x float>, ptr %9, align 8, !tbaa !5
  %103 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.021.0.copyload)
  %104 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 4 dereferenceable(8) %gep487)
  store <2 x float> %104, ptr %8, align 8, !tbaa !5
  %105 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(8) %gep487)
  store <2 x float> %105, ptr %9, align 8, !tbaa !5
  %106 = trunc i64 %indvars.iv456 to i32
  %107 = add i32 %106, %3
  %108 = call noundef i32 @_Z6i4_minii(i32 noundef %107, i32 noundef %2)
  %indvars.iv.next457 = add nuw nsw i64 %indvars.iv456, 1
  %109 = sext i32 %108 to i64
  %.not345.not = icmp slt i64 %indvars.iv456, %109
  br i1 %.not345.not, label %.lr.ph373.preheader, label %.loopexit

.lr.ph373.preheader:                              ; preds = %98
  %110 = add i32 %108, 1
  br label %.lr.ph373

.lr.ph373:                                        ; preds = %.lr.ph373.preheader, %.lr.ph373
  %indvars.iv440 = phi i64 [ %78, %.lr.ph373.preheader ], [ %indvars.iv.next441, %.lr.ph373 ]
  %indvars.iv436 = phi i64 [ %71, %.lr.ph373.preheader ], [ %indvars.iv.next437, %.lr.ph373 ]
  %.0332370 = phi float [ %102, %.lr.ph373.preheader ], [ %124, %.lr.ph373 ]
  %.0333369 = phi float [ %103, %.lr.ph373.preheader ], [ %119, %.lr.ph373 ]
  %indvars.iv.next437 = add nsw i64 %indvars.iv436, -1
  %111 = add nsw i64 %indvars.iv440, -1
  %112 = getelementptr inbounds %"class.std::complex", ptr %27, i64 %111
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #8
  %113 = mul nsw i64 %111, %72
  %gep483 = getelementptr %"class.std::complex", ptr %invariant.gep482, i64 %indvars.iv436
  %114 = getelementptr %"class.std::complex", ptr %gep483, i64 %113
  %115 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %114)
  store <2 x float> %115, ptr %17, align 8
  %116 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(8) %17)
  store <2 x float> %116, ptr %16, align 8
  %117 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %112, ptr noundef nonnull align 4 dereferenceable(8) %16)
  %118 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %117)
  %119 = fadd float %.0333369, %118
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #8
  %120 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %114)
  store <2 x float> %120, ptr %19, align 8
  %121 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 4 dereferenceable(8) %19)
  store <2 x float> %121, ptr %18, align 8
  %122 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %112, ptr noundef nonnull align 4 dereferenceable(8) %18)
  store <2 x float> %122, ptr %112, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #8
  %123 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %122)
  %124 = fadd float %.0332370, %123
  %indvars.iv.next441 = add nsw i64 %indvars.iv440, 1
  %lftr.wideiv445 = trunc i64 %indvars.iv.next441 to i32
  %exitcond446.not = icmp eq i32 %110, %lftr.wideiv445
  br i1 %exitcond446.not, label %._crit_edge374, label %.lr.ph373, !llvm.loop !15

._crit_edge374:                                   ; preds = %.lr.ph373
  %125 = fcmp olt float %124, %119
  br i1 %125, label %.lr.ph381.preheader, label %.loopexit

.lr.ph381.preheader:                              ; preds = %._crit_edge374
  %126 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(8) %8)
  store <2 x float> %126, ptr %7, align 8, !tbaa !5
  %127 = load i64, ptr %9, align 8, !tbaa !5
  store i64 %127, ptr %8, align 8, !tbaa !5
  %128 = add i32 %108, 1
  br label %.lr.ph381

.lr.ph381:                                        ; preds = %.lr.ph381.preheader, %.lr.ph381
  %indvars.iv449 = phi i64 [ %78, %.lr.ph381.preheader ], [ %indvars.iv.next450, %.lr.ph381 ]
  %indvars.iv447 = phi i64 [ %71, %.lr.ph381.preheader ], [ %indvars.iv.next448, %.lr.ph381 ]
  %indvars.iv.next448 = add nsw i64 %indvars.iv447, -1
  %129 = add nsw i64 %indvars.iv449, -1
  %130 = getelementptr inbounds %"class.std::complex", ptr %27, i64 %129
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #8
  %131 = mul nsw i64 %129, %72
  %gep485 = getelementptr %"class.std::complex", ptr %invariant.gep484, i64 %indvars.iv447
  %132 = getelementptr %"class.std::complex", ptr %gep485, i64 %131
  %133 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %132)
  store <2 x float> %133, ptr %21, align 8
  %134 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(8) %21)
  store <2 x float> %134, ptr %20, align 8
  %135 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %130, ptr noundef nonnull align 4 dereferenceable(8) %20)
  store <2 x float> %135, ptr %130, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #8
  %indvars.iv.next450 = add nsw i64 %indvars.iv449, 1
  %lftr.wideiv454 = trunc i64 %indvars.iv.next450 to i32
  %exitcond455.not = icmp eq i32 %128, %lftr.wideiv454
  br i1 %exitcond455.not, label %.loopexit, label %.lr.ph381, !llvm.loop !16

.loopexit:                                        ; preds = %.lr.ph381, %._crit_edge374, %98
  %136 = load i64, ptr %8, align 8, !tbaa !5
  store i64 %136, ptr %80, align 4, !tbaa !5
  %indvars.iv.next439 = add nuw i32 %indvars.iv438, 1
  %exitcond460.not = icmp eq i64 %indvars.iv.next457, %wide.trip.count459
  br i1 %exitcond460.not, label %._crit_edge385, label %77, !llvm.loop !17

._crit_edge385:                                   ; preds = %.loopexit, %.preheader351
  %137 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %2, ptr noundef nonnull %27, i32 noundef 1)
  %138 = fdiv float 1.000000e+00, %137
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %2, float noundef %138, ptr noundef nonnull %27, i32 noundef 1)
  %invariant.gep388 = getelementptr i8, ptr %27, i64 -8
  br i1 %66, label %.lr.ph392, label %._crit_edge393

.lr.ph392:                                        ; preds = %._crit_edge385
  %139 = add nsw i32 %3, 1
  %140 = sext i32 %1 to i64
  %141 = sext i32 %3 to i64
  %invariant.gep488 = getelementptr %"class.std::complex", ptr %0, i64 %141
  %142 = getelementptr i8, ptr %0, i64 -8
  br label %143

143:                                              ; preds = %.lr.ph392, %153
  %indvars.iv461 = phi i64 [ %23, %.lr.ph392 ], [ %indvars.iv.next462, %153 ]
  %indvars.iv.next462 = add nsw i64 %indvars.iv461, -1
  %144 = mul nsw i64 %indvars.iv.next462, %140
  %gep489 = getelementptr %"class.std::complex", ptr %invariant.gep488, i64 %144
  %145 = call noundef float @_ZSt4realIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %gep489)
  %146 = getelementptr inbounds %"class.std::complex", ptr %27, i64 %indvars.iv.next462
  %.sroa.013.0.copyload = load <2 x float>, ptr %146, align 4, !tbaa !5
  %147 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.013.0.copyload)
  %148 = fcmp olt float %145, %147
  br i1 %148, label %149, label %153

149:                                              ; preds = %143
  %150 = call noundef float @_ZSt4realIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %gep489)
  %.sroa.012.0.copyload = load <2 x float>, ptr %146, align 4, !tbaa !5
  %151 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.012.0.copyload)
  %152 = fdiv float %150, %151
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %2, float noundef %152, ptr noundef nonnull %27, i32 noundef 1)
  br label %153

153:                                              ; preds = %149, %143
  %154 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %146, ptr noundef nonnull align 4 dereferenceable(8) %gep489)
  store <2 x float> %154, ptr %146, align 4, !tbaa !5
  %155 = trunc nuw nsw i64 %indvars.iv.next462 to i32
  %156 = call noundef i32 @_Z6i4_minii(i32 noundef %155, i32 noundef %3)
  %157 = sub i32 %139, %156
  %158 = sext i32 %156 to i64
  %159 = sub nsw i64 %indvars.iv461, %158
  %160 = call <2 x float> @_ZStngIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %146)
  store <2 x float> %160, ptr %7, align 8, !tbaa !5
  %161 = sext i32 %157 to i64
  %gep387 = getelementptr %"class.std::complex", ptr %142, i64 %161
  %162 = getelementptr inbounds %"class.std::complex", ptr %gep387, i64 %144
  %gep389 = getelementptr %"class.std::complex", ptr %invariant.gep388, i64 %159
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %156, <2 x float> %160, ptr noundef nonnull %162, i32 noundef 1, ptr noundef nonnull %gep389, i32 noundef 1)
  %163 = icmp sgt i64 %indvars.iv461, 1
  br i1 %163, label %143, label %._crit_edge393, !llvm.loop !18

._crit_edge393:                                   ; preds = %153, %._crit_edge385
  %164 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %2, ptr noundef nonnull %27, i32 noundef 1)
  %165 = fdiv float 1.000000e+00, %164
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %2, float noundef %165, ptr noundef nonnull %27, i32 noundef 1)
  br i1 %.not357475478, label %._crit_edge403, label %.lr.ph402

.lr.ph402:                                        ; preds = %._crit_edge393
  %166 = add nsw i32 %3, 1
  %167 = sext i32 %1 to i64
  %168 = sext i32 %3 to i64
  %169 = add nuw i32 %2, 1
  %wide.trip.count467 = zext i32 %169 to i64
  %invariant.gep490 = getelementptr %"class.std::complex", ptr %0, i64 %168
  %170 = getelementptr i8, ptr %0, i64 -8
  br label %171

171:                                              ; preds = %.lr.ph402, %192
  %indvars.iv464 = phi i64 [ 1, %.lr.ph402 ], [ %indvars.iv.next465, %192 ]
  %.0334399 = phi float [ 1.000000e+00, %.lr.ph402 ], [ %.1335, %192 ]
  %172 = add nsw i64 %indvars.iv464, -1
  %173 = trunc nuw nsw i64 %172 to i32
  %174 = call noundef i32 @_Z6i4_minii(i32 noundef %173, i32 noundef %3)
  %175 = sub i32 %166, %174
  %176 = sext i32 %174 to i64
  %177 = sub nsw i64 %indvars.iv464, %176
  %178 = getelementptr inbounds %"class.std::complex", ptr %27, i64 %172
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #8
  %179 = sext i32 %175 to i64
  %gep395 = getelementptr %"class.std::complex", ptr %170, i64 %179
  %180 = mul nsw i64 %172, %167
  %181 = getelementptr inbounds %"class.std::complex", ptr %gep395, i64 %180
  %gep397 = getelementptr %"class.std::complex", ptr %invariant.gep388, i64 %177
  %182 = call <2 x float> @_Z5cdotciPSt7complexIfEiS1_i(i32 noundef %174, ptr noundef nonnull %181, i32 noundef 1, ptr noundef nonnull %gep397, i32 noundef 1)
  store <2 x float> %182, ptr %22, align 8
  %183 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %178, ptr noundef nonnull align 4 dereferenceable(8) %22)
  store <2 x float> %183, ptr %178, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #8
  %gep491 = getelementptr %"class.std::complex", ptr %invariant.gep490, i64 %180
  %184 = call noundef float @_ZSt4realIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %gep491)
  %.sroa.07.0.copyload = load <2 x float>, ptr %178, align 4, !tbaa !5
  %185 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.07.0.copyload)
  %186 = fcmp olt float %184, %185
  br i1 %186, label %187, label %192

187:                                              ; preds = %171
  %188 = call noundef float @_ZSt4realIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %gep491)
  %.sroa.06.0.copyload = load <2 x float>, ptr %178, align 4, !tbaa !5
  %189 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.06.0.copyload)
  %190 = fdiv float %188, %189
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %2, float noundef %190, ptr noundef nonnull %27, i32 noundef 1)
  %191 = fmul float %.0334399, %190
  br label %192

192:                                              ; preds = %187, %171
  %.1335 = phi float [ %191, %187 ], [ %.0334399, %171 ]
  %193 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %178, ptr noundef nonnull align 4 dereferenceable(8) %gep491)
  store <2 x float> %193, ptr %178, align 4, !tbaa !5
  %indvars.iv.next465 = add nuw nsw i64 %indvars.iv464, 1
  %exitcond468.not = icmp eq i64 %indvars.iv.next465, %wide.trip.count467
  br i1 %exitcond468.not, label %._crit_edge403, label %171, !llvm.loop !19

._crit_edge403:                                   ; preds = %192, %._crit_edge393
  %.0334.lcssa = phi float [ 1.000000e+00, %._crit_edge393 ], [ %.1335, %192 ]
  %194 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %2, ptr noundef nonnull %27, i32 noundef 1)
  %195 = fdiv float 1.000000e+00, %194
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %2, float noundef %195, ptr noundef nonnull %27, i32 noundef 1)
  %196 = fmul float %.0334.lcssa, %195
  br i1 %66, label %.lr.ph412, label %._crit_edge413

.lr.ph412:                                        ; preds = %._crit_edge403
  %197 = add nsw i32 %3, 1
  %198 = sext i32 %1 to i64
  %199 = sext i32 %3 to i64
  %invariant.gep492 = getelementptr %"class.std::complex", ptr %0, i64 %199
  %200 = getelementptr i8, ptr %0, i64 -8
  br label %201

201:                                              ; preds = %.lr.ph412, %212
  %indvars.iv469 = phi i64 [ %23, %.lr.ph412 ], [ %indvars.iv.next470, %212 ]
  %.2336409 = phi float [ %196, %.lr.ph412 ], [ %.3337, %212 ]
  %indvars.iv.next470 = add nsw i64 %indvars.iv469, -1
  %202 = mul nsw i64 %indvars.iv.next470, %198
  %gep493 = getelementptr %"class.std::complex", ptr %invariant.gep492, i64 %202
  %203 = call noundef float @_ZSt4realIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %gep493)
  %204 = getelementptr inbounds %"class.std::complex", ptr %27, i64 %indvars.iv.next470
  %.sroa.04.0.copyload = load <2 x float>, ptr %204, align 4, !tbaa !5
  %205 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.04.0.copyload)
  %206 = fcmp olt float %203, %205
  br i1 %206, label %207, label %212

207:                                              ; preds = %201
  %208 = call noundef float @_ZSt4realIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %gep493)
  %.sroa.03.0.copyload = load <2 x float>, ptr %204, align 4, !tbaa !5
  %209 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.03.0.copyload)
  %210 = fdiv float %208, %209
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %2, float noundef %210, ptr noundef nonnull %27, i32 noundef 1)
  %211 = fmul float %.2336409, %210
  br label %212

212:                                              ; preds = %207, %201
  %.3337 = phi float [ %211, %207 ], [ %.2336409, %201 ]
  %213 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %204, ptr noundef nonnull align 4 dereferenceable(8) %gep493)
  store <2 x float> %213, ptr %204, align 4, !tbaa !5
  %214 = trunc nuw nsw i64 %indvars.iv.next470 to i32
  %215 = call noundef i32 @_Z6i4_minii(i32 noundef %214, i32 noundef %3)
  %216 = sub i32 %197, %215
  %217 = sext i32 %215 to i64
  %218 = sub nsw i64 %indvars.iv469, %217
  %219 = call <2 x float> @_ZStngIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %204)
  store <2 x float> %219, ptr %7, align 8, !tbaa !5
  %220 = sext i32 %216 to i64
  %gep406 = getelementptr %"class.std::complex", ptr %200, i64 %220
  %221 = getelementptr inbounds %"class.std::complex", ptr %gep406, i64 %202
  %gep408 = getelementptr %"class.std::complex", ptr %invariant.gep388, i64 %218
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %215, <2 x float> %219, ptr noundef nonnull %221, i32 noundef 1, ptr noundef nonnull %gep408, i32 noundef 1)
  %222 = icmp sgt i64 %indvars.iv469, 1
  br i1 %222, label %201, label %._crit_edge413, !llvm.loop !20

._crit_edge413:                                   ; preds = %212, %._crit_edge403
  %.2336.lcssa = phi float [ %196, %._crit_edge403 ], [ %.3337, %212 ]
  %223 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %2, ptr noundef nonnull %27, i32 noundef 1)
  %224 = fdiv float 1.000000e+00, %223
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %2, float noundef %224, ptr noundef nonnull %27, i32 noundef 1)
  %225 = fcmp une float %.0321.lcssa, 0.000000e+00
  %226 = fmul float %.2336.lcssa, %224
  %227 = fdiv float %226, %.0321.lcssa
  %.0331 = select i1 %225, float %227, float 0.000000e+00
  br label %228

228:                                              ; preds = %._crit_edge364, %._crit_edge413
  %.0 = phi float [ %.0331, %._crit_edge413 ], [ 0.000000e+00, %._crit_edge364 ]
  call void @_ZdaPv(ptr noundef nonnull %27) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  ret float %.0
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z5cpbfaPSt7complexIfEiii(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #7

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 = { nobuiltin allocsize(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 #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 = { nobuiltin 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 #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 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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin 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 = distinct !{!10, !9}
!11 = distinct !{!11, !9}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !6, i64 0}
!14 = distinct !{!14, !9}
!15 = distinct !{!15, !9}
!16 = distinct !{!16, !9}
!17 = distinct !{!17, !9}
!18 = distinct !{!18, !9}
!19 = distinct !{!19, !9}
!20 = distinct !{!20, !9}


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