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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef float @_Z5cgbcoPSt7complexIfEiiiiPi(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #8 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca float, align 4
  %14 = alloca %"class.std::complex", 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 i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca float, align 4
  %27 = alloca float, align 4
  %28 = alloca float, align 4
  %29 = alloca %"class.std::complex", align 4
  %30 = alloca %"class.std::complex", align 4
  %31 = alloca %"class.std::complex", align 4
  %32 = alloca float, align 4
  %33 = alloca ptr, align 8
  %34 = alloca ptr, align 8
  %35 = alloca i32, align 4
  %36 = alloca %"class.std::complex", align 4
  %37 = alloca %"class.std::complex", align 4
  %38 = alloca %"class.std::complex", align 4
  %39 = alloca %"class.std::complex", align 4
  %40 = alloca %"class.std::complex", align 4
  %41 = alloca %"class.std::complex", align 4
  %42 = alloca %"class.std::complex", align 4
  %43 = alloca %"class.std::complex", align 4
  %44 = alloca %"class.std::complex", align 4
  %45 = alloca %"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
  %80 = alloca %"class.std::complex", align 4
  %81 = alloca %"class.std::complex", align 4
  %82 = alloca %"class.std::complex", align 4
  %83 = alloca %"class.std::complex", align 4
  %84 = alloca %"class.std::complex", align 4
  %85 = alloca %"class.std::complex", align 4
  %86 = 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 i32 %4, ptr %11, align 4, !tbaa !9
  store ptr %5, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #9
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %29, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #9
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %30, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #9
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %31, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #9
  %87 = load i32, ptr %9, align 4, !tbaa !9
  %88 = sext i32 %87 to i64
  %89 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %88, i64 8)
  %90 = extractvalue { i64, i1 } %89, 1
  %91 = extractvalue { i64, i1 } %89, 0
  %92 = select i1 %90, i64 -1, i64 %91
  %93 = call noalias noundef nonnull ptr @_Znam(i64 noundef %92) #10
  %94 = icmp eq i64 %88, 0
  br i1 %94, label %102, label %95

95:                                               ; preds = %6
  %96 = getelementptr inbounds %"class.std::complex", ptr %93, i64 %88
  br label %97

97:                                               ; preds = %99, %95
  %98 = phi ptr [ %93, %95 ], [ %100, %99 ]
  invoke void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %98, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %99 unwind label %135

99:                                               ; preds = %97
  %100 = getelementptr inbounds %"class.std::complex", ptr %98, i64 1
  %101 = icmp eq ptr %100, %96
  br i1 %101, label %102, label %97

102:                                              ; preds = %99, %6
  store ptr %93, ptr %33, align 8, !tbaa !5
  store float 0.000000e+00, ptr %13, align 4, !tbaa !11
  %103 = load i32, ptr %10, align 4, !tbaa !9
  %104 = add nsw i32 %103, 1
  store i32 %104, ptr %20, align 4, !tbaa !9
  %105 = load i32, ptr %20, align 4, !tbaa !9
  %106 = load i32, ptr %11, align 4, !tbaa !9
  %107 = add nsw i32 %105, %106
  store i32 %107, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  br label %108

108:                                              ; preds = %156, %102
  %109 = load i32, ptr %17, align 4, !tbaa !9
  %110 = load i32, ptr %9, align 4, !tbaa !9
  %111 = icmp sle i32 %109, %110
  br i1 %111, label %112, label %159

112:                                              ; preds = %108
  %113 = load float, ptr %13, align 4, !tbaa !11
  %114 = load i32, ptr %20, align 4, !tbaa !9
  %115 = load ptr, ptr %7, align 8, !tbaa !5
  %116 = load i32, ptr %16, align 4, !tbaa !9
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds %"class.std::complex", ptr %115, i64 %117
  %119 = getelementptr inbounds %"class.std::complex", ptr %118, i64 -1
  %120 = load i32, ptr %17, align 4, !tbaa !9
  %121 = sub nsw i32 %120, 1
  %122 = load i32, ptr %8, align 4, !tbaa !9
  %123 = mul nsw i32 %121, %122
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds %"class.std::complex", ptr %119, i64 %124
  %126 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %114, ptr noundef %125, i32 noundef 1)
  %127 = call noundef float @_Z6r4_maxff(float noundef %113, float noundef %126)
  store float %127, ptr %13, align 4, !tbaa !11
  %128 = load i32, ptr %10, align 4, !tbaa !9
  %129 = add nsw i32 %128, 1
  %130 = load i32, ptr %16, align 4, !tbaa !9
  %131 = icmp slt i32 %129, %130
  br i1 %131, label %132, label %139

132:                                              ; preds = %112
  %133 = load i32, ptr %16, align 4, !tbaa !9
  %134 = sub nsw i32 %133, 1
  store i32 %134, ptr %16, align 4, !tbaa !9
  br label %139

135:                                              ; preds = %97
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %34, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %35, align 4
  call void @_ZdaPvm(ptr noundef %93, i64 noundef %92) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #9
  br label %878

139:                                              ; preds = %132, %112
  %140 = load i32, ptr %17, align 4, !tbaa !9
  %141 = load i32, ptr %11, align 4, !tbaa !9
  %142 = icmp sle i32 %140, %141
  br i1 %142, label %143, label %146

143:                                              ; preds = %139
  %144 = load i32, ptr %20, align 4, !tbaa !9
  %145 = add nsw i32 %144, 1
  store i32 %145, ptr %20, align 4, !tbaa !9
  br label %146

146:                                              ; preds = %143, %139
  %147 = load i32, ptr %9, align 4, !tbaa !9
  %148 = load i32, ptr %10, align 4, !tbaa !9
  %149 = sub nsw i32 %147, %148
  %150 = load i32, ptr %17, align 4, !tbaa !9
  %151 = icmp sle i32 %149, %150
  br i1 %151, label %152, label %155

152:                                              ; preds = %146
  %153 = load i32, ptr %20, align 4, !tbaa !9
  %154 = sub nsw i32 %153, 1
  store i32 %154, ptr %20, align 4, !tbaa !9
  br label %155

155:                                              ; preds = %152, %146
  br label %156

156:                                              ; preds = %155
  %157 = load i32, ptr %17, align 4, !tbaa !9
  %158 = add nsw i32 %157, 1
  store i32 %158, ptr %17, align 4, !tbaa !9
  br label %108, !llvm.loop !13

159:                                              ; preds = %108
  %160 = load ptr, ptr %7, align 8, !tbaa !5
  %161 = load i32, ptr %8, align 4, !tbaa !9
  %162 = load i32, ptr %9, align 4, !tbaa !9
  %163 = load i32, ptr %10, align 4, !tbaa !9
  %164 = load i32, ptr %11, align 4, !tbaa !9
  %165 = load ptr, ptr %12, align 8, !tbaa !5
  %166 = call noundef i32 @_Z5cgbfaPSt7complexIfEiiiiPi(ptr noundef %160, i32 noundef %161, i32 noundef %162, i32 noundef %163, i32 noundef %164, ptr noundef %165)
  store i32 %166, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #9
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %36, float noundef 1.000000e+00, float noundef 0.000000e+00)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 %36, i64 8, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #9
  store i32 1, ptr %17, align 4, !tbaa !9
  br label %167

167:                                              ; preds = %177, %159
  %168 = load i32, ptr %17, align 4, !tbaa !9
  %169 = load i32, ptr %9, align 4, !tbaa !9
  %170 = icmp sle i32 %168, %169
  br i1 %170, label %171, label %180

171:                                              ; preds = %167
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #9
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %37, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %172 = load ptr, ptr %33, align 8, !tbaa !5
  %173 = load i32, ptr %17, align 4, !tbaa !9
  %174 = sub nsw i32 %173, 1
  %175 = sext i32 %174 to i64
  %176 = getelementptr inbounds %"class.std::complex", ptr %172, i64 %175
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %176, ptr align 4 %37, i64 8, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #9
  br label %177

177:                                              ; preds = %171
  %178 = load i32, ptr %17, align 4, !tbaa !9
  %179 = add nsw i32 %178, 1
  store i32 %179, ptr %17, align 4, !tbaa !9
  br label %167, !llvm.loop !17

180:                                              ; preds = %167
  %181 = load i32, ptr %10, align 4, !tbaa !9
  %182 = load i32, ptr %11, align 4, !tbaa !9
  %183 = add nsw i32 %181, %182
  %184 = add nsw i32 %183, 1
  store i32 %184, ptr %24, align 4, !tbaa !9
  store i32 0, ptr %18, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  br label %185

185:                                              ; preds = %485, %180
  %186 = load i32, ptr %19, align 4, !tbaa !9
  %187 = load i32, ptr %9, align 4, !tbaa !9
  %188 = icmp sle i32 %186, %187
  br i1 %188, label %189, label %488

189:                                              ; preds = %185
  %190 = load ptr, ptr %33, align 8, !tbaa !5
  %191 = load i32, ptr %19, align 4, !tbaa !9
  %192 = sub nsw i32 %191, 1
  %193 = sext i32 %192 to i64
  %194 = getelementptr inbounds %"class.std::complex", ptr %190, i64 %193
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %38, ptr align 4 %194, i64 8, i1 false), !tbaa.struct !15
  %195 = getelementptr inbounds %"class.std::complex", ptr %38, i32 0, i32 0
  %196 = load <2 x float>, ptr %195, align 4
  %197 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %196)
  %198 = fpext float %197 to double
  %199 = fcmp une double %198, 0.000000e+00
  br i1 %199, label %200, label %214

200:                                              ; preds = %189
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %40, ptr align 4 %14, i64 8, i1 false), !tbaa.struct !15
  %201 = load ptr, ptr %33, align 8, !tbaa !5
  %202 = load i32, ptr %19, align 4, !tbaa !9
  %203 = sub nsw i32 %202, 1
  %204 = sext i32 %203 to i64
  %205 = getelementptr inbounds %"class.std::complex", ptr %201, i64 %204
  %206 = call <2 x float> @_ZStngIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %205)
  %207 = getelementptr inbounds %"class.std::complex", ptr %41, i32 0, i32 0
  store <2 x float> %206, ptr %207, align 4
  %208 = getelementptr inbounds %"class.std::complex", ptr %40, i32 0, i32 0
  %209 = load <2 x float>, ptr %208, align 4
  %210 = getelementptr inbounds %"class.std::complex", ptr %41, i32 0, i32 0
  %211 = load <2 x float>, ptr %210, align 4
  %212 = call <2 x float> @_Z6csign1St7complexIfES0_(<2 x float> %209, <2 x float> %211)
  %213 = getelementptr inbounds %"class.std::complex", ptr %39, i32 0, i32 0
  store <2 x float> %212, ptr %213, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 %39, i64 8, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #9
  br label %214

