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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #2

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) #4

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

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

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

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

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

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

; 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

; Function Attrs: mustprogress uwtable
define dso_local noundef float @_Z5chpcoPSt7complexIfEiPi(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
  %105 = alloca %"class.std::complex", align 4
  %106 = alloca %"class.std::complex", align 4
  %107 = alloca %"class.std::complex", align 4
  %108 = 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
  %109 = load i32, ptr %5, align 4, !tbaa !9
  %110 = sext i32 %109 to i64
  %111 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %110, i64 8)
  %112 = extractvalue { i64, i1 } %111, 1
  %113 = extractvalue { i64, i1 } %111, 0
  %114 = select i1 %112, i64 -1, i64 %113
  %115 = call noalias noundef nonnull ptr @_Znam(i64 noundef %114) #11
  %116 = icmp eq i64 %110, 0
  br i1 %116, label %124, label %117

117:                                              ; preds = %3
  %118 = getelementptr inbounds %"class.std::complex", ptr %115, i64 %110
  br label %119

119:                                              ; preds = %121, %117
  %120 = phi ptr [ %115, %117 ], [ %122, %121 ]
  invoke void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %120, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %121 unwind label %177

121:                                              ; preds = %119
  %122 = getelementptr inbounds %"class.std::complex", ptr %120, i64 1
  %123 = icmp eq ptr %122, %118
  br i1 %123, label %124, label %119

124:                                              ; preds = %121, %3
  store ptr %115, 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 %125

125:                                              ; preds = %182, %124
  %126 = load i32, ptr %20, align 4, !tbaa !9
  %127 = load i32, ptr %5, align 4, !tbaa !9
  %128 = icmp sle i32 %126, %127
  br i1 %128, label %129, label %185

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

146:                                              ; preds = %174, %129
  %147 = load i32, ptr %14, align 4, !tbaa !9
  %148 = load i32, ptr %20, align 4, !tbaa !9
  %149 = sub nsw i32 %148, 1
  %150 = icmp sle i32 %147, %149
  br i1 %150, label %151, label %181

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

174:                                              ; preds = %151
  %175 = load i32, ptr %14, align 4, !tbaa !9
  %176 = add nsw i32 %175, 1
  store i32 %176, ptr %14, align 4, !tbaa !9
  br label %146, !llvm.loop !13

177:                                              ; preds = %119
  %178 = landingpad { ptr, i32 }
          cleanup
  %179 = extractvalue { ptr, i32 } %178, 0
  store ptr %179, ptr %34, align 8
  %180 = extractvalue { ptr, i32 } %178, 1
  store i32 %180, ptr %35, align 4
  call void @_ZdaPvm(ptr noundef %115, i64 noundef %114) #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 %1136

181:                                              ; preds = %146
  br label %182

182:                                              ; preds = %181
  %183 = load i32, ptr %20, align 4, !tbaa !9
  %184 = add nsw i32 %183, 1
  store i32 %184, ptr %20, align 4, !tbaa !9
  br label %125, !llvm.loop !15

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

186:                                              ; preds = %198, %185
  %187 = load i32, ptr %20, align 4, !tbaa !9
  %188 = load i32, ptr %5, align 4, !tbaa !9
  %189 = icmp slt i32 %187, %188
  br i1 %189, label %190, label %201

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

198:                                              ; preds = %190
  %199 = load i32, ptr %20, align 4, !tbaa !9
  %200 = add nsw i32 %199, 1
  store i32 %200, ptr %20, align 4, !tbaa !9
  br label %186, !llvm.loop !18

201:                                              ; preds = %186
  %202 = load ptr, ptr %4, align 8, !tbaa !5
  %203 = load i32, ptr %5, align 4, !tbaa !9
  %204 = load ptr, ptr %6, align 8, !tbaa !5
  %205 = call noundef i32 @_Z5chpfaPSt7complexIfEiPi(ptr noundef %202, i32 noundef %203, ptr noundef %204)
  store i32 %205, 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 %14, align 4, !tbaa !9
  br label %206

206:                                              ; preds = %215, %201
  %207 = load i32, ptr %14, align 4, !tbaa !9
  %208 = load i32, ptr %5, align 4, !tbaa !9
  %209 = icmp slt i32 %207, %208
  br i1 %209, label %210, label %218

210:                                              ; preds = %206
  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)
  %211 = load ptr, ptr %33, align 8, !tbaa !5
  %212 = load i32, ptr %14, align 4, !tbaa !9
  %213 = sext i32 %212 to i64
  %214 = getelementptr inbounds %"class.std::complex", ptr %211, i64 %213
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %214, ptr align 4 %40, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #10
  br label %215

215:                                              ; preds = %210
  %216 = load i32, ptr %14, align 4, !tbaa !9
  %217 = add nsw i32 %216, 1
  store i32 %217, ptr %14, align 4, !tbaa !9
  br label %206, !llvm.loop !19

218:                                              ; preds = %206
  %219 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %219, ptr %22, align 4, !tbaa !9
  %220 = load i32, ptr %5, align 4, !tbaa !9
  %221 = load i32, ptr %5, align 4, !tbaa !9
  %222 = sub nsw i32 %221, 1
  %223 = mul nsw i32 %220, %222
  %224 = sdiv i32 %223, 2
  store i32 %224, ptr %16, align 4, !tbaa !9
  br label %225

225:                                              ; preds = %567, %218
  %226 = load i32, ptr %22, align 4, !tbaa !9
  %227 = icmp slt i32 0, %226
  br i1 %227, label %228, label %568

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

243:                                              ; preds = %228
  store i32 2, ptr %28, align 4, !tbaa !9
  br label %245

244:                                              ; preds = %228
  store i32 1, ptr %28, align 4, !tbaa !9
  br label %245

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

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

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

292:                                              ; preds = %281
  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
  %293 = load ptr, ptr %33, align 8, !tbaa !5
  %294 = load i32, ptr %22, align 4, !tbaa !9
  %295 = sub nsw i32 %294, 1
  %296 = sext i32 %295 to i64
  %297 = getelementptr inbounds %"class.std::complex", ptr %293, i64 %296
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %44, ptr align 4 %297, i64 8, i1 false), !tbaa.struct !11
  %298 = getelementptr inbounds %"class.std::complex", ptr %43, i32 0, i32 0
  %299 = load <2 x float>, ptr %298, align 4
  %300 = getelementptr inbounds %"class.std::complex", ptr %44, i32 0, i32 0
  %301 = load <2 x float>, ptr %300, align 4
  %302 = call <2 x float> @_Z6csign1St7complexIfES0_(<2 x float> %299, <2 x float> %301)
  %303 = getelementptr inbounds %"class.std::complex", ptr %42, i32 0, i32 0
  store <2 x float> %302, ptr %303, 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 %304

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

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

345:                                              ; preds = %334
  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
  %346 = load ptr, ptr %33, align 8, !tbaa !5
  %347 = load i32, ptr %22, align 4, !tbaa !9
  %348 = sub nsw i32 %347, 2
  %349 = sext i32 %348 to i64
  %350 = getelementptr inbounds %"class.std::complex", ptr %346, i64 %349
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %50, ptr align 4 %350, i64 8, i1 false), !tbaa.struct !11
  %351 = getelementptr inbounds %"class.std::complex", ptr %49, i32 0, i32 0
  %352 = load <2 x float>, ptr %351, align 4
  %353 = getelementptr inbounds %"class.std::complex", ptr %50, i32 0, i32 0
  %354 = load <2 x float>, ptr %353, align 4
  %355 = call <2 x float> @_Z6csign1St7complexIfES0_(<2 x float> %352, <2 x float> %354)
  %356 = getelementptr inbounds %"class.std::complex", ptr %48, i32 0, i32 0
  store <2 x float> %355, ptr %356, 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 %357

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

385:                                              ; preds = %357, %304
  %386 = load i32, ptr %28, align 4, !tbaa !9
  %387 = icmp ne i32 %386, 2
  br i1 %387, label %388, label %466

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

406:                                              ; preds = %388
  %407 = load ptr, ptr %4, align 8, !tbaa !5
  %408 = load i32, ptr %23, align 4, !tbaa !9
  %409 = sub nsw i32 %408, 1
  %410 = sext i32 %409 to i64
  %411 = getelementptr inbounds %"class.std::complex", ptr %407, i64 %410
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %55, ptr align 4 %411, i64 8, i1 false), !tbaa.struct !11
  %412 = getelementptr inbounds %"class.std::complex", ptr %55, i32 0, i32 0
  %413 = load <2 x float>, ptr %412, align 4
  %414 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %413)
  %415 = load ptr, ptr %33, align 8, !tbaa !5
  %416 = load i32, ptr %22, align 4, !tbaa !9
  %417 = sub nsw i32 %416, 1
  %418 = sext i32 %417 to i64
  %419 = getelementptr inbounds %"class.std::complex", ptr %415, i64 %418
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %56, ptr align 4 %419, i64 8, i1 false), !tbaa.struct !11
  %420 = getelementptr inbounds %"class.std::complex", ptr %56, i32 0, i32 0
  %421 = load <2 x float>, ptr %420, align 4
  %422 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %421)
  %423 = fdiv float %414, %422
  store float %423, ptr %30, align 4, !tbaa !16
  %424 = load i32, ptr %5, align 4, !tbaa !9
  %425 = load float, ptr %30, align 4, !tbaa !16
  %426 = load ptr, ptr %33, align 8, !tbaa !5
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %424, float noundef %425, ptr noundef %426, 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
  %427 = load float, ptr %30, align 4, !tbaa !16
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %58, float noundef %427, float noundef 0.000000e+00)
  %428 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %58, ptr noundef nonnull align 4 dereferenceable(8) %13)
  %429 = getelementptr inbounds %"class.std::complex", ptr %57, i32 0, i32 0
  store <2 x float> %428, ptr %429, 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 %430

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

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

