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

; 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef float @_Z5cspcoPSt7complexIfEiPi(ptr noundef %0, i32 noundef %1, ptr noundef %2) #9 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca %"class.std::complex", align 4
  %8 = alloca %"class.std::complex", align 4
  %9 = alloca float, align 4
  %10 = alloca %"class.std::complex", align 4
  %11 = alloca %"class.std::complex", align 4
  %12 = alloca %"class.std::complex", align 4
  %13 = alloca %"class.std::complex", align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca float, align 4
  %30 = alloca float, 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
  %87 = alloca %"class.std::complex", align 4
  %88 = alloca %"class.std::complex", align 4
  %89 = alloca %"class.std::complex", align 4
  %90 = alloca %"class.std::complex", align 4
  %91 = alloca %"class.std::complex", align 4
  %92 = alloca %"class.std::complex", align 4
  %93 = alloca %"class.std::complex", align 4
  %94 = alloca %"class.std::complex", align 4
  %95 = alloca %"class.std::complex", align 4
  %96 = alloca %"class.std::complex", align 4
  %97 = alloca %"class.std::complex", align 4
  %98 = alloca %"class.std::complex", align 4
  %99 = alloca %"class.std::complex", align 4
  %100 = alloca %"class.std::complex", align 4
  %101 = alloca %"class.std::complex", align 4
  %102 = alloca %"class.std::complex", align 4
  %103 = alloca %"class.std::complex", align 4
  %104 = alloca %"class.std::complex", align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #10
  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 %8) #10
  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 4, ptr %9) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #10
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #10
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #10
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %12, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #10
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #10
  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) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #10
  %105 = load i32, ptr %5, align 4, !tbaa !9
  %106 = sext i32 %105 to i64
  %107 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %106, i64 8)
  %108 = extractvalue { i64, i1 } %107, 1
  %109 = extractvalue { i64, i1 } %107, 0
  %110 = select i1 %108, i64 -1, i64 %109
  %111 = call noalias noundef nonnull ptr @_Znam(i64 noundef %110) #11
  %112 = icmp eq i64 %106, 0
  br i1 %112, label %120, label %113

113:                                              ; preds = %3
  %114 = getelementptr inbounds %"class.std::complex", ptr %111, i64 %106
  br label %115

115:                                              ; preds = %117, %113
  %116 = phi ptr [ %111, %113 ], [ %118, %117 ]
  invoke void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %116, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %117 unwind label %173

117:                                              ; preds = %115
  %118 = getelementptr inbounds %"class.std::complex", ptr %116, i64 1
  %119 = icmp eq ptr %118, %114
  br i1 %119, label %120, label %115

120:                                              ; preds = %117, %3
  store ptr %111, ptr %33, align 8, !tbaa !5
  store i32 1, ptr %21, align 4, !tbaa !9
  store i32 1, ptr %20, align 4, !tbaa !9
  br label %121

121:                                              ; preds = %178, %120
  %122 = load i32, ptr %20, align 4, !tbaa !9
  %123 = load i32, ptr %5, align 4, !tbaa !9
  %124 = icmp sle i32 %122, %123
  br i1 %124, label %125, label %181

125:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #10
  %126 = load i32, ptr %20, align 4, !tbaa !9
  %127 = load ptr, ptr %4, align 8, !tbaa !5
  %128 = load i32, ptr %21, align 4, !tbaa !9
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds %"class.std::complex", ptr %127, i64 %129
  %131 = getelementptr inbounds %"class.std::complex", ptr %130, i64 -1
  %132 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %126, ptr noundef %131, i32 noundef 1)
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %36, float noundef %132, float noundef 0.000000e+00)
  %133 = load ptr, ptr %33, align 8, !tbaa !5
  %134 = load i32, ptr %20, align 4, !tbaa !9
  %135 = sub nsw i32 %134, 1
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds %"class.std::complex", ptr %133, i64 %136
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %137, ptr align 4 %36, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #10
  %138 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %138, ptr %15, align 4, !tbaa !9
  %139 = load i32, ptr %21, align 4, !tbaa !9
  %140 = load i32, ptr %20, align 4, !tbaa !9
  %141 = add nsw i32 %139, %140
  store i32 %141, ptr %21, align 4, !tbaa !9
  store i32 1, ptr %14, align 4, !tbaa !9
  br label %142

142:                                              ; preds = %170, %125
  %143 = load i32, ptr %14, align 4, !tbaa !9
  %144 = load i32, ptr %20, align 4, !tbaa !9
  %145 = sub nsw i32 %144, 1
  %146 = icmp sle i32 %143, %145
  br i1 %146, label %147, label %177

147:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #10
  %148 = load ptr, ptr %33, align 8, !tbaa !5
  %149 = load i32, ptr %14, align 4, !tbaa !9
  %150 = sub nsw i32 %149, 1
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds %"class.std::complex", ptr %148, i64 %151
  %153 = call noundef float @_ZSt4realIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %152)
  %154 = load ptr, ptr %4, align 8, !tbaa !5
  %155 = load i32, ptr %15, align 4, !tbaa !9
  %156 = sub nsw i32 %155, 1
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds %"class.std::complex", ptr %154, i64 %157
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %38, ptr align 4 %158, i64 8, i1 false), !tbaa.struct !11
  %159 = getelementptr inbounds %"class.std::complex", ptr %38, i32 0, i32 0
  %160 = load <2 x float>, ptr %159, align 4
  %161 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %160)
  %162 = fadd float %153, %161
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %37, float noundef %162, float noundef 0.000000e+00)
  %163 = load ptr, ptr %33, align 8, !tbaa !5
  %164 = load i32, ptr %14, align 4, !tbaa !9
  %165 = sub nsw i32 %164, 1
  %166 = sext i32 %165 to i64
  %167 = getelementptr inbounds %"class.std::complex", ptr %163, i64 %166
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %167, ptr align 4 %37, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #10
  %168 = load i32, ptr %15, align 4, !tbaa !9
  %169 = add nsw i32 %168, 1
  store i32 %169, ptr %15, align 4, !tbaa !9
  br label %170

170:                                              ; preds = %147
  %171 = load i32, ptr %14, align 4, !tbaa !9
  %172 = add nsw i32 %171, 1
  store i32 %172, ptr %14, align 4, !tbaa !9
  br label %142, !llvm.loop !13

173:                                              ; preds = %115
  %174 = landingpad { ptr, i32 }
          cleanup
  %175 = extractvalue { ptr, i32 } %174, 0
  store ptr %175, ptr %34, align 8
  %176 = extractvalue { ptr, i32 } %174, 1
  store i32 %176, ptr %35, align 4
  call void @_ZdaPvm(ptr noundef %111, i64 noundef %110) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #10
  br label %1124

177:                                              ; preds = %142
  br label %178

178:                                              ; preds = %177
  %179 = load i32, ptr %20, align 4, !tbaa !9
  %180 = add nsw i32 %179, 1
  store i32 %180, ptr %20, align 4, !tbaa !9
  br label %121, !llvm.loop !15

181:                                              ; preds = %121
  store float 0.000000e+00, ptr %9, align 4, !tbaa !16
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %182

182:                                              ; preds = %194, %181
  %183 = load i32, ptr %20, align 4, !tbaa !9
  %184 = load i32, ptr %5, align 4, !tbaa !9
  %185 = icmp slt i32 %183, %184
  br i1 %185, label %186, label %197

186:                                              ; preds = %182
  %187 = load float, ptr %9, align 4, !tbaa !16
  %188 = load ptr, ptr %33, align 8, !tbaa !5
  %189 = load i32, ptr %20, align 4, !tbaa !9
  %190 = sext i32 %189 to i64
  %191 = getelementptr inbounds %"class.std::complex", ptr %188, i64 %190
  %192 = call noundef float @_ZSt4realIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %191)
  %193 = call noundef float @_Z6r4_maxff(float noundef %187, float noundef %192)
  store float %193, ptr %9, align 4, !tbaa !16
  br label %194

194:                                              ; preds = %186
  %195 = load i32, ptr %20, align 4, !tbaa !9
  %196 = add nsw i32 %195, 1
  store i32 %196, ptr %20, align 4, !tbaa !9
  br label %182, !llvm.loop !18

197:                                              ; preds = %182
  %198 = load ptr, ptr %4, align 8, !tbaa !5
  %199 = load i32, ptr %5, align 4, !tbaa !9
  %200 = load ptr, ptr %6, align 8, !tbaa !5
  %201 = call noundef i32 @_Z5cspfaPSt7complexIfEiPi(ptr noundef %198, i32 noundef %199, ptr noundef %200)
  store i32 %201, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #10
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %39, float noundef 1.000000e+00, float noundef 0.000000e+00)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 4 %39, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #10
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %202

202:                                              ; preds = %211, %197
  %203 = load i32, ptr %20, align 4, !tbaa !9
  %204 = load i32, ptr %5, align 4, !tbaa !9
  %205 = icmp slt i32 %203, %204
  br i1 %205, label %206, label %214

206:                                              ; preds = %202
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #10
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %40, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %207 = load ptr, ptr %33, align 8, !tbaa !5
  %208 = load i32, ptr %20, align 4, !tbaa !9
  %209 = sext i32 %208 to i64
  %210 = getelementptr inbounds %"class.std::complex", ptr %207, i64 %209
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %210, ptr align 4 %40, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #10
  br label %211

211:                                              ; preds = %206
  %212 = load i32, ptr %20, align 4, !tbaa !9
  %213 = add nsw i32 %212, 1
  store i32 %213, ptr %20, align 4, !tbaa !9
  br label %202, !llvm.loop !19

214:                                              ; preds = %202
  %215 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %215, ptr %22, align 4, !tbaa !9
  %216 = load i32, ptr %5, align 4, !tbaa !9
  %217 = load i32, ptr %5, align 4, !tbaa !9
  %218 = sub nsw i32 %217, 1
  %219 = mul nsw i32 %216, %218
  %220 = sdiv i32 %219, 2
  store i32 %220, ptr %16, align 4, !tbaa !9
  br label %221

221:                                              ; preds = %559, %214
  %222 = load i32, ptr %22, align 4, !tbaa !9
  %223 = icmp slt i32 0, %222
  br i1 %223, label %224, label %560

224:                                              ; preds = %221
  %225 = load i32, ptr %16, align 4, !tbaa !9
  %226 = load i32, ptr %22, align 4, !tbaa !9
  %227 = add nsw i32 %225, %226
  store i32 %227, ptr %23, align 4, !tbaa !9
  %228 = load i32, ptr %16, align 4, !tbaa !9
  %229 = load i32, ptr %22, align 4, !tbaa !9
  %230 = sub nsw i32 %229, 1
  %231 = sub nsw i32 %228, %230
  store i32 %231, ptr %17, align 4, !tbaa !9
  %232 = load ptr, ptr %6, align 8, !tbaa !5
  %233 = load i32, ptr %22, align 4, !tbaa !9
  %234 = sub nsw i32 %233, 1
  %235 = sext i32 %234 to i64
  %236 = getelementptr inbounds i32, ptr %232, i64 %235
  %237 = load i32, ptr %236, align 4, !tbaa !9
  %238 = icmp slt i32 %237, 0
  br i1 %238, label %239, label %240

239:                                              ; preds = %224
  store i32 2, ptr %28, align 4, !tbaa !9
  br label %241

240:                                              ; preds = %224
  store i32 1, ptr %28, align 4, !tbaa !9
  br label %241

241:                                              ; preds = %240, %239
  %242 = load ptr, ptr %6, align 8, !tbaa !5
  %243 = load i32, ptr %22, align 4, !tbaa !9
  %244 = sub nsw i32 %243, 1
  %245 = sext i32 %244 to i64
  %246 = getelementptr inbounds i32, ptr %242, i64 %245
  %247 = load i32, ptr %246, align 4, !tbaa !9
  %248 = call i32 @llvm.abs.i32(i32 %247, i1 true)
  store i32 %248, ptr %26, align 4, !tbaa !9
  %249 = load i32, ptr %22, align 4, !tbaa !9
  %250 = add nsw i32 %249, 1
  %251 = load i32, ptr %28, align 4, !tbaa !9
  %252 = sub nsw i32 %250, %251
  store i32 %252, ptr %27, align 4, !tbaa !9
  %253 = load i32, ptr %26, align 4, !tbaa !9
  %254 = load i32, ptr %27, align 4, !tbaa !9
  %255 = icmp ne i32 %253, %254
  br i1 %255, label %256, label %277

256:                                              ; preds = %241
  %257 = load ptr, ptr %33, align 8, !tbaa !5
  %258 = load i32, ptr %27, align 4, !tbaa !9
  %259 = sub nsw i32 %258, 1
  %260 = sext i32 %259 to i64
  %261 = getelementptr inbounds %"class.std::complex", ptr %257, i64 %260
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 4 %261, i64 8, i1 false), !tbaa.struct !11
  %262 = load ptr, ptr %33, align 8, !tbaa !5
  %263 = load i32, ptr %26, align 4, !tbaa !9
  %264 = sub nsw i32 %263, 1
  %265 = sext i32 %264 to i64
  %266 = getelementptr inbounds %"class.std::complex", ptr %262, i64 %265
  %267 = load ptr, ptr %33, align 8, !tbaa !5
  %268 = load i32, ptr %27, align 4, !tbaa !9
  %269 = sub nsw i32 %268, 1
  %270 = sext i32 %269 to i64
  %271 = getelementptr inbounds %"class.std::complex", ptr %267, i64 %270
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %271, ptr align 4 %266, i64 8, i1 false), !tbaa.struct !11
  %272 = load ptr, ptr %33, align 8, !tbaa !5
  %273 = load i32, ptr %26, align 4, !tbaa !9
  %274 = sub nsw i32 %273, 1
  %275 = sext i32 %274 to i64
  %276 = getelementptr inbounds %"class.std::complex", ptr %272, i64 %275
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %276, ptr align 4 %31, i64 8, i1 false), !tbaa.struct !11
  br label %277