214:                                              ; preds = %200, %189
  %215 = load ptr, ptr %7, align 8, !tbaa !5
  %216 = load i32, ptr %24, align 4, !tbaa !9
  %217 = sub nsw i32 %216, 1
  %218 = load i32, ptr %19, align 4, !tbaa !9
  %219 = sub nsw i32 %218, 1
  %220 = load i32, ptr %8, align 4, !tbaa !9
  %221 = mul nsw i32 %219, %220
  %222 = add nsw i32 %217, %221
  %223 = sext i32 %222 to i64
  %224 = getelementptr inbounds %"class.std::complex", ptr %215, i64 %223
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %42, ptr align 4 %224, i64 8, i1 false), !tbaa.struct !15
  %225 = getelementptr inbounds %"class.std::complex", ptr %42, i32 0, i32 0
  %226 = load <2 x float>, ptr %225, align 4
  %227 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %226)
  %228 = load ptr, ptr %33, align 8, !tbaa !5
  %229 = load i32, ptr %19, align 4, !tbaa !9
  %230 = sub nsw i32 %229, 1
  %231 = sext i32 %230 to i64
  %232 = getelementptr inbounds %"class.std::complex", ptr %228, i64 %231
  %233 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(8) %232)
  %234 = getelementptr inbounds %"class.std::complex", ptr %43, i32 0, i32 0
  store <2 x float> %233, ptr %234, align 4
  %235 = getelementptr inbounds %"class.std::complex", ptr %43, i32 0, i32 0
  %236 = load <2 x float>, ptr %235, align 4
  %237 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %236)
  %238 = fcmp olt float %227, %237
  br i1 %238, label %239, label %270

239:                                              ; preds = %214
  %240 = load ptr, ptr %7, align 8, !tbaa !5
  %241 = load i32, ptr %24, align 4, !tbaa !9
  %242 = sub nsw i32 %241, 1
  %243 = load i32, ptr %19, align 4, !tbaa !9
  %244 = sub nsw i32 %243, 1
  %245 = load i32, ptr %8, align 4, !tbaa !9
  %246 = mul nsw i32 %244, %245
  %247 = add nsw i32 %242, %246
  %248 = sext i32 %247 to i64
  %249 = getelementptr inbounds %"class.std::complex", ptr %240, i64 %248
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %44, ptr align 4 %249, i64 8, i1 false), !tbaa.struct !15
  %250 = getelementptr inbounds %"class.std::complex", ptr %44, i32 0, i32 0
  %251 = load <2 x float>, ptr %250, align 4
  %252 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %251)
  %253 = load ptr, ptr %33, align 8, !tbaa !5
  %254 = load i32, ptr %19, align 4, !tbaa !9
  %255 = sub nsw i32 %254, 1
  %256 = sext i32 %255 to i64
  %257 = getelementptr inbounds %"class.std::complex", ptr %253, i64 %256
  %258 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(8) %257)
  %259 = getelementptr inbounds %"class.std::complex", ptr %45, i32 0, i32 0
  store <2 x float> %258, ptr %259, align 4
  %260 = getelementptr inbounds %"class.std::complex", ptr %45, i32 0, i32 0
  %261 = load <2 x float>, ptr %260, align 4
  %262 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %261)
  %263 = fdiv float %252, %262
  store float %263, ptr %27, align 4, !tbaa !11
  %264 = load i32, ptr %9, align 4, !tbaa !9
  %265 = load float, ptr %27, align 4, !tbaa !11
  %266 = load ptr, ptr %33, align 8, !tbaa !5
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %264, float noundef %265, ptr noundef %266, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #9
  %267 = load float, ptr %27, align 4, !tbaa !11
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %47, float noundef %267, float noundef 0.000000e+00)
  %268 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %47, ptr noundef nonnull align 4 dereferenceable(8) %14)
  %269 = getelementptr inbounds %"class.std::complex", ptr %46, i32 0, i32 0
  store <2 x float> %268, ptr %269, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 %46, i64 8, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #9
  br label %270

270:                                              ; preds = %239, %214
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #9
  %271 = load ptr, ptr %33, align 8, !tbaa !5
  %272 = load i32, ptr %19, align 4, !tbaa !9
  %273 = sub nsw i32 %272, 1
  %274 = sext i32 %273 to i64
  %275 = getelementptr inbounds %"class.std::complex", ptr %271, i64 %274
  %276 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(8) %275)
  %277 = getelementptr inbounds %"class.std::complex", ptr %48, i32 0, i32 0
  store <2 x float> %276, ptr %277, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %30, ptr align 4 %48, i64 8, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #9
  %278 = call <2 x float> @_ZStngIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %14)
  %279 = getelementptr inbounds %"class.std::complex", ptr %50, i32 0, i32 0
  store <2 x float> %278, ptr %279, align 4
  %280 = load ptr, ptr %33, align 8, !tbaa !5
  %281 = load i32, ptr %19, align 4, !tbaa !9
  %282 = sub nsw i32 %281, 1
  %283 = sext i32 %282 to i64
  %284 = getelementptr inbounds %"class.std::complex", ptr %280, i64 %283
  %285 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %50, ptr noundef nonnull align 4 dereferenceable(8) %284)
  %286 = getelementptr inbounds %"class.std::complex", ptr %49, i32 0, i32 0
  store <2 x float> %285, ptr %286, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 4 %49, i64 8, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %51, ptr align 4 %30, i64 8, i1 false), !tbaa.struct !15
  %287 = getelementptr inbounds %"class.std::complex", ptr %51, i32 0, i32 0
  %288 = load <2 x float>, ptr %287, align 4
  %289 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %288)
  store float %289, ptr %27, align 4, !tbaa !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %52, ptr align 4 %31, i64 8, i1 false), !tbaa.struct !15
  %290 = getelementptr inbounds %"class.std::complex", ptr %52, i32 0, i32 0
  %291 = load <2 x float>, ptr %290, align 4
  %292 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %291)
  store float %292, ptr %28, align 4, !tbaa !11
  %293 = load ptr, ptr %7, align 8, !tbaa !5
  %294 = load i32, ptr %24, align 4, !tbaa !9
  %295 = sub nsw i32 %294, 1
  %296 = load i32, ptr %19, align 4, !tbaa !9
  %297 = sub nsw i32 %296, 1
  %298 = load i32, ptr %8, align 4, !tbaa !9
  %299 = mul nsw i32 %297, %298
  %300 = add nsw i32 %295, %299
  %301 = sext i32 %300 to i64
  %302 = getelementptr inbounds %"class.std::complex", ptr %293, i64 %301
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %53, ptr align 4 %302, i64 8, i1 false), !tbaa.struct !15
  %303 = getelementptr inbounds %"class.std::complex", ptr %53, i32 0, i32 0
  %304 = load <2 x float>, ptr %303, align 4
  %305 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %304)
  %306 = fpext float %305 to double
  %307 = fcmp une double %306, 0.000000e+00
  br i1 %307, label %308, label %337

308:                                              ; preds = %270
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #9
  %309 = load ptr, ptr %7, align 8, !tbaa !5
  %310 = load i32, ptr %24, align 4, !tbaa !9
  %311 = sub nsw i32 %310, 1
  %312 = load i32, ptr %19, align 4, !tbaa !9
  %313 = sub nsw i32 %312, 1
  %314 = load i32, ptr %8, align 4, !tbaa !9
  %315 = mul nsw i32 %313, %314
  %316 = add nsw i32 %311, %315
  %317 = sext i32 %316 to i64
  %318 = getelementptr inbounds %"class.std::complex", ptr %309, i64 %317
  %319 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %318)
  %320 = getelementptr inbounds %"class.std::complex", ptr %55, i32 0, i32 0
  store <2 x float> %319, ptr %320, align 4
  %321 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %30, ptr noundef nonnull align 4 dereferenceable(8) %55)
  %322 = getelementptr inbounds %"class.std::complex", ptr %54, i32 0, i32 0
  store <2 x float> %321, ptr %322, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %30, ptr align 4 %54, i64 8, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #9
  %323 = load ptr, ptr %7, align 8, !tbaa !5
  %324 = load i32, ptr %24, align 4, !tbaa !9
  %325 = sub nsw i32 %324, 1
  %326 = load i32, ptr %19, align 4, !tbaa !9
  %327 = sub nsw i32 %326, 1
  %328 = load i32, ptr %8, align 4, !tbaa !9
  %329 = mul nsw i32 %327, %328
  %330 = add nsw i32 %325, %329
  %331 = sext i32 %330 to i64
  %332 = getelementptr inbounds %"class.std::complex", ptr %323, i64 %331
  %333 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %332)
  %334 = getelementptr inbounds %"class.std::complex", ptr %57, i32 0, i32 0
  store <2 x float> %333, ptr %334, align 4
  %335 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %31, ptr noundef nonnull align 4 dereferenceable(8) %57)
  %336 = getelementptr inbounds %"class.std::complex", ptr %56, i32 0, i32 0
  store <2 x float> %335, ptr %336, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 4 %56, i64 8, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #9
  br label %338

337:                                              ; preds = %270
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #9
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %58, float noundef 1.000000e+00, float noundef 0.000000e+00)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %30, ptr align 4 %58, i64 8, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #9
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %59, float noundef 1.000000e+00, float noundef 0.000000e+00)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 4 %59, i64 8, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #9
  br label %338