459:                                              ; preds = %430
  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)
  %460 = load ptr, ptr %33, align 8, !tbaa !5
  %461 = load i32, ptr %22, align 4, !tbaa !9
  %462 = sub nsw i32 %461, 1
  %463 = sext i32 %462 to i64
  %464 = getelementptr inbounds %"class.std::complex", ptr %460, i64 %463
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %464, ptr align 4 %61, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #10
  br label %465

465:                                              ; preds = %459, %441
  br label %553

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

553:                                              ; preds = %466, %465
  %554 = load i32, ptr %22, align 4, !tbaa !9
  %555 = load i32, ptr %28, align 4, !tbaa !9
  %556 = sub nsw i32 %554, %555
  store i32 %556, ptr %22, align 4, !tbaa !9
  %557 = load i32, ptr %16, align 4, !tbaa !9
  %558 = load i32, ptr %22, align 4, !tbaa !9
  %559 = sub nsw i32 %557, %558
  store i32 %559, ptr %16, align 4, !tbaa !9
  %560 = load i32, ptr %28, align 4, !tbaa !9
  %561 = icmp eq i32 %560, 2
  br i1 %561, label %562, label %567

562:                                              ; preds = %553
  %563 = load i32, ptr %16, align 4, !tbaa !9
  %564 = load i32, ptr %22, align 4, !tbaa !9
  %565 = add nsw i32 %564, 1
  %566 = sub nsw i32 %563, %565
  store i32 %566, ptr %16, align 4, !tbaa !9
  br label %567

567:                                              ; preds = %562, %553
  br label %225, !llvm.loop !20

568:                                              ; preds = %225
  %569 = load i32, ptr %5, align 4, !tbaa !9
  %570 = load ptr, ptr %33, align 8, !tbaa !5
  %571 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %569, ptr noundef %570, i32 noundef 1)
  %572 = fpext float %571 to double
  %573 = fdiv double 1.000000e+00, %572
  %574 = fptrunc double %573 to float
  store float %574, ptr %30, align 4, !tbaa !16
  %575 = load i32, ptr %5, align 4, !tbaa !9
  %576 = load float, ptr %30, align 4, !tbaa !16
  %577 = load ptr, ptr %33, align 8, !tbaa !5
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %575, float noundef %576, ptr noundef %577, i32 noundef 1)
  store i32 1, ptr %22, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %578

578:                                              ; preds = %686, %568
  %579 = load i32, ptr %22, align 4, !tbaa !9
  %580 = load i32, ptr %5, align 4, !tbaa !9
  %581 = icmp sle i32 %579, %580
  br i1 %581, label %582, label %690

582:                                              ; preds = %578
  %583 = load ptr, ptr %6, align 8, !tbaa !5
  %584 = load i32, ptr %22, align 4, !tbaa !9
  %585 = sub nsw i32 %584, 1
  %586 = sext i32 %585 to i64
  %587 = getelementptr inbounds i32, ptr %583, i64 %586
  %588 = load i32, ptr %587, align 4, !tbaa !9
  %589 = icmp slt i32 %588, 0
  br i1 %589, label %590, label %591

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

591:                                              ; preds = %582
  store i32 1, ptr %28, align 4, !tbaa !9
  br label %592

592:                                              ; preds = %591, %590
  %593 = load i32, ptr %22, align 4, !tbaa !9
  %594 = icmp ne i32 %593, 1
  br i1 %594, label %595, label %675

595:                                              ; preds = %592
  call void @llvm.lifetime.start.p0(i64 8, ptr %77) #10
  %596 = load ptr, ptr %33, align 8, !tbaa !5
  %597 = load i32, ptr %22, align 4, !tbaa !9
  %598 = sub nsw i32 %597, 1
  %599 = sext i32 %598 to i64
  %600 = getelementptr inbounds %"class.std::complex", ptr %596, i64 %599
  call void @llvm.lifetime.start.p0(i64 8, ptr %78) #10
  %601 = load i32, ptr %22, align 4, !tbaa !9
  %602 = sub nsw i32 %601, 1
  %603 = load ptr, ptr %4, align 8, !tbaa !5
  %604 = load i32, ptr %16, align 4, !tbaa !9
  %605 = sext i32 %604 to i64
  %606 = getelementptr inbounds %"class.std::complex", ptr %603, i64 %605
  %607 = load ptr, ptr %33, align 8, !tbaa !5
  %608 = call <2 x float> @_Z5cdotciPSt7complexIfEiS1_i(i32 noundef %602, ptr noundef %606, i32 noundef 1, ptr noundef %607, i32 noundef 1)
  %609 = getelementptr inbounds %"class.std::complex", ptr %78, i32 0, i32 0
  store <2 x float> %608, ptr %609, align 4
  %610 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %600, ptr noundef nonnull align 4 dereferenceable(8) %78)
  %611 = getelementptr inbounds %"class.std::complex", ptr %77, i32 0, i32 0
  store <2 x float> %610, ptr %611, align 4
  %612 = load ptr, ptr %33, align 8, !tbaa !5
  %613 = load i32, ptr %22, align 4, !tbaa !9
  %614 = sub nsw i32 %613, 1
  %615 = sext i32 %614 to i64
  %616 = getelementptr inbounds %"class.std::complex", ptr %612, i64 %615
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %616, 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
  %617 = load i32, ptr %16, align 4, !tbaa !9
  %618 = load i32, ptr %22, align 4, !tbaa !9
  %619 = add nsw i32 %617, %618
  store i32 %619, ptr %18, align 4, !tbaa !9
  %620 = load i32, ptr %28, align 4, !tbaa !9
  %621 = icmp eq i32 %620, 2
  br i1 %621, label %622, label %642

622:                                              ; preds = %595
  call void @llvm.lifetime.start.p0(i64 8, ptr %79) #10
  %623 = load ptr, ptr %33, align 8, !tbaa !5
  %624 = load i32, ptr %22, align 4, !tbaa !9
  %625 = sext i32 %624 to i64
  %626 = getelementptr inbounds %"class.std::complex", ptr %623, i64 %625
  call void @llvm.lifetime.start.p0(i64 8, ptr %80) #10
  %627 = load i32, ptr %22, align 4, !tbaa !9
  %628 = sub nsw i32 %627, 1
  %629 = load ptr, ptr %4, align 8, !tbaa !5
  %630 = load i32, ptr %18, align 4, !tbaa !9
  %631 = sext i32 %630 to i64
  %632 = getelementptr inbounds %"class.std::complex", ptr %629, i64 %631
  %633 = load ptr, ptr %33, align 8, !tbaa !5
  %634 = call <2 x float> @_Z5cdotciPSt7complexIfEiS1_i(i32 noundef %628, ptr noundef %632, i32 noundef 1, ptr noundef %633, i32 noundef 1)
  %635 = getelementptr inbounds %"class.std::complex", ptr %80, i32 0, i32 0
  store <2 x float> %634, ptr %635, align 4
  %636 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %626, ptr noundef nonnull align 4 dereferenceable(8) %80)
  %637 = getelementptr inbounds %"class.std::complex", ptr %79, i32 0, i32 0
  store <2 x float> %636, ptr %637, align 4
  %638 = load ptr, ptr %33, align 8, !tbaa !5
  %639 = load i32, ptr %22, align 4, !tbaa !9
  %640 = sext i32 %639 to i64
  %641 = getelementptr inbounds %"class.std::complex", ptr %638, i64 %640
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %641, ptr align 4 %79, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %80) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %79) #10
  br label %642

642:                                              ; preds = %622, %595
  %643 = load ptr, ptr %6, align 8, !tbaa !5
  %644 = load i32, ptr %22, align 4, !tbaa !9
  %645 = sub nsw i32 %644, 1
  %646 = sext i32 %645 to i64
  %647 = getelementptr inbounds i32, ptr %643, i64 %646
  %648 = load i32, ptr %647, align 4, !tbaa !9
  %649 = call i32 @llvm.abs.i32(i32 %648, i1 true)
  store i32 %649, ptr %26, align 4, !tbaa !9
  %650 = load i32, ptr %26, align 4, !tbaa !9
  %651 = load i32, ptr %22, align 4, !tbaa !9
  %652 = icmp ne i32 %650, %651
  br i1 %652, label %653, label %674

653:                                              ; preds = %642
  %654 = load ptr, ptr %33, align 8, !tbaa !5
  %655 = load i32, ptr %22, align 4, !tbaa !9
  %656 = sub nsw i32 %655, 1
  %657 = sext i32 %656 to i64
  %658 = getelementptr inbounds %"class.std::complex", ptr %654, i64 %657
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 4 %658, i64 8, i1 false), !tbaa.struct !11
  %659 = load ptr, ptr %33, align 8, !tbaa !5
  %660 = load i32, ptr %26, align 4, !tbaa !9
  %661 = sub nsw i32 %660, 1
  %662 = sext i32 %661 to i64
  %663 = getelementptr inbounds %"class.std::complex", ptr %659, i64 %662
  %664 = load ptr, ptr %33, align 8, !tbaa !5
  %665 = load i32, ptr %22, align 4, !tbaa !9
  %666 = sub nsw i32 %665, 1
  %667 = sext i32 %666 to i64
  %668 = getelementptr inbounds %"class.std::complex", ptr %664, i64 %667
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %668, ptr align 4 %663, i64 8, i1 false), !tbaa.struct !11
  %669 = load ptr, ptr %33, align 8, !tbaa !5
  %670 = load i32, ptr %26, align 4, !tbaa !9
  %671 = sub nsw i32 %670, 1
  %672 = sext i32 %671 to i64
  %673 = getelementptr inbounds %"class.std::complex", ptr %669, i64 %672
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %673, ptr align 4 %31, i64 8, i1 false), !tbaa.struct !11
  br label %674