277:                                              ; preds = %256, %241
  %278 = load ptr, ptr %33, align 8, !tbaa !5
  %279 = load i32, ptr %22, align 4, !tbaa !9
  %280 = sub nsw i32 %279, 1
  %281 = sext i32 %280 to i64
  %282 = getelementptr inbounds %"class.std::complex", ptr %278, i64 %281
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %41, ptr align 4 %282, i64 8, i1 false), !tbaa.struct !11
  %283 = getelementptr inbounds %"class.std::complex", ptr %41, i32 0, i32 0
  %284 = load <2 x float>, ptr %283, align 4
  %285 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %284)
  %286 = fpext float %285 to double
  %287 = fcmp une double %286, 0.000000e+00
  br i1 %287, label %288, label %300

288:                                              ; preds = %277
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %43, ptr align 4 %13, i64 8, i1 false), !tbaa.struct !11
  %289 = load ptr, ptr %33, align 8, !tbaa !5
  %290 = load i32, ptr %22, align 4, !tbaa !9
  %291 = sub nsw i32 %290, 1
  %292 = sext i32 %291 to i64
  %293 = getelementptr inbounds %"class.std::complex", ptr %289, i64 %292
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %44, ptr align 4 %293, i64 8, i1 false), !tbaa.struct !11
  %294 = getelementptr inbounds %"class.std::complex", ptr %43, i32 0, i32 0
  %295 = load <2 x float>, ptr %294, align 4
  %296 = getelementptr inbounds %"class.std::complex", ptr %44, i32 0, i32 0
  %297 = load <2 x float>, ptr %296, align 4
  %298 = call <2 x float> @_Z6csign1St7complexIfES0_(<2 x float> %295, <2 x float> %297)
  %299 = getelementptr inbounds %"class.std::complex", ptr %42, i32 0, i32 0
  store <2 x float> %298, ptr %299, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 4 %42, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #10
  br label %300

300:                                              ; preds = %288, %277
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #10
  %301 = load ptr, ptr %33, align 8, !tbaa !5
  %302 = load i32, ptr %22, align 4, !tbaa !9
  %303 = sub nsw i32 %302, 1
  %304 = sext i32 %303 to i64
  %305 = getelementptr inbounds %"class.std::complex", ptr %301, i64 %304
  %306 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %305, ptr noundef nonnull align 4 dereferenceable(8) %13)
  %307 = getelementptr inbounds %"class.std::complex", ptr %45, i32 0, i32 0
  store <2 x float> %306, ptr %307, align 4
  %308 = load ptr, ptr %33, align 8, !tbaa !5
  %309 = load i32, ptr %22, align 4, !tbaa !9
  %310 = sub nsw i32 %309, 1
  %311 = sext i32 %310 to i64
  %312 = getelementptr inbounds %"class.std::complex", ptr %308, i64 %311
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %312, ptr align 4 %45, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #10
  %313 = load i32, ptr %22, align 4, !tbaa !9
  %314 = load i32, ptr %28, align 4, !tbaa !9
  %315 = sub nsw i32 %313, %314
  %316 = load ptr, ptr %33, align 8, !tbaa !5
  %317 = load i32, ptr %22, align 4, !tbaa !9
  %318 = sub nsw i32 %317, 1
  %319 = sext i32 %318 to i64
  %320 = getelementptr inbounds %"class.std::complex", ptr %316, i64 %319
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %46, ptr align 4 %320, i64 8, i1 false), !tbaa.struct !11
  %321 = load ptr, ptr %4, align 8, !tbaa !5
  %322 = load i32, ptr %16, align 4, !tbaa !9
  %323 = sext i32 %322 to i64
  %324 = getelementptr inbounds %"class.std::complex", ptr %321, i64 %323
  %325 = load ptr, ptr %33, align 8, !tbaa !5
  %326 = getelementptr inbounds %"class.std::complex", ptr %46, i32 0, i32 0
  %327 = load <2 x float>, ptr %326, align 4
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %315, <2 x float> %327, ptr noundef %324, i32 noundef 1, ptr noundef %325, i32 noundef 1)
  %328 = load i32, ptr %28, align 4, !tbaa !9
  %329 = icmp ne i32 %328, 1
  br i1 %329, label %330, label %381

330:                                              ; preds = %300
  %331 = load ptr, ptr %33, align 8, !tbaa !5
  %332 = load i32, ptr %22, align 4, !tbaa !9
  %333 = sub nsw i32 %332, 2
  %334 = sext i32 %333 to i64
  %335 = getelementptr inbounds %"class.std::complex", ptr %331, i64 %334
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %47, ptr align 4 %335, i64 8, i1 false), !tbaa.struct !11
  %336 = getelementptr inbounds %"class.std::complex", ptr %47, i32 0, i32 0
  %337 = load <2 x float>, ptr %336, align 4
  %338 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %337)
  %339 = fpext float %338 to double
  %340 = fcmp une double %339, 0.000000e+00
  br i1 %340, label %341, label %353

341:                                              ; preds = %330
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %49, ptr align 4 %13, i64 8, i1 false), !tbaa.struct !11
  %342 = load ptr, ptr %33, align 8, !tbaa !5
  %343 = load i32, ptr %22, align 4, !tbaa !9
  %344 = sub nsw i32 %343, 2
  %345 = sext i32 %344 to i64
  %346 = getelementptr inbounds %"class.std::complex", ptr %342, i64 %345
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %50, ptr align 4 %346, i64 8, i1 false), !tbaa.struct !11
  %347 = getelementptr inbounds %"class.std::complex", ptr %49, i32 0, i32 0
  %348 = load <2 x float>, ptr %347, align 4
  %349 = getelementptr inbounds %"class.std::complex", ptr %50, i32 0, i32 0
  %350 = load <2 x float>, ptr %349, align 4
  %351 = call <2 x float> @_Z6csign1St7complexIfES0_(<2 x float> %348, <2 x float> %350)
  %352 = getelementptr inbounds %"class.std::complex", ptr %48, i32 0, i32 0
  store <2 x float> %351, ptr %352, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 4 %48, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #10
  br label %353

353:                                              ; preds = %341, %330
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #10
  %354 = load ptr, ptr %33, align 8, !tbaa !5
  %355 = load i32, ptr %22, align 4, !tbaa !9
  %356 = sub nsw i32 %355, 2
  %357 = sext i32 %356 to i64
  %358 = getelementptr inbounds %"class.std::complex", ptr %354, i64 %357
  %359 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %358, ptr noundef nonnull align 4 dereferenceable(8) %13)
  %360 = getelementptr inbounds %"class.std::complex", ptr %51, i32 0, i32 0
  store <2 x float> %359, ptr %360, align 4
  %361 = load ptr, ptr %33, align 8, !tbaa !5
  %362 = load i32, ptr %22, align 4, !tbaa !9
  %363 = sub nsw i32 %362, 2
  %364 = sext i32 %363 to i64
  %365 = getelementptr inbounds %"class.std::complex", ptr %361, i64 %364
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %365, ptr align 4 %51, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #10
  %366 = load i32, ptr %22, align 4, !tbaa !9
  %367 = load i32, ptr %28, align 4, !tbaa !9
  %368 = sub nsw i32 %366, %367
  %369 = load ptr, ptr %33, align 8, !tbaa !5
  %370 = load i32, ptr %22, align 4, !tbaa !9
  %371 = sub nsw i32 %370, 2
  %372 = sext i32 %371 to i64
  %373 = getelementptr inbounds %"class.std::complex", ptr %369, i64 %372
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %52, ptr align 4 %373, i64 8, i1 false), !tbaa.struct !11
  %374 = load ptr, ptr %4, align 8, !tbaa !5
  %375 = load i32, ptr %17, align 4, !tbaa !9
  %376 = sext i32 %375 to i64
  %377 = getelementptr inbounds %"class.std::complex", ptr %374, i64 %376
  %378 = load ptr, ptr %33, align 8, !tbaa !5
  %379 = getelementptr inbounds %"class.std::complex", ptr %52, i32 0, i32 0
  %380 = load <2 x float>, ptr %379, align 4
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %368, <2 x float> %380, ptr noundef %377, i32 noundef 1, ptr noundef %378, i32 noundef 1)
  br label %381

381:                                              ; preds = %353, %300
  %382 = load i32, ptr %28, align 4, !tbaa !9
  %383 = icmp ne i32 %382, 2
  br i1 %383, label %384, label %462

384:                                              ; preds = %381
  %385 = load ptr, ptr %4, align 8, !tbaa !5
  %386 = load i32, ptr %23, align 4, !tbaa !9
  %387 = sub nsw i32 %386, 1
  %388 = sext i32 %387 to i64
  %389 = getelementptr inbounds %"class.std::complex", ptr %385, i64 %388
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %53, ptr align 4 %389, i64 8, i1 false), !tbaa.struct !11
  %390 = getelementptr inbounds %"class.std::complex", ptr %53, i32 0, i32 0
  %391 = load <2 x float>, ptr %390, align 4
  %392 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %391)
  %393 = load ptr, ptr %33, align 8, !tbaa !5
  %394 = load i32, ptr %22, align 4, !tbaa !9
  %395 = sub nsw i32 %394, 1
  %396 = sext i32 %395 to i64
  %397 = getelementptr inbounds %"class.std::complex", ptr %393, i64 %396
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %54, ptr align 4 %397, i64 8, i1 false), !tbaa.struct !11
  %398 = getelementptr inbounds %"class.std::complex", ptr %54, i32 0, i32 0
  %399 = load <2 x float>, ptr %398, align 4
  %400 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %399)
  %401 = fcmp olt float %392, %400
  br i1 %401, label %402, label %426

402:                                              ; preds = %384
  %403 = load ptr, ptr %4, align 8, !tbaa !5
  %404 = load i32, ptr %23, align 4, !tbaa !9
  %405 = sub nsw i32 %404, 1
  %406 = sext i32 %405 to i64
  %407 = getelementptr inbounds %"class.std::complex", ptr %403, i64 %406
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %55, ptr align 4 %407, i64 8, i1 false), !tbaa.struct !11
  %408 = getelementptr inbounds %"class.std::complex", ptr %55, i32 0, i32 0
  %409 = load <2 x float>, ptr %408, align 4
  %410 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %409)
  %411 = load ptr, ptr %33, align 8, !tbaa !5
  %412 = load i32, ptr %22, align 4, !tbaa !9
  %413 = sub nsw i32 %412, 1
  %414 = sext i32 %413 to i64
  %415 = getelementptr inbounds %"class.std::complex", ptr %411, i64 %414
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %56, ptr align 4 %415, i64 8, i1 false), !tbaa.struct !11
  %416 = getelementptr inbounds %"class.std::complex", ptr %56, i32 0, i32 0
  %417 = load <2 x float>, ptr %416, align 4
  %418 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %417)
  %419 = fdiv float %410, %418
  store float %419, ptr %30, align 4, !tbaa !16
  %420 = load i32, ptr %5, align 4, !tbaa !9
  %421 = load float, ptr %30, align 4, !tbaa !16
  %422 = load ptr, ptr %33, align 8, !tbaa !5
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %420, float noundef %421, ptr noundef %422, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #10
  %423 = load float, ptr %30, align 4, !tbaa !16
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %58, float noundef %423, float noundef 0.000000e+00)
  %424 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %58, ptr noundef nonnull align 4 dereferenceable(8) %13)
  %425 = getelementptr inbounds %"class.std::complex", ptr %57, i32 0, i32 0
  store <2 x float> %424, ptr %425, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 4 %57, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #10
  br label %426

426:                                              ; preds = %402, %384
  %427 = load ptr, ptr %4, align 8, !tbaa !5
  %428 = load i32, ptr %23, align 4, !tbaa !9
  %429 = sub nsw i32 %428, 1
  %430 = sext i32 %429 to i64
  %431 = getelementptr inbounds %"class.std::complex", ptr %427, i64 %430
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %59, ptr align 4 %431, i64 8, i1 false), !tbaa.struct !11
  %432 = getelementptr inbounds %"class.std::complex", ptr %59, i32 0, i32 0
  %433 = load <2 x float>, ptr %432, align 4
  %434 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %433)
  %435 = fpext float %434 to double
  %436 = fcmp une double %435, 0.000000e+00
  br i1 %436, label %437, label %455

437:                                              ; preds = %426
  call void @llvm.lifetime.start.p0(i64 8, ptr %60) #10
  %438 = load ptr, ptr %33, align 8, !tbaa !5
  %439 = load i32, ptr %22, align 4, !tbaa !9
  %440 = sub nsw i32 %439, 1
  %441 = sext i32 %440 to i64
  %442 = getelementptr inbounds %"class.std::complex", ptr %438, i64 %441
  %443 = load ptr, ptr %4, align 8, !tbaa !5
  %444 = load i32, ptr %23, align 4, !tbaa !9
  %445 = sub nsw i32 %444, 1
  %446 = sext i32 %445 to i64
  %447 = getelementptr inbounds %"class.std::complex", ptr %443, i64 %446
  %448 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %442, ptr noundef nonnull align 4 dereferenceable(8) %447)
  %449 = getelementptr inbounds %"class.std::complex", ptr %60, i32 0, i32 0
  store <2 x float> %448, ptr %449, align 4
  %450 = load ptr, ptr %33, align 8, !tbaa !5
  %451 = load i32, ptr %22, align 4, !tbaa !9
  %452 = sub nsw i32 %451, 1
  %453 = sext i32 %452 to i64
  %454 = getelementptr inbounds %"class.std::complex", ptr %450, i64 %453
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %454, ptr align 4 %60, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #10
  br label %461

455:                                              ; preds = %426
  call void @llvm.lifetime.start.p0(i64 8, ptr %61) #10
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %61, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %456 = load ptr, ptr %33, align 8, !tbaa !5
  %457 = load i32, ptr %22, align 4, !tbaa !9
  %458 = sub nsw i32 %457, 1
  %459 = sext i32 %458 to i64
  %460 = getelementptr inbounds %"class.std::complex", ptr %456, i64 %459
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %460, ptr align 4 %61, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #10
  br label %461

461:                                              ; preds = %455, %437
  br label %545