338:                                              ; preds = %337, %308
  %339 = load i32, ptr %18, align 4, !tbaa !9
  %340 = load i32, ptr %11, align 4, !tbaa !9
  %341 = load ptr, ptr %12, align 8, !tbaa !5
  %342 = load i32, ptr %19, align 4, !tbaa !9
  %343 = sub nsw i32 %342, 1
  %344 = sext i32 %343 to i64
  %345 = getelementptr inbounds i32, ptr %341, i64 %344
  %346 = load i32, ptr %345, align 4, !tbaa !9
  %347 = add nsw i32 %340, %346
  %348 = call noundef i32 @_Z6i4_maxii(i32 noundef %339, i32 noundef %347)
  %349 = load i32, ptr %9, align 4, !tbaa !9
  %350 = call noundef i32 @_Z6i4_minii(i32 noundef %348, i32 noundef %349)
  store i32 %350, ptr %18, align 4, !tbaa !9
  %351 = load i32, ptr %24, align 4, !tbaa !9
  store i32 %351, ptr %25, align 4, !tbaa !9
  %352 = load i32, ptr %19, align 4, !tbaa !9
  %353 = add nsw i32 %352, 1
  %354 = load i32, ptr %18, align 4, !tbaa !9
  %355 = icmp sle i32 %353, %354
  br i1 %355, label %356, label %479

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

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

363:                                              ; preds = %359
  %364 = load i32, ptr %25, align 4, !tbaa !9
  %365 = sub nsw i32 %364, 1
  store i32 %365, ptr %25, align 4, !tbaa !9
  %366 = load float, ptr %28, align 4, !tbaa !11
  %367 = load ptr, ptr %33, align 8, !tbaa !5
  %368 = load i32, ptr %17, 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 %61) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #9
  %372 = load ptr, ptr %7, align 8, !tbaa !5
  %373 = load i32, ptr %25, align 4, !tbaa !9
  %374 = sub nsw i32 %373, 1
  %375 = load i32, ptr %17, 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 %62, 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) %31, ptr noundef nonnull align 4 dereferenceable(8) %62)
  %385 = getelementptr inbounds %"class.std::complex", ptr %61, 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) %61)
  %387 = getelementptr inbounds %"class.std::complex", ptr %60, i32 0, i32 0
  store <2 x float> %386, ptr %387, align 4
  %388 = getelementptr inbounds %"class.std::complex", ptr %60, 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 %28, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %63) #9
  %392 = load ptr, ptr %33, align 8, !tbaa !5
  %393 = load i32, ptr %17, 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 %64) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #9
  %397 = load ptr, ptr %7, align 8, !tbaa !5
  %398 = load i32, ptr %25, align 4, !tbaa !9
  %399 = sub nsw i32 %398, 1
  %400 = load i32, ptr %17, 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 %65, 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) %30, ptr noundef nonnull align 4 dereferenceable(8) %65)
  %410 = getelementptr inbounds %"class.std::complex", ptr %64, 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) %64)
  %412 = getelementptr inbounds %"class.std::complex", ptr %63, i32 0, i32 0
  store <2 x float> %411, ptr %412, align 4
  %413 = load ptr, ptr %33, align 8, !tbaa !5
  %414 = load i32, ptr %17, 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 %63, i64 8, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #9
  %418 = load float, ptr %27, align 4, !tbaa !11
  %419 = load ptr, ptr %33, align 8, !tbaa !5
  %420 = load i32, ptr %17, 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 %66, ptr align 4 %423, i64 8, i1 false), !tbaa.struct !15
  %424 = getelementptr inbounds %"class.std::complex", ptr %66, 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 %27, align 4, !tbaa !11
  br label %428

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

431:                                              ; preds = %359
  %432 = load float, ptr %27, align 4, !tbaa !11
  %433 = load float, ptr %28, align 4, !tbaa !11
  %434 = fcmp olt float %432, %433
  br i1 %434, label %435, label %478

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

441:                                              ; preds = %474, %435
  %442 = load i32, ptr %17, align 4, !tbaa !9
  %443 = load i32, ptr %18, align 4, !tbaa !9
  %444 = icmp sle i32 %442, %443
  br i1 %444, label %445, label %477

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

474:                                              ; preds = %445
  %475 = load i32, ptr %17, align 4, !tbaa !9
  %476 = add nsw i32 %475, 1
  store i32 %476, ptr %17, align 4, !tbaa !9
  br label %441, !llvm.loop !19

477:                                              ; preds = %441
  br label %478

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

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

485:                                              ; preds = %479
  %486 = load i32, ptr %19, align 4, !tbaa !9
  %487 = add nsw i32 %486, 1
  store i32 %487, ptr %19, align 4, !tbaa !9
  br label %185, !llvm.loop !20

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

499:                                              ; preds = %594, %488
  %500 = load i32, ptr %19, align 4, !tbaa !9
  %501 = icmp sle i32 1, %500
  br i1 %501, label %502, label %597

502:                                              ; preds = %499
  %503 = load i32, ptr %10, align 4, !tbaa !9
  %504 = load i32, ptr %9, align 4, !tbaa !9
  %505 = load i32, ptr %19, align 4, !tbaa !9
  %506 = sub nsw i32 %504, %505
  %507 = call noundef i32 @_Z6i4_minii(i32 noundef %503, i32 noundef %506)
  store i32 %507, ptr %22, align 4, !tbaa !9
  %508 = load i32, ptr %19, align 4, !tbaa !9
  %509 = load i32, ptr %9, align 4, !tbaa !9
  %510 = icmp slt i32 %508, %509
  br i1 %510, label %511, label %541

511:                                              ; preds = %502
  call void @llvm.lifetime.start.p0(i64 8, ptr %71) #9
  %512 = load ptr, ptr %33, align 8, !tbaa !5
  %513 = load i32, ptr %19, align 4, !tbaa !9
  %514 = sub nsw i32 %513, 1
  %515 = sext i32 %514 to i64
  %516 = getelementptr inbounds %"class.std::complex", ptr %512, i64 %515
  call void @llvm.lifetime.start.p0(i64 8, ptr %72) #9
  %517 = load i32, ptr %22, align 4, !tbaa !9
  %518 = load ptr, ptr %7, align 8, !tbaa !5
  %519 = load i32, ptr %24, align 4, !tbaa !9
  %520 = sext i32 %519 to i64
  %521 = getelementptr inbounds %"class.std::complex", ptr %518, i64 %520
  %522 = load i32, ptr %19, align 4, !tbaa !9
  %523 = sub nsw i32 %522, 1
  %524 = load i32, ptr %8, align 4, !tbaa !9
  %525 = mul nsw i32 %523, %524
  %526 = sext i32 %525 to i64
  %527 = getelementptr inbounds %"class.std::complex", ptr %521, i64 %526
  %528 = load ptr, ptr %33, align 8, !tbaa !5
  %529 = load i32, ptr %19, align 4, !tbaa !9
  %530 = sext i32 %529 to i64
  %531 = getelementptr inbounds %"class.std::complex", ptr %528, i64 %530
  %532 = call <2 x float> @_Z5cdotciPSt7complexIfEiS1_i(i32 noundef %517, ptr noundef %527, i32 noundef 1, ptr noundef %531, i32 noundef 1)
  %533 = getelementptr inbounds %"class.std::complex", ptr %72, i32 0, i32 0
  store <2 x float> %532, ptr %533, align 4
  %534 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %516, ptr noundef nonnull align 4 dereferenceable(8) %72)
  %535 = getelementptr inbounds %"class.std::complex", ptr %71, i32 0, i32 0
  store <2 x float> %534, ptr %535, align 4
  %536 = load ptr, ptr %33, align 8, !tbaa !5
  %537 = load i32, ptr %19, align 4, !tbaa !9
  %538 = sub nsw i32 %537, 1
  %539 = sext i32 %538 to i64
  %540 = getelementptr inbounds %"class.std::complex", ptr %536, i64 %539
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %540, ptr align 4 %71, i64 8, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #9
  br label %541

541:                                              ; preds = %511, %502
  %542 = load ptr, ptr %33, align 8, !tbaa !5
  %543 = load i32, ptr %19, align 4, !tbaa !9
  %544 = sub nsw i32 %543, 1
  %545 = sext i32 %544 to i64
  %546 = getelementptr inbounds %"class.std::complex", ptr %542, i64 %545
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %73, ptr align 4 %546, i64 8, i1 false), !tbaa.struct !15
  %547 = getelementptr inbounds %"class.std::complex", ptr %73, i32 0, i32 0
  %548 = load <2 x float>, ptr %547, align 4
  %549 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %548)
  %550 = fpext float %549 to double
  %551 = fcmp olt double 1.000000e+00, %550
  br i1 %551, label %552, label %567

552:                                              ; preds = %541
  %553 = load ptr, ptr %33, align 8, !tbaa !5
  %554 = load i32, ptr %19, align 4, !tbaa !9
  %555 = sub nsw i32 %554, 1
  %556 = sext i32 %555 to i64
  %557 = getelementptr inbounds %"class.std::complex", ptr %553, i64 %556
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %74, ptr align 4 %557, i64 8, i1 false), !tbaa.struct !15
  %558 = getelementptr inbounds %"class.std::complex", ptr %74, i32 0, i32 0
  %559 = load <2 x float>, ptr %558, align 4
  %560 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %559)
  %561 = fpext float %560 to double
  %562 = fdiv double 1.000000e+00, %561
  %563 = fptrunc double %562 to float
  store float %563, ptr %27, align 4, !tbaa !11
  %564 = load i32, ptr %9, align 4, !tbaa !9
  %565 = load float, ptr %27, align 4, !tbaa !11
  %566 = load ptr, ptr %33, align 8, !tbaa !5
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %564, float noundef %565, ptr noundef %566, i32 noundef 1)
  br label %567

567:                                              ; preds = %552, %541
  %568 = load ptr, ptr %12, align 8, !tbaa !5
  %569 = load i32, ptr %19, align 4, !tbaa !9
  %570 = sub nsw i32 %569, 1
  %571 = sext i32 %570 to i64
  %572 = getelementptr inbounds i32, ptr %568, i64 %571
  %573 = load i32, ptr %572, align 4, !tbaa !9
  store i32 %573, ptr %20, align 4, !tbaa !9
  %574 = load ptr, ptr %33, align 8, !tbaa !5
  %575 = load i32, ptr %20, align 4, !tbaa !9
  %576 = sub nsw i32 %575, 1
  %577 = sext i32 %576 to i64
  %578 = getelementptr inbounds %"class.std::complex", ptr %574, i64 %577
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %29, ptr align 4 %578, i64 8, i1 false), !tbaa.struct !15
  %579 = load ptr, ptr %33, align 8, !tbaa !5
  %580 = load i32, ptr %19, 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 = load ptr, ptr %33, align 8, !tbaa !5
  %585 = load i32, ptr %20, align 4, !tbaa !9
  %586 = sub nsw i32 %585, 1
  %587 = sext i32 %586 to i64
  %588 = getelementptr inbounds %"class.std::complex", ptr %584, i64 %587
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %588, ptr align 4 %583, i64 8, i1 false), !tbaa.struct !15
  %589 = load ptr, ptr %33, align 8, !tbaa !5
  %590 = load i32, ptr %19, align 4, !tbaa !9
  %591 = sub nsw i32 %590, 1
  %592 = sext i32 %591 to i64
  %593 = getelementptr inbounds %"class.std::complex", ptr %589, i64 %592
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %593, ptr align 4 %29, i64 8, i1 false), !tbaa.struct !15
  br label %594