674:                                              ; preds = %653, %642
  br label %675

675:                                              ; preds = %674, %592
  %676 = load i32, ptr %16, align 4, !tbaa !9
  %677 = load i32, ptr %22, align 4, !tbaa !9
  %678 = add nsw i32 %676, %677
  store i32 %678, ptr %16, align 4, !tbaa !9
  %679 = load i32, ptr %28, align 4, !tbaa !9
  %680 = icmp eq i32 %679, 2
  br i1 %680, label %681, label %686

681:                                              ; preds = %675
  %682 = load i32, ptr %16, align 4, !tbaa !9
  %683 = load i32, ptr %22, align 4, !tbaa !9
  %684 = add nsw i32 %683, 1
  %685 = add nsw i32 %682, %684
  store i32 %685, ptr %16, align 4, !tbaa !9
  br label %686

686:                                              ; preds = %681, %675
  %687 = load i32, ptr %22, align 4, !tbaa !9
  %688 = load i32, ptr %28, align 4, !tbaa !9
  %689 = add nsw i32 %687, %688
  store i32 %689, ptr %22, align 4, !tbaa !9
  br label %578, !llvm.loop !21

690:                                              ; preds = %578
  %691 = load i32, ptr %5, align 4, !tbaa !9
  %692 = load ptr, ptr %33, align 8, !tbaa !5
  %693 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %691, ptr noundef %692, i32 noundef 1)
  %694 = fpext float %693 to double
  %695 = fdiv double 1.000000e+00, %694
  %696 = fptrunc double %695 to float
  store float %696, ptr %30, align 4, !tbaa !16
  %697 = load i32, ptr %5, align 4, !tbaa !9
  %698 = load float, ptr %30, align 4, !tbaa !16
  %699 = load ptr, ptr %33, align 8, !tbaa !5
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %697, float noundef %698, ptr noundef %699, i32 noundef 1)
  store float 1.000000e+00, ptr %32, align 4, !tbaa !16
  %700 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %700, ptr %22, align 4, !tbaa !9
  %701 = load i32, ptr %5, align 4, !tbaa !9
  %702 = load i32, ptr %5, align 4, !tbaa !9
  %703 = sub nsw i32 %702, 1
  %704 = mul nsw i32 %701, %703
  %705 = sdiv i32 %704, 2
  store i32 %705, ptr %16, align 4, !tbaa !9
  br label %706

706:                                              ; preds = %983, %690
  %707 = load i32, ptr %22, align 4, !tbaa !9
  %708 = icmp slt i32 0, %707
  br i1 %708, label %709, label %984

709:                                              ; preds = %706
  %710 = load i32, ptr %16, align 4, !tbaa !9
  %711 = load i32, ptr %22, align 4, !tbaa !9
  %712 = add nsw i32 %710, %711
  store i32 %712, ptr %23, align 4, !tbaa !9
  %713 = load i32, ptr %16, align 4, !tbaa !9
  %714 = load i32, ptr %22, align 4, !tbaa !9
  %715 = sub nsw i32 %714, 1
  %716 = sub nsw i32 %713, %715
  store i32 %716, ptr %17, align 4, !tbaa !9
  %717 = load ptr, ptr %6, align 8, !tbaa !5
  %718 = load i32, ptr %22, align 4, !tbaa !9
  %719 = sub nsw i32 %718, 1
  %720 = sext i32 %719 to i64
  %721 = getelementptr inbounds i32, ptr %717, i64 %720
  %722 = load i32, ptr %721, align 4, !tbaa !9
  %723 = icmp slt i32 %722, 0
  br i1 %723, label %724, label %725

724:                                              ; preds = %709
  store i32 2, ptr %28, align 4, !tbaa !9
  br label %726

725:                                              ; preds = %709
  store i32 1, ptr %28, align 4, !tbaa !9
  br label %726

726:                                              ; preds = %725, %724
  %727 = load i32, ptr %22, align 4, !tbaa !9
  %728 = load i32, ptr %28, align 4, !tbaa !9
  %729 = icmp ne i32 %727, %728
  br i1 %729, label %730, label %801

730:                                              ; preds = %726
  %731 = load ptr, ptr %6, align 8, !tbaa !5
  %732 = load i32, ptr %22, align 4, !tbaa !9
  %733 = sub nsw i32 %732, 1
  %734 = sext i32 %733 to i64
  %735 = getelementptr inbounds i32, ptr %731, i64 %734
  %736 = load i32, ptr %735, align 4, !tbaa !9
  %737 = call i32 @llvm.abs.i32(i32 %736, i1 true)
  store i32 %737, ptr %26, align 4, !tbaa !9
  %738 = load i32, ptr %22, align 4, !tbaa !9
  %739 = add nsw i32 %738, 1
  %740 = load i32, ptr %28, align 4, !tbaa !9
  %741 = sub nsw i32 %739, %740
  store i32 %741, ptr %27, align 4, !tbaa !9
  %742 = load i32, ptr %26, align 4, !tbaa !9
  %743 = load i32, ptr %27, align 4, !tbaa !9
  %744 = icmp ne i32 %742, %743
  br i1 %744, label %745, label %766

745:                                              ; preds = %730
  %746 = load ptr, ptr %33, align 8, !tbaa !5
  %747 = load i32, ptr %27, align 4, !tbaa !9
  %748 = sub nsw i32 %747, 1
  %749 = sext i32 %748 to i64
  %750 = getelementptr inbounds %"class.std::complex", ptr %746, i64 %749
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 4 %750, i64 8, i1 false), !tbaa.struct !11
  %751 = load ptr, ptr %33, align 8, !tbaa !5
  %752 = load i32, ptr %26, align 4, !tbaa !9
  %753 = sub nsw i32 %752, 1
  %754 = sext i32 %753 to i64
  %755 = getelementptr inbounds %"class.std::complex", ptr %751, i64 %754
  %756 = load ptr, ptr %33, align 8, !tbaa !5
  %757 = load i32, ptr %27, align 4, !tbaa !9
  %758 = sub nsw i32 %757, 1
  %759 = sext i32 %758 to i64
  %760 = getelementptr inbounds %"class.std::complex", ptr %756, i64 %759
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %760, ptr align 4 %755, i64 8, i1 false), !tbaa.struct !11
  %761 = load ptr, ptr %33, align 8, !tbaa !5
  %762 = load i32, ptr %26, align 4, !tbaa !9
  %763 = sub nsw i32 %762, 1
  %764 = sext i32 %763 to i64
  %765 = getelementptr inbounds %"class.std::complex", ptr %761, i64 %764
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %765, ptr align 4 %31, i64 8, i1 false), !tbaa.struct !11
  br label %766

766:                                              ; preds = %745, %730
  %767 = load i32, ptr %22, align 4, !tbaa !9
  %768 = load i32, ptr %28, align 4, !tbaa !9
  %769 = sub nsw i32 %767, %768
  %770 = load ptr, ptr %33, align 8, !tbaa !5
  %771 = load i32, ptr %22, align 4, !tbaa !9
  %772 = sub nsw i32 %771, 1
  %773 = sext i32 %772 to i64
  %774 = getelementptr inbounds %"class.std::complex", ptr %770, i64 %773
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %81, ptr align 4 %774, i64 8, i1 false), !tbaa.struct !11
  %775 = load ptr, ptr %4, align 8, !tbaa !5
  %776 = load i32, ptr %16, align 4, !tbaa !9
  %777 = sext i32 %776 to i64
  %778 = getelementptr inbounds %"class.std::complex", ptr %775, i64 %777
  %779 = load ptr, ptr %33, align 8, !tbaa !5
  %780 = getelementptr inbounds %"class.std::complex", ptr %81, i32 0, i32 0
  %781 = load <2 x float>, ptr %780, align 4
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %769, <2 x float> %781, ptr noundef %778, i32 noundef 1, ptr noundef %779, i32 noundef 1)
  %782 = load i32, ptr %28, align 4, !tbaa !9
  %783 = icmp eq i32 %782, 2
  br i1 %783, label %784, label %800

784:                                              ; preds = %766
  %785 = load i32, ptr %22, align 4, !tbaa !9
  %786 = load i32, ptr %28, align 4, !tbaa !9
  %787 = sub nsw i32 %785, %786
  %788 = load ptr, ptr %33, align 8, !tbaa !5
  %789 = load i32, ptr %22, align 4, !tbaa !9
  %790 = sub nsw i32 %789, 2
  %791 = sext i32 %790 to i64
  %792 = getelementptr inbounds %"class.std::complex", ptr %788, i64 %791
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %82, ptr align 4 %792, i64 8, i1 false), !tbaa.struct !11
  %793 = load ptr, ptr %4, align 8, !tbaa !5
  %794 = load i32, ptr %17, align 4, !tbaa !9
  %795 = sext i32 %794 to i64
  %796 = getelementptr inbounds %"class.std::complex", ptr %793, i64 %795
  %797 = load ptr, ptr %33, align 8, !tbaa !5
  %798 = getelementptr inbounds %"class.std::complex", ptr %82, i32 0, i32 0
  %799 = load <2 x float>, ptr %798, align 4
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %787, <2 x float> %799, ptr noundef %796, i32 noundef 1, ptr noundef %797, i32 noundef 1)
  br label %800