462:                                              ; preds = %381
  %463 = load i32, ptr %16, align 4, !tbaa !9
  %464 = load i32, ptr %22, align 4, !tbaa !9
  %465 = add nsw i32 %463, %464
  %466 = sub nsw i32 %465, 1
  store i32 %466, ptr %24, align 4, !tbaa !9
  %467 = load i32, ptr %17, align 4, !tbaa !9
  %468 = load i32, ptr %22, align 4, !tbaa !9
  %469 = add nsw i32 %467, %468
  %470 = sub nsw i32 %469, 1
  store i32 %470, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #10
  %471 = load ptr, ptr %4, align 8, !tbaa !5
  %472 = load i32, ptr %23, align 4, !tbaa !9
  %473 = sub nsw i32 %472, 1
  %474 = sext i32 %473 to i64
  %475 = getelementptr inbounds %"class.std::complex", ptr %471, i64 %474
  %476 = load ptr, ptr %4, align 8, !tbaa !5
  %477 = load i32, ptr %24, align 4, !tbaa !9
  %478 = sub nsw i32 %477, 1
  %479 = sext i32 %478 to i64
  %480 = getelementptr inbounds %"class.std::complex", ptr %476, i64 %479
  %481 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %475, ptr noundef nonnull align 4 dereferenceable(8) %480)
  %482 = getelementptr inbounds %"class.std::complex", ptr %62, i32 0, i32 0
  store <2 x float> %481, ptr %482, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %62, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %63) #10
  %483 = load ptr, ptr %4, align 8, !tbaa !5
  %484 = load i32, ptr %25, align 4, !tbaa !9
  %485 = sub nsw i32 %484, 1
  %486 = sext i32 %485 to i64
  %487 = getelementptr inbounds %"class.std::complex", ptr %483, i64 %486
  %488 = load ptr, ptr %4, align 8, !tbaa !5
  %489 = load i32, ptr %24, align 4, !tbaa !9
  %490 = sub nsw i32 %489, 1
  %491 = sext i32 %490 to i64
  %492 = getelementptr inbounds %"class.std::complex", ptr %488, i64 %491
  %493 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %487, ptr noundef nonnull align 4 dereferenceable(8) %492)
  %494 = getelementptr inbounds %"class.std::complex", ptr %63, i32 0, i32 0
  store <2 x float> %493, ptr %494, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 %63, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %64) #10
  %495 = load ptr, ptr %33, align 8, !tbaa !5
  %496 = load i32, ptr %22, align 4, !tbaa !9
  %497 = sub nsw i32 %496, 1
  %498 = sext i32 %497 to i64
  %499 = getelementptr inbounds %"class.std::complex", ptr %495, i64 %498
  %500 = load ptr, ptr %4, align 8, !tbaa !5
  %501 = load i32, ptr %24, align 4, !tbaa !9
  %502 = sub nsw i32 %501, 1
  %503 = sext i32 %502 to i64
  %504 = getelementptr inbounds %"class.std::complex", ptr %500, i64 %503
  %505 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %499, ptr noundef nonnull align 4 dereferenceable(8) %504)
  %506 = getelementptr inbounds %"class.std::complex", ptr %64, i32 0, i32 0
  store <2 x float> %505, ptr %506, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %10, ptr align 4 %64, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #10
  %507 = load ptr, ptr %33, align 8, !tbaa !5
  %508 = load i32, ptr %22, align 4, !tbaa !9
  %509 = sub nsw i32 %508, 2
  %510 = sext i32 %509 to i64
  %511 = getelementptr inbounds %"class.std::complex", ptr %507, i64 %510
  %512 = load ptr, ptr %4, align 8, !tbaa !5
  %513 = load i32, ptr %24, 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
  %517 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %511, ptr noundef nonnull align 4 dereferenceable(8) %516)
  %518 = getelementptr inbounds %"class.std::complex", ptr %65, i32 0, i32 0
  store <2 x float> %517, ptr %518, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %11, ptr align 4 %65, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %66) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %67) #10
  %519 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(8) %8)
  %520 = getelementptr inbounds %"class.std::complex", ptr %67, i32 0, i32 0
  store <2 x float> %519, ptr %520, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %68) #10
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %68, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %521 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %67, ptr noundef nonnull align 4 dereferenceable(8) %68)
  %522 = getelementptr inbounds %"class.std::complex", ptr %66, i32 0, i32 0
  store <2 x float> %521, ptr %522, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %12, ptr align 4 %66, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %69) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %70) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %71) #10
  %523 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 4 dereferenceable(8) %10)
  %524 = getelementptr inbounds %"class.std::complex", ptr %71, i32 0, i32 0
  store <2 x float> %523, ptr %524, align 4
  %525 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %71, ptr noundef nonnull align 4 dereferenceable(8) %11)
  %526 = getelementptr inbounds %"class.std::complex", ptr %70, i32 0, i32 0
  store <2 x float> %525, ptr %526, align 4
  %527 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %70, ptr noundef nonnull align 4 dereferenceable(8) %12)
  %528 = getelementptr inbounds %"class.std::complex", ptr %69, i32 0, i32 0
  store <2 x float> %527, ptr %528, align 4
  %529 = load ptr, ptr %33, align 8, !tbaa !5
  %530 = load i32, ptr %22, align 4, !tbaa !9
  %531 = sub nsw i32 %530, 1
  %532 = sext i32 %531 to i64
  %533 = getelementptr inbounds %"class.std::complex", ptr %529, i64 %532
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %533, ptr align 4 %69, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %72) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %73) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %74) #10
  %534 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(8) %11)
  %535 = getelementptr inbounds %"class.std::complex", ptr %74, i32 0, i32 0
  store <2 x float> %534, ptr %535, align 4
  %536 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %74, ptr noundef nonnull align 4 dereferenceable(8) %10)
  %537 = getelementptr inbounds %"class.std::complex", ptr %73, i32 0, i32 0
  store <2 x float> %536, ptr %537, align 4
  %538 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %73, ptr noundef nonnull align 4 dereferenceable(8) %12)
  %539 = getelementptr inbounds %"class.std::complex", ptr %72, i32 0, i32 0
  store <2 x float> %538, ptr %539, align 4
  %540 = load ptr, ptr %33, align 8, !tbaa !5
  %541 = load i32, ptr %22, align 4, !tbaa !9
  %542 = sub nsw i32 %541, 2
  %543 = sext i32 %542 to i64
  %544 = getelementptr inbounds %"class.std::complex", ptr %540, i64 %543
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %544, ptr align 4 %72, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #10
  br label %545

545:                                              ; preds = %462, %461
  %546 = load i32, ptr %22, align 4, !tbaa !9
  %547 = load i32, ptr %28, align 4, !tbaa !9
  %548 = sub nsw i32 %546, %547
  store i32 %548, ptr %22, align 4, !tbaa !9
  %549 = load i32, ptr %16, align 4, !tbaa !9
  %550 = load i32, ptr %22, align 4, !tbaa !9
  %551 = sub nsw i32 %549, %550
  store i32 %551, ptr %16, align 4, !tbaa !9
  %552 = load i32, ptr %28, align 4, !tbaa !9
  %553 = icmp eq i32 %552, 2
  br i1 %553, label %554, label %559

554:                                              ; preds = %545
  %555 = load i32, ptr %16, align 4, !tbaa !9
  %556 = load i32, ptr %22, align 4, !tbaa !9
  %557 = add nsw i32 %556, 1
  %558 = sub nsw i32 %555, %557
  store i32 %558, ptr %16, align 4, !tbaa !9
  br label %559

559:                                              ; preds = %554, %545
  br label %221, !llvm.loop !20

560:                                              ; preds = %221
  %561 = load i32, ptr %5, align 4, !tbaa !9
  %562 = load ptr, ptr %33, align 8, !tbaa !5
  %563 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %561, ptr noundef %562, i32 noundef 1)
  %564 = fpext float %563 to double
  %565 = fdiv double 1.000000e+00, %564
  %566 = fptrunc double %565 to float
  store float %566, ptr %30, align 4, !tbaa !16
  %567 = load i32, ptr %5, align 4, !tbaa !9
  %568 = load float, ptr %30, align 4, !tbaa !16
  %569 = load ptr, ptr %33, align 8, !tbaa !5
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %567, float noundef %568, ptr noundef %569, i32 noundef 1)
  store i32 1, ptr %22, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %570

570:                                              ; preds = %678, %560
  %571 = load i32, ptr %22, align 4, !tbaa !9
  %572 = load i32, ptr %5, align 4, !tbaa !9
  %573 = icmp sle i32 %571, %572
  br i1 %573, label %574, label %682

574:                                              ; preds = %570
  %575 = load ptr, ptr %6, align 8, !tbaa !5
  %576 = load i32, ptr %22, align 4, !tbaa !9
  %577 = sub nsw i32 %576, 1
  %578 = sext i32 %577 to i64
  %579 = getelementptr inbounds i32, ptr %575, i64 %578
  %580 = load i32, ptr %579, align 4, !tbaa !9
  %581 = icmp slt i32 %580, 0
  br i1 %581, label %582, label %583

582:                                              ; preds = %574
  store i32 2, ptr %28, align 4, !tbaa !9
  br label %584

583:                                              ; preds = %574
  store i32 1, ptr %28, align 4, !tbaa !9
  br label %584

584:                                              ; preds = %583, %582
  %585 = load i32, ptr %22, align 4, !tbaa !9
  %586 = icmp ne i32 %585, 1
  br i1 %586, label %587, label %667

587:                                              ; preds = %584
  call void @llvm.lifetime.start.p0(i64 8, ptr %75) #10
  %588 = load ptr, ptr %33, align 8, !tbaa !5
  %589 = load i32, ptr %22, align 4, !tbaa !9
  %590 = sub nsw i32 %589, 1
  %591 = sext i32 %590 to i64
  %592 = getelementptr inbounds %"class.std::complex", ptr %588, i64 %591
  call void @llvm.lifetime.start.p0(i64 8, ptr %76) #10
  %593 = load i32, ptr %22, align 4, !tbaa !9
  %594 = sub nsw i32 %593, 1
  %595 = load ptr, ptr %4, align 8, !tbaa !5
  %596 = load i32, ptr %16, align 4, !tbaa !9
  %597 = sext i32 %596 to i64
  %598 = getelementptr inbounds %"class.std::complex", ptr %595, i64 %597
  %599 = load ptr, ptr %33, align 8, !tbaa !5
  %600 = call <2 x float> @_Z5cdotuiPSt7complexIfEiS1_i(i32 noundef %594, ptr noundef %598, i32 noundef 1, ptr noundef %599, i32 noundef 1)
  %601 = getelementptr inbounds %"class.std::complex", ptr %76, i32 0, i32 0
  store <2 x float> %600, ptr %601, align 4
  %602 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %592, ptr noundef nonnull align 4 dereferenceable(8) %76)
  %603 = getelementptr inbounds %"class.std::complex", ptr %75, i32 0, i32 0
  store <2 x float> %602, ptr %603, align 4
  %604 = load ptr, ptr %33, align 8, !tbaa !5
  %605 = load i32, ptr %22, align 4, !tbaa !9
  %606 = sub nsw i32 %605, 1
  %607 = sext i32 %606 to i64
  %608 = getelementptr inbounds %"class.std::complex", ptr %604, i64 %607
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %608, ptr align 4 %75, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %76) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #10
  %609 = load i32, ptr %16, align 4, !tbaa !9
  %610 = load i32, ptr %22, align 4, !tbaa !9
  %611 = add nsw i32 %609, %610
  store i32 %611, ptr %18, align 4, !tbaa !9
  %612 = load i32, ptr %28, align 4, !tbaa !9
  %613 = icmp eq i32 %612, 2
  br i1 %613, label %614, label %634

614:                                              ; preds = %587
  call void @llvm.lifetime.start.p0(i64 8, ptr %77) #10
  %615 = load ptr, ptr %33, align 8, !tbaa !5
  %616 = load i32, ptr %22, align 4, !tbaa !9
  %617 = sext i32 %616 to i64
  %618 = getelementptr inbounds %"class.std::complex", ptr %615, i64 %617
  call void @llvm.lifetime.start.p0(i64 8, ptr %78) #10
  %619 = load i32, ptr %22, align 4, !tbaa !9
  %620 = sub nsw i32 %619, 1
  %621 = load ptr, ptr %4, align 8, !tbaa !5
  %622 = load i32, ptr %18, align 4, !tbaa !9
  %623 = sext i32 %622 to i64
  %624 = getelementptr inbounds %"class.std::complex", ptr %621, i64 %623
  %625 = load ptr, ptr %33, align 8, !tbaa !5
  %626 = call <2 x float> @_Z5cdotuiPSt7complexIfEiS1_i(i32 noundef %620, ptr noundef %624, i32 noundef 1, ptr noundef %625, i32 noundef 1)
  %627 = getelementptr inbounds %"class.std::complex", ptr %78, i32 0, i32 0
  store <2 x float> %626, ptr %627, align 4
  %628 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %618, ptr noundef nonnull align 4 dereferenceable(8) %78)
  %629 = getelementptr inbounds %"class.std::complex", ptr %77, i32 0, i32 0
  store <2 x float> %628, ptr %629, align 4
  %630 = load ptr, ptr %33, align 8, !tbaa !5
  %631 = load i32, ptr %22, align 4, !tbaa !9
  %632 = sext i32 %631 to i64
  %633 = getelementptr inbounds %"class.std::complex", ptr %630, i64 %632
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %633, ptr align 4 %77, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %78) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %77) #10
  br label %634

634:                                              ; preds = %614, %587
  %635 = load ptr, ptr %6, align 8, !tbaa !5
  %636 = load i32, ptr %22, align 4, !tbaa !9
  %637 = sub nsw i32 %636, 1
  %638 = sext i32 %637 to i64
  %639 = getelementptr inbounds i32, ptr %635, i64 %638
  %640 = load i32, ptr %639, align 4, !tbaa !9
  %641 = call i32 @llvm.abs.i32(i32 %640, i1 true)
  store i32 %641, ptr %26, align 4, !tbaa !9
  %642 = load i32, ptr %26, align 4, !tbaa !9
  %643 = load i32, ptr %22, align 4, !tbaa !9
  %644 = icmp ne i32 %642, %643
  br i1 %644, label %645, label %666