594:                                              ; preds = %567
  %595 = load i32, ptr %19, align 4, !tbaa !9
  %596 = add nsw i32 %595, -1
  store i32 %596, ptr %19, align 4, !tbaa !9
  br label %499, !llvm.loop !21

597:                                              ; preds = %499
  %598 = load i32, ptr %9, align 4, !tbaa !9
  %599 = load ptr, ptr %33, align 8, !tbaa !5
  %600 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %598, ptr noundef %599, i32 noundef 1)
  %601 = fpext float %600 to double
  %602 = fdiv double 1.000000e+00, %601
  %603 = fptrunc double %602 to float
  store float %603, ptr %27, align 4, !tbaa !11
  %604 = load i32, ptr %9, align 4, !tbaa !9
  %605 = load float, ptr %27, align 4, !tbaa !11
  %606 = load ptr, ptr %33, align 8, !tbaa !5
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %604, float noundef %605, ptr noundef %606, i32 noundef 1)
  store float 1.000000e+00, ptr %32, align 4, !tbaa !11
  store i32 1, ptr %19, align 4, !tbaa !9
  br label %607

607:                                              ; preds = %694, %597
  %608 = load i32, ptr %19, align 4, !tbaa !9
  %609 = load i32, ptr %9, align 4, !tbaa !9
  %610 = icmp sle i32 %608, %609
  br i1 %610, label %611, label %697

611:                                              ; preds = %607
  %612 = load ptr, ptr %12, align 8, !tbaa !5
  %613 = load i32, ptr %19, align 4, !tbaa !9
  %614 = sub nsw i32 %613, 1
  %615 = sext i32 %614 to i64
  %616 = getelementptr inbounds i32, ptr %612, i64 %615
  %617 = load i32, ptr %616, align 4, !tbaa !9
  store i32 %617, ptr %20, align 4, !tbaa !9
  %618 = load ptr, ptr %33, align 8, !tbaa !5
  %619 = load i32, ptr %20, align 4, !tbaa !9
  %620 = sub nsw i32 %619, 1
  %621 = sext i32 %620 to i64
  %622 = getelementptr inbounds %"class.std::complex", ptr %618, i64 %621
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %29, ptr align 4 %622, i64 8, i1 false), !tbaa.struct !15
  %623 = load ptr, ptr %33, align 8, !tbaa !5
  %624 = load i32, ptr %19, align 4, !tbaa !9
  %625 = sub nsw i32 %624, 1
  %626 = sext i32 %625 to i64
  %627 = getelementptr inbounds %"class.std::complex", ptr %623, i64 %626
  %628 = load ptr, ptr %33, align 8, !tbaa !5
  %629 = load i32, ptr %20, align 4, !tbaa !9
  %630 = sub nsw i32 %629, 1
  %631 = sext i32 %630 to i64
  %632 = getelementptr inbounds %"class.std::complex", ptr %628, i64 %631
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %632, ptr align 4 %627, i64 8, i1 false), !tbaa.struct !15
  %633 = load ptr, ptr %33, align 8, !tbaa !5
  %634 = load i32, ptr %19, align 4, !tbaa !9
  %635 = sub nsw i32 %634, 1
  %636 = sext i32 %635 to i64
  %637 = getelementptr inbounds %"class.std::complex", ptr %633, i64 %636
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %637, ptr align 4 %29, i64 8, i1 false), !tbaa.struct !15
  %638 = load i32, ptr %10, align 4, !tbaa !9
  %639 = load i32, ptr %9, align 4, !tbaa !9
  %640 = load i32, ptr %19, align 4, !tbaa !9
  %641 = sub nsw i32 %639, %640
  %642 = call noundef i32 @_Z6i4_minii(i32 noundef %638, i32 noundef %641)
  store i32 %642, ptr %22, align 4, !tbaa !9
  %643 = load i32, ptr %19, align 4, !tbaa !9
  %644 = load i32, ptr %9, align 4, !tbaa !9
  %645 = icmp slt i32 %643, %644
  br i1 %645, label %646, label %664

646:                                              ; preds = %611
  %647 = load i32, ptr %22, align 4, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %75, ptr align 4 %29, i64 8, i1 false), !tbaa.struct !15
  %648 = load ptr, ptr %7, align 8, !tbaa !5
  %649 = load i32, ptr %24, align 4, !tbaa !9
  %650 = sext i32 %649 to i64
  %651 = getelementptr inbounds %"class.std::complex", ptr %648, i64 %650
  %652 = load i32, ptr %19, align 4, !tbaa !9
  %653 = sub nsw i32 %652, 1
  %654 = load i32, ptr %8, align 4, !tbaa !9
  %655 = mul nsw i32 %653, %654
  %656 = sext i32 %655 to i64
  %657 = getelementptr inbounds %"class.std::complex", ptr %651, i64 %656
  %658 = load ptr, ptr %33, align 8, !tbaa !5
  %659 = load i32, ptr %19, align 4, !tbaa !9
  %660 = sext i32 %659 to i64
  %661 = getelementptr inbounds %"class.std::complex", ptr %658, i64 %660
  %662 = getelementptr inbounds %"class.std::complex", ptr %75, i32 0, i32 0
  %663 = load <2 x float>, ptr %662, align 4
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %647, <2 x float> %663, ptr noundef %657, i32 noundef 1, ptr noundef %661, i32 noundef 1)
  br label %664

664:                                              ; preds = %646, %611
  %665 = load ptr, ptr %33, align 8, !tbaa !5
  %666 = load i32, ptr %19, align 4, !tbaa !9
  %667 = sub nsw i32 %666, 1
  %668 = sext i32 %667 to i64
  %669 = getelementptr inbounds %"class.std::complex", ptr %665, i64 %668
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %76, ptr align 4 %669, i64 8, i1 false), !tbaa.struct !15
  %670 = getelementptr inbounds %"class.std::complex", ptr %76, i32 0, i32 0
  %671 = load <2 x float>, ptr %670, align 4
  %672 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %671)
  %673 = fpext float %672 to double
  %674 = fcmp olt double 1.000000e+00, %673
  br i1 %674, label %675, label %693

675:                                              ; preds = %664
  %676 = load ptr, ptr %33, align 8, !tbaa !5
  %677 = load i32, ptr %19, align 4, !tbaa !9
  %678 = sub nsw i32 %677, 1
  %679 = sext i32 %678 to i64
  %680 = getelementptr inbounds %"class.std::complex", ptr %676, i64 %679
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %77, ptr align 4 %680, i64 8, i1 false), !tbaa.struct !15
  %681 = getelementptr inbounds %"class.std::complex", ptr %77, i32 0, i32 0
  %682 = load <2 x float>, ptr %681, align 4
  %683 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %682)
  %684 = fpext float %683 to double
  %685 = fdiv double 1.000000e+00, %684
  %686 = fptrunc double %685 to float
  store float %686, ptr %27, align 4, !tbaa !11
  %687 = load i32, ptr %9, align 4, !tbaa !9
  %688 = load float, ptr %27, align 4, !tbaa !11
  %689 = load ptr, ptr %33, align 8, !tbaa !5
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %687, float noundef %688, ptr noundef %689, i32 noundef 1)
  %690 = load float, ptr %27, align 4, !tbaa !11
  %691 = load float, ptr %32, align 4, !tbaa !11
  %692 = fmul float %690, %691
  store float %692, ptr %32, align 4, !tbaa !11
  br label %693

693:                                              ; preds = %675, %664
  br label %694

694:                                              ; preds = %693
  %695 = load i32, ptr %19, align 4, !tbaa !9
  %696 = add nsw i32 %695, 1
  store i32 %696, ptr %19, align 4, !tbaa !9
  br label %607, !llvm.loop !22

697:                                              ; preds = %607
  %698 = load i32, ptr %9, align 4, !tbaa !9
  %699 = load ptr, ptr %33, align 8, !tbaa !5
  %700 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %698, ptr noundef %699, i32 noundef 1)
  %701 = fpext float %700 to double
  %702 = fdiv double 1.000000e+00, %701
  %703 = fptrunc double %702 to float
  store float %703, ptr %27, align 4, !tbaa !11
  %704 = load i32, ptr %9, align 4, !tbaa !9
  %705 = load float, ptr %27, align 4, !tbaa !11
  %706 = load ptr, ptr %33, align 8, !tbaa !5
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %704, float noundef %705, ptr noundef %706, i32 noundef 1)
  %707 = load float, ptr %27, align 4, !tbaa !11
  %708 = load float, ptr %32, align 4, !tbaa !11
  %709 = fmul float %707, %708
  store float %709, ptr %32, align 4, !tbaa !11
  %710 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %710, ptr %19, align 4, !tbaa !9
  br label %711

711:                                              ; preds = %848, %697
  %712 = load i32, ptr %19, align 4, !tbaa !9
  %713 = icmp sle i32 1, %712
  br i1 %713, label %714, label %851

714:                                              ; preds = %711
  %715 = load ptr, ptr %7, align 8, !tbaa !5
  %716 = load i32, ptr %24, align 4, !tbaa !9
  %717 = sub nsw i32 %716, 1
  %718 = load i32, ptr %19, 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 %715, i64 %723
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %78, ptr align 4 %724, i64 8, i1 false), !tbaa.struct !15
  %725 = getelementptr inbounds %"class.std::complex", ptr %78, i32 0, i32 0
  %726 = load <2 x float>, ptr %725, align 4
  %727 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %726)
  %728 = load ptr, ptr %33, align 8, !tbaa !5
  %729 = load i32, ptr %19, align 4, !tbaa !9
  %730 = sub nsw i32 %729, 1
  %731 = sext i32 %730 to i64
  %732 = getelementptr inbounds %"class.std::complex", ptr %728, i64 %731
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %79, ptr align 4 %732, i64 8, i1 false), !tbaa.struct !15
  %733 = getelementptr inbounds %"class.std::complex", ptr %79, i32 0, i32 0
  %734 = load <2 x float>, ptr %733, align 4
  %735 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %734)
  %736 = fcmp olt float %727, %735
  br i1 %736, label %737, label %766