800:                                              ; preds = %784, %766
  br label %801

801:                                              ; preds = %800, %726
  %802 = load i32, ptr %28, align 4, !tbaa !9
  %803 = icmp ne i32 %802, 2
  br i1 %803, label %804, label %882

804:                                              ; preds = %801
  %805 = load ptr, ptr %4, align 8, !tbaa !5
  %806 = load i32, ptr %23, 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 %83, ptr align 4 %809, i64 8, i1 false), !tbaa.struct !11
  %810 = getelementptr inbounds %"class.std::complex", ptr %83, i32 0, i32 0
  %811 = load <2 x float>, ptr %810, align 4
  %812 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %811)
  %813 = load ptr, ptr %33, align 8, !tbaa !5
  %814 = load i32, ptr %22, align 4, !tbaa !9
  %815 = sub nsw i32 %814, 1
  %816 = sext i32 %815 to i64
  %817 = getelementptr inbounds %"class.std::complex", ptr %813, i64 %816
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %84, ptr align 4 %817, i64 8, i1 false), !tbaa.struct !11
  %818 = getelementptr inbounds %"class.std::complex", ptr %84, i32 0, i32 0
  %819 = load <2 x float>, ptr %818, align 4
  %820 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %819)
  %821 = fcmp olt float %812, %820
  br i1 %821, label %822, label %846

822:                                              ; preds = %804
  %823 = load ptr, ptr %4, align 8, !tbaa !5
  %824 = load i32, ptr %23, 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 %85, ptr align 4 %827, i64 8, i1 false), !tbaa.struct !11
  %828 = getelementptr inbounds %"class.std::complex", ptr %85, i32 0, i32 0
  %829 = load <2 x float>, ptr %828, align 4
  %830 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %829)
  %831 = load ptr, ptr %33, align 8, !tbaa !5
  %832 = load i32, ptr %22, align 4, !tbaa !9
  %833 = sub nsw i32 %832, 1
  %834 = sext i32 %833 to i64
  %835 = getelementptr inbounds %"class.std::complex", ptr %831, i64 %834
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %86, ptr align 4 %835, i64 8, i1 false), !tbaa.struct !11
  %836 = getelementptr inbounds %"class.std::complex", ptr %86, i32 0, i32 0
  %837 = load <2 x float>, ptr %836, align 4
  %838 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %837)
  %839 = fdiv float %830, %838
  store float %839, ptr %30, align 4, !tbaa !16
  %840 = load i32, ptr %5, align 4, !tbaa !9
  %841 = load float, ptr %30, align 4, !tbaa !16
  %842 = load ptr, ptr %33, align 8, !tbaa !5
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %840, float noundef %841, ptr noundef %842, i32 noundef 1)
  %843 = load float, ptr %30, align 4, !tbaa !16
  %844 = load float, ptr %32, align 4, !tbaa !16
  %845 = fmul float %843, %844
  store float %845, ptr %32, align 4, !tbaa !16
  br label %846

846:                                              ; preds = %822, %804
  %847 = load ptr, ptr %4, align 8, !tbaa !5
  %848 = load i32, ptr %23, align 4, !tbaa !9
  %849 = sub nsw i32 %848, 1
  %850 = sext i32 %849 to i64
  %851 = getelementptr inbounds %"class.std::complex", ptr %847, i64 %850
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %87, ptr align 4 %851, i64 8, i1 false), !tbaa.struct !11
  %852 = getelementptr inbounds %"class.std::complex", ptr %87, i32 0, i32 0
  %853 = load <2 x float>, ptr %852, align 4
  %854 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %853)
  %855 = fpext float %854 to double
  %856 = fcmp une double %855, 0.000000e+00
  br i1 %856, label %857, label %875

857:                                              ; preds = %846
  call void @llvm.lifetime.start.p0(i64 8, ptr %88) #10
  %858 = load ptr, ptr %33, align 8, !tbaa !5
  %859 = load i32, ptr %22, align 4, !tbaa !9
  %860 = sub nsw i32 %859, 1
  %861 = sext i32 %860 to i64
  %862 = getelementptr inbounds %"class.std::complex", ptr %858, i64 %861
  %863 = load ptr, ptr %4, align 8, !tbaa !5
  %864 = load i32, ptr %23, align 4, !tbaa !9
  %865 = sub nsw i32 %864, 1
  %866 = sext i32 %865 to i64
  %867 = getelementptr inbounds %"class.std::complex", ptr %863, i64 %866
  %868 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %862, ptr noundef nonnull align 4 dereferenceable(8) %867)
  %869 = getelementptr inbounds %"class.std::complex", ptr %88, i32 0, i32 0
  store <2 x float> %868, ptr %869, align 4
  %870 = load ptr, ptr %33, align 8, !tbaa !5
  %871 = load i32, ptr %22, align 4, !tbaa !9
  %872 = sub nsw i32 %871, 1
  %873 = sext i32 %872 to i64
  %874 = getelementptr inbounds %"class.std::complex", ptr %870, i64 %873
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %874, ptr align 4 %88, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %88) #10
  br label %881

875:                                              ; preds = %846
  call void @llvm.lifetime.start.p0(i64 8, ptr %89) #10
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %89, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %876 = load ptr, ptr %33, align 8, !tbaa !5
  %877 = load i32, ptr %22, align 4, !tbaa !9
  %878 = sub nsw i32 %877, 1
  %879 = sext i32 %878 to i64
  %880 = getelementptr inbounds %"class.std::complex", ptr %876, i64 %879
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %880, ptr align 4 %89, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %89) #10
  br label %881

881:                                              ; preds = %875, %857
  br label %969

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

969:                                              ; preds = %882, %881
  %970 = load i32, ptr %22, align 4, !tbaa !9
  %971 = load i32, ptr %28, align 4, !tbaa !9
  %972 = sub nsw i32 %970, %971
  store i32 %972, ptr %22, align 4, !tbaa !9
  %973 = load i32, ptr %16, align 4, !tbaa !9
  %974 = load i32, ptr %22, align 4, !tbaa !9
  %975 = sub nsw i32 %973, %974
  store i32 %975, ptr %16, align 4, !tbaa !9
  %976 = load i32, ptr %28, align 4, !tbaa !9
  %977 = icmp eq i32 %976, 2
  br i1 %977, label %978, label %983

978:                                              ; preds = %969
  %979 = load i32, ptr %16, align 4, !tbaa !9
  %980 = load i32, ptr %22, align 4, !tbaa !9
  %981 = add nsw i32 %980, 1
  %982 = sub nsw i32 %979, %981
  store i32 %982, ptr %16, align 4, !tbaa !9
  br label %983

983:                                              ; preds = %978, %969
  br label %706, !llvm.loop !22

984:                                              ; preds = %706
  %985 = load i32, ptr %5, align 4, !tbaa !9
  %986 = load ptr, ptr %33, align 8, !tbaa !5
  %987 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %985, ptr noundef %986, i32 noundef 1)
  %988 = fpext float %987 to double
  %989 = fdiv double 1.000000e+00, %988
  %990 = fptrunc double %989 to float
  store float %990, ptr %30, align 4, !tbaa !16
  %991 = load i32, ptr %5, align 4, !tbaa !9
  %992 = load float, ptr %30, align 4, !tbaa !16
  %993 = load ptr, ptr %33, align 8, !tbaa !5
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %991, float noundef %992, ptr noundef %993, i32 noundef 1)
  %994 = load float, ptr %30, align 4, !tbaa !16
  %995 = load float, ptr %32, align 4, !tbaa !16
  %996 = fmul float %994, %995
  store float %996, 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 %997

997:                                              ; preds = %1105, %984
  %998 = load i32, ptr %22, align 4, !tbaa !9
  %999 = load i32, ptr %5, align 4, !tbaa !9
  %1000 = icmp sle i32 %998, %999
  br i1 %1000, label %1001, label %1109

1001:                                             ; preds = %997
  %1002 = load ptr, ptr %6, align 8, !tbaa !5
  %1003 = load i32, ptr %22, align 4, !tbaa !9
  %1004 = sub nsw i32 %1003, 1
  %1005 = sext i32 %1004 to i64
  %1006 = getelementptr inbounds i32, ptr %1002, i64 %1005
  %1007 = load i32, ptr %1006, align 4, !tbaa !9
  %1008 = icmp slt i32 %1007, 0
  br i1 %1008, label %1009, label %1010

1009:                                             ; preds = %1001
  store i32 2, ptr %28, align 4, !tbaa !9
  br label %1011

1010:                                             ; preds = %1001
  store i32 1, ptr %28, align 4, !tbaa !9
  br label %1011

1011:                                             ; preds = %1010, %1009
  %1012 = load i32, ptr %22, align 4, !tbaa !9
  %1013 = icmp ne i32 %1012, 1
  br i1 %1013, label %1014, label %1094