645:                                              ; preds = %634
  %646 = load ptr, ptr %33, align 8, !tbaa !5
  %647 = load i32, ptr %22, align 4, !tbaa !9
  %648 = sub nsw i32 %647, 1
  %649 = sext i32 %648 to i64
  %650 = getelementptr inbounds %"class.std::complex", ptr %646, i64 %649
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 4 %650, i64 8, i1 false), !tbaa.struct !11
  %651 = load ptr, ptr %33, align 8, !tbaa !5
  %652 = load i32, ptr %26, align 4, !tbaa !9
  %653 = sub nsw i32 %652, 1
  %654 = sext i32 %653 to i64
  %655 = getelementptr inbounds %"class.std::complex", ptr %651, i64 %654
  %656 = load ptr, ptr %33, align 8, !tbaa !5
  %657 = load i32, ptr %22, align 4, !tbaa !9
  %658 = sub nsw i32 %657, 1
  %659 = sext i32 %658 to i64
  %660 = getelementptr inbounds %"class.std::complex", ptr %656, i64 %659
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %660, ptr align 4 %655, i64 8, i1 false), !tbaa.struct !11
  %661 = load ptr, ptr %33, align 8, !tbaa !5
  %662 = load i32, ptr %26, align 4, !tbaa !9
  %663 = sub nsw i32 %662, 1
  %664 = sext i32 %663 to i64
  %665 = getelementptr inbounds %"class.std::complex", ptr %661, i64 %664
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %665, ptr align 4 %31, i64 8, i1 false), !tbaa.struct !11
  br label %666

666:                                              ; preds = %645, %634
  br label %667

667:                                              ; preds = %666, %584
  %668 = load i32, ptr %16, align 4, !tbaa !9
  %669 = load i32, ptr %22, align 4, !tbaa !9
  %670 = add nsw i32 %668, %669
  store i32 %670, ptr %16, align 4, !tbaa !9
  %671 = load i32, ptr %28, align 4, !tbaa !9
  %672 = icmp eq i32 %671, 2
  br i1 %672, label %673, label %678

673:                                              ; preds = %667
  %674 = load i32, ptr %16, align 4, !tbaa !9
  %675 = load i32, ptr %22, align 4, !tbaa !9
  %676 = add nsw i32 %675, 1
  %677 = add nsw i32 %674, %676
  store i32 %677, ptr %16, align 4, !tbaa !9
  br label %678

678:                                              ; preds = %673, %667
  %679 = load i32, ptr %22, align 4, !tbaa !9
  %680 = load i32, ptr %28, align 4, !tbaa !9
  %681 = add nsw i32 %679, %680
  store i32 %681, ptr %22, align 4, !tbaa !9
  br label %570, !llvm.loop !21

682:                                              ; preds = %570
  %683 = load i32, ptr %5, align 4, !tbaa !9
  %684 = load ptr, ptr %33, align 8, !tbaa !5
  %685 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %683, ptr noundef %684, i32 noundef 1)
  %686 = fpext float %685 to double
  %687 = fdiv double 1.000000e+00, %686
  %688 = fptrunc double %687 to float
  store float %688, ptr %30, align 4, !tbaa !16
  %689 = load i32, ptr %5, align 4, !tbaa !9
  %690 = load float, ptr %30, align 4, !tbaa !16
  %691 = load ptr, ptr %33, align 8, !tbaa !5
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %689, float noundef %690, ptr noundef %691, i32 noundef 1)
  store float 1.000000e+00, ptr %32, align 4, !tbaa !16
  %692 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %692, ptr %22, align 4, !tbaa !9
  %693 = load i32, ptr %5, align 4, !tbaa !9
  %694 = load i32, ptr %5, align 4, !tbaa !9
  %695 = sub nsw i32 %694, 1
  %696 = mul nsw i32 %693, %695
  %697 = sdiv i32 %696, 2
  store i32 %697, ptr %16, align 4, !tbaa !9
  br label %698

698:                                              ; preds = %971, %682
  %699 = load i32, ptr %22, align 4, !tbaa !9
  %700 = icmp slt i32 0, %699
  br i1 %700, label %701, label %972

701:                                              ; preds = %698
  %702 = load i32, ptr %16, align 4, !tbaa !9
  %703 = load i32, ptr %22, align 4, !tbaa !9
  %704 = add nsw i32 %702, %703
  store i32 %704, ptr %23, align 4, !tbaa !9
  %705 = load i32, ptr %16, align 4, !tbaa !9
  %706 = load i32, ptr %22, align 4, !tbaa !9
  %707 = sub nsw i32 %706, 1
  %708 = sub nsw i32 %705, %707
  store i32 %708, ptr %17, align 4, !tbaa !9
  %709 = load ptr, ptr %6, align 8, !tbaa !5
  %710 = load i32, ptr %22, align 4, !tbaa !9
  %711 = sub nsw i32 %710, 1
  %712 = sext i32 %711 to i64
  %713 = getelementptr inbounds i32, ptr %709, i64 %712
  %714 = load i32, ptr %713, align 4, !tbaa !9
  %715 = icmp slt i32 %714, 0
  br i1 %715, label %716, label %717

716:                                              ; preds = %701
  store i32 2, ptr %28, align 4, !tbaa !9
  br label %718

717:                                              ; preds = %701
  store i32 1, ptr %28, align 4, !tbaa !9
  br label %718

718:                                              ; preds = %717, %716
  %719 = load i32, ptr %22, align 4, !tbaa !9
  %720 = load i32, ptr %28, align 4, !tbaa !9
  %721 = icmp ne i32 %719, %720
  br i1 %721, label %722, label %793

722:                                              ; preds = %718
  %723 = load ptr, ptr %6, align 8, !tbaa !5
  %724 = load i32, ptr %22, align 4, !tbaa !9
  %725 = sub nsw i32 %724, 1
  %726 = sext i32 %725 to i64
  %727 = getelementptr inbounds i32, ptr %723, i64 %726
  %728 = load i32, ptr %727, align 4, !tbaa !9
  %729 = call i32 @llvm.abs.i32(i32 %728, i1 true)
  store i32 %729, ptr %26, align 4, !tbaa !9
  %730 = load i32, ptr %22, align 4, !tbaa !9
  %731 = add nsw i32 %730, 1
  %732 = load i32, ptr %28, align 4, !tbaa !9
  %733 = sub nsw i32 %731, %732
  store i32 %733, ptr %27, align 4, !tbaa !9
  %734 = load i32, ptr %26, align 4, !tbaa !9
  %735 = load i32, ptr %27, align 4, !tbaa !9
  %736 = icmp ne i32 %734, %735
  br i1 %736, label %737, label %758

737:                                              ; preds = %722
  %738 = load ptr, ptr %33, align 8, !tbaa !5
  %739 = load i32, ptr %27, align 4, !tbaa !9
  %740 = sub nsw i32 %739, 1
  %741 = sext i32 %740 to i64
  %742 = getelementptr inbounds %"class.std::complex", ptr %738, i64 %741
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 4 %742, i64 8, i1 false), !tbaa.struct !11
  %743 = load ptr, ptr %33, align 8, !tbaa !5
  %744 = load i32, ptr %26, align 4, !tbaa !9
  %745 = sub nsw i32 %744, 1
  %746 = sext i32 %745 to i64
  %747 = getelementptr inbounds %"class.std::complex", ptr %743, i64 %746
  %748 = load ptr, ptr %33, align 8, !tbaa !5
  %749 = load i32, ptr %27, align 4, !tbaa !9
  %750 = sub nsw i32 %749, 1
  %751 = sext i32 %750 to i64
  %752 = getelementptr inbounds %"class.std::complex", ptr %748, i64 %751
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %752, ptr align 4 %747, i64 8, i1 false), !tbaa.struct !11
  %753 = load ptr, ptr %33, align 8, !tbaa !5
  %754 = load i32, ptr %26, align 4, !tbaa !9
  %755 = sub nsw i32 %754, 1
  %756 = sext i32 %755 to i64
  %757 = getelementptr inbounds %"class.std::complex", ptr %753, i64 %756
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %757, ptr align 4 %31, i64 8, i1 false), !tbaa.struct !11
  br label %758

758:                                              ; preds = %737, %722
  %759 = load i32, ptr %22, align 4, !tbaa !9
  %760 = load i32, ptr %28, align 4, !tbaa !9
  %761 = sub nsw i32 %759, %760
  %762 = load ptr, ptr %33, align 8, !tbaa !5
  %763 = load i32, ptr %22, align 4, !tbaa !9
  %764 = sub nsw i32 %763, 1
  %765 = sext i32 %764 to i64
  %766 = getelementptr inbounds %"class.std::complex", ptr %762, i64 %765
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %79, ptr align 4 %766, i64 8, i1 false), !tbaa.struct !11
  %767 = load ptr, ptr %4, align 8, !tbaa !5
  %768 = load i32, ptr %16, align 4, !tbaa !9
  %769 = sext i32 %768 to i64
  %770 = getelementptr inbounds %"class.std::complex", ptr %767, i64 %769
  %771 = load ptr, ptr %33, align 8, !tbaa !5
  %772 = getelementptr inbounds %"class.std::complex", ptr %79, i32 0, i32 0
  %773 = load <2 x float>, ptr %772, align 4
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %761, <2 x float> %773, ptr noundef %770, i32 noundef 1, ptr noundef %771, i32 noundef 1)
  %774 = load i32, ptr %28, align 4, !tbaa !9
  %775 = icmp eq i32 %774, 2
  br i1 %775, label %776, label %792

776:                                              ; preds = %758
  %777 = load i32, ptr %22, align 4, !tbaa !9
  %778 = load i32, ptr %28, align 4, !tbaa !9
  %779 = sub nsw i32 %777, %778
  %780 = load ptr, ptr %33, align 8, !tbaa !5
  %781 = load i32, ptr %22, align 4, !tbaa !9
  %782 = sub nsw i32 %781, 2
  %783 = sext i32 %782 to i64
  %784 = getelementptr inbounds %"class.std::complex", ptr %780, i64 %783
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %80, ptr align 4 %784, i64 8, i1 false), !tbaa.struct !11
  %785 = load ptr, ptr %4, align 8, !tbaa !5
  %786 = load i32, ptr %17, align 4, !tbaa !9
  %787 = sext i32 %786 to i64
  %788 = getelementptr inbounds %"class.std::complex", ptr %785, i64 %787
  %789 = load ptr, ptr %33, align 8, !tbaa !5
  %790 = getelementptr inbounds %"class.std::complex", ptr %80, i32 0, i32 0
  %791 = load <2 x float>, ptr %790, align 4
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %779, <2 x float> %791, ptr noundef %788, i32 noundef 1, ptr noundef %789, i32 noundef 1)
  br label %792

792:                                              ; preds = %776, %758
  br label %793

793:                                              ; preds = %792, %718
  %794 = load i32, ptr %28, align 4, !tbaa !9
  %795 = icmp ne i32 %794, 2
  br i1 %795, label %796, label %874

796:                                              ; preds = %793
  %797 = load ptr, ptr %4, align 8, !tbaa !5
  %798 = load i32, ptr %23, align 4, !tbaa !9
  %799 = sub nsw i32 %798, 1
  %800 = sext i32 %799 to i64
  %801 = getelementptr inbounds %"class.std::complex", ptr %797, i64 %800
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %81, ptr align 4 %801, i64 8, i1 false), !tbaa.struct !11
  %802 = getelementptr inbounds %"class.std::complex", ptr %81, i32 0, i32 0
  %803 = load <2 x float>, ptr %802, align 4
  %804 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %803)
  %805 = load ptr, ptr %33, align 8, !tbaa !5
  %806 = load i32, ptr %22, align 4, !tbaa !9
  %807 = sub nsw i32 %806, 1
  %808 = sext i32 %807 to i64
  %809 = getelementptr inbounds %"class.std::complex", ptr %805, i64 %808
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %82, ptr align 4 %809, i64 8, i1 false), !tbaa.struct !11
  %810 = getelementptr inbounds %"class.std::complex", ptr %82, i32 0, i32 0
  %811 = load <2 x float>, ptr %810, align 4
  %812 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %811)
  %813 = fcmp olt float %804, %812
  br i1 %813, label %814, label %838

814:                                              ; preds = %796
  %815 = load ptr, ptr %4, align 8, !tbaa !5
  %816 = load i32, ptr %23, align 4, !tbaa !9
  %817 = sub nsw i32 %816, 1
  %818 = sext i32 %817 to i64
  %819 = getelementptr inbounds %"class.std::complex", ptr %815, i64 %818
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %83, ptr align 4 %819, i64 8, i1 false), !tbaa.struct !11
  %820 = getelementptr inbounds %"class.std::complex", ptr %83, i32 0, i32 0
  %821 = load <2 x float>, ptr %820, align 4
  %822 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %821)
  %823 = load ptr, ptr %33, align 8, !tbaa !5
  %824 = load i32, ptr %22, align 4, !tbaa !9
  %825 = sub nsw i32 %824, 1
  %826 = sext i32 %825 to i64
  %827 = getelementptr inbounds %"class.std::complex", ptr %823, i64 %826
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %84, ptr align 4 %827, i64 8, i1 false), !tbaa.struct !11
  %828 = getelementptr inbounds %"class.std::complex", ptr %84, i32 0, i32 0
  %829 = load <2 x float>, ptr %828, align 4
  %830 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %829)
  %831 = fdiv float %822, %830
  store float %831, ptr %30, align 4, !tbaa !16
  %832 = load i32, ptr %5, align 4, !tbaa !9
  %833 = load float, ptr %30, align 4, !tbaa !16
  %834 = load ptr, ptr %33, align 8, !tbaa !5
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %832, float noundef %833, ptr noundef %834, i32 noundef 1)
  %835 = load float, ptr %30, align 4, !tbaa !16
  %836 = load float, ptr %32, align 4, !tbaa !16
  %837 = fmul float %835, %836
  store float %837, ptr %32, align 4, !tbaa !16
  br label %838

838:                                              ; preds = %814, %796
  %839 = load ptr, ptr %4, align 8, !tbaa !5
  %840 = load i32, ptr %23, align 4, !tbaa !9
  %841 = sub nsw i32 %840, 1
  %842 = sext i32 %841 to i64
  %843 = getelementptr inbounds %"class.std::complex", ptr %839, i64 %842
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %85, ptr align 4 %843, i64 8, i1 false), !tbaa.struct !11
  %844 = getelementptr inbounds %"class.std::complex", ptr %85, i32 0, i32 0
  %845 = load <2 x float>, ptr %844, align 4
  %846 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %845)
  %847 = fpext float %846 to double
  %848 = fcmp une double %847, 0.000000e+00
  br i1 %848, label %849, label %867