737:                                              ; preds = %714
  %738 = load ptr, ptr %7, align 8, !tbaa !5
  %739 = load i32, ptr %24, align 4, !tbaa !9
  %740 = sub nsw i32 %739, 1
  %741 = load i32, ptr %19, align 4, !tbaa !9
  %742 = sub nsw i32 %741, 1
  %743 = load i32, ptr %8, align 4, !tbaa !9
  %744 = mul nsw i32 %742, %743
  %745 = add nsw i32 %740, %744
  %746 = sext i32 %745 to i64
  %747 = getelementptr inbounds %"class.std::complex", ptr %738, i64 %746
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %80, ptr align 4 %747, i64 8, i1 false), !tbaa.struct !15
  %748 = getelementptr inbounds %"class.std::complex", ptr %80, i32 0, i32 0
  %749 = load <2 x float>, ptr %748, align 4
  %750 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %749)
  %751 = load ptr, ptr %33, align 8, !tbaa !5
  %752 = load i32, ptr %19, align 4, !tbaa !9
  %753 = sub nsw i32 %752, 1
  %754 = sext i32 %753 to i64
  %755 = getelementptr inbounds %"class.std::complex", ptr %751, i64 %754
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %81, ptr align 4 %755, i64 8, i1 false), !tbaa.struct !15
  %756 = getelementptr inbounds %"class.std::complex", ptr %81, i32 0, i32 0
  %757 = load <2 x float>, ptr %756, align 4
  %758 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %757)
  %759 = fdiv float %750, %758
  store float %759, ptr %27, align 4, !tbaa !11
  %760 = load i32, ptr %9, align 4, !tbaa !9
  %761 = load float, ptr %27, align 4, !tbaa !11
  %762 = load ptr, ptr %33, align 8, !tbaa !5
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %760, float noundef %761, ptr noundef %762, i32 noundef 1)
  %763 = load float, ptr %27, align 4, !tbaa !11
  %764 = load float, ptr %32, align 4, !tbaa !11
  %765 = fmul float %763, %764
  store float %765, ptr %32, align 4, !tbaa !11
  br label %766

766:                                              ; preds = %737, %714
  %767 = load ptr, ptr %7, align 8, !tbaa !5
  %768 = load i32, ptr %24, align 4, !tbaa !9
  %769 = sub nsw i32 %768, 1
  %770 = load i32, ptr %19, align 4, !tbaa !9
  %771 = sub nsw i32 %770, 1
  %772 = load i32, ptr %8, align 4, !tbaa !9
  %773 = mul nsw i32 %771, %772
  %774 = add nsw i32 %769, %773
  %775 = sext i32 %774 to i64
  %776 = getelementptr inbounds %"class.std::complex", ptr %767, i64 %775
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %82, ptr align 4 %776, i64 8, i1 false), !tbaa.struct !15
  %777 = getelementptr inbounds %"class.std::complex", ptr %82, i32 0, i32 0
  %778 = load <2 x float>, ptr %777, align 4
  %779 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %778)
  %780 = fpext float %779 to double
  %781 = fcmp une double %780, 0.000000e+00
  br i1 %781, label %782, label %805

782:                                              ; preds = %766
  call void @llvm.lifetime.start.p0(i64 8, ptr %83) #9
  %783 = load ptr, ptr %33, align 8, !tbaa !5
  %784 = load i32, ptr %19, 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
  %788 = load ptr, ptr %7, align 8, !tbaa !5
  %789 = load i32, ptr %24, align 4, !tbaa !9
  %790 = sub nsw i32 %789, 1
  %791 = load i32, ptr %19, align 4, !tbaa !9
  %792 = sub nsw i32 %791, 1
  %793 = load i32, ptr %8, align 4, !tbaa !9
  %794 = mul nsw i32 %792, %793
  %795 = add nsw i32 %790, %794
  %796 = sext i32 %795 to i64
  %797 = getelementptr inbounds %"class.std::complex", ptr %788, i64 %796
  %798 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %787, ptr noundef nonnull align 4 dereferenceable(8) %797)
  %799 = getelementptr inbounds %"class.std::complex", ptr %83, i32 0, i32 0
  store <2 x float> %798, ptr %799, align 4
  %800 = load ptr, ptr %33, align 8, !tbaa !5
  %801 = load i32, ptr %19, align 4, !tbaa !9
  %802 = sub nsw i32 %801, 1
  %803 = sext i32 %802 to i64
  %804 = getelementptr inbounds %"class.std::complex", ptr %800, i64 %803
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %804, ptr align 4 %83, i64 8, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %83) #9
  br label %811

805:                                              ; preds = %766
  call void @llvm.lifetime.start.p0(i64 8, ptr %84) #9
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %84, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %806 = load ptr, ptr %33, align 8, !tbaa !5
  %807 = load i32, ptr %19, align 4, !tbaa !9
  %808 = sub nsw i32 %807, 1
  %809 = sext i32 %808 to i64
  %810 = getelementptr inbounds %"class.std::complex", ptr %806, i64 %809
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %810, ptr align 4 %84, i64 8, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %84) #9
  br label %811

811:                                              ; preds = %805, %782
  %812 = load i32, ptr %19, align 4, !tbaa !9
  %813 = load i32, ptr %24, align 4, !tbaa !9
  %814 = call noundef i32 @_Z6i4_minii(i32 noundef %812, i32 noundef %813)
  %815 = sub nsw i32 %814, 1
  store i32 %815, ptr %22, align 4, !tbaa !9
  %816 = load i32, ptr %24, align 4, !tbaa !9
  %817 = load i32, ptr %22, align 4, !tbaa !9
  %818 = sub nsw i32 %816, %817
  store i32 %818, ptr %21, align 4, !tbaa !9
  %819 = load i32, ptr %19, align 4, !tbaa !9
  %820 = load i32, ptr %22, align 4, !tbaa !9
  %821 = sub nsw i32 %819, %820
  store i32 %821, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %85) #9
  %822 = load ptr, ptr %33, align 8, !tbaa !5
  %823 = load i32, ptr %19, align 4, !tbaa !9
  %824 = sub nsw i32 %823, 1
  %825 = sext i32 %824 to i64
  %826 = getelementptr inbounds %"class.std::complex", ptr %822, i64 %825
  %827 = call <2 x float> @_ZStngIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %826)
  %828 = getelementptr inbounds %"class.std::complex", ptr %85, i32 0, i32 0
  store <2 x float> %827, ptr %828, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %29, ptr align 4 %85, i64 8, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %85) #9
  %829 = load i32, ptr %22, align 4, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %86, ptr align 4 %29, i64 8, i1 false), !tbaa.struct !15
  %830 = load ptr, ptr %7, align 8, !tbaa !5
  %831 = load i32, ptr %21, align 4, !tbaa !9
  %832 = sext i32 %831 to i64
  %833 = getelementptr inbounds %"class.std::complex", ptr %830, i64 %832
  %834 = getelementptr inbounds %"class.std::complex", ptr %833, i64 -1
  %835 = load i32, ptr %19, align 4, !tbaa !9
  %836 = sub nsw i32 %835, 1
  %837 = load i32, ptr %8, align 4, !tbaa !9
  %838 = mul nsw i32 %836, %837
  %839 = sext i32 %838 to i64
  %840 = getelementptr inbounds %"class.std::complex", ptr %834, i64 %839
  %841 = load ptr, ptr %33, align 8, !tbaa !5
  %842 = load i32, ptr %23, align 4, !tbaa !9
  %843 = sext i32 %842 to i64
  %844 = getelementptr inbounds %"class.std::complex", ptr %841, i64 %843
  %845 = getelementptr inbounds %"class.std::complex", ptr %844, i64 -1
  %846 = getelementptr inbounds %"class.std::complex", ptr %86, i32 0, i32 0
  %847 = load <2 x float>, ptr %846, align 4
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %829, <2 x float> %847, ptr noundef %840, i32 noundef 1, ptr noundef %845, i32 noundef 1)
  br label %848

848:                                              ; preds = %811
  %849 = load i32, ptr %19, align 4, !tbaa !9
  %850 = add nsw i32 %849, -1
  store i32 %850, ptr %19, align 4, !tbaa !9
  br label %711, !llvm.loop !23

851:                                              ; preds = %711
  %852 = load i32, ptr %9, align 4, !tbaa !9
  %853 = load ptr, ptr %33, align 8, !tbaa !5
  %854 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %852, ptr noundef %853, i32 noundef 1)
  %855 = fpext float %854 to double
  %856 = fdiv double 1.000000e+00, %855
  %857 = fptrunc double %856 to float
  store float %857, ptr %27, align 4, !tbaa !11
  %858 = load i32, ptr %9, align 4, !tbaa !9
  %859 = load float, ptr %27, align 4, !tbaa !11
  %860 = load ptr, ptr %33, align 8, !tbaa !5
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %858, float noundef %859, ptr noundef %860, i32 noundef 1)
  %861 = load float, ptr %27, align 4, !tbaa !11
  %862 = load float, ptr %32, align 4, !tbaa !11
  %863 = fmul float %861, %862
  store float %863, ptr %32, align 4, !tbaa !11
  %864 = load float, ptr %13, align 4, !tbaa !11
  %865 = fpext float %864 to double
  %866 = fcmp une double %865, 0.000000e+00
  br i1 %866, label %867, label %871

867:                                              ; preds = %851
  %868 = load float, ptr %32, align 4, !tbaa !11
  %869 = load float, ptr %13, align 4, !tbaa !11
  %870 = fdiv float %868, %869
  store float %870, ptr %26, align 4, !tbaa !11
  br label %872

871:                                              ; preds = %851
  store float 0.000000e+00, ptr %26, align 4, !tbaa !11
  br label %872

872:                                              ; preds = %871, %867
  %873 = load ptr, ptr %33, align 8, !tbaa !5
  %874 = icmp eq ptr %873, null
  br i1 %874, label %876, label %875

875:                                              ; preds = %872
  call void @_ZdaPv(ptr noundef %873) #11
  br label %876

876:                                              ; preds = %875, %872
  %877 = load float, ptr %26, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #9
  ret float %877