1014:                                             ; preds = %1011
  call void @llvm.lifetime.start.p0(i64 8, ptr %105) #10
  %1015 = load ptr, ptr %33, align 8, !tbaa !5
  %1016 = load i32, ptr %22, align 4, !tbaa !9
  %1017 = sub nsw i32 %1016, 1
  %1018 = sext i32 %1017 to i64
  %1019 = getelementptr inbounds %"class.std::complex", ptr %1015, i64 %1018
  call void @llvm.lifetime.start.p0(i64 8, ptr %106) #10
  %1020 = load i32, ptr %22, align 4, !tbaa !9
  %1021 = sub nsw i32 %1020, 1
  %1022 = load ptr, ptr %4, align 8, !tbaa !5
  %1023 = load i32, ptr %16, align 4, !tbaa !9
  %1024 = sext i32 %1023 to i64
  %1025 = getelementptr inbounds %"class.std::complex", ptr %1022, i64 %1024
  %1026 = load ptr, ptr %33, align 8, !tbaa !5
  %1027 = call <2 x float> @_Z5cdotciPSt7complexIfEiS1_i(i32 noundef %1021, ptr noundef %1025, i32 noundef 1, ptr noundef %1026, i32 noundef 1)
  %1028 = getelementptr inbounds %"class.std::complex", ptr %106, i32 0, i32 0
  store <2 x float> %1027, ptr %1028, align 4
  %1029 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %1019, ptr noundef nonnull align 4 dereferenceable(8) %106)
  %1030 = getelementptr inbounds %"class.std::complex", ptr %105, i32 0, i32 0
  store <2 x float> %1029, ptr %1030, align 4
  %1031 = load ptr, ptr %33, align 8, !tbaa !5
  %1032 = load i32, ptr %22, align 4, !tbaa !9
  %1033 = sub nsw i32 %1032, 1
  %1034 = sext i32 %1033 to i64
  %1035 = getelementptr inbounds %"class.std::complex", ptr %1031, i64 %1034
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1035, ptr align 4 %105, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %106) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %105) #10
  %1036 = load i32, ptr %16, align 4, !tbaa !9
  %1037 = load i32, ptr %22, align 4, !tbaa !9
  %1038 = add nsw i32 %1036, %1037
  store i32 %1038, ptr %18, align 4, !tbaa !9
  %1039 = load i32, ptr %28, align 4, !tbaa !9
  %1040 = icmp eq i32 %1039, 2
  br i1 %1040, label %1041, label %1061

1041:                                             ; preds = %1014
  call void @llvm.lifetime.start.p0(i64 8, ptr %107) #10
  %1042 = load ptr, ptr %33, align 8, !tbaa !5
  %1043 = load i32, ptr %22, align 4, !tbaa !9
  %1044 = sext i32 %1043 to i64
  %1045 = getelementptr inbounds %"class.std::complex", ptr %1042, i64 %1044
  call void @llvm.lifetime.start.p0(i64 8, ptr %108) #10
  %1046 = load i32, ptr %22, align 4, !tbaa !9
  %1047 = sub nsw i32 %1046, 1
  %1048 = load ptr, ptr %4, align 8, !tbaa !5
  %1049 = load i32, ptr %18, align 4, !tbaa !9
  %1050 = sext i32 %1049 to i64
  %1051 = getelementptr inbounds %"class.std::complex", ptr %1048, i64 %1050
  %1052 = load ptr, ptr %33, align 8, !tbaa !5
  %1053 = call <2 x float> @_Z5cdotciPSt7complexIfEiS1_i(i32 noundef %1047, ptr noundef %1051, i32 noundef 1, ptr noundef %1052, i32 noundef 1)
  %1054 = getelementptr inbounds %"class.std::complex", ptr %108, i32 0, i32 0
  store <2 x float> %1053, ptr %1054, align 4
  %1055 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %1045, ptr noundef nonnull align 4 dereferenceable(8) %108)
  %1056 = getelementptr inbounds %"class.std::complex", ptr %107, i32 0, i32 0
  store <2 x float> %1055, ptr %1056, align 4
  %1057 = load ptr, ptr %33, align 8, !tbaa !5
  %1058 = load i32, ptr %22, align 4, !tbaa !9
  %1059 = sext i32 %1058 to i64
  %1060 = getelementptr inbounds %"class.std::complex", ptr %1057, i64 %1059
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1060, ptr align 4 %107, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %108) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %107) #10
  br label %1061

1061:                                             ; preds = %1041, %1014
  %1062 = load ptr, ptr %6, align 8, !tbaa !5
  %1063 = load i32, ptr %22, align 4, !tbaa !9
  %1064 = sub nsw i32 %1063, 1
  %1065 = sext i32 %1064 to i64
  %1066 = getelementptr inbounds i32, ptr %1062, i64 %1065
  %1067 = load i32, ptr %1066, align 4, !tbaa !9
  %1068 = call i32 @llvm.abs.i32(i32 %1067, i1 true)
  store i32 %1068, ptr %26, align 4, !tbaa !9
  %1069 = load i32, ptr %26, align 4, !tbaa !9
  %1070 = load i32, ptr %22, align 4, !tbaa !9
  %1071 = icmp ne i32 %1069, %1070
  br i1 %1071, label %1072, label %1093

1072:                                             ; preds = %1061
  %1073 = load ptr, ptr %33, align 8, !tbaa !5
  %1074 = load i32, ptr %22, align 4, !tbaa !9
  %1075 = sub nsw i32 %1074, 1
  %1076 = sext i32 %1075 to i64
  %1077 = getelementptr inbounds %"class.std::complex", ptr %1073, i64 %1076
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 4 %1077, i64 8, i1 false), !tbaa.struct !11
  %1078 = load ptr, ptr %33, align 8, !tbaa !5
  %1079 = load i32, ptr %26, align 4, !tbaa !9
  %1080 = sub nsw i32 %1079, 1
  %1081 = sext i32 %1080 to i64
  %1082 = getelementptr inbounds %"class.std::complex", ptr %1078, i64 %1081
  %1083 = load ptr, ptr %33, align 8, !tbaa !5
  %1084 = load i32, ptr %22, align 4, !tbaa !9
  %1085 = sub nsw i32 %1084, 1
  %1086 = sext i32 %1085 to i64
  %1087 = getelementptr inbounds %"class.std::complex", ptr %1083, i64 %1086
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1087, ptr align 4 %1082, i64 8, i1 false), !tbaa.struct !11
  %1088 = load ptr, ptr %33, align 8, !tbaa !5
  %1089 = load i32, ptr %26, align 4, !tbaa !9
  %1090 = sub nsw i32 %1089, 1
  %1091 = sext i32 %1090 to i64
  %1092 = getelementptr inbounds %"class.std::complex", ptr %1088, i64 %1091
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1092, ptr align 4 %31, i64 8, i1 false), !tbaa.struct !11
  br label %1093

1093:                                             ; preds = %1072, %1061
  br label %1094

1094:                                             ; preds = %1093, %1011
  %1095 = load i32, ptr %16, align 4, !tbaa !9
  %1096 = load i32, ptr %22, align 4, !tbaa !9
  %1097 = add nsw i32 %1095, %1096
  store i32 %1097, ptr %16, align 4, !tbaa !9
  %1098 = load i32, ptr %28, align 4, !tbaa !9
  %1099 = icmp eq i32 %1098, 2
  br i1 %1099, label %1100, label %1105

1100:                                             ; preds = %1094
  %1101 = load i32, ptr %16, align 4, !tbaa !9
  %1102 = load i32, ptr %22, align 4, !tbaa !9
  %1103 = add nsw i32 %1102, 1
  %1104 = add nsw i32 %1101, %1103
  store i32 %1104, ptr %16, align 4, !tbaa !9
  br label %1105

1105:                                             ; preds = %1100, %1094
  %1106 = load i32, ptr %22, align 4, !tbaa !9
  %1107 = load i32, ptr %28, align 4, !tbaa !9
  %1108 = add nsw i32 %1106, %1107
  store i32 %1108, ptr %22, align 4, !tbaa !9
  br label %997, !llvm.loop !23

1109:                                             ; preds = %997
  %1110 = load i32, ptr %5, align 4, !tbaa !9
  %1111 = load ptr, ptr %33, align 8, !tbaa !5
  %1112 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %1110, ptr noundef %1111, i32 noundef 1)
  %1113 = fpext float %1112 to double
  %1114 = fdiv double 1.000000e+00, %1113
  %1115 = fptrunc double %1114 to float
  store float %1115, ptr %30, align 4, !tbaa !16
  %1116 = load i32, ptr %5, align 4, !tbaa !9
  %1117 = load float, ptr %30, align 4, !tbaa !16
  %1118 = load ptr, ptr %33, align 8, !tbaa !5
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %1116, float noundef %1117, ptr noundef %1118, i32 noundef 1)
  %1119 = load float, ptr %30, align 4, !tbaa !16
  %1120 = load float, ptr %32, align 4, !tbaa !16
  %1121 = fmul float %1119, %1120
  store float %1121, ptr %32, align 4, !tbaa !16
  %1122 = load float, ptr %9, align 4, !tbaa !16
  %1123 = fpext float %1122 to double
  %1124 = fcmp une double %1123, 0.000000e+00
  br i1 %1124, label %1125, label %1129

1125:                                             ; preds = %1109
  %1126 = load float, ptr %32, align 4, !tbaa !16
  %1127 = load float, ptr %9, align 4, !tbaa !16
  %1128 = fdiv float %1126, %1127
  store float %1128, ptr %29, align 4, !tbaa !16
  br label %1130

1129:                                             ; preds = %1109
  store float 0.000000e+00, ptr %29, align 4, !tbaa !16
  br label %1130