849:                                              ; preds = %838
  call void @llvm.lifetime.start.p0(i64 8, ptr %86) #10
  %850 = load ptr, ptr %33, align 8, !tbaa !5
  %851 = load i32, ptr %22, align 4, !tbaa !9
  %852 = sub nsw i32 %851, 1
  %853 = sext i32 %852 to i64
  %854 = getelementptr inbounds %"class.std::complex", ptr %850, i64 %853
  %855 = load ptr, ptr %4, align 8, !tbaa !5
  %856 = load i32, ptr %23, align 4, !tbaa !9
  %857 = sub nsw i32 %856, 1
  %858 = sext i32 %857 to i64
  %859 = getelementptr inbounds %"class.std::complex", ptr %855, i64 %858
  %860 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %854, ptr noundef nonnull align 4 dereferenceable(8) %859)
  %861 = getelementptr inbounds %"class.std::complex", ptr %86, i32 0, i32 0
  store <2 x float> %860, ptr %861, align 4
  %862 = load ptr, ptr %33, align 8, !tbaa !5
  %863 = load i32, ptr %22, align 4, !tbaa !9
  %864 = sub nsw i32 %863, 1
  %865 = sext i32 %864 to i64
  %866 = getelementptr inbounds %"class.std::complex", ptr %862, i64 %865
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %866, ptr align 4 %86, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %86) #10
  br label %873

867:                                              ; preds = %838
  call void @llvm.lifetime.start.p0(i64 8, ptr %87) #10
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %87, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %868 = load ptr, ptr %33, align 8, !tbaa !5
  %869 = load i32, ptr %22, align 4, !tbaa !9
  %870 = sub nsw i32 %869, 1
  %871 = sext i32 %870 to i64
  %872 = getelementptr inbounds %"class.std::complex", ptr %868, i64 %871
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %872, ptr align 4 %87, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %87) #10
  br label %873

873:                                              ; preds = %867, %849
  br label %957

874:                                              ; preds = %793
  %875 = load i32, ptr %16, align 4, !tbaa !9
  %876 = load i32, ptr %22, align 4, !tbaa !9
  %877 = add nsw i32 %875, %876
  %878 = sub nsw i32 %877, 1
  store i32 %878, ptr %24, align 4, !tbaa !9
  %879 = load i32, ptr %17, align 4, !tbaa !9
  %880 = load i32, ptr %22, align 4, !tbaa !9
  %881 = add nsw i32 %879, %880
  %882 = sub nsw i32 %881, 1
  store i32 %882, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %88) #10
  %883 = load ptr, ptr %4, align 8, !tbaa !5
  %884 = load i32, ptr %23, align 4, !tbaa !9
  %885 = sub nsw i32 %884, 1
  %886 = sext i32 %885 to i64
  %887 = getelementptr inbounds %"class.std::complex", ptr %883, i64 %886
  %888 = load ptr, ptr %4, align 8, !tbaa !5
  %889 = load i32, ptr %24, align 4, !tbaa !9
  %890 = sub nsw i32 %889, 1
  %891 = sext i32 %890 to i64
  %892 = getelementptr inbounds %"class.std::complex", ptr %888, i64 %891
  %893 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %887, ptr noundef nonnull align 4 dereferenceable(8) %892)
  %894 = getelementptr inbounds %"class.std::complex", ptr %88, i32 0, i32 0
  store <2 x float> %893, ptr %894, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %88, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %88) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %89) #10
  %895 = load ptr, ptr %4, align 8, !tbaa !5
  %896 = load i32, ptr %25, align 4, !tbaa !9
  %897 = sub nsw i32 %896, 1
  %898 = sext i32 %897 to i64
  %899 = getelementptr inbounds %"class.std::complex", ptr %895, i64 %898
  %900 = load ptr, ptr %4, align 8, !tbaa !5
  %901 = load i32, ptr %24, align 4, !tbaa !9
  %902 = sub nsw i32 %901, 1
  %903 = sext i32 %902 to i64
  %904 = getelementptr inbounds %"class.std::complex", ptr %900, i64 %903
  %905 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %899, ptr noundef nonnull align 4 dereferenceable(8) %904)
  %906 = getelementptr inbounds %"class.std::complex", ptr %89, i32 0, i32 0
  store <2 x float> %905, ptr %906, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 %89, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %89) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %90) #10
  %907 = load ptr, ptr %33, align 8, !tbaa !5
  %908 = load i32, ptr %22, align 4, !tbaa !9
  %909 = sub nsw i32 %908, 1
  %910 = sext i32 %909 to i64
  %911 = getelementptr inbounds %"class.std::complex", ptr %907, i64 %910
  %912 = load ptr, ptr %4, align 8, !tbaa !5
  %913 = load i32, ptr %24, align 4, !tbaa !9
  %914 = sub nsw i32 %913, 1
  %915 = sext i32 %914 to i64
  %916 = getelementptr inbounds %"class.std::complex", ptr %912, i64 %915
  %917 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %911, ptr noundef nonnull align 4 dereferenceable(8) %916)
  %918 = getelementptr inbounds %"class.std::complex", ptr %90, i32 0, i32 0
  store <2 x float> %917, ptr %918, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %10, ptr align 4 %90, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %90) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %91) #10
  %919 = load ptr, ptr %33, align 8, !tbaa !5
  %920 = load i32, ptr %22, align 4, !tbaa !9
  %921 = sub nsw i32 %920, 2
  %922 = sext i32 %921 to i64
  %923 = getelementptr inbounds %"class.std::complex", ptr %919, i64 %922
  %924 = load ptr, ptr %4, align 8, !tbaa !5
  %925 = load i32, ptr %24, align 4, !tbaa !9
  %926 = sub nsw i32 %925, 1
  %927 = sext i32 %926 to i64
  %928 = getelementptr inbounds %"class.std::complex", ptr %924, i64 %927
  %929 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %923, ptr noundef nonnull align 4 dereferenceable(8) %928)
  %930 = getelementptr inbounds %"class.std::complex", ptr %91, i32 0, i32 0
  store <2 x float> %929, ptr %930, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %11, ptr align 4 %91, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %91) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %92) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %93) #10
  %931 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(8) %8)
  %932 = getelementptr inbounds %"class.std::complex", ptr %93, i32 0, i32 0
  store <2 x float> %931, ptr %932, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %94) #10
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %94, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %933 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %93, ptr noundef nonnull align 4 dereferenceable(8) %94)
  %934 = getelementptr inbounds %"class.std::complex", ptr %92, i32 0, i32 0
  store <2 x float> %933, ptr %934, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %12, ptr align 4 %92, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %94) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %93) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %92) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %95) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %96) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %97) #10
  %935 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 4 dereferenceable(8) %10)
  %936 = getelementptr inbounds %"class.std::complex", ptr %97, i32 0, i32 0
  store <2 x float> %935, ptr %936, align 4
  %937 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %97, ptr noundef nonnull align 4 dereferenceable(8) %11)
  %938 = getelementptr inbounds %"class.std::complex", ptr %96, i32 0, i32 0
  store <2 x float> %937, ptr %938, align 4
  %939 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %96, ptr noundef nonnull align 4 dereferenceable(8) %12)
  %940 = getelementptr inbounds %"class.std::complex", ptr %95, i32 0, i32 0
  store <2 x float> %939, ptr %940, align 4
  %941 = load ptr, ptr %33, align 8, !tbaa !5
  %942 = load i32, ptr %22, align 4, !tbaa !9
  %943 = sub nsw i32 %942, 1
  %944 = sext i32 %943 to i64
  %945 = getelementptr inbounds %"class.std::complex", ptr %941, i64 %944
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %945, ptr align 4 %95, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %97) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %96) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %95) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %98) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %99) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %100) #10
  %946 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(8) %11)
  %947 = getelementptr inbounds %"class.std::complex", ptr %100, i32 0, i32 0
  store <2 x float> %946, ptr %947, align 4
  %948 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %100, ptr noundef nonnull align 4 dereferenceable(8) %10)
  %949 = getelementptr inbounds %"class.std::complex", ptr %99, i32 0, i32 0
  store <2 x float> %948, ptr %949, align 4
  %950 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %99, ptr noundef nonnull align 4 dereferenceable(8) %12)
  %951 = getelementptr inbounds %"class.std::complex", ptr %98, i32 0, i32 0
  store <2 x float> %950, ptr %951, align 4
  %952 = load ptr, ptr %33, align 8, !tbaa !5
  %953 = load i32, ptr %22, align 4, !tbaa !9
  %954 = sub nsw i32 %953, 2
  %955 = sext i32 %954 to i64
  %956 = getelementptr inbounds %"class.std::complex", ptr %952, i64 %955
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %956, ptr align 4 %98, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %100) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %99) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %98) #10
  br label %957

957:                                              ; preds = %874, %873
  %958 = load i32, ptr %22, align 4, !tbaa !9
  %959 = load i32, ptr %28, align 4, !tbaa !9
  %960 = sub nsw i32 %958, %959
  store i32 %960, ptr %22, align 4, !tbaa !9
  %961 = load i32, ptr %16, align 4, !tbaa !9
  %962 = load i32, ptr %22, align 4, !tbaa !9
  %963 = sub nsw i32 %961, %962
  store i32 %963, ptr %16, align 4, !tbaa !9
  %964 = load i32, ptr %28, align 4, !tbaa !9
  %965 = icmp eq i32 %964, 2
  br i1 %965, label %966, label %971

966:                                              ; preds = %957
  %967 = load i32, ptr %16, align 4, !tbaa !9
  %968 = load i32, ptr %22, align 4, !tbaa !9
  %969 = add nsw i32 %968, 1
  %970 = sub nsw i32 %967, %969
  store i32 %970, ptr %16, align 4, !tbaa !9
  br label %971

971:                                              ; preds = %966, %957
  br label %698, !llvm.loop !22

972:                                              ; preds = %698
  %973 = load i32, ptr %5, align 4, !tbaa !9
  %974 = load ptr, ptr %33, align 8, !tbaa !5
  %975 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %973, ptr noundef %974, i32 noundef 1)
  %976 = fpext float %975 to double
  %977 = fdiv double 1.000000e+00, %976
  %978 = fptrunc double %977 to float
  store float %978, ptr %30, align 4, !tbaa !16
  %979 = load i32, ptr %5, align 4, !tbaa !9
  %980 = load float, ptr %30, align 4, !tbaa !16
  %981 = load ptr, ptr %33, align 8, !tbaa !5
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %979, float noundef %980, ptr noundef %981, i32 noundef 1)
  %982 = load float, ptr %30, align 4, !tbaa !16
  %983 = load float, ptr %32, align 4, !tbaa !16
  %984 = fmul float %982, %983
  store float %984, ptr %32, align 4, !tbaa !16
  store i32 1, ptr %22, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %985

985:                                              ; preds = %1093, %972
  %986 = load i32, ptr %22, align 4, !tbaa !9
  %987 = load i32, ptr %5, align 4, !tbaa !9
  %988 = icmp sle i32 %986, %987
  br i1 %988, label %989, label %1097

989:                                              ; preds = %985
  %990 = load ptr, ptr %6, align 8, !tbaa !5
  %991 = load i32, ptr %22, align 4, !tbaa !9
  %992 = sub nsw i32 %991, 1
  %993 = sext i32 %992 to i64
  %994 = getelementptr inbounds i32, ptr %990, i64 %993
  %995 = load i32, ptr %994, align 4, !tbaa !9
  %996 = icmp slt i32 %995, 0
  br i1 %996, label %997, label %998

997:                                              ; preds = %989
  store i32 2, ptr %28, align 4, !tbaa !9
  br label %999

998:                                              ; preds = %989
  store i32 1, ptr %28, align 4, !tbaa !9
  br label %999

999:                                              ; preds = %998, %997
  %1000 = load i32, ptr %22, align 4, !tbaa !9
  %1001 = icmp ne i32 %1000, 1
  br i1 %1001, label %1002, label %1082

1002:                                             ; preds = %999
  call void @llvm.lifetime.start.p0(i64 8, ptr %101) #10
  %1003 = load ptr, ptr %33, align 8, !tbaa !5
  %1004 = load i32, ptr %22, align 4, !tbaa !9
  %1005 = sub nsw i32 %1004, 1
  %1006 = sext i32 %1005 to i64
  %1007 = getelementptr inbounds %"class.std::complex", ptr %1003, i64 %1006
  call void @llvm.lifetime.start.p0(i64 8, ptr %102) #10
  %1008 = load i32, ptr %22, align 4, !tbaa !9
  %1009 = sub nsw i32 %1008, 1
  %1010 = load ptr, ptr %4, align 8, !tbaa !5
  %1011 = load i32, ptr %16, align 4, !tbaa !9
  %1012 = sext i32 %1011 to i64
  %1013 = getelementptr inbounds %"class.std::complex", ptr %1010, i64 %1012
  %1014 = load ptr, ptr %33, align 8, !tbaa !5
  %1015 = call <2 x float> @_Z5cdotuiPSt7complexIfEiS1_i(i32 noundef %1009, ptr noundef %1013, i32 noundef 1, ptr noundef %1014, i32 noundef 1)
  %1016 = getelementptr inbounds %"class.std::complex", ptr %102, i32 0, i32 0
  store <2 x float> %1015, ptr %1016, align 4
  %1017 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %1007, ptr noundef nonnull align 4 dereferenceable(8) %102)
  %1018 = getelementptr inbounds %"class.std::complex", ptr %101, i32 0, i32 0
  store <2 x float> %1017, ptr %1018, align 4
  %1019 = load ptr, ptr %33, align 8, !tbaa !5
  %1020 = load i32, ptr %22, align 4, !tbaa !9
  %1021 = sub nsw i32 %1020, 1
  %1022 = sext i32 %1021 to i64
  %1023 = getelementptr inbounds %"class.std::complex", ptr %1019, i64 %1022
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1023, ptr align 4 %101, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %102) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %101) #10
  %1024 = load i32, ptr %16, align 4, !tbaa !9
  %1025 = load i32, ptr %22, align 4, !tbaa !9
  %1026 = add nsw i32 %1024, %1025
  store i32 %1026, ptr %18, align 4, !tbaa !9
  %1027 = load i32, ptr %28, align 4, !tbaa !9
  %1028 = icmp eq i32 %1027, 2
  br i1 %1028, label %1029, label %1049