878:                                              ; preds = %135
  %879 = load ptr, ptr %34, align 8
  %880 = load i32, ptr %35, align 4
  %881 = insertvalue { ptr, i32 } poison, ptr %879, 0
  %882 = insertvalue { ptr, i32 } %881, i32 %880, 1
  resume { ptr, i32 } %882
}

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

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

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

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

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

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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { mustprogress 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 #9 = { nounwind }
attributes #10 = { builtin allocsize(0) }
attributes #11 = { 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 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{i64 0, i64 8, !16}
!16 = !{!7, !7, i64 0}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !14}
!23 = distinct !{!23, !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: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #4

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef float @_Z5cgbcoPSt7complexIfEiiiiPi(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) local_unnamed_addr #6 personality ptr @__gxx_personality_v0 {
  %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 4
  %14 = alloca %"class.std::complex", align 8
  %15 = alloca %"class.std::complex", align 8
  %16 = alloca %"class.std::complex", align 8
  %17 = alloca %"class.std::complex", align 8
  %18 = alloca %"class.std::complex", align 8
  %19 = alloca %"class.std::complex", align 8
  %20 = alloca %"class.std::complex", align 8
  %21 = alloca %"class.std::complex", align 8
  %22 = alloca %"class.std::complex", align 8
  %23 = alloca %"class.std::complex", align 8
  %24 = alloca %"class.std::complex", align 8
  %25 = alloca %"class.std::complex", align 8
  %26 = alloca %"class.std::complex", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  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) #7
  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) #7
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %27 = sext i32 %2 to i64
  %28 = icmp slt i32 %2, 0
  %29 = shl nsw i64 %27, 3
  %30 = select i1 %28, i64 -1, i64 %29
  %31 = call noalias noundef nonnull ptr @_Znam(i64 noundef %30) #8
  %32 = icmp eq i32 %2, 0
  br i1 %32, label %._crit_edge, label %33

33:                                               ; preds = %6
  %34 = getelementptr inbounds %"class.std::complex", ptr %31, i64 %27
  br label %35

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

.loopexit338:                                     ; preds = %35
  %39 = add nsw i32 %3, 1
  %invariant.gep = getelementptr i8, ptr %0, i64 -8
  %.not339 = icmp slt i32 %2, 1
  br i1 %.not339, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.loopexit338
  %40 = add nsw i32 %39, %4
  %41 = sub nsw i32 %2, %3
  %42 = sext i32 %1 to i64
  %43 = sext i32 %4 to i64
  %44 = sext i32 %41 to i64
  %45 = add nuw i32 %2, 1
  %wide.trip.count = zext i32 %45 to i64
  br label %46

46:                                               ; preds = %.lr.ph, %46
  %indvars.iv = phi i64 [ 1, %.lr.ph ], [ %indvars.iv.next, %46 ]
  %.0343 = phi float [ 0.000000e+00, %.lr.ph ], [ %52, %46 ]
  %.0305342 = phi i32 [ %40, %.lr.ph ], [ %spec.select, %46 ]
  %.0313340 = phi i32 [ %39, %.lr.ph ], [ %.2315, %46 ]
  %47 = sext i32 %.0305342 to i64
  %gep = getelementptr %"class.std::complex", ptr %invariant.gep, i64 %47
  %48 = add nsw i64 %indvars.iv, -1
  %49 = mul nsw i64 %48, %42
  %50 = getelementptr inbounds %"class.std::complex", ptr %gep, i64 %49
  %51 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %.0313340, ptr noundef nonnull %50, i32 noundef 1)
  %52 = call noundef float @_Z6r4_maxff(float noundef %.0343, float noundef %51)
  %53 = icmp slt i32 %39, %.0305342
  %54 = sext i1 %53 to i32
  %spec.select = add nsw i32 %.0305342, %54
  %.not336 = icmp sle i64 %indvars.iv, %43
  %55 = zext i1 %.not336 to i32
  %.1314 = add nsw i32 %.0313340, %55
  %.not337 = icmp sge i64 %indvars.iv, %44
  %56 = sext i1 %.not337 to i32
  %.2315 = add nsw i32 %.1314, %56
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %46, !llvm.loop !5

._crit_edge:                                      ; preds = %46, %6, %.loopexit338
  %.not339447 = phi i1 [ true, %.loopexit338 ], [ true, %6 ], [ %.not339, %46 ]
  %.0.lcssa = phi float [ 0.000000e+00, %.loopexit338 ], [ 0.000000e+00, %6 ], [ %52, %46 ]
  %57 = call noundef i32 @_Z5cgbfaPSt7complexIfEiiiiPi(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %58 = load i64, ptr %11, align 8, !tbaa !7
  store i64 %58, ptr %7, align 8, !tbaa !7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  %invariant.gep344 = getelementptr i8, ptr %31, i64 -8
  br i1 %.not339447, label %._crit_edge350.thread, label %.lr.ph349.preheader

._crit_edge350.thread:                            ; preds = %._crit_edge
  %59 = add i32 %4, %3
  %60 = add i32 %59, 1
  br label %._crit_edge370

.lr.ph349.preheader:                              ; preds = %._crit_edge
  %61 = add nuw i32 %2, 1
  %wide.trip.count402 = zext i32 %61 to i64
  br label %.lr.ph349

.lr.ph349:                                        ; preds = %.lr.ph349.preheader, %.lr.ph349
  %indvars.iv399 = phi i64 [ 1, %.lr.ph349.preheader ], [ %indvars.iv.next400, %.lr.ph349 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %12, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %gep345 = getelementptr %"class.std::complex", ptr %invariant.gep344, i64 %indvars.iv399
  %62 = load i64, ptr %12, align 8, !tbaa !7
  store i64 %62, ptr %gep345, align 4, !tbaa !7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  %indvars.iv.next400 = add nuw nsw i64 %indvars.iv399, 1
  %exitcond403.not = icmp eq i64 %indvars.iv.next400, %wide.trip.count402
  br i1 %exitcond403.not, label %._crit_edge350, label %.lr.ph349, !llvm.loop !10

._crit_edge350:                                   ; preds = %.lr.ph349
  %63 = add i32 %4, %3
  %64 = add i32 %63, 1
  br i1 %.not339447, label %._crit_edge370, label %.lr.ph369.preheader

.lr.ph369.preheader:                              ; preds = %._crit_edge350
  %65 = sext i32 %1 to i64
  %66 = sext i32 %64 to i64
  %67 = sext i32 %63 to i64
  %68 = add nuw i32 %2, 1
  %wide.trip.count426 = zext i32 %68 to i64
  %invariant.gep454 = getelementptr %"class.std::complex", ptr %0, i64 %67
  %invariant.gep450 = getelementptr i8, ptr %0, i64 -16
  %invariant.gep452 = getelementptr i8, ptr %0, i64 -16
  br label %.lr.ph369

.lr.ph369:                                        ; preds = %.lr.ph369.preheader, %.loopexit
  %indvars.iv423 = phi i64 [ 1, %.lr.ph369.preheader ], [ %indvars.iv.next424, %.loopexit ]
  %indvars.iv404 = phi i32 [ 2, %.lr.ph369.preheader ], [ %indvars.iv.next405, %.loopexit ]
  %.0308367 = phi i32 [ 0, %.lr.ph369.preheader ], [ %111, %.loopexit ]
  %69 = sext i32 %indvars.iv404 to i64
  %70 = add nsw i64 %indvars.iv423, -1
  %71 = getelementptr inbounds %"class.std::complex", ptr %31, i64 %70
  %.sroa.034.0.copyload = load <2 x float>, ptr %71, align 4, !tbaa !7
  %72 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.034.0.copyload)
  %73 = fcmp une float %72, 0.000000e+00
  br i1 %73, label %74, label %77

74:                                               ; preds = %.lr.ph369
  %.sroa.032.0.copyload = load <2 x float>, ptr %7, align 8, !tbaa !7
  %75 = call <2 x float> @_ZStngIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %71)
  %76 = call <2 x float> @_Z6csign1St7complexIfES0_(<2 x float> %.sroa.032.0.copyload, <2 x float> %75)
  store <2 x float> %76, ptr %7, align 8, !tbaa !7
  br label %77

77:                                               ; preds = %74, %.lr.ph369
  %78 = mul nsw i64 %70, %65
  %gep455 = getelementptr %"class.std::complex", ptr %invariant.gep454, i64 %78
  %.sroa.030.0.copyload = load <2 x float>, ptr %gep455, align 4, !tbaa !7
  %79 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.030.0.copyload)
  %80 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(8) %71)
  %81 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %80)
  %82 = fcmp olt float %79, %81
  br i1 %82, label %83, label %89

83:                                               ; preds = %77
  %.sroa.028.0.copyload = load <2 x float>, ptr %gep455, align 4, !tbaa !7
  %84 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.028.0.copyload)
  %85 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(8) %71)
  %86 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %85)
  %87 = fdiv float %84, %86
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %2, float noundef %87, ptr noundef nonnull %31, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef %87, float noundef 0.000000e+00)
  %88 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %7)
  store <2 x float> %88, ptr %7, align 8, !tbaa !7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  br label %89

89:                                               ; preds = %83, %77
  %90 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(8) %71)
  store <2 x float> %90, ptr %9, align 8, !tbaa !7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  %91 = call <2 x float> @_ZStngIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %7)
  store <2 x float> %91, ptr %14, align 8
  %92 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(8) %71)
  store <2 x float> %92, ptr %10, align 8, !tbaa !7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  %.sroa.023.0.copyload = load <2 x float>, ptr %9, align 8, !tbaa !7
  %93 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.023.0.copyload)
  %.sroa.022.0.copyload = load <2 x float>, ptr %10, align 8, !tbaa !7
  %94 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.022.0.copyload)
  %.sroa.021.0.copyload = load <2 x float>, ptr %gep455, align 4, !tbaa !7
  %95 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.021.0.copyload)
  %96 = fcmp une float %95, 0.000000e+00
  br i1 %96, label %97, label %103

97:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #7
  %98 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %gep455)
  store <2 x float> %98, ptr %15, align 8
  %99 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(8) %15)
  store <2 x float> %99, ptr %9, align 8, !tbaa !7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #7
  %100 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %gep455)
  store <2 x float> %100, ptr %16, align 8
  %101 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %16)
  %102 = bitcast <2 x float> %101 to i64
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  br label %106