1130:                                             ; preds = %1129, %1125
  %1131 = load ptr, ptr %33, align 8, !tbaa !5
  %1132 = icmp eq ptr %1131, null
  br i1 %1132, label %1134, label %1133

1133:                                             ; preds = %1130
  call void @_ZdaPv(ptr noundef %1131) #12
  br label %1134

1134:                                             ; preds = %1133, %1130
  %1135 = 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 %1135

1136:                                             ; preds = %177
  %1137 = load ptr, ptr %34, align 8
  %1138 = load i32, ptr %35, align 4
  %1139 = insertvalue { ptr, i32 } poison, ptr %1137, 0
  %1140 = insertvalue { ptr, i32 } %1139, i32 %1138, 1
  resume { ptr, i32 } %1140
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z5chpfaPSt7complexIfEiPi(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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #10 = { nounwind }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { builtin nounwind }

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

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #5

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

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

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

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

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

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

; 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

; Function Attrs: mustprogress uwtable
define dso_local noundef float @_Z5chpcoPSt7complexIfEiPi(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 8
  %19 = alloca %"class.std::complex", align 8
  %20 = alloca %"class.std::complex", align 4
  %21 = alloca %"class.std::complex", align 8
  %22 = alloca %"class.std::complex", align 8
  %23 = alloca %"class.std::complex", align 8
  %24 = alloca %"class.std::complex", align 8
  %25 = alloca %"class.std::complex", align 8
  %26 = alloca %"class.std::complex", align 8
  %27 = alloca %"class.std::complex", align 8
  %28 = alloca %"class.std::complex", align 8
  %29 = alloca %"class.std::complex", align 8
  %30 = alloca %"class.std::complex", align 8
  %31 = alloca %"class.std::complex", align 4
  %32 = alloca %"class.std::complex", align 8
  %33 = alloca %"class.std::complex", align 8
  %34 = alloca %"class.std::complex", align 8
  %35 = alloca %"class.std::complex", align 8
  %36 = alloca %"class.std::complex", align 8
  %37 = 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)
  %38 = sext i32 %1 to i64
  %39 = icmp slt i32 %1, 0
  %40 = shl nsw i64 %38, 3
  %41 = select i1 %39, i64 -1, i64 %40
  %42 = call noalias noundef nonnull ptr @_Znam(i64 noundef %41) #10
  %43 = icmp eq i32 %1, 0
  br i1 %43, label %._crit_edge465, label %44

44:                                               ; preds = %3
  %45 = getelementptr inbounds %"class.std::complex", ptr %42, i64 %38
  br label %46

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

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

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

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

51:                                               ; 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 ]
  %52 = 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 %52
  %53 = trunc nuw nsw i64 %indvars.iv542 to i32
  %54 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %53, ptr noundef nonnull %gep454, i32 noundef 1)
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef %54, float noundef 0.000000e+00)
  %gep456 = getelementptr %"class.std::complex", ptr %invariant.gep455, i64 %indvars.iv542
  %55 = load i64, ptr %11, align 8, !tbaa !5
  store i64 %55, 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 = %51, %.lr.ph
  %indvars.iv533 = phi i64 [ %indvars.iv.next534, %.lr.ph ], [ %52, %51 ]
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 1, %51 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  %gep = getelementptr %"class.std::complex", ptr %invariant.gep455, i64 %indvars.iv
  %56 = 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
  %57 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.045.0.copyload)
  %58 = fadd float %56, %57
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %12, float noundef %58, float noundef 0.000000e+00)
  %59 = load i64, ptr %12, align 8, !tbaa !5
  store i64 %59, 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, %51
  %indvars.iv.next543 = add nuw nsw i64 %indvars.iv542, 1
  %indvars.iv.next532 = add i32 %indvars.iv531, %53
  %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 %51, !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 ], [ %62, %.lr.ph464 ]
  %60 = getelementptr inbounds %"class.std::complex", ptr %42, i64 %indvars.iv546
  %61 = call noundef float @_ZSt4realIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %60)
  %62 = call noundef float @_Z6r4_maxff(float noundef %.0463, float noundef %61)
  %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
  %63 = 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 ], [ %62, %.lr.ph464 ]
  %64 = call noundef i32 @_Z5chpfaPSt7complexIfEiPi(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)
  %65 = load i64, ptr %13, align 8, !tbaa !5
  store i64 %65, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  br i1 %63, label %.lr.ph468.preheader, label %._crit_edge469.thread

._crit_edge469.thread:                            ; preds = %._crit_edge465
  %66 = add nsw i32 %1, -1
  %67 = mul nsw i32 %66, %1
  %68 = sdiv i32 %67, 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)
  %69 = getelementptr inbounds %"class.std::complex", ptr %42, i64 %indvars.iv551
  %70 = load i64, ptr %14, align 8, !tbaa !5
  store i64 %70, ptr %69, 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
  %71 = add nsw i32 %1, -1
  %72 = mul nsw i32 %71, %1
  %73 = sdiv i32 %72, 2
  %invariant.gep476 = getelementptr i8, ptr %42, i64 -16
  %invariant.gep480 = getelementptr i8, ptr %0, i64 -16
  br i1 %63, label %.lr.ph487.preheader, label %._crit_edge488

.lr.ph487.preheader:                              ; preds = %._crit_edge469
  %74 = getelementptr i8, ptr %42, i64 -8
  %75 = getelementptr i8, ptr %42, i64 -8
  %76 = getelementptr i8, ptr %0, i64 -8
  %77 = getelementptr i8, ptr %0, i64 -8
  br label %.lr.ph487

.lr.ph487:                                        ; preds = %.lr.ph487.preheader, %147
  %.0402485 = phi i32 [ %.1403, %147 ], [ %73, %.lr.ph487.preheader ]
  %.0407484 = phi i32 [ %101, %147 ], [ %1, %.lr.ph487.preheader ]
  %78 = add nsw i32 %.0402485, %.0407484
  %79 = add nsw i32 %.0407484, -1
  %80 = sub nsw i32 %.0402485, %79
  %81 = zext nneg i32 %79 to i64
  %82 = getelementptr inbounds i32, ptr %2, i64 %81
  %83 = load i32, ptr %82, align 4, !tbaa !13
  %84 = icmp slt i32 %83, 0
  %..neg529 = select i1 %84, i32 -2, i32 -1
  %85 = call i32 @llvm.abs.i32(i32 %83, i1 true)
  %86 = add nuw nsw i32 %.0407484, 1
  %87 = add i32 %86, %..neg529
  %.not436 = icmp eq i32 %85, %87
  br i1 %.not436, label %93, label %88

88:                                               ; preds = %.lr.ph487
  %89 = zext nneg i32 %87 to i64
  %gep471 = getelementptr %"class.std::complex", ptr %75, i64 %89
  %90 = load i64, ptr %gep471, align 4, !tbaa !5
  store i64 %90, ptr %10, align 8, !tbaa !5
  %91 = zext nneg i32 %85 to i64
  %gep473 = getelementptr %"class.std::complex", ptr %74, i64 %91
  %92 = load i64, ptr %gep473, align 4, !tbaa !5
  store i64 %92, ptr %gep471, align 4, !tbaa !5
  store i64 %90, ptr %gep473, align 4, !tbaa !5
  br label %93

93:                                               ; preds = %88, %.lr.ph487
  %94 = getelementptr inbounds %"class.std::complex", ptr %42, i64 %81
  %.sroa.044.0.copyload = load <2 x float>, ptr %94, align 4, !tbaa !5
  %95 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.044.0.copyload)
  %96 = fcmp une float %95, 0.000000e+00
  br i1 %96, label %97, label %99

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

99:                                               ; preds = %97, %93
  %100 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %94, ptr noundef nonnull align 4 dereferenceable(8) %9)
  store <2 x float> %100, ptr %94, align 4, !tbaa !5
  %101 = add i32 %..neg529, %.0407484
  %102 = sext i32 %.0402485 to i64
  %103 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %102
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %101, <2 x float> %100, ptr noundef %103, i32 noundef 1, ptr noundef nonnull %42, i32 noundef 1)
  br i1 %84, label %104, label %.critedge

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

108:                                              ; preds = %104
  %.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
  %109 = call <2 x float> @_Z6csign1St7complexIfES0_(<2 x float> %.sroa.036.0.copyload, <2 x float> %.sroa.035.0.copyload)
  store <2 x float> %109, ptr %9, align 8, !tbaa !5
  br label %126

.critedge:                                        ; preds = %99
  %110 = sext i32 %78 to i64
  %gep475 = getelementptr %"class.std::complex", ptr %76, i64 %110
  %.sroa.032.0.copyload = load <2 x float>, ptr %gep475, align 4, !tbaa !5
  %111 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.032.0.copyload)
  %.sroa.031.0.copyload = load <2 x float>, ptr %94, align 4, !tbaa !5
  %112 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.031.0.copyload)
  %113 = fcmp olt float %111, %112
  br i1 %113, label %114, label %119

114:                                              ; preds = %.critedge
  %.sroa.030.0.copyload = load <2 x float>, ptr %gep475, align 4, !tbaa !5
  %115 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.030.0.copyload)
  %.sroa.029.0.copyload = load <2 x float>, ptr %94, align 4, !tbaa !5
  %116 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.029.0.copyload)
  %117 = fdiv float %115, %116
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %1, float noundef %117, ptr noundef nonnull %42, 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 %117, float noundef 0.000000e+00)
  %118 = 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> %118, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #9
  br label %119

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