1029:                                             ; preds = %1002
  call void @llvm.lifetime.start.p0(i64 8, ptr %103) #10
  %1030 = load ptr, ptr %33, align 8, !tbaa !5
  %1031 = load i32, ptr %22, align 4, !tbaa !9
  %1032 = sext i32 %1031 to i64
  %1033 = getelementptr inbounds %"class.std::complex", ptr %1030, i64 %1032
  call void @llvm.lifetime.start.p0(i64 8, ptr %104) #10
  %1034 = load i32, ptr %22, align 4, !tbaa !9
  %1035 = sub nsw i32 %1034, 1
  %1036 = load ptr, ptr %4, align 8, !tbaa !5
  %1037 = load i32, ptr %18, align 4, !tbaa !9
  %1038 = sext i32 %1037 to i64
  %1039 = getelementptr inbounds %"class.std::complex", ptr %1036, i64 %1038
  %1040 = load ptr, ptr %33, align 8, !tbaa !5
  %1041 = call <2 x float> @_Z5cdotuiPSt7complexIfEiS1_i(i32 noundef %1035, ptr noundef %1039, i32 noundef 1, ptr noundef %1040, i32 noundef 1)
  %1042 = getelementptr inbounds %"class.std::complex", ptr %104, i32 0, i32 0
  store <2 x float> %1041, ptr %1042, align 4
  %1043 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %1033, ptr noundef nonnull align 4 dereferenceable(8) %104)
  %1044 = getelementptr inbounds %"class.std::complex", ptr %103, i32 0, i32 0
  store <2 x float> %1043, ptr %1044, align 4
  %1045 = load ptr, ptr %33, align 8, !tbaa !5
  %1046 = load i32, ptr %22, align 4, !tbaa !9
  %1047 = sext i32 %1046 to i64
  %1048 = getelementptr inbounds %"class.std::complex", ptr %1045, i64 %1047
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1048, ptr align 4 %103, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %104) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %103) #10
  br label %1049

1049:                                             ; preds = %1029, %1002
  %1050 = load ptr, ptr %6, align 8, !tbaa !5
  %1051 = load i32, ptr %22, align 4, !tbaa !9
  %1052 = sub nsw i32 %1051, 1
  %1053 = sext i32 %1052 to i64
  %1054 = getelementptr inbounds i32, ptr %1050, i64 %1053
  %1055 = load i32, ptr %1054, align 4, !tbaa !9
  %1056 = call i32 @llvm.abs.i32(i32 %1055, i1 true)
  store i32 %1056, ptr %26, align 4, !tbaa !9
  %1057 = load i32, ptr %26, align 4, !tbaa !9
  %1058 = load i32, ptr %22, align 4, !tbaa !9
  %1059 = icmp ne i32 %1057, %1058
  br i1 %1059, label %1060, label %1081

1060:                                             ; preds = %1049
  %1061 = load ptr, ptr %33, align 8, !tbaa !5
  %1062 = load i32, ptr %22, align 4, !tbaa !9
  %1063 = sub nsw i32 %1062, 1
  %1064 = sext i32 %1063 to i64
  %1065 = getelementptr inbounds %"class.std::complex", ptr %1061, i64 %1064
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 4 %1065, i64 8, i1 false), !tbaa.struct !11
  %1066 = load ptr, ptr %33, align 8, !tbaa !5
  %1067 = load i32, ptr %26, align 4, !tbaa !9
  %1068 = sub nsw i32 %1067, 1
  %1069 = sext i32 %1068 to i64
  %1070 = getelementptr inbounds %"class.std::complex", ptr %1066, i64 %1069
  %1071 = load ptr, ptr %33, align 8, !tbaa !5
  %1072 = load i32, ptr %22, align 4, !tbaa !9
  %1073 = sub nsw i32 %1072, 1
  %1074 = sext i32 %1073 to i64
  %1075 = getelementptr inbounds %"class.std::complex", ptr %1071, i64 %1074
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1075, ptr align 4 %1070, i64 8, i1 false), !tbaa.struct !11
  %1076 = load ptr, ptr %33, align 8, !tbaa !5
  %1077 = load i32, ptr %26, align 4, !tbaa !9
  %1078 = sub nsw i32 %1077, 1
  %1079 = sext i32 %1078 to i64
  %1080 = getelementptr inbounds %"class.std::complex", ptr %1076, i64 %1079
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1080, ptr align 4 %31, i64 8, i1 false), !tbaa.struct !11
  br label %1081

1081:                                             ; preds = %1060, %1049
  br label %1082

1082:                                             ; preds = %1081, %999
  %1083 = load i32, ptr %16, align 4, !tbaa !9
  %1084 = load i32, ptr %22, align 4, !tbaa !9
  %1085 = add nsw i32 %1083, %1084
  store i32 %1085, ptr %16, align 4, !tbaa !9
  %1086 = load i32, ptr %28, align 4, !tbaa !9
  %1087 = icmp eq i32 %1086, 2
  br i1 %1087, label %1088, label %1093

1088:                                             ; preds = %1082
  %1089 = load i32, ptr %16, align 4, !tbaa !9
  %1090 = load i32, ptr %22, align 4, !tbaa !9
  %1091 = add nsw i32 %1090, 1
  %1092 = add nsw i32 %1089, %1091
  store i32 %1092, ptr %16, align 4, !tbaa !9
  br label %1093

1093:                                             ; preds = %1088, %1082
  %1094 = load i32, ptr %22, align 4, !tbaa !9
  %1095 = load i32, ptr %28, align 4, !tbaa !9
  %1096 = add nsw i32 %1094, %1095
  store i32 %1096, ptr %22, align 4, !tbaa !9
  br label %985, !llvm.loop !23

1097:                                             ; preds = %985
  %1098 = load i32, ptr %5, align 4, !tbaa !9
  %1099 = load ptr, ptr %33, align 8, !tbaa !5
  %1100 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %1098, ptr noundef %1099, i32 noundef 1)
  %1101 = fpext float %1100 to double
  %1102 = fdiv double 1.000000e+00, %1101
  %1103 = fptrunc double %1102 to float
  store float %1103, ptr %30, align 4, !tbaa !16
  %1104 = load i32, ptr %5, align 4, !tbaa !9
  %1105 = load float, ptr %30, align 4, !tbaa !16
  %1106 = load ptr, ptr %33, align 8, !tbaa !5
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %1104, float noundef %1105, ptr noundef %1106, i32 noundef 1)
  %1107 = load float, ptr %30, align 4, !tbaa !16
  %1108 = load float, ptr %32, align 4, !tbaa !16
  %1109 = fmul float %1107, %1108
  store float %1109, ptr %32, align 4, !tbaa !16
  %1110 = load float, ptr %9, align 4, !tbaa !16
  %1111 = fpext float %1110 to double
  %1112 = fcmp une double %1111, 0.000000e+00
  br i1 %1112, label %1113, label %1117

1113:                                             ; preds = %1097
  %1114 = load float, ptr %32, align 4, !tbaa !16
  %1115 = load float, ptr %9, align 4, !tbaa !16
  %1116 = fdiv float %1114, %1115
  store float %1116, ptr %29, align 4, !tbaa !16
  br label %1118

1117:                                             ; preds = %1097
  store float 0.000000e+00, ptr %29, align 4, !tbaa !16
  br label %1118

1118:                                             ; preds = %1117, %1113
  %1119 = load ptr, ptr %33, align 8, !tbaa !5
  %1120 = icmp eq ptr %1119, null
  br i1 %1120, label %1122, label %1121

1121:                                             ; preds = %1118
  call void @_ZdaPv(ptr noundef %1119) #12
  br label %1122

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

1124:                                             ; preds = %173
  %1125 = load ptr, ptr %34, align 8
  %1126 = load i32, ptr %35, align 4
  %1127 = insertvalue { ptr, i32 } poison, ptr %1125, 0
  %1128 = insertvalue { ptr, i32 } %1127, i32 %1126, 1
  resume { ptr, i32 } %1128
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 #8 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #10 = { nounwind }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { builtin nounwind }

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

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


; 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

; Function Attrs: 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 #5

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #7

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

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

40:                                               ; preds = %3
  %41 = getelementptr inbounds %"class.std::complex", ptr %38, i64 %34
  br label %42

42:                                               ; preds = %42, %40
  %43 = phi ptr [ %38, %40 ], [ %44, %42 ]
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %43, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %44 = getelementptr inbounds i8, ptr %43, i64 8
  %45 = icmp eq ptr %44, %41
  br i1 %45, label %.loopexit, label %42

.loopexit:                                        ; preds = %42
  %invariant.gep453 = getelementptr i8, ptr %0, i64 -8
  %invariant.gep455 = getelementptr i8, ptr %38, i64 -8
  %.not457 = icmp slt i32 %1, 1
  br i1 %.not457, label %._crit_edge465, label %.lr.ph461

.lr.ph461:                                        ; preds = %.loopexit
  %46 = add nuw i32 %1, 1
  %wide.trip.count = zext i32 %46 to i64
  br label %47

.lr.ph464.preheader:                              ; preds = %._crit_edge
  %wide.trip.count549 = zext nneg i32 %1 to i64
  br label %.lr.ph464

47:                                               ; preds = %.lr.ph461, %._crit_edge
  %indvars.iv542 = phi i64 [ 1, %.lr.ph461 ], [ %indvars.iv.next543, %._crit_edge ]
  %indvars.iv540 = phi i32 [ 1, %.lr.ph461 ], [ %indvars.iv.next541, %._crit_edge ]
  %indvars.iv538 = phi i32 [ 2, %.lr.ph461 ], [ %indvars.iv.next539, %._crit_edge ]
  %indvars.iv531 = phi i32 [ 1, %.lr.ph461 ], [ %indvars.iv.next532, %._crit_edge ]
  %48 = zext i32 %indvars.iv531 to i64
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #9
  %gep454 = getelementptr %"class.std::complex", ptr %invariant.gep453, i64 %48
  %49 = trunc nuw nsw i64 %indvars.iv542 to i32
  %50 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %49, ptr noundef nonnull %gep454, i32 noundef 1)
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef %50, float noundef 0.000000e+00)
  %gep456 = getelementptr %"class.std::complex", ptr %invariant.gep455, i64 %indvars.iv542
  %51 = load i64, ptr %11, align 8, !tbaa !5
  store i64 %51, ptr %gep456, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  %.not440.not450 = icmp ugt i64 %indvars.iv542, 1
  br i1 %.not440.not450, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %47, %.lr.ph
  %indvars.iv533 = phi i64 [ %indvars.iv.next534, %.lr.ph ], [ %48, %47 ]
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 1, %47 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  %gep = getelementptr %"class.std::complex", ptr %invariant.gep455, i64 %indvars.iv
  %52 = call noundef float @_ZSt4realIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %gep)
  %gep449 = getelementptr %"class.std::complex", ptr %invariant.gep453, i64 %indvars.iv533
  %.sroa.045.0.copyload = load <2 x float>, ptr %gep449, align 4, !tbaa !5
  %53 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.045.0.copyload)
  %54 = fadd float %52, %53
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %12, float noundef %54, float noundef 0.000000e+00)
  %55 = load i64, ptr %12, align 8, !tbaa !5
  store i64 %55, ptr %gep, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  %indvars.iv.next534 = add nuw nsw i64 %indvars.iv533, 1
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %lftr.wideiv = trunc i64 %indvars.iv.next534 to i32
  %exitcond.not = icmp eq i32 %indvars.iv540, %lftr.wideiv
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !8

._crit_edge:                                      ; preds = %.lr.ph, %47
  %indvars.iv.next543 = add nuw nsw i64 %indvars.iv542, 1
  %indvars.iv.next532 = add i32 %indvars.iv531, %49
  %indvars.iv.next539 = add nuw i32 %indvars.iv538, 1
  %indvars.iv.next541 = add i32 %indvars.iv540, %indvars.iv538
  %exitcond545.not = icmp eq i64 %indvars.iv.next543, %wide.trip.count
  br i1 %exitcond545.not, label %.lr.ph464.preheader, label %47, !llvm.loop !10

.lr.ph464:                                        ; preds = %.lr.ph464.preheader, %.lr.ph464
  %indvars.iv546 = phi i64 [ 0, %.lr.ph464.preheader ], [ %indvars.iv.next547, %.lr.ph464 ]
  %.0463 = phi float [ 0.000000e+00, %.lr.ph464.preheader ], [ %58, %.lr.ph464 ]
  %56 = getelementptr inbounds %"class.std::complex", ptr %38, i64 %indvars.iv546
  %57 = call noundef float @_ZSt4realIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %56)
  %58 = call noundef float @_Z6r4_maxff(float noundef %.0463, float noundef %57)
  %indvars.iv.next547 = add nuw nsw i64 %indvars.iv546, 1
  %exitcond550.not = icmp eq i64 %indvars.iv.next547, %wide.trip.count549
  br i1 %exitcond550.not, label %._crit_edge465, label %.lr.ph464, !llvm.loop !11

._crit_edge465:                                   ; preds = %.lr.ph464, %3, %.loopexit
  %59 = phi i1 [ false, %.loopexit ], [ false, %3 ], [ true, %.lr.ph464 ]
  %.not457562566 = phi i1 [ true, %.loopexit ], [ true, %3 ], [ %.not457, %.lr.ph464 ]
  %.0.lcssa = phi float [ 0.000000e+00, %.loopexit ], [ 0.000000e+00, %3 ], [ %58, %.lr.ph464 ]
  %60 = call noundef i32 @_Z5cspfaPSt7complexIfEiPi(ptr noundef %0, i32 noundef %1, ptr noundef %2)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #9
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %61 = load i64, ptr %13, align 8, !tbaa !5
  store i64 %61, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  br i1 %59, label %.lr.ph468.preheader, label %._crit_edge469.thread