103:                                              ; preds = %89
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %17, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %104 = load i64, ptr %17, align 8, !tbaa !7
  store i64 %104, ptr %9, align 8, !tbaa !7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %18, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %105 = load i64, ptr %18, align 8, !tbaa !7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  br label %106

106:                                              ; preds = %103, %97
  %.sink = phi i64 [ %102, %97 ], [ %105, %103 ]
  store i64 %.sink, ptr %10, align 8
  %107 = getelementptr inbounds i32, ptr %5, i64 %70
  %108 = load i32, ptr %107, align 4, !tbaa !11
  %109 = add nsw i32 %108, %4
  %110 = call noundef i32 @_Z6i4_maxii(i32 noundef %.0308367, i32 noundef %109)
  %111 = call noundef i32 @_Z6i4_minii(i32 noundef %110, i32 noundef %2)
  %indvars.iv.next424 = add nuw nsw i64 %indvars.iv423, 1
  %112 = sext i32 %111 to i64
  %.not333.not = icmp slt i64 %indvars.iv423, %112
  br i1 %.not333.not, label %.lr.ph356.preheader, label %.loopexit

.lr.ph356.preheader:                              ; preds = %106
  %113 = add i32 %111, 1
  br label %.lr.ph356

.lr.ph356:                                        ; preds = %.lr.ph356.preheader, %.lr.ph356
  %indvars.iv408 = phi i64 [ %66, %.lr.ph356.preheader ], [ %indvars.iv.next409, %.lr.ph356 ]
  %indvars.iv406 = phi i64 [ %69, %.lr.ph356.preheader ], [ %indvars.iv.next407, %.lr.ph356 ]
  %.0319353 = phi float [ %93, %.lr.ph356.preheader ], [ %127, %.lr.ph356 ]
  %.0320352 = phi float [ %94, %.lr.ph356.preheader ], [ %122, %.lr.ph356 ]
  %indvars.iv.next409 = add nsw i64 %indvars.iv408, -1
  %114 = add nsw i64 %indvars.iv406, -1
  %115 = getelementptr inbounds %"class.std::complex", ptr %31, i64 %114
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #7
  %116 = mul nsw i64 %114, %65
  %gep451 = getelementptr %"class.std::complex", ptr %invariant.gep450, i64 %indvars.iv408
  %117 = getelementptr %"class.std::complex", ptr %gep451, i64 %116
  %118 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %117)
  store <2 x float> %118, ptr %20, align 8
  %119 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %20)
  store <2 x float> %119, ptr %19, align 8
  %120 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %115, ptr noundef nonnull align 4 dereferenceable(8) %19)
  %121 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %120)
  %122 = fadd float %.0320352, %121
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #7
  %123 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %117)
  store <2 x float> %123, ptr %22, align 8
  %124 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(8) %22)
  store <2 x float> %124, ptr %21, align 8
  %125 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %115, ptr noundef nonnull align 4 dereferenceable(8) %21)
  store <2 x float> %125, ptr %115, align 4, !tbaa !7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  %126 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %125)
  %127 = fadd float %.0319353, %126
  %indvars.iv.next407 = add nsw i64 %indvars.iv406, 1
  %lftr.wideiv = trunc i64 %indvars.iv.next407 to i32
  %exitcond413.not = icmp eq i32 %113, %lftr.wideiv
  br i1 %exitcond413.not, label %._crit_edge357, label %.lr.ph356, !llvm.loop !13

._crit_edge357:                                   ; preds = %.lr.ph356
  %128 = fcmp olt float %127, %122
  br i1 %128, label %.lr.ph364.preheader, label %.loopexit

.lr.ph364.preheader:                              ; preds = %._crit_edge357
  %129 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %9)
  store <2 x float> %129, ptr %8, align 8, !tbaa !7
  %130 = load i64, ptr %10, align 8, !tbaa !7
  store i64 %130, ptr %9, align 8, !tbaa !7
  %131 = add i32 %111, 1
  br label %.lr.ph364

.lr.ph364:                                        ; preds = %.lr.ph364.preheader, %.lr.ph364
  %indvars.iv416 = phi i64 [ %66, %.lr.ph364.preheader ], [ %indvars.iv.next417, %.lr.ph364 ]
  %indvars.iv414 = phi i64 [ %69, %.lr.ph364.preheader ], [ %indvars.iv.next415, %.lr.ph364 ]
  %indvars.iv.next417 = add nsw i64 %indvars.iv416, -1
  %132 = add nsw i64 %indvars.iv414, -1
  %133 = getelementptr inbounds %"class.std::complex", ptr %31, i64 %132
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #7
  %134 = mul nsw i64 %132, %65
  %gep453 = getelementptr %"class.std::complex", ptr %invariant.gep452, i64 %indvars.iv416
  %135 = getelementptr %"class.std::complex", ptr %gep453, i64 %134
  %136 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %135)
  store <2 x float> %136, ptr %24, align 8
  %137 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 4 dereferenceable(8) %24)
  store <2 x float> %137, ptr %23, align 8
  %138 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %133, ptr noundef nonnull align 4 dereferenceable(8) %23)
  store <2 x float> %138, ptr %133, align 4, !tbaa !7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #7
  %indvars.iv.next415 = add nsw i64 %indvars.iv414, 1
  %lftr.wideiv421 = trunc i64 %indvars.iv.next415 to i32
  %exitcond422.not = icmp eq i32 %131, %lftr.wideiv421
  br i1 %exitcond422.not, label %.loopexit, label %.lr.ph364, !llvm.loop !14

.loopexit:                                        ; preds = %.lr.ph364, %._crit_edge357, %106
  %139 = load i64, ptr %9, align 8, !tbaa !7
  store i64 %139, ptr %71, align 4, !tbaa !7
  %indvars.iv.next405 = add nuw i32 %indvars.iv404, 1
  %exitcond427.not = icmp eq i64 %indvars.iv.next424, %wide.trip.count426
  br i1 %exitcond427.not, label %._crit_edge370, label %.lr.ph369, !llvm.loop !15

._crit_edge370:                                   ; preds = %.loopexit, %._crit_edge350.thread, %._crit_edge350
  %140 = phi i32 [ %60, %._crit_edge350.thread ], [ %64, %._crit_edge350 ], [ %64, %.loopexit ]
  %141 = phi i32 [ %59, %._crit_edge350.thread ], [ %63, %._crit_edge350 ], [ %63, %.loopexit ]
  %142 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %2, ptr noundef nonnull %31, i32 noundef 1)
  %143 = fdiv float 1.000000e+00, %142
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %2, float noundef %143, ptr noundef nonnull %31, i32 noundef 1)
  %144 = icmp sgt i32 %2, 0
  br i1 %144, label %145, label %._crit_edge376

145:                                              ; preds = %._crit_edge370
  %146 = sext i32 %140 to i64
  %147 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %146
  %148 = sext i32 %1 to i64
  %149 = call noundef i32 @_Z6i4_minii(i32 noundef %3, i32 noundef 0)
  %.pre443 = add nsw i64 %27, -1
  %150 = getelementptr inbounds %"class.std::complex", ptr %31, i64 %.pre443
  %.sroa.012.0.copyload.peel = load <2 x float>, ptr %150, align 4, !tbaa !7
  %151 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.012.0.copyload.peel)
  %152 = fcmp ogt float %151, 1.000000e+00
  br i1 %152, label %153, label %156

153:                                              ; preds = %145
  %.sroa.011.0.copyload.peel = load <2 x float>, ptr %150, align 4, !tbaa !7
  %154 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.011.0.copyload.peel)
  %155 = fdiv float 1.000000e+00, %154
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %2, float noundef %155, ptr noundef nonnull %31, i32 noundef 1)
  br label %156

156:                                              ; preds = %153, %145
  %157 = getelementptr inbounds i32, ptr %5, i64 %.pre443
  %158 = load i32, ptr %157, align 4, !tbaa !11
  %159 = sext i32 %158 to i64
  %gep372.peel = getelementptr %"class.std::complex", ptr %invariant.gep344, i64 %159
  %160 = load i64, ptr %gep372.peel, align 4, !tbaa !7
  store i64 %160, ptr %8, align 8, !tbaa !7
  %161 = load i64, ptr %150, align 4, !tbaa !7
  store i64 %161, ptr %gep372.peel, align 4, !tbaa !7
  store i64 %160, ptr %150, align 4, !tbaa !7
  %.not = icmp eq i32 %2, 1
  br i1 %.not, label %._crit_edge376, label %.peel.next

.peel.next:                                       ; preds = %156, %181
  %indvars.iv428 = phi i64 [ %166, %181 ], [ %.pre443, %156 ]
  %162 = trunc i64 %indvars.iv428 to i32
  %163 = sub i32 %2, %162
  %164 = call noundef i32 @_Z6i4_minii(i32 noundef %3, i32 noundef %163)
  %165 = icmp slt i64 %indvars.iv428, %27
  %166 = add nsw i64 %indvars.iv428, -1
  %167 = getelementptr inbounds %"class.std::complex", ptr %31, i64 %166
  br i1 %165, label %168, label %._crit_edge441

._crit_edge441:                                   ; preds = %.peel.next
  %.sroa.012.0.copyload.pre = load <2 x float>, ptr %167, align 4, !tbaa !7
  br label %174

168:                                              ; preds = %.peel.next
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #7
  %169 = mul nsw i64 %166, %148
  %170 = getelementptr inbounds %"class.std::complex", ptr %147, i64 %169
  %171 = getelementptr inbounds %"class.std::complex", ptr %31, i64 %indvars.iv428
  %172 = call <2 x float> @_Z5cdotciPSt7complexIfEiS1_i(i32 noundef %164, ptr noundef %170, i32 noundef 1, ptr noundef nonnull %171, i32 noundef 1)
  store <2 x float> %172, ptr %25, align 8
  %173 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %167, ptr noundef nonnull align 4 dereferenceable(8) %25)
  store <2 x float> %173, ptr %167, align 4, !tbaa !7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #7
  br label %174

174:                                              ; preds = %._crit_edge441, %168
  %.sroa.012.0.copyload = phi <2 x float> [ %.sroa.012.0.copyload.pre, %._crit_edge441 ], [ %173, %168 ]
  %175 = getelementptr inbounds %"class.std::complex", ptr %31, i64 %166
  %176 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.012.0.copyload)
  %177 = fcmp ogt float %176, 1.000000e+00
  br i1 %177, label %178, label %181