122:                                              ; preds = %119
  %123 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %94, ptr noundef nonnull align 4 dereferenceable(8) %gep475)
  store <2 x float> %123, ptr %94, align 4, !tbaa !5
  br label %147

124:                                              ; preds = %119
  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)
  %125 = load i64, ptr %16, align 8, !tbaa !5
  store i64 %125, ptr %94, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  br label %147

126:                                              ; preds = %104, %108
  %127 = 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> %127, ptr %gep477, align 4, !tbaa !5
  %128 = sext i32 %80 to i64
  %129 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %128
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %101, <2 x float> %127, ptr noundef %129, i32 noundef 1, ptr noundef nonnull %42, i32 noundef 1)
  %130 = add nsw i32 %80, %.0407484
  %131 = sext i32 %78 to i64
  %gep479 = getelementptr %"class.std::complex", ptr %77, i64 %131
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #9
  %gep481 = getelementptr %"class.std::complex", ptr %invariant.gep480, i64 %131
  %132 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %gep481)
  store <2 x float> %132, ptr %17, align 8
  %133 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %gep479, ptr noundef nonnull align 4 dereferenceable(8) %17)
  store <2 x float> %133, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #9
  %134 = sext i32 %130 to i64
  %gep483 = getelementptr %"class.std::complex", ptr %invariant.gep480, i64 %134
  %135 = 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> %135, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #9
  %136 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %gep481)
  store <2 x float> %136, ptr %18, align 8
  %137 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %94, ptr noundef nonnull align 4 dereferenceable(8) %18)
  store <2 x float> %137, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #9
  %138 = 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> %138, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #9
  %139 = 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> %139, ptr %19, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #9
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %20, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %140 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %19, ptr noundef nonnull align 4 dereferenceable(8) %20)
  store <2 x float> %140, ptr %8, align 8, !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
  %141 = 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> %141, ptr %22, align 8
  %142 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %22, ptr noundef nonnull align 4 dereferenceable(8) %7)
  store <2 x float> %142, ptr %21, align 8
  %143 = 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> %143, ptr %94, 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
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #9
  %144 = 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> %144, ptr %24, align 8
  %145 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %24, ptr noundef nonnull align 4 dereferenceable(8) %6)
  store <2 x float> %145, ptr %23, align 8
  %146 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %23, ptr noundef nonnull align 4 dereferenceable(8) %8)
  store <2 x float> %146, ptr %gep477, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #9
  br label %147

147:                                              ; preds = %122, %124, %126
  %148 = sub i32 %.0402485, %101
  %.neg439 = xor i32 %101, -1
  %149 = select i1 %84, i32 %.neg439, i32 0
  %.1403 = add i32 %148, %149
  %150 = icmp sgt i32 %101, 0
  br i1 %150, label %.lr.ph487, label %._crit_edge488, !llvm.loop !15

._crit_edge488:                                   ; preds = %147, %._crit_edge469.thread, %._crit_edge469
  %151 = phi i32 [ %68, %._crit_edge469.thread ], [ %73, %._crit_edge469 ], [ %73, %147 ]
  %152 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %1, ptr noundef nonnull %42, i32 noundef 1)
  %153 = fdiv float 1.000000e+00, %152
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %1, float noundef %153, ptr noundef nonnull %42, i32 noundef 1)
  br i1 %.not457562566, label %._crit_edge496, label %.lr.ph495.preheader

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

.lr.ph495:                                        ; preds = %.lr.ph495.preheader, %181
  %.2493 = phi i32 [ %.3, %181 ], [ 0, %.lr.ph495.preheader ]
  %.1408492 = phi i32 [ %185, %181 ], [ 1, %.lr.ph495.preheader ]
  %155 = add nsw i32 %.1408492, -1
  %156 = sext i32 %155 to i64
  %157 = getelementptr inbounds i32, ptr %2, i64 %156
  %158 = load i32, ptr %157, align 4, !tbaa !13
  %159 = icmp slt i32 %158, 0
  %.441 = select i1 %159, i32 2, i32 1
  %.not434 = icmp eq i32 %.1408492, 1
  br i1 %.not434, label %181, label %160

160:                                              ; preds = %.lr.ph495
  %161 = getelementptr inbounds %"class.std::complex", ptr %42, i64 %156
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #9
  %162 = sext i32 %.2493 to i64
  %163 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %162
  %164 = call <2 x float> @_Z5cdotciPSt7complexIfEiS1_i(i32 noundef %155, ptr noundef %163, i32 noundef 1, ptr noundef nonnull %42, i32 noundef 1)
  store <2 x float> %164, ptr %25, align 8
  %165 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %161, ptr noundef nonnull align 4 dereferenceable(8) %25)
  store <2 x float> %165, ptr %161, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #9
  br i1 %159, label %166, label %174

166:                                              ; preds = %160
  %167 = add nsw i32 %.2493, %.1408492
  %168 = zext nneg i32 %.1408492 to i64
  %169 = getelementptr inbounds %"class.std::complex", ptr %42, i64 %168
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #9
  %170 = sext i32 %167 to i64
  %171 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %170
  %172 = call <2 x float> @_Z5cdotciPSt7complexIfEiS1_i(i32 noundef %155, ptr noundef %171, i32 noundef 1, ptr noundef nonnull %42, i32 noundef 1)
  store <2 x float> %172, ptr %26, align 8
  %173 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %169, ptr noundef nonnull align 4 dereferenceable(8) %26)
  store <2 x float> %173, ptr %169, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #9
  br label %174

174:                                              ; preds = %166, %160
  %175 = load i32, ptr %157, align 4, !tbaa !13
  %176 = call i32 @llvm.abs.i32(i32 %175, i1 true)
  %.not435 = icmp eq i32 %176, %.1408492
  br i1 %.not435, label %181, label %177

177:                                              ; preds = %174
  %178 = load i64, ptr %161, align 4, !tbaa !5
  store i64 %178, ptr %10, align 8, !tbaa !5
  %179 = zext nneg i32 %176 to i64
  %gep490 = getelementptr %"class.std::complex", ptr %154, i64 %179
  %180 = load i64, ptr %gep490, align 4, !tbaa !5
  store i64 %180, ptr %161, align 4, !tbaa !5
  store i64 %178, ptr %gep490, align 4, !tbaa !5
  br label %181

181:                                              ; preds = %174, %177, %.lr.ph495
  %182 = add nsw i32 %.2493, %.1408492
  %183 = add nuw nsw i32 %.1408492, 1
  %184 = select i1 %159, i32 %183, i32 0
  %.3 = add nsw i32 %182, %184
  %185 = add nuw nsw i32 %.441, %.1408492
  %.not427 = icmp sgt i32 %185, %1
  br i1 %.not427, label %._crit_edge496, label %.lr.ph495, !llvm.loop !16

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

.lr.ph518.preheader:                              ; preds = %._crit_edge496
  %188 = getelementptr i8, ptr %42, i64 -8
  %189 = getelementptr i8, ptr %42, i64 -8
  %190 = getelementptr i8, ptr %42, i64 -16
  %191 = getelementptr i8, ptr %0, i64 -8
  %192 = getelementptr i8, ptr %0, i64 -8
  %193 = getelementptr i8, ptr %42, i64 -16
  %194 = getelementptr i8, ptr %0, i64 -16
  %195 = getelementptr i8, ptr %0, i64 -16
  br label %.lr.ph518

.lr.ph518:                                        ; preds = %.lr.ph518.preheader, %257
  %.4516 = phi i32 [ %.5, %257 ], [ %151, %.lr.ph518.preheader ]
  %.2409514 = phi i32 [ %258, %257 ], [ %1, %.lr.ph518.preheader ]
  %.0416513 = phi float [ %.2418, %257 ], [ 1.000000e+00, %.lr.ph518.preheader ]
  %196 = add nsw i32 %.4516, %.2409514
  %197 = add nsw i32 %.2409514, -1
  %198 = sub nsw i32 %.4516, %197
  %199 = zext nneg i32 %197 to i64
  %200 = getelementptr inbounds i32, ptr %2, i64 %199
  %201 = load i32, ptr %200, align 4, !tbaa !13
  %202 = icmp slt i32 %201, 0
  %.442 = select i1 %202, i32 2, i32 1
  %.not431 = icmp eq i32 %.2409514, %.442
  br i1 %.not431, label %220, label %203

203:                                              ; preds = %.lr.ph518
  %.442.neg530 = select i1 %202, i32 -2, i32 -1
  %204 = call i32 @llvm.abs.i32(i32 %201, i1 true)
  %205 = add nuw nsw i32 %.2409514, 1
  %206 = add nsw i32 %205, %.442.neg530
  %.not432 = icmp eq i32 %204, %206
  br i1 %.not432, label %212, label %207

207:                                              ; preds = %203
  %208 = zext nneg i32 %206 to i64
  %gep498 = getelementptr %"class.std::complex", ptr %189, i64 %208
  %209 = load i64, ptr %gep498, align 4, !tbaa !5
  store i64 %209, ptr %10, align 8, !tbaa !5
  %210 = zext nneg i32 %204 to i64
  %gep500 = getelementptr %"class.std::complex", ptr %188, i64 %210
  %211 = load i64, ptr %gep500, align 4, !tbaa !5
  store i64 %211, ptr %gep498, align 4, !tbaa !5
  store i64 %209, ptr %gep500, align 4, !tbaa !5
  br label %212