._crit_edge469.thread:                            ; preds = %._crit_edge465
  %62 = add nsw i32 %1, -1
  %63 = mul nsw i32 %62, %1
  %64 = sdiv i32 %63, 2
  br label %._crit_edge488

.lr.ph468.preheader:                              ; preds = %._crit_edge465
  %wide.trip.count554 = zext nneg i32 %1 to i64
  br label %.lr.ph468

.lr.ph468:                                        ; preds = %.lr.ph468.preheader, %.lr.ph468
  %indvars.iv551 = phi i64 [ 0, %.lr.ph468.preheader ], [ %indvars.iv.next552, %.lr.ph468 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #9
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %65 = getelementptr inbounds %"class.std::complex", ptr %38, i64 %indvars.iv551
  %66 = load i64, ptr %14, align 8, !tbaa !5
  store i64 %66, ptr %65, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #9
  %indvars.iv.next552 = add nuw nsw i64 %indvars.iv551, 1
  %exitcond555.not = icmp eq i64 %indvars.iv.next552, %wide.trip.count554
  br i1 %exitcond555.not, label %._crit_edge469, label %.lr.ph468, !llvm.loop !12

._crit_edge469:                                   ; preds = %.lr.ph468
  %67 = add nsw i32 %1, -1
  %68 = mul nsw i32 %67, %1
  %69 = sdiv i32 %68, 2
  %invariant.gep476 = getelementptr i8, ptr %38, i64 -16
  %invariant.gep480 = getelementptr i8, ptr %0, i64 -16
  br i1 %59, label %.lr.ph487.preheader, label %._crit_edge488

.lr.ph487.preheader:                              ; preds = %._crit_edge469
  %70 = getelementptr i8, ptr %38, i64 -8
  %71 = getelementptr i8, ptr %38, i64 -8
  %72 = getelementptr i8, ptr %0, i64 -8
  %73 = getelementptr i8, ptr %0, i64 -8
  br label %.lr.ph487

.lr.ph487:                                        ; preds = %.lr.ph487.preheader, %141
  %.0402485 = phi i32 [ %.1, %141 ], [ %69, %.lr.ph487.preheader ]
  %.0407484 = phi i32 [ %97, %141 ], [ %1, %.lr.ph487.preheader ]
  %74 = add nsw i32 %.0402485, %.0407484
  %75 = add nsw i32 %.0407484, -1
  %76 = sub nsw i32 %.0402485, %75
  %77 = zext nneg i32 %75 to i64
  %78 = getelementptr inbounds i32, ptr %2, i64 %77
  %79 = load i32, ptr %78, align 4, !tbaa !13
  %80 = icmp slt i32 %79, 0
  %..neg529 = select i1 %80, i32 -2, i32 -1
  %81 = call i32 @llvm.abs.i32(i32 %79, i1 true)
  %82 = add nuw nsw i32 %.0407484, 1
  %83 = add i32 %82, %..neg529
  %.not436 = icmp eq i32 %81, %83
  br i1 %.not436, label %89, label %84

84:                                               ; preds = %.lr.ph487
  %85 = zext nneg i32 %83 to i64
  %gep471 = getelementptr %"class.std::complex", ptr %71, i64 %85
  %86 = load i64, ptr %gep471, align 4, !tbaa !5
  store i64 %86, ptr %10, align 8, !tbaa !5
  %87 = zext nneg i32 %81 to i64
  %gep473 = getelementptr %"class.std::complex", ptr %70, i64 %87
  %88 = load i64, ptr %gep473, align 4, !tbaa !5
  store i64 %88, ptr %gep471, align 4, !tbaa !5
  store i64 %86, ptr %gep473, align 4, !tbaa !5
  br label %89

89:                                               ; preds = %84, %.lr.ph487
  %90 = getelementptr inbounds %"class.std::complex", ptr %38, i64 %77
  %.sroa.044.0.copyload = load <2 x float>, ptr %90, align 4, !tbaa !5
  %91 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.044.0.copyload)
  %92 = fcmp une float %91, 0.000000e+00
  br i1 %92, label %93, label %95

93:                                               ; preds = %89
  %.sroa.042.0.copyload = load <2 x float>, ptr %9, align 8, !tbaa !5
  %.sroa.041.0.copyload = load <2 x float>, ptr %90, align 4, !tbaa !5
  %94 = call <2 x float> @_Z6csign1St7complexIfES0_(<2 x float> %.sroa.042.0.copyload, <2 x float> %.sroa.041.0.copyload)
  store <2 x float> %94, ptr %9, align 8, !tbaa !5
  br label %95

95:                                               ; preds = %93, %89
  %96 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %90, ptr noundef nonnull align 4 dereferenceable(8) %9)
  store <2 x float> %96, ptr %90, align 4, !tbaa !5
  %97 = add i32 %..neg529, %.0407484
  %98 = sext i32 %.0402485 to i64
  %99 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %98
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %97, <2 x float> %96, ptr noundef %99, i32 noundef 1, ptr noundef nonnull %38, i32 noundef 1)
  br i1 %80, label %100, label %.critedge

100:                                              ; preds = %95
  %101 = zext nneg i32 %.0407484 to i64
  %gep477 = getelementptr %"class.std::complex", ptr %invariant.gep476, i64 %101
  %.sroa.038.0.copyload = load <2 x float>, ptr %gep477, align 4, !tbaa !5
  %102 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.038.0.copyload)
  %103 = fcmp une float %102, 0.000000e+00
  br i1 %103, label %104, label %122

104:                                              ; preds = %100
  %.sroa.036.0.copyload = load <2 x float>, ptr %9, align 8, !tbaa !5
  %.sroa.035.0.copyload = load <2 x float>, ptr %gep477, align 4, !tbaa !5
  %105 = call <2 x float> @_Z6csign1St7complexIfES0_(<2 x float> %.sroa.036.0.copyload, <2 x float> %.sroa.035.0.copyload)
  store <2 x float> %105, ptr %9, align 8, !tbaa !5
  br label %122

.critedge:                                        ; preds = %95
  %106 = sext i32 %74 to i64
  %gep475 = getelementptr %"class.std::complex", ptr %72, i64 %106
  %.sroa.032.0.copyload = load <2 x float>, ptr %gep475, align 4, !tbaa !5
  %107 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.032.0.copyload)
  %.sroa.031.0.copyload = load <2 x float>, ptr %90, align 4, !tbaa !5
  %108 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.031.0.copyload)
  %109 = fcmp olt float %107, %108
  br i1 %109, label %110, label %115

110:                                              ; preds = %.critedge
  %.sroa.030.0.copyload = load <2 x float>, ptr %gep475, align 4, !tbaa !5
  %111 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.030.0.copyload)
  %.sroa.029.0.copyload = load <2 x float>, ptr %90, align 4, !tbaa !5
  %112 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.029.0.copyload)
  %113 = fdiv float %111, %112
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %1, float noundef %113, ptr noundef nonnull %38, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #9
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef %113, float noundef 0.000000e+00)
  %114 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef nonnull align 4 dereferenceable(8) %9)
  store <2 x float> %114, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #9
  br label %115

115:                                              ; preds = %110, %.critedge
  %.sroa.027.0.copyload = load <2 x float>, ptr %gep475, align 4, !tbaa !5
  %116 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.027.0.copyload)
  %117 = fcmp une float %116, 0.000000e+00
  br i1 %117, label %118, label %120

118:                                              ; preds = %115
  %119 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %90, ptr noundef nonnull align 4 dereferenceable(8) %gep475)
  store <2 x float> %119, ptr %90, align 4, !tbaa !5
  br label %141

120:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #9
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %121 = load i64, ptr %16, align 8, !tbaa !5
  store i64 %121, ptr %90, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  br label %141

122:                                              ; preds = %100, %104
  %123 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %gep477, ptr noundef nonnull align 4 dereferenceable(8) %9)
  store <2 x float> %123, ptr %gep477, align 4, !tbaa !5
  %124 = sext i32 %76 to i64
  %125 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %124
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %97, <2 x float> %123, ptr noundef %125, i32 noundef 1, ptr noundef nonnull %38, i32 noundef 1)
  %126 = add nsw i32 %76, %.0407484
  %127 = sext i32 %74 to i64
  %gep479 = getelementptr %"class.std::complex", ptr %73, i64 %127
  %gep481 = getelementptr %"class.std::complex", ptr %invariant.gep480, i64 %127
  %128 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %gep479, ptr noundef nonnull align 4 dereferenceable(8) %gep481)
  store <2 x float> %128, ptr %4, align 8, !tbaa !5
  %129 = sext i32 %126 to i64
  %gep483 = getelementptr %"class.std::complex", ptr %invariant.gep480, i64 %129
  %130 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %gep483, ptr noundef nonnull align 4 dereferenceable(8) %gep481)
  store <2 x float> %130, ptr %5, align 8, !tbaa !5
  %131 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %90, ptr noundef nonnull align 4 dereferenceable(8) %gep481)
  store <2 x float> %131, ptr %6, align 8, !tbaa !5
  %132 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %gep477, ptr noundef nonnull align 4 dereferenceable(8) %gep481)
  store <2 x float> %132, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #9
  %133 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(8) %5)
  store <2 x float> %133, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #9
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %18, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %134 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(8) %18)
  store <2 x float> %134, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #9
  %135 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %5, ptr noundef nonnull align 4 dereferenceable(8) %6)
  store <2 x float> %135, ptr %20, align 8
  %136 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %20, ptr noundef nonnull align 4 dereferenceable(8) %7)
  store <2 x float> %136, ptr %19, align 8
  %137 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %19, ptr noundef nonnull align 4 dereferenceable(8) %8)
  store <2 x float> %137, ptr %90, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #9
  %138 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(8) %7)
  store <2 x float> %138, ptr %22, align 8
  %139 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %22, ptr noundef nonnull align 4 dereferenceable(8) %6)
  store <2 x float> %139, ptr %21, align 8
  %140 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %21, ptr noundef nonnull align 4 dereferenceable(8) %8)
  store <2 x float> %140, ptr %gep477, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #9
  br label %141

141:                                              ; preds = %118, %120, %122
  %142 = sub i32 %.0402485, %97
  %.neg439 = xor i32 %97, -1
  %143 = select i1 %80, i32 %.neg439, i32 0
  %.1 = add i32 %142, %143
  %144 = icmp sgt i32 %97, 0
  br i1 %144, label %.lr.ph487, label %._crit_edge488, !llvm.loop !15

._crit_edge488:                                   ; preds = %141, %._crit_edge469.thread, %._crit_edge469
  %145 = phi i32 [ %64, %._crit_edge469.thread ], [ %69, %._crit_edge469 ], [ %69, %141 ]
  %146 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %1, ptr noundef nonnull %38, i32 noundef 1)
  %147 = fdiv float 1.000000e+00, %146
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %1, float noundef %147, ptr noundef nonnull %38, i32 noundef 1)
  br i1 %.not457562566, label %._crit_edge496, label %.lr.ph495.preheader

.lr.ph495.preheader:                              ; preds = %._crit_edge488
  %148 = getelementptr i8, ptr %38, i64 -8
  br label %.lr.ph495

.lr.ph495:                                        ; preds = %.lr.ph495.preheader, %175
  %.2493 = phi i32 [ %.3, %175 ], [ 0, %.lr.ph495.preheader ]
  %.1408492 = phi i32 [ %179, %175 ], [ 1, %.lr.ph495.preheader ]
  %149 = add nsw i32 %.1408492, -1
  %150 = sext i32 %149 to i64
  %151 = getelementptr inbounds i32, ptr %2, i64 %150
  %152 = load i32, ptr %151, align 4, !tbaa !13
  %153 = icmp slt i32 %152, 0
  %.441 = select i1 %153, i32 2, i32 1
  %.not434 = icmp eq i32 %.1408492, 1
  br i1 %.not434, label %175, label %154

154:                                              ; preds = %.lr.ph495
  %155 = getelementptr inbounds %"class.std::complex", ptr %38, i64 %150
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #9
  %156 = sext i32 %.2493 to i64
  %157 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %156
  %158 = call <2 x float> @_Z5cdotuiPSt7complexIfEiS1_i(i32 noundef %149, ptr noundef %157, i32 noundef 1, ptr noundef nonnull %38, i32 noundef 1)
  store <2 x float> %158, ptr %23, align 8
  %159 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %155, ptr noundef nonnull align 4 dereferenceable(8) %23)
  store <2 x float> %159, ptr %155, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #9
  br i1 %153, label %160, label %168

160:                                              ; preds = %154
  %161 = add nsw i32 %.2493, %.1408492
  %162 = zext nneg i32 %.1408492 to i64
  %163 = getelementptr inbounds %"class.std::complex", ptr %38, i64 %162
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #9
  %164 = sext i32 %161 to i64
  %165 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %164
  %166 = call <2 x float> @_Z5cdotuiPSt7complexIfEiS1_i(i32 noundef %149, ptr noundef %165, i32 noundef 1, ptr noundef nonnull %38, i32 noundef 1)
  store <2 x float> %166, ptr %24, align 8
  %167 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %163, ptr noundef nonnull align 4 dereferenceable(8) %24)
  store <2 x float> %167, ptr %163, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #9
  br label %168

168:                                              ; preds = %160, %154
  %169 = load i32, ptr %151, align 4, !tbaa !13
  %170 = call i32 @llvm.abs.i32(i32 %169, i1 true)
  %.not435 = icmp eq i32 %170, %.1408492
  br i1 %.not435, label %175, label %171

171:                                              ; preds = %168
  %172 = load i64, ptr %155, align 4, !tbaa !5
  store i64 %172, ptr %10, align 8, !tbaa !5
  %173 = zext nneg i32 %170 to i64
  %gep490 = getelementptr %"class.std::complex", ptr %148, i64 %173
  %174 = load i64, ptr %gep490, align 4, !tbaa !5
  store i64 %174, ptr %155, align 4, !tbaa !5
  store i64 %172, ptr %gep490, align 4, !tbaa !5
  br label %175