178:                                              ; preds = %174
  %.sroa.011.0.copyload = load <2 x float>, ptr %175, align 4, !tbaa !7
  %179 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.011.0.copyload)
  %180 = fdiv float 1.000000e+00, %179
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %2, float noundef %180, ptr noundef nonnull %31, i32 noundef 1)
  br label %181

181:                                              ; preds = %178, %174
  %182 = getelementptr inbounds i32, ptr %5, i64 %166
  %183 = load i32, ptr %182, align 4, !tbaa !11
  %184 = sext i32 %183 to i64
  %gep372 = getelementptr %"class.std::complex", ptr %invariant.gep344, i64 %184
  %185 = load i64, ptr %gep372, align 4, !tbaa !7
  store i64 %185, ptr %8, align 8, !tbaa !7
  %186 = load i64, ptr %175, align 4, !tbaa !7
  store i64 %186, ptr %gep372, align 4, !tbaa !7
  store i64 %185, ptr %175, align 4, !tbaa !7
  %187 = icmp sgt i64 %indvars.iv428, 1
  br i1 %187, label %.peel.next, label %._crit_edge376, !llvm.loop !16

._crit_edge376:                                   ; preds = %181, %156, %._crit_edge370
  %188 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %2, ptr noundef nonnull %31, i32 noundef 1)
  %189 = fdiv float 1.000000e+00, %188
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %2, float noundef %189, ptr noundef nonnull %31, i32 noundef 1)
  br i1 %.not339447, label %._crit_edge384, label %.lr.ph383

.lr.ph383:                                        ; preds = %._crit_edge376
  %190 = sext i32 %140 to i64
  %191 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %190
  %192 = sext i32 %1 to i64
  %193 = add nuw i32 %2, 1
  %wide.trip.count435 = zext i32 %193 to i64
  br label %194

194:                                              ; preds = %.lr.ph383, %217
  %indvars.iv432 = phi i64 [ 1, %.lr.ph383 ], [ %indvars.iv.next433, %217 ]
  %.0321380 = phi float [ 1.000000e+00, %.lr.ph383 ], [ %.1322, %217 ]
  %195 = add nsw i64 %indvars.iv432, -1
  %196 = getelementptr inbounds i32, ptr %5, i64 %195
  %197 = load i32, ptr %196, align 4, !tbaa !11
  %198 = sext i32 %197 to i64
  %gep378 = getelementptr %"class.std::complex", ptr %invariant.gep344, i64 %198
  %199 = load i64, ptr %gep378, align 4, !tbaa !7
  store i64 %199, ptr %8, align 8, !tbaa !7
  %200 = getelementptr inbounds %"class.std::complex", ptr %31, i64 %195
  %201 = load i64, ptr %200, align 4, !tbaa !7
  store i64 %201, ptr %gep378, align 4, !tbaa !7
  store i64 %199, ptr %200, align 4, !tbaa !7
  %202 = trunc i64 %indvars.iv432 to i32
  %203 = sub i32 %2, %202
  %204 = call noundef i32 @_Z6i4_minii(i32 noundef %3, i32 noundef %203)
  %205 = icmp slt i64 %indvars.iv432, %27
  br i1 %205, label %206, label %210

206:                                              ; preds = %194
  %.sroa.010.0.copyload = load <2 x float>, ptr %8, align 8, !tbaa !7
  %207 = mul nsw i64 %195, %192
  %208 = getelementptr inbounds %"class.std::complex", ptr %191, i64 %207
  %209 = getelementptr inbounds %"class.std::complex", ptr %31, i64 %indvars.iv432
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %204, <2 x float> %.sroa.010.0.copyload, ptr noundef %208, i32 noundef 1, ptr noundef nonnull %209, i32 noundef 1)
  br label %210

210:                                              ; preds = %206, %194
  %.sroa.09.0.copyload = load <2 x float>, ptr %200, align 4, !tbaa !7
  %211 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.09.0.copyload)
  %212 = fcmp ogt float %211, 1.000000e+00
  br i1 %212, label %213, label %217

213:                                              ; preds = %210
  %.sroa.08.0.copyload = load <2 x float>, ptr %200, align 4, !tbaa !7
  %214 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.08.0.copyload)
  %215 = fdiv float 1.000000e+00, %214
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %2, float noundef %215, ptr noundef nonnull %31, i32 noundef 1)
  %216 = fmul float %.0321380, %215
  br label %217

217:                                              ; preds = %210, %213
  %.1322 = phi float [ %216, %213 ], [ %.0321380, %210 ]
  %indvars.iv.next433 = add nuw nsw i64 %indvars.iv432, 1
  %exitcond436.not = icmp eq i64 %indvars.iv.next433, %wide.trip.count435
  br i1 %exitcond436.not, label %._crit_edge384, label %194, !llvm.loop !18

._crit_edge384:                                   ; preds = %217, %._crit_edge376
  %.0321.lcssa = phi float [ 1.000000e+00, %._crit_edge376 ], [ %.1322, %217 ]
  %218 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %2, ptr noundef nonnull %31, i32 noundef 1)
  %219 = fdiv float 1.000000e+00, %218
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %2, float noundef %219, ptr noundef nonnull %31, i32 noundef 1)
  %220 = fmul float %.0321.lcssa, %219
  br i1 %144, label %.lr.ph393.preheader, label %._crit_edge394

.lr.ph393.preheader:                              ; preds = %._crit_edge384
  %221 = sext i32 %1 to i64
  %222 = sext i32 %141 to i64
  %invariant.gep456 = getelementptr %"class.std::complex", ptr %0, i64 %222
  %223 = getelementptr i8, ptr %0, i64 -8
  br label %.lr.ph393

.lr.ph393:                                        ; preds = %.lr.ph393.preheader, %242
  %indvars.iv437 = phi i64 [ %27, %.lr.ph393.preheader ], [ %indvars.iv.next438, %242 ]
  %.2323390 = phi float [ %220, %.lr.ph393.preheader ], [ %.3324, %242 ]
  %indvars.iv.next438 = add nsw i64 %indvars.iv437, -1
  %224 = mul nsw i64 %indvars.iv.next438, %221
  %gep457 = getelementptr %"class.std::complex", ptr %invariant.gep456, i64 %224
  %.sroa.07.0.copyload = load <2 x float>, ptr %gep457, align 4, !tbaa !7
  %225 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.07.0.copyload)
  %226 = getelementptr inbounds %"class.std::complex", ptr %31, i64 %indvars.iv.next438
  %.sroa.06.0.copyload = load <2 x float>, ptr %226, align 4, !tbaa !7
  %227 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.06.0.copyload)
  %228 = fcmp olt float %225, %227
  br i1 %228, label %229, label %234

229:                                              ; preds = %.lr.ph393
  %.sroa.05.0.copyload = load <2 x float>, ptr %gep457, align 4, !tbaa !7
  %230 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.05.0.copyload)
  %.sroa.04.0.copyload = load <2 x float>, ptr %226, align 4, !tbaa !7
  %231 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.04.0.copyload)
  %232 = fdiv float %230, %231
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %2, float noundef %232, ptr noundef nonnull %31, i32 noundef 1)
  %233 = fmul float %.2323390, %232
  br label %234

234:                                              ; preds = %229, %.lr.ph393
  %.3324 = phi float [ %233, %229 ], [ %.2323390, %.lr.ph393 ]
  %.sroa.03.0.copyload = load <2 x float>, ptr %gep457, align 4, !tbaa !7
  %235 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.03.0.copyload)
  %236 = fcmp une float %235, 0.000000e+00
  br i1 %236, label %237, label %240

237:                                              ; preds = %234
  %238 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %226, ptr noundef nonnull align 4 dereferenceable(8) %gep457)
  %239 = bitcast <2 x float> %238 to i64
  br label %242

240:                                              ; preds = %234
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #7
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %26, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %241 = load i64, ptr %26, align 8, !tbaa !7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #7
  br label %242

242:                                              ; preds = %240, %237
  %.sink440 = phi i64 [ %239, %237 ], [ %241, %240 ]
  store i64 %.sink440, ptr %226, align 4
  %243 = trunc nuw nsw i64 %indvars.iv437 to i32
  %244 = call noundef i32 @_Z6i4_minii(i32 noundef %243, i32 noundef %140)
  %245 = add nsw i32 %244, -1
  %246 = sub nsw i32 %140, %245
  %247 = sext i32 %245 to i64
  %248 = sub nsw i64 %indvars.iv437, %247
  %249 = call <2 x float> @_ZStngIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %226)
  store <2 x float> %249, ptr %8, align 8, !tbaa !7
  %250 = sext i32 %246 to i64
  %gep387 = getelementptr %"class.std::complex", ptr %223, i64 %250
  %251 = getelementptr inbounds %"class.std::complex", ptr %gep387, i64 %224
  %gep389 = getelementptr %"class.std::complex", ptr %invariant.gep344, i64 %248
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %245, <2 x float> %249, ptr noundef nonnull %251, i32 noundef 1, ptr noundef nonnull %gep389, i32 noundef 1)
  %252 = icmp sgt i64 %indvars.iv437, 1
  br i1 %252, label %.lr.ph393, label %._crit_edge394, !llvm.loop !19

._crit_edge394:                                   ; preds = %242, %._crit_edge384
  %.2323.lcssa = phi float [ %220, %._crit_edge384 ], [ %.3324, %242 ]
  %253 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %2, ptr noundef nonnull %31, i32 noundef 1)
  %254 = fdiv float 1.000000e+00, %253
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %2, float noundef %254, ptr noundef nonnull %31, i32 noundef 1)
  %255 = fcmp une float %.0.lcssa, 0.000000e+00
  %256 = fmul float %.2323.lcssa, %254
  %257 = fdiv float %256, %.0.lcssa
  %.0318 = select i1 %255, float %257, float 0.000000e+00
  call void @_ZdaPv(ptr noundef nonnull %31) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  ret float %.0318
}

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

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

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

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

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

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 = { 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { builtin allocsize(0) }
attributes #9 = { 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = distinct !{!10, !6}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = distinct !{!13, !6}
!14 = distinct !{!14, !6}
!15 = distinct !{!15, !6}
!16 = distinct !{!16, !6, !17}
!17 = !{!"llvm.loop.peeled.count", i32 1}
!18 = distinct !{!18, !6}
!19 = distinct !{!19, !6}


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