212:                                              ; preds = %207, %203
  %213 = sub nsw i32 %.2409514, %.442
  %214 = getelementptr inbounds %"class.std::complex", ptr %42, i64 %199
  %.sroa.016.0.copyload = load <2 x float>, ptr %214, align 4, !tbaa !5
  %215 = sext i32 %.4516 to i64
  %216 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %215
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %213, <2 x float> %.sroa.016.0.copyload, ptr noundef %216, i32 noundef 1, ptr noundef nonnull %42, i32 noundef 1)
  br i1 %202, label %.thread, label %.critedge444

.thread:                                          ; preds = %212
  %217 = zext nneg i32 %.2409514 to i64
  %gep502 = getelementptr %"class.std::complex", ptr %190, i64 %217
  %.sroa.015.0.copyload = load <2 x float>, ptr %gep502, align 4, !tbaa !5
  %218 = sext i32 %198 to i64
  %219 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %218
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %213, <2 x float> %.sroa.015.0.copyload, ptr noundef %219, i32 noundef 1, ptr noundef nonnull %42, i32 noundef 1)
  br label %238

220:                                              ; preds = %.lr.ph518
  br i1 %202, label %._crit_edge556, label %.critedge444

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

.critedge444:                                     ; preds = %212, %220
  %221 = sext i32 %196 to i64
  %gep504 = getelementptr %"class.std::complex", ptr %191, i64 %221
  %.sroa.014.0.copyload = load <2 x float>, ptr %gep504, align 4, !tbaa !5
  %222 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.014.0.copyload)
  %223 = getelementptr inbounds %"class.std::complex", ptr %42, i64 %199
  %.sroa.013.0.copyload = load <2 x float>, ptr %223, align 4, !tbaa !5
  %224 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.013.0.copyload)
  %225 = fcmp olt float %222, %224
  br i1 %225, label %226, label %231

226:                                              ; preds = %.critedge444
  %.sroa.012.0.copyload = load <2 x float>, ptr %gep504, align 4, !tbaa !5
  %227 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.012.0.copyload)
  %.sroa.011.0.copyload = load <2 x float>, ptr %223, align 4, !tbaa !5
  %228 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.011.0.copyload)
  %229 = fdiv float %227, %228
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %1, float noundef %229, ptr noundef nonnull %42, i32 noundef 1)
  %230 = fmul float %.0416513, %229
  br label %231

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

234:                                              ; preds = %231
  %235 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %223, ptr noundef nonnull align 4 dereferenceable(8) %gep504)
  store <2 x float> %235, ptr %223, align 4, !tbaa !5
  br label %257

236:                                              ; preds = %231
  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)
  %237 = load i64, ptr %27, align 8, !tbaa !5
  store i64 %237, ptr %223, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #9
  br label %257

238:                                              ; preds = %._crit_edge556, %.thread
  %.pre-phi = phi i64 [ %.pre, %._crit_edge556 ], [ %217, %.thread ]
  %239 = add nsw i32 %198, %.2409514
  %240 = sext i32 %196 to i64
  %gep506 = getelementptr %"class.std::complex", ptr %192, i64 %240
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #9
  %gep508 = getelementptr %"class.std::complex", ptr %195, i64 %240
  %241 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %gep508)
  store <2 x float> %241, ptr %28, align 8
  %242 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %gep506, ptr noundef nonnull align 4 dereferenceable(8) %28)
  store <2 x float> %242, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #9
  %243 = sext i32 %239 to i64
  %gep510 = getelementptr %"class.std::complex", ptr %194, i64 %243
  %244 = 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> %244, ptr %5, align 8, !tbaa !5
  %245 = getelementptr inbounds %"class.std::complex", ptr %42, i64 %199
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #9
  %246 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %gep508)
  store <2 x float> %246, ptr %29, align 8
  %247 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %245, ptr noundef nonnull align 4 dereferenceable(8) %29)
  store <2 x float> %247, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #9
  %gep512 = getelementptr %"class.std::complex", ptr %193, i64 %.pre-phi
  %248 = 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> %248, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #9
  %249 = 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> %249, ptr %30, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %31) #9
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %31, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %250 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %30, ptr noundef nonnull align 4 dereferenceable(8) %31)
  store <2 x float> %250, ptr %8, align 8, !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
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %32) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #9
  %251 = 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> %251, ptr %33, align 8
  %252 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %33, ptr noundef nonnull align 4 dereferenceable(8) %7)
  store <2 x float> %252, ptr %32, align 8
  %253 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %32, ptr noundef nonnull align 4 dereferenceable(8) %8)
  store <2 x float> %253, ptr %245, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %34) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %35) #9
  %254 = 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> %254, ptr %35, align 8
  %255 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %35, ptr noundef nonnull align 4 dereferenceable(8) %6)
  store <2 x float> %255, ptr %34, align 8
  %256 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %34, ptr noundef nonnull align 4 dereferenceable(8) %8)
  store <2 x float> %256, ptr %gep512, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #9
  br label %257

257:                                              ; preds = %234, %236, %238
  %.2418 = phi float [ %.1417, %234 ], [ %.1417, %236 ], [ %.0416513, %238 ]
  %258 = sub nsw i32 %.2409514, %.442
  %259 = sub i32 %.4516, %258
  %.neg = xor i32 %258, -1
  %260 = select i1 %202, i32 %.neg, i32 0
  %.5 = add i32 %259, %260
  %261 = icmp sgt i32 %258, 0
  br i1 %261, label %.lr.ph518, label %._crit_edge519, !llvm.loop !17

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

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

.lr.ph527:                                        ; preds = %.lr.ph527.preheader, %291
  %.6525 = phi i32 [ %.7, %291 ], [ 0, %.lr.ph527.preheader ]
  %.3410524 = phi i32 [ %295, %291 ], [ 1, %.lr.ph527.preheader ]
  %265 = add nsw i32 %.3410524, -1
  %266 = sext i32 %265 to i64
  %267 = getelementptr inbounds i32, ptr %2, i64 %266
  %268 = load i32, ptr %267, align 4, !tbaa !13
  %269 = icmp slt i32 %268, 0
  %.445 = select i1 %269, i32 2, i32 1
  %.not429 = icmp eq i32 %.3410524, 1
  br i1 %.not429, label %291, label %270

270:                                              ; preds = %.lr.ph527
  %271 = getelementptr inbounds %"class.std::complex", ptr %42, i64 %266
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %36) #9
  %272 = sext i32 %.6525 to i64
  %273 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %272
  %274 = call <2 x float> @_Z5cdotciPSt7complexIfEiS1_i(i32 noundef %265, ptr noundef %273, i32 noundef 1, ptr noundef nonnull %42, i32 noundef 1)
  store <2 x float> %274, ptr %36, 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) %36)
  store <2 x float> %275, ptr %271, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #9
  br i1 %269, label %276, label %284

276:                                              ; preds = %270
  %277 = add nsw i32 %.6525, %.3410524
  %278 = zext nneg i32 %.3410524 to i64
  %279 = getelementptr inbounds %"class.std::complex", ptr %42, i64 %278
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %37) #9
  %280 = sext i32 %277 to i64
  %281 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %280
  %282 = call <2 x float> @_Z5cdotciPSt7complexIfEiS1_i(i32 noundef %265, ptr noundef %281, i32 noundef 1, ptr noundef nonnull %42, i32 noundef 1)
  store <2 x float> %282, ptr %37, align 8
  %283 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %279, ptr noundef nonnull align 4 dereferenceable(8) %37)
  store <2 x float> %283, ptr %279, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %37) #9
  br label %284

284:                                              ; preds = %276, %270
  %285 = load i32, ptr %267, align 4, !tbaa !13
  %286 = call i32 @llvm.abs.i32(i32 %285, i1 true)
  %.not430 = icmp eq i32 %286, %.3410524
  br i1 %.not430, label %291, label %287

287:                                              ; preds = %284
  %288 = load i64, ptr %271, align 4, !tbaa !5
  store i64 %288, ptr %10, align 8, !tbaa !5
  %289 = zext nneg i32 %286 to i64
  %gep522 = getelementptr %"class.std::complex", ptr %264, i64 %289
  %290 = load i64, ptr %gep522, align 4, !tbaa !5
  store i64 %290, ptr %271, align 4, !tbaa !5
  store i64 %288, ptr %gep522, align 4, !tbaa !5
  br label %291

291:                                              ; preds = %284, %287, %.lr.ph527
  %292 = add nsw i32 %.6525, %.3410524
  %293 = add nuw nsw i32 %.3410524, 1
  %294 = select i1 %269, i32 %293, i32 0
  %.7 = add nsw i32 %292, %294
  %295 = add nuw nsw i32 %.445, %.3410524
  %.not428 = icmp sgt i32 %295, %1
  br i1 %.not428, label %._crit_edge528, label %.lr.ph527, !llvm.loop !18

._crit_edge528:                                   ; preds = %291, %._crit_edge519
  %296 = fmul float %.0416.lcssa, %263
  %297 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %1, ptr noundef nonnull %42, i32 noundef 1)
  %298 = fdiv float 1.000000e+00, %297
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %1, float noundef %298, ptr noundef nonnull %42, i32 noundef 1)
  %299 = fcmp une float %.0.lcssa, 0.000000e+00
  %300 = fmul float %296, %298
  %301 = fdiv float %300, %.0.lcssa
  %.0415 = select i1 %299, float %301, float 0.000000e+00
  call void @_ZdaPv(ptr noundef nonnull %42) #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 @_Z5chpfaPSt7complexIfEiPi(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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { mustprogress 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