175:                                              ; preds = %168, %171, %.lr.ph495
  %176 = add nsw i32 %.2493, %.1408492
  %177 = add nuw nsw i32 %.1408492, 1
  %178 = select i1 %153, i32 %177, i32 0
  %.3 = add nsw i32 %176, %178
  %179 = add nuw nsw i32 %.441, %.1408492
  %.not427 = icmp sgt i32 %179, %1
  br i1 %.not427, label %._crit_edge496, label %.lr.ph495, !llvm.loop !16

._crit_edge496:                                   ; preds = %175, %._crit_edge488
  %180 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %1, ptr noundef nonnull %38, i32 noundef 1)
  %181 = fdiv float 1.000000e+00, %180
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %1, float noundef %181, ptr noundef nonnull %38, i32 noundef 1)
  br i1 %59, label %.lr.ph518.preheader, label %._crit_edge519

.lr.ph518.preheader:                              ; preds = %._crit_edge496
  %182 = getelementptr i8, ptr %38, i64 -8
  %183 = getelementptr i8, ptr %38, i64 -8
  %184 = getelementptr i8, ptr %38, i64 -16
  %185 = getelementptr i8, ptr %0, i64 -8
  %186 = getelementptr i8, ptr %0, i64 -8
  %187 = getelementptr i8, ptr %38, i64 -16
  %188 = getelementptr i8, ptr %0, i64 -16
  %189 = getelementptr i8, ptr %0, i64 -16
  br label %.lr.ph518

.lr.ph518:                                        ; preds = %.lr.ph518.preheader, %249
  %.4516 = phi i32 [ %.5, %249 ], [ %145, %.lr.ph518.preheader ]
  %.2409514 = phi i32 [ %250, %249 ], [ %1, %.lr.ph518.preheader ]
  %.0416513 = phi float [ %.2418, %249 ], [ 1.000000e+00, %.lr.ph518.preheader ]
  %190 = add nsw i32 %.4516, %.2409514
  %191 = add nsw i32 %.2409514, -1
  %192 = sub nsw i32 %.4516, %191
  %193 = zext nneg i32 %191 to i64
  %194 = getelementptr inbounds i32, ptr %2, i64 %193
  %195 = load i32, ptr %194, align 4, !tbaa !13
  %196 = icmp slt i32 %195, 0
  %.442 = select i1 %196, i32 2, i32 1
  %.not431 = icmp eq i32 %.2409514, %.442
  br i1 %.not431, label %214, label %197

197:                                              ; preds = %.lr.ph518
  %.442.neg530 = select i1 %196, i32 -2, i32 -1
  %198 = call i32 @llvm.abs.i32(i32 %195, i1 true)
  %199 = add nuw nsw i32 %.2409514, 1
  %200 = add nsw i32 %199, %.442.neg530
  %.not432 = icmp eq i32 %198, %200
  br i1 %.not432, label %206, label %201

201:                                              ; preds = %197
  %202 = zext nneg i32 %200 to i64
  %gep498 = getelementptr %"class.std::complex", ptr %183, i64 %202
  %203 = load i64, ptr %gep498, align 4, !tbaa !5
  store i64 %203, ptr %10, align 8, !tbaa !5
  %204 = zext nneg i32 %198 to i64
  %gep500 = getelementptr %"class.std::complex", ptr %182, i64 %204
  %205 = load i64, ptr %gep500, align 4, !tbaa !5
  store i64 %205, ptr %gep498, align 4, !tbaa !5
  store i64 %203, ptr %gep500, align 4, !tbaa !5
  br label %206

206:                                              ; preds = %201, %197
  %207 = sub nsw i32 %.2409514, %.442
  %208 = getelementptr inbounds %"class.std::complex", ptr %38, i64 %193
  %.sroa.016.0.copyload = load <2 x float>, ptr %208, align 4, !tbaa !5
  %209 = sext i32 %.4516 to i64
  %210 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %209
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %207, <2 x float> %.sroa.016.0.copyload, ptr noundef %210, i32 noundef 1, ptr noundef nonnull %38, i32 noundef 1)
  br i1 %196, label %.thread, label %.critedge444

.thread:                                          ; preds = %206
  %211 = zext nneg i32 %.2409514 to i64
  %gep502 = getelementptr %"class.std::complex", ptr %184, i64 %211
  %.sroa.015.0.copyload = load <2 x float>, ptr %gep502, align 4, !tbaa !5
  %212 = sext i32 %192 to i64
  %213 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %212
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %207, <2 x float> %.sroa.015.0.copyload, ptr noundef %213, i32 noundef 1, ptr noundef nonnull %38, i32 noundef 1)
  br label %232

214:                                              ; preds = %.lr.ph518
  br i1 %196, label %._crit_edge556, label %.critedge444

._crit_edge556:                                   ; preds = %214
  %.pre = zext nneg i32 %.2409514 to i64
  br label %232

.critedge444:                                     ; preds = %206, %214
  %215 = sext i32 %190 to i64
  %gep504 = getelementptr %"class.std::complex", ptr %185, i64 %215
  %.sroa.014.0.copyload = load <2 x float>, ptr %gep504, align 4, !tbaa !5
  %216 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.014.0.copyload)
  %217 = getelementptr inbounds %"class.std::complex", ptr %38, i64 %193
  %.sroa.013.0.copyload = load <2 x float>, ptr %217, align 4, !tbaa !5
  %218 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.013.0.copyload)
  %219 = fcmp olt float %216, %218
  br i1 %219, label %220, label %225

220:                                              ; preds = %.critedge444
  %.sroa.012.0.copyload = load <2 x float>, ptr %gep504, align 4, !tbaa !5
  %221 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.012.0.copyload)
  %.sroa.011.0.copyload = load <2 x float>, ptr %217, align 4, !tbaa !5
  %222 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.011.0.copyload)
  %223 = fdiv float %221, %222
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %1, float noundef %223, ptr noundef nonnull %38, i32 noundef 1)
  %224 = fmul float %.0416513, %223
  br label %225

225:                                              ; preds = %220, %.critedge444
  %.1417 = phi float [ %224, %220 ], [ %.0416513, %.critedge444 ]
  %.sroa.010.0.copyload = load <2 x float>, ptr %gep504, align 4, !tbaa !5
  %226 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.010.0.copyload)
  %227 = fcmp une float %226, 0.000000e+00
  br i1 %227, label %228, label %230

228:                                              ; preds = %225
  %229 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %217, ptr noundef nonnull align 4 dereferenceable(8) %gep504)
  store <2 x float> %229, ptr %217, align 4, !tbaa !5
  br label %249

230:                                              ; preds = %225
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #9
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %25, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %231 = load i64, ptr %25, align 8, !tbaa !5
  store i64 %231, ptr %217, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #9
  br label %249

232:                                              ; preds = %._crit_edge556, %.thread
  %.pre-phi = phi i64 [ %.pre, %._crit_edge556 ], [ %211, %.thread ]
  %233 = add nsw i32 %192, %.2409514
  %234 = sext i32 %190 to i64
  %gep506 = getelementptr %"class.std::complex", ptr %186, i64 %234
  %gep508 = getelementptr %"class.std::complex", ptr %189, i64 %234
  %235 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %gep506, ptr noundef nonnull align 4 dereferenceable(8) %gep508)
  store <2 x float> %235, ptr %4, align 8, !tbaa !5
  %236 = sext i32 %233 to i64
  %gep510 = getelementptr %"class.std::complex", ptr %188, i64 %236
  %237 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %gep510, ptr noundef nonnull align 4 dereferenceable(8) %gep508)
  store <2 x float> %237, ptr %5, align 8, !tbaa !5
  %238 = getelementptr inbounds %"class.std::complex", ptr %38, i64 %193
  %239 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %238, ptr noundef nonnull align 4 dereferenceable(8) %gep508)
  store <2 x float> %239, ptr %6, align 8, !tbaa !5
  %gep512 = getelementptr %"class.std::complex", ptr %187, i64 %.pre-phi
  %240 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %gep512, ptr noundef nonnull align 4 dereferenceable(8) %gep508)
  store <2 x float> %240, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #9
  %241 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(8) %5)
  store <2 x float> %241, ptr %26, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #9
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %27, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %242 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %26, ptr noundef nonnull align 4 dereferenceable(8) %27)
  store <2 x float> %242, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #9
  %243 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %5, ptr noundef nonnull align 4 dereferenceable(8) %6)
  store <2 x float> %243, ptr %29, align 8
  %244 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %29, ptr noundef nonnull align 4 dereferenceable(8) %7)
  store <2 x float> %244, ptr %28, align 8
  %245 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %28, ptr noundef nonnull align 4 dereferenceable(8) %8)
  store <2 x float> %245, ptr %238, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %31) #9
  %246 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(8) %7)
  store <2 x float> %246, ptr %31, align 8
  %247 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %31, ptr noundef nonnull align 4 dereferenceable(8) %6)
  store <2 x float> %247, ptr %30, align 8
  %248 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %30, ptr noundef nonnull align 4 dereferenceable(8) %8)
  store <2 x float> %248, ptr %gep512, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #9
  br label %249

249:                                              ; preds = %228, %230, %232
  %.2418 = phi float [ %.1417, %228 ], [ %.1417, %230 ], [ %.0416513, %232 ]
  %250 = sub nsw i32 %.2409514, %.442
  %251 = sub i32 %.4516, %250
  %.neg = xor i32 %250, -1
  %252 = select i1 %196, i32 %.neg, i32 0
  %.5 = add i32 %251, %252
  %253 = icmp sgt i32 %250, 0
  br i1 %253, label %.lr.ph518, label %._crit_edge519, !llvm.loop !17

._crit_edge519:                                   ; preds = %249, %._crit_edge496
  %.0416.lcssa = phi float [ 1.000000e+00, %._crit_edge496 ], [ %.2418, %249 ]
  %254 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %1, ptr noundef nonnull %38, i32 noundef 1)
  %255 = fdiv float 1.000000e+00, %254
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %1, float noundef %255, ptr noundef nonnull %38, i32 noundef 1)
  br i1 %.not457562566, label %._crit_edge528, label %.lr.ph527.preheader

.lr.ph527.preheader:                              ; preds = %._crit_edge519
  %256 = getelementptr i8, ptr %38, i64 -8
  br label %.lr.ph527

.lr.ph527:                                        ; preds = %.lr.ph527.preheader, %283
  %.6525 = phi i32 [ %.7, %283 ], [ 0, %.lr.ph527.preheader ]
  %.3410524 = phi i32 [ %287, %283 ], [ 1, %.lr.ph527.preheader ]
  %257 = add nsw i32 %.3410524, -1
  %258 = sext i32 %257 to i64
  %259 = getelementptr inbounds i32, ptr %2, i64 %258
  %260 = load i32, ptr %259, align 4, !tbaa !13
  %261 = icmp slt i32 %260, 0
  %.445 = select i1 %261, i32 2, i32 1
  %.not429 = icmp eq i32 %.3410524, 1
  br i1 %.not429, label %283, label %262

262:                                              ; preds = %.lr.ph527
  %263 = getelementptr inbounds %"class.std::complex", ptr %38, i64 %258
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %32) #9
  %264 = sext i32 %.6525 to i64
  %265 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %264
  %266 = call <2 x float> @_Z5cdotuiPSt7complexIfEiS1_i(i32 noundef %257, ptr noundef %265, i32 noundef 1, ptr noundef nonnull %38, i32 noundef 1)
  store <2 x float> %266, ptr %32, align 8
  %267 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %263, ptr noundef nonnull align 4 dereferenceable(8) %32)
  store <2 x float> %267, ptr %263, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #9
  br i1 %261, label %268, label %276

268:                                              ; preds = %262
  %269 = add nsw i32 %.6525, %.3410524
  %270 = zext nneg i32 %.3410524 to i64
  %271 = getelementptr inbounds %"class.std::complex", ptr %38, i64 %270
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #9
  %272 = sext i32 %269 to i64
  %273 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %272
  %274 = call <2 x float> @_Z5cdotuiPSt7complexIfEiS1_i(i32 noundef %257, ptr noundef %273, i32 noundef 1, ptr noundef nonnull %38, i32 noundef 1)
  store <2 x float> %274, ptr %33, align 8
  %275 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %271, ptr noundef nonnull align 4 dereferenceable(8) %33)
  store <2 x float> %275, ptr %271, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #9
  br label %276

276:                                              ; preds = %268, %262
  %277 = load i32, ptr %259, align 4, !tbaa !13
  %278 = call i32 @llvm.abs.i32(i32 %277, i1 true)
  %.not430 = icmp eq i32 %278, %.3410524
  br i1 %.not430, label %283, label %279

279:                                              ; preds = %276
  %280 = load i64, ptr %263, align 4, !tbaa !5
  store i64 %280, ptr %10, align 8, !tbaa !5
  %281 = zext nneg i32 %278 to i64
  %gep522 = getelementptr %"class.std::complex", ptr %256, i64 %281
  %282 = load i64, ptr %gep522, align 4, !tbaa !5
  store i64 %282, ptr %263, align 4, !tbaa !5
  store i64 %280, ptr %gep522, align 4, !tbaa !5
  br label %283

283:                                              ; preds = %276, %279, %.lr.ph527
  %284 = add nsw i32 %.6525, %.3410524
  %285 = add nuw nsw i32 %.3410524, 1
  %286 = select i1 %261, i32 %285, i32 0
  %.7 = add nsw i32 %284, %286
  %287 = add nuw nsw i32 %.445, %.3410524
  %.not428 = icmp sgt i32 %287, %1
  br i1 %.not428, label %._crit_edge528, label %.lr.ph527, !llvm.loop !18

._crit_edge528:                                   ; preds = %283, %._crit_edge519
  %288 = fmul float %.0416.lcssa, %255
  %289 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %1, ptr noundef nonnull %38, i32 noundef 1)
  %290 = fdiv float 1.000000e+00, %289
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %1, float noundef %290, ptr noundef nonnull %38, i32 noundef 1)
  %291 = fcmp une float %.0.lcssa, 0.000000e+00
  %292 = fmul float %288, %290
  %293 = fdiv float %292, %.0.lcssa
  %.0415 = select i1 %291, float %293, float 0.000000e+00
  call void @_ZdaPv(ptr noundef nonnull %38) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #9
  ret float %.0415
}

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

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


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