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

; 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: mustprogress uwtable
define dso_local noundef float @_Z5chicoPSt7complexIfEiiPi(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #9 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca %"class.std::complex", align 4
  %10 = alloca %"class.std::complex", align 4
  %11 = alloca float, align 4
  %12 = alloca %"class.std::complex", align 4
  %13 = alloca %"class.std::complex", align 4
  %14 = alloca %"class.std::complex", align 4
  %15 = alloca %"class.std::complex", align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca float, align 4
  %24 = alloca float, align 4
  %25 = alloca %"class.std::complex", align 4
  %26 = alloca float, align 4
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca i32, align 4
  %30 = alloca %"class.std::complex", align 4
  %31 = alloca %"class.std::complex", align 4
  %32 = alloca %"class.std::complex", align 4
  %33 = alloca %"class.std::complex", align 4
  %34 = alloca %"class.std::complex", align 4
  %35 = alloca %"class.std::complex", align 4
  %36 = alloca %"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
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store i32 %2, ptr %7, align 4, !tbaa !9
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #10
  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 %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 4, ptr %11) #10
  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 8, ptr %14) #10
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #10
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 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 8, ptr %25) #10
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %25, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #10
  %103 = load i32, ptr %7, align 4, !tbaa !9
  %104 = sext i32 %103 to i64
  %105 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %104, i64 8)
  %106 = extractvalue { i64, i1 } %105, 1
  %107 = extractvalue { i64, i1 } %105, 0
  %108 = select i1 %106, i64 -1, i64 %107
  %109 = call noalias noundef nonnull ptr @_Znam(i64 noundef %108) #11
  %110 = icmp eq i64 %104, 0
  br i1 %110, label %118, label %111

111:                                              ; preds = %4
  %112 = getelementptr inbounds %"class.std::complex", ptr %109, i64 %104
  br label %113

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

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

118:                                              ; preds = %115, %4
  store ptr %109, ptr %27, align 8, !tbaa !5
  store i32 1, ptr %18, align 4, !tbaa !9
  br label %119

119:                                              ; preds = %178, %118
  %120 = load i32, ptr %18, align 4, !tbaa !9
  %121 = load i32, ptr %7, align 4, !tbaa !9
  %122 = icmp sle i32 %120, %121
  br i1 %122, label %123, label %181

123:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #10
  %124 = load i32, ptr %18, align 4, !tbaa !9
  %125 = load ptr, ptr %5, align 8, !tbaa !5
  %126 = getelementptr inbounds %"class.std::complex", ptr %125, i64 0
  %127 = load i32, ptr %18, align 4, !tbaa !9
  %128 = sub nsw i32 %127, 1
  %129 = load i32, ptr %6, align 4, !tbaa !9
  %130 = mul nsw i32 %128, %129
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds %"class.std::complex", ptr %126, i64 %131
  %133 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %124, ptr noundef %132, i32 noundef 1)
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %30, float noundef %133, float noundef 0.000000e+00)
  %134 = load ptr, ptr %27, align 8, !tbaa !5
  %135 = load i32, ptr %18, align 4, !tbaa !9
  %136 = sub nsw i32 %135, 1
  %137 = sext i32 %136 to i64
  %138 = getelementptr inbounds %"class.std::complex", ptr %134, i64 %137
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %138, ptr align 4 %30, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #10
  store i32 1, ptr %16, align 4, !tbaa !9
  br label %139

139:                                              ; preds = %170, %123
  %140 = load i32, ptr %16, align 4, !tbaa !9
  %141 = load i32, ptr %18, align 4, !tbaa !9
  %142 = sub nsw i32 %141, 1
  %143 = icmp sle i32 %140, %142
  br i1 %143, label %144, label %177

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

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

173:                                              ; preds = %113
  %174 = landingpad { ptr, i32 }
          cleanup
  %175 = extractvalue { ptr, i32 } %174, 0
  store ptr %175, ptr %28, align 8
  %176 = extractvalue { ptr, i32 } %174, 1
  store i32 %176, ptr %29, align 4
  call void @_ZdaPvm(ptr noundef %109, i64 noundef %108) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #10
  call void @llvm.lifetime.end.p0(i64 8, 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 8, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 8, 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 4, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #10
  br label %1173

177:                                              ; preds = %139
  br label %178

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

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

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

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

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

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

203:                                              ; preds = %212, %197
  %204 = load i32, ptr %16, align 4, !tbaa !9
  %205 = load i32, ptr %7, align 4, !tbaa !9
  %206 = icmp slt i32 %204, %205
  br i1 %206, label %207, label %215

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

212:                                              ; preds = %207
  %213 = load i32, ptr %16, align 4, !tbaa !9
  %214 = add nsw i32 %213, 1
  store i32 %214, ptr %16, align 4, !tbaa !9
  br label %203, !llvm.loop !19

215:                                              ; preds = %203
  %216 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %216, ptr %19, align 4, !tbaa !9
  br label %217

217:                                              ; preds = %588, %215
  %218 = load i32, ptr %19, align 4, !tbaa !9
  %219 = icmp slt i32 0, %218
  br i1 %219, label %220, label %592

220:                                              ; preds = %217
  %221 = load ptr, ptr %8, align 8, !tbaa !5
  %222 = load i32, ptr %19, align 4, !tbaa !9
  %223 = sub nsw i32 %222, 1
  %224 = sext i32 %223 to i64
  %225 = getelementptr inbounds i32, ptr %221, i64 %224
  %226 = load i32, ptr %225, align 4, !tbaa !9
  %227 = icmp slt i32 %226, 0
  br i1 %227, label %228, label %229

228:                                              ; preds = %220
  store i32 2, ptr %22, align 4, !tbaa !9
  br label %230

229:                                              ; preds = %220
  store i32 1, ptr %22, align 4, !tbaa !9
  br label %230

230:                                              ; preds = %229, %228
  %231 = load ptr, ptr %8, align 8, !tbaa !5
  %232 = load i32, ptr %19, align 4, !tbaa !9
  %233 = sub nsw i32 %232, 1
  %234 = sext i32 %233 to i64
  %235 = getelementptr inbounds i32, ptr %231, i64 %234
  %236 = load i32, ptr %235, align 4, !tbaa !9
  %237 = call i32 @llvm.abs.i32(i32 %236, i1 true)
  store i32 %237, ptr %20, align 4, !tbaa !9
  %238 = load i32, ptr %19, align 4, !tbaa !9
  %239 = add nsw i32 %238, 1
  %240 = load i32, ptr %22, align 4, !tbaa !9
  %241 = sub nsw i32 %239, %240
  store i32 %241, ptr %21, align 4, !tbaa !9
  %242 = load i32, ptr %20, align 4, !tbaa !9
  %243 = load i32, ptr %21, align 4, !tbaa !9
  %244 = icmp ne i32 %242, %243
  br i1 %244, label %245, label %266

245:                                              ; preds = %230
  %246 = load ptr, ptr %27, align 8, !tbaa !5
  %247 = load i32, ptr %21, align 4, !tbaa !9
  %248 = sub nsw i32 %247, 1
  %249 = sext i32 %248 to i64
  %250 = getelementptr inbounds %"class.std::complex", ptr %246, i64 %249
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 4 %250, i64 8, i1 false), !tbaa.struct !11
  %251 = load ptr, ptr %27, align 8, !tbaa !5
  %252 = load i32, ptr %20, align 4, !tbaa !9
  %253 = sub nsw i32 %252, 1
  %254 = sext i32 %253 to i64
  %255 = getelementptr inbounds %"class.std::complex", ptr %251, i64 %254
  %256 = load ptr, ptr %27, align 8, !tbaa !5
  %257 = load i32, ptr %21, align 4, !tbaa !9
  %258 = sub nsw i32 %257, 1
  %259 = sext i32 %258 to i64
  %260 = getelementptr inbounds %"class.std::complex", ptr %256, i64 %259
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %260, ptr align 4 %255, i64 8, i1 false), !tbaa.struct !11
  %261 = load ptr, ptr %27, align 8, !tbaa !5
  %262 = load i32, ptr %20, 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 %265, ptr align 4 %25, i64 8, i1 false), !tbaa.struct !11
  br label %266

266:                                              ; preds = %245, %230
  %267 = load ptr, ptr %27, align 8, !tbaa !5
  %268 = load i32, ptr %19, align 4, !tbaa !9
  %269 = sub nsw i32 %268, 1
  %270 = sext i32 %269 to i64
  %271 = getelementptr inbounds %"class.std::complex", ptr %267, i64 %270
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %35, ptr align 4 %271, i64 8, i1 false), !tbaa.struct !11
  %272 = getelementptr inbounds %"class.std::complex", ptr %35, i32 0, i32 0
  %273 = load <2 x float>, ptr %272, align 4
  %274 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %273)
  %275 = fpext float %274 to double
  %276 = fcmp une double %275, 0.000000e+00
  br i1 %276, label %277, label %289

277:                                              ; preds = %266
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %37, ptr align 4 %15, i64 8, i1 false), !tbaa.struct !11
  %278 = load ptr, ptr %27, align 8, !tbaa !5
  %279 = load i32, ptr %19, align 4, !tbaa !9
  %280 = sub nsw i32 %279, 1
  %281 = sext i32 %280 to i64
  %282 = getelementptr inbounds %"class.std::complex", ptr %278, i64 %281
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %38, ptr align 4 %282, i64 8, i1 false), !tbaa.struct !11
  %283 = getelementptr inbounds %"class.std::complex", ptr %37, i32 0, i32 0
  %284 = load <2 x float>, ptr %283, align 4
  %285 = getelementptr inbounds %"class.std::complex", ptr %38, i32 0, i32 0
  %286 = load <2 x float>, ptr %285, align 4
  %287 = call <2 x float> @_Z6csign1St7complexIfES0_(<2 x float> %284, <2 x float> %286)
  %288 = getelementptr inbounds %"class.std::complex", ptr %36, i32 0, i32 0
  store <2 x float> %287, ptr %288, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %36, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #10
  br label %289

289:                                              ; preds = %277, %266
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #10
  %290 = load ptr, ptr %27, align 8, !tbaa !5
  %291 = load i32, ptr %19, align 4, !tbaa !9
  %292 = sub nsw i32 %291, 1
  %293 = sext i32 %292 to i64
  %294 = getelementptr inbounds %"class.std::complex", ptr %290, i64 %293
  %295 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %294, ptr noundef nonnull align 4 dereferenceable(8) %15)
  %296 = getelementptr inbounds %"class.std::complex", ptr %39, i32 0, i32 0
  store <2 x float> %295, ptr %296, align 4
  %297 = load ptr, ptr %27, align 8, !tbaa !5
  %298 = load i32, ptr %19, align 4, !tbaa !9
  %299 = sub nsw i32 %298, 1
  %300 = sext i32 %299 to i64
  %301 = getelementptr inbounds %"class.std::complex", ptr %297, i64 %300
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %301, ptr align 4 %39, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #10
  %302 = load i32, ptr %19, align 4, !tbaa !9
  %303 = load i32, ptr %22, align 4, !tbaa !9
  %304 = sub nsw i32 %302, %303
  %305 = load ptr, ptr %27, align 8, !tbaa !5
  %306 = load i32, ptr %19, 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
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %40, ptr align 4 %309, i64 8, i1 false), !tbaa.struct !11
  %310 = load ptr, ptr %5, align 8, !tbaa !5
  %311 = getelementptr inbounds %"class.std::complex", ptr %310, i64 0
  %312 = load i32, ptr %19, align 4, !tbaa !9
  %313 = sub nsw i32 %312, 1
  %314 = load i32, ptr %6, align 4, !tbaa !9
  %315 = mul nsw i32 %313, %314
  %316 = sext i32 %315 to i64
  %317 = getelementptr inbounds %"class.std::complex", ptr %311, i64 %316
  %318 = load ptr, ptr %27, align 8, !tbaa !5
  %319 = getelementptr inbounds %"class.std::complex", ptr %40, i32 0, i32 0
  %320 = load <2 x float>, ptr %319, align 4
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %304, <2 x float> %320, ptr noundef %317, i32 noundef 1, ptr noundef %318, i32 noundef 1)
  %321 = load i32, ptr %22, align 4, !tbaa !9
  %322 = icmp ne i32 %321, 1
  br i1 %322, label %323, label %378

323:                                              ; preds = %289
  %324 = load ptr, ptr %27, align 8, !tbaa !5
  %325 = load i32, ptr %19, align 4, !tbaa !9
  %326 = sub nsw i32 %325, 2
  %327 = sext i32 %326 to i64
  %328 = getelementptr inbounds %"class.std::complex", ptr %324, i64 %327
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %41, ptr align 4 %328, i64 8, i1 false), !tbaa.struct !11
  %329 = getelementptr inbounds %"class.std::complex", ptr %41, i32 0, i32 0
  %330 = load <2 x float>, ptr %329, align 4
  %331 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %330)
  %332 = fpext float %331 to double
  %333 = fcmp une double %332, 0.000000e+00
  br i1 %333, label %334, label %346

334:                                              ; preds = %323
  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 %15, i64 8, i1 false), !tbaa.struct !11
  %335 = load ptr, ptr %27, align 8, !tbaa !5
  %336 = load i32, ptr %19, 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 %44, ptr align 4 %339, i64 8, i1 false), !tbaa.struct !11
  %340 = getelementptr inbounds %"class.std::complex", ptr %43, i32 0, i32 0
  %341 = load <2 x float>, ptr %340, align 4
  %342 = getelementptr inbounds %"class.std::complex", ptr %44, i32 0, i32 0
  %343 = load <2 x float>, ptr %342, align 4
  %344 = call <2 x float> @_Z6csign1St7complexIfES0_(<2 x float> %341, <2 x float> %343)
  %345 = getelementptr inbounds %"class.std::complex", ptr %42, i32 0, i32 0
  store <2 x float> %344, ptr %345, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %42, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #10
  br label %346

346:                                              ; preds = %334, %323
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #10
  %347 = load ptr, ptr %27, align 8, !tbaa !5
  %348 = load i32, ptr %19, align 4, !tbaa !9
  %349 = sub nsw i32 %348, 2
  %350 = sext i32 %349 to i64
  %351 = getelementptr inbounds %"class.std::complex", ptr %347, i64 %350
  %352 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %351, ptr noundef nonnull align 4 dereferenceable(8) %15)
  %353 = getelementptr inbounds %"class.std::complex", ptr %45, i32 0, i32 0
  store <2 x float> %352, ptr %353, align 4
  %354 = load ptr, ptr %27, align 8, !tbaa !5
  %355 = load i32, ptr %19, align 4, !tbaa !9
  %356 = sub nsw i32 %355, 2
  %357 = sext i32 %356 to i64
  %358 = getelementptr inbounds %"class.std::complex", ptr %354, i64 %357
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %358, ptr align 4 %45, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #10
  %359 = load i32, ptr %19, align 4, !tbaa !9
  %360 = load i32, ptr %22, align 4, !tbaa !9
  %361 = sub nsw i32 %359, %360
  %362 = load ptr, ptr %27, align 8, !tbaa !5
  %363 = load i32, ptr %19, align 4, !tbaa !9
  %364 = sub nsw i32 %363, 2
  %365 = sext i32 %364 to i64
  %366 = getelementptr inbounds %"class.std::complex", ptr %362, i64 %365
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %46, ptr align 4 %366, i64 8, i1 false), !tbaa.struct !11
  %367 = load ptr, ptr %5, align 8, !tbaa !5
  %368 = getelementptr inbounds %"class.std::complex", ptr %367, i64 0
  %369 = load i32, ptr %19, align 4, !tbaa !9
  %370 = sub nsw i32 %369, 2
  %371 = load i32, ptr %6, align 4, !tbaa !9
  %372 = mul nsw i32 %370, %371
  %373 = sext i32 %372 to i64
  %374 = getelementptr inbounds %"class.std::complex", ptr %368, i64 %373
  %375 = load ptr, ptr %27, align 8, !tbaa !5
  %376 = getelementptr inbounds %"class.std::complex", ptr %46, i32 0, i32 0
  %377 = load <2 x float>, ptr %376, align 4
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %361, <2 x float> %377, ptr noundef %374, i32 noundef 1, ptr noundef %375, i32 noundef 1)
  br label %378

378:                                              ; preds = %346, %289
  %379 = load i32, ptr %22, align 4, !tbaa !9
  %380 = icmp ne i32 %379, 2
  br i1 %380, label %381, label %479

381:                                              ; preds = %378
  %382 = load ptr, ptr %5, align 8, !tbaa !5
  %383 = load i32, ptr %19, align 4, !tbaa !9
  %384 = sub nsw i32 %383, 1
  %385 = load i32, ptr %19, align 4, !tbaa !9
  %386 = sub nsw i32 %385, 1
  %387 = load i32, ptr %6, align 4, !tbaa !9
  %388 = mul nsw i32 %386, %387
  %389 = add nsw i32 %384, %388
  %390 = sext i32 %389 to i64
  %391 = getelementptr inbounds %"class.std::complex", ptr %382, i64 %390
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %47, ptr align 4 %391, i64 8, i1 false), !tbaa.struct !11
  %392 = getelementptr inbounds %"class.std::complex", ptr %47, i32 0, i32 0
  %393 = load <2 x float>, ptr %392, align 4
  %394 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %393)
  %395 = load ptr, ptr %27, align 8, !tbaa !5
  %396 = load i32, ptr %19, align 4, !tbaa !9
  %397 = sub nsw i32 %396, 1
  %398 = sext i32 %397 to i64
  %399 = getelementptr inbounds %"class.std::complex", ptr %395, i64 %398
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %48, ptr align 4 %399, i64 8, i1 false), !tbaa.struct !11
  %400 = getelementptr inbounds %"class.std::complex", ptr %48, i32 0, i32 0
  %401 = load <2 x float>, ptr %400, align 4
  %402 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %401)
  %403 = fcmp olt float %394, %402
  br i1 %403, label %404, label %433

404:                                              ; preds = %381
  %405 = load ptr, ptr %5, align 8, !tbaa !5
  %406 = load i32, ptr %19, align 4, !tbaa !9
  %407 = sub nsw i32 %406, 1
  %408 = load i32, ptr %19, align 4, !tbaa !9
  %409 = sub nsw i32 %408, 1
  %410 = load i32, ptr %6, align 4, !tbaa !9
  %411 = mul nsw i32 %409, %410
  %412 = add nsw i32 %407, %411
  %413 = sext i32 %412 to i64
  %414 = getelementptr inbounds %"class.std::complex", ptr %405, i64 %413
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %49, ptr align 4 %414, i64 8, i1 false), !tbaa.struct !11
  %415 = getelementptr inbounds %"class.std::complex", ptr %49, i32 0, i32 0
  %416 = load <2 x float>, ptr %415, align 4
  %417 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %416)
  %418 = load ptr, ptr %27, align 8, !tbaa !5
  %419 = load i32, ptr %19, align 4, !tbaa !9
  %420 = sub nsw i32 %419, 1
  %421 = sext i32 %420 to i64
  %422 = getelementptr inbounds %"class.std::complex", ptr %418, i64 %421
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %50, ptr align 4 %422, i64 8, i1 false), !tbaa.struct !11
  %423 = getelementptr inbounds %"class.std::complex", ptr %50, i32 0, i32 0
  %424 = load <2 x float>, ptr %423, align 4
  %425 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %424)
  %426 = fdiv float %417, %425
  store float %426, ptr %24, align 4, !tbaa !16
  %427 = load i32, ptr %7, align 4, !tbaa !9
  %428 = load float, ptr %24, align 4, !tbaa !16
  %429 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %427, float noundef %428, ptr noundef %429, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #10
  %430 = load float, ptr %24, align 4, !tbaa !16
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %52, float noundef %430, float noundef 0.000000e+00)
  %431 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %52, ptr noundef nonnull align 4 dereferenceable(8) %15)
  %432 = getelementptr inbounds %"class.std::complex", ptr %51, i32 0, i32 0
  store <2 x float> %431, ptr %432, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %51, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #10
  br label %433

433:                                              ; preds = %404, %381
  %434 = load ptr, ptr %5, align 8, !tbaa !5
  %435 = load i32, ptr %19, align 4, !tbaa !9
  %436 = sub nsw i32 %435, 1
  %437 = load i32, ptr %19, align 4, !tbaa !9
  %438 = sub nsw i32 %437, 1
  %439 = load i32, ptr %6, align 4, !tbaa !9
  %440 = mul nsw i32 %438, %439
  %441 = add nsw i32 %436, %440
  %442 = sext i32 %441 to i64
  %443 = getelementptr inbounds %"class.std::complex", ptr %434, i64 %442
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %53, ptr align 4 %443, i64 8, i1 false), !tbaa.struct !11
  %444 = getelementptr inbounds %"class.std::complex", ptr %53, i32 0, i32 0
  %445 = load <2 x float>, ptr %444, align 4
  %446 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %445)
  %447 = fpext float %446 to double
  %448 = fcmp une double %447, 0.000000e+00
  br i1 %448, label %449, label %472

449:                                              ; preds = %433
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #10
  %450 = load ptr, ptr %27, align 8, !tbaa !5
  %451 = load i32, ptr %19, align 4, !tbaa !9
  %452 = sub nsw i32 %451, 1
  %453 = sext i32 %452 to i64
  %454 = getelementptr inbounds %"class.std::complex", ptr %450, i64 %453
  %455 = load ptr, ptr %5, align 8, !tbaa !5
  %456 = load i32, ptr %19, align 4, !tbaa !9
  %457 = sub nsw i32 %456, 1
  %458 = load i32, ptr %19, align 4, !tbaa !9
  %459 = sub nsw i32 %458, 1
  %460 = load i32, ptr %6, align 4, !tbaa !9
  %461 = mul nsw i32 %459, %460
  %462 = add nsw i32 %457, %461
  %463 = sext i32 %462 to i64
  %464 = getelementptr inbounds %"class.std::complex", ptr %455, i64 %463
  %465 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %454, ptr noundef nonnull align 4 dereferenceable(8) %464)
  %466 = getelementptr inbounds %"class.std::complex", ptr %54, i32 0, i32 0
  store <2 x float> %465, ptr %466, align 4
  %467 = load ptr, ptr %27, align 8, !tbaa !5
  %468 = load i32, ptr %19, align 4, !tbaa !9
  %469 = sub nsw i32 %468, 1
  %470 = sext i32 %469 to i64
  %471 = getelementptr inbounds %"class.std::complex", ptr %467, i64 %470
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %471, ptr align 4 %54, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #10
  br label %478

472:                                              ; preds = %433
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #10
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %55, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %473 = load ptr, ptr %27, align 8, !tbaa !5
  %474 = load i32, ptr %19, align 4, !tbaa !9
  %475 = sub nsw i32 %474, 1
  %476 = sext i32 %475 to i64
  %477 = getelementptr inbounds %"class.std::complex", ptr %473, i64 %476
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %477, ptr align 4 %55, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #10
  br label %478

478:                                              ; preds = %472, %449
  br label %588

479:                                              ; preds = %378
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #10
  %480 = load ptr, ptr %5, align 8, !tbaa !5
  %481 = load i32, ptr %19, align 4, !tbaa !9
  %482 = sub nsw i32 %481, 1
  %483 = load i32, ptr %19, align 4, !tbaa !9
  %484 = sub nsw i32 %483, 1
  %485 = load i32, ptr %6, align 4, !tbaa !9
  %486 = mul nsw i32 %484, %485
  %487 = add nsw i32 %482, %486
  %488 = sext i32 %487 to i64
  %489 = getelementptr inbounds %"class.std::complex", ptr %480, i64 %488
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #10
  %490 = load ptr, ptr %5, align 8, !tbaa !5
  %491 = load i32, ptr %19, align 4, !tbaa !9
  %492 = sub nsw i32 %491, 2
  %493 = load i32, ptr %19, align 4, !tbaa !9
  %494 = sub nsw i32 %493, 1
  %495 = load i32, ptr %6, align 4, !tbaa !9
  %496 = mul nsw i32 %494, %495
  %497 = add nsw i32 %492, %496
  %498 = sext i32 %497 to i64
  %499 = getelementptr inbounds %"class.std::complex", ptr %490, i64 %498
  %500 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %499)
  %501 = getelementptr inbounds %"class.std::complex", ptr %57, i32 0, i32 0
  store <2 x float> %500, ptr %501, align 4
  %502 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %489, ptr noundef nonnull align 4 dereferenceable(8) %57)
  %503 = getelementptr inbounds %"class.std::complex", ptr %56, i32 0, i32 0
  store <2 x float> %502, ptr %503, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %9, ptr align 4 %56, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #10
  %504 = load ptr, ptr %5, align 8, !tbaa !5
  %505 = load i32, ptr %19, align 4, !tbaa !9
  %506 = sub nsw i32 %505, 2
  %507 = load i32, ptr %19, align 4, !tbaa !9
  %508 = sub nsw i32 %507, 2
  %509 = load i32, ptr %6, align 4, !tbaa !9
  %510 = mul nsw i32 %508, %509
  %511 = add nsw i32 %506, %510
  %512 = sext i32 %511 to i64
  %513 = getelementptr inbounds %"class.std::complex", ptr %504, i64 %512
  %514 = load ptr, ptr %5, align 8, !tbaa !5
  %515 = load i32, ptr %19, align 4, !tbaa !9
  %516 = sub nsw i32 %515, 2
  %517 = load i32, ptr %19, align 4, !tbaa !9
  %518 = sub nsw i32 %517, 1
  %519 = load i32, ptr %6, align 4, !tbaa !9
  %520 = mul nsw i32 %518, %519
  %521 = add nsw i32 %516, %520
  %522 = sext i32 %521 to i64
  %523 = getelementptr inbounds %"class.std::complex", ptr %514, i64 %522
  %524 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %513, ptr noundef nonnull align 4 dereferenceable(8) %523)
  %525 = getelementptr inbounds %"class.std::complex", ptr %58, i32 0, i32 0
  store <2 x float> %524, ptr %525, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %10, ptr align 4 %58, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #10
  %526 = load ptr, ptr %27, align 8, !tbaa !5
  %527 = load i32, ptr %19, align 4, !tbaa !9
  %528 = sub nsw i32 %527, 1
  %529 = sext i32 %528 to i64
  %530 = getelementptr inbounds %"class.std::complex", ptr %526, i64 %529
  call void @llvm.lifetime.start.p0(i64 8, ptr %60) #10
  %531 = load ptr, ptr %5, align 8, !tbaa !5
  %532 = load i32, ptr %19, align 4, !tbaa !9
  %533 = sub nsw i32 %532, 2
  %534 = load i32, ptr %19, align 4, !tbaa !9
  %535 = sub nsw i32 %534, 1
  %536 = load i32, ptr %6, align 4, !tbaa !9
  %537 = mul nsw i32 %535, %536
  %538 = add nsw i32 %533, %537
  %539 = sext i32 %538 to i64
  %540 = getelementptr inbounds %"class.std::complex", ptr %531, i64 %539
  %541 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %540)
  %542 = getelementptr inbounds %"class.std::complex", ptr %60, i32 0, i32 0
  store <2 x float> %541, ptr %542, align 4
  %543 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %530, ptr noundef nonnull align 4 dereferenceable(8) %60)
  %544 = getelementptr inbounds %"class.std::complex", ptr %59, i32 0, i32 0
  store <2 x float> %543, ptr %544, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %12, ptr align 4 %59, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %61) #10
  %545 = load ptr, ptr %27, align 8, !tbaa !5
  %546 = load i32, ptr %19, align 4, !tbaa !9
  %547 = sub nsw i32 %546, 2
  %548 = sext i32 %547 to i64
  %549 = getelementptr inbounds %"class.std::complex", ptr %545, i64 %548
  %550 = load ptr, ptr %5, align 8, !tbaa !5
  %551 = load i32, ptr %19, align 4, !tbaa !9
  %552 = sub nsw i32 %551, 2
  %553 = load i32, ptr %19, align 4, !tbaa !9
  %554 = sub nsw i32 %553, 1
  %555 = load i32, ptr %6, align 4, !tbaa !9
  %556 = mul nsw i32 %554, %555
  %557 = add nsw i32 %552, %556
  %558 = sext i32 %557 to i64
  %559 = getelementptr inbounds %"class.std::complex", ptr %550, i64 %558
  %560 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %549, ptr noundef nonnull align 4 dereferenceable(8) %559)
  %561 = getelementptr inbounds %"class.std::complex", ptr %61, i32 0, i32 0
  store <2 x float> %560, ptr %561, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 4 %61, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %63) #10
  %562 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(8) %10)
  %563 = getelementptr inbounds %"class.std::complex", ptr %63, i32 0, i32 0
  store <2 x float> %562, ptr %563, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %64) #10
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %64, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %564 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %63, ptr noundef nonnull align 4 dereferenceable(8) %64)
  %565 = getelementptr inbounds %"class.std::complex", ptr %62, i32 0, i32 0
  store <2 x float> %564, ptr %565, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 %62, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %66) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %67) #10
  %566 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %12)
  %567 = getelementptr inbounds %"class.std::complex", ptr %67, i32 0, i32 0
  store <2 x float> %566, ptr %567, align 4
  %568 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %67, ptr noundef nonnull align 4 dereferenceable(8) %13)
  %569 = getelementptr inbounds %"class.std::complex", ptr %66, i32 0, i32 0
  store <2 x float> %568, ptr %569, align 4
  %570 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %66, ptr noundef nonnull align 4 dereferenceable(8) %14)
  %571 = getelementptr inbounds %"class.std::complex", ptr %65, i32 0, i32 0
  store <2 x float> %570, ptr %571, align 4
  %572 = load ptr, ptr %27, align 8, !tbaa !5
  %573 = load i32, ptr %19, align 4, !tbaa !9
  %574 = sub nsw i32 %573, 1
  %575 = sext i32 %574 to i64
  %576 = getelementptr inbounds %"class.std::complex", ptr %572, i64 %575
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %576, ptr align 4 %65, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %68) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %69) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %70) #10
  %577 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(8) %13)
  %578 = getelementptr inbounds %"class.std::complex", ptr %70, i32 0, i32 0
  store <2 x float> %577, ptr %578, align 4
  %579 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %70, ptr noundef nonnull align 4 dereferenceable(8) %12)
  %580 = getelementptr inbounds %"class.std::complex", ptr %69, i32 0, i32 0
  store <2 x float> %579, ptr %580, align 4
  %581 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %69, ptr noundef nonnull align 4 dereferenceable(8) %14)
  %582 = getelementptr inbounds %"class.std::complex", ptr %68, i32 0, i32 0
  store <2 x float> %581, ptr %582, align 4
  %583 = load ptr, ptr %27, align 8, !tbaa !5
  %584 = load i32, ptr %19, align 4, !tbaa !9
  %585 = sub nsw i32 %584, 2
  %586 = sext i32 %585 to i64
  %587 = getelementptr inbounds %"class.std::complex", ptr %583, i64 %586
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %587, 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
  br label %588

588:                                              ; preds = %479, %478
  %589 = load i32, ptr %19, align 4, !tbaa !9
  %590 = load i32, ptr %22, align 4, !tbaa !9
  %591 = sub nsw i32 %589, %590
  store i32 %591, ptr %19, align 4, !tbaa !9
  br label %217, !llvm.loop !20

592:                                              ; preds = %217
  %593 = load i32, ptr %7, align 4, !tbaa !9
  %594 = load ptr, ptr %27, align 8, !tbaa !5
  %595 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %593, ptr noundef %594, i32 noundef 1)
  %596 = fpext float %595 to double
  %597 = fdiv double 1.000000e+00, %596
  %598 = fptrunc double %597 to float
  store float %598, ptr %24, align 4, !tbaa !16
  %599 = load i32, ptr %7, align 4, !tbaa !9
  %600 = load float, ptr %24, align 4, !tbaa !16
  %601 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %599, float noundef %600, ptr noundef %601, i32 noundef 1)
  store i32 1, ptr %19, align 4, !tbaa !9
  br label %602

602:                                              ; preds = %703, %592
  %603 = load i32, ptr %19, align 4, !tbaa !9
  %604 = load i32, ptr %7, align 4, !tbaa !9
  %605 = icmp sle i32 %603, %604
  br i1 %605, label %606, label %707

606:                                              ; preds = %602
  %607 = load ptr, ptr %8, align 8, !tbaa !5
  %608 = load i32, ptr %19, align 4, !tbaa !9
  %609 = sub nsw i32 %608, 1
  %610 = sext i32 %609 to i64
  %611 = getelementptr inbounds i32, ptr %607, i64 %610
  %612 = load i32, ptr %611, align 4, !tbaa !9
  %613 = icmp slt i32 %612, 0
  br i1 %613, label %614, label %615

614:                                              ; preds = %606
  store i32 2, ptr %22, align 4, !tbaa !9
  br label %616

615:                                              ; preds = %606
  store i32 1, ptr %22, align 4, !tbaa !9
  br label %616

616:                                              ; preds = %615, %614
  %617 = load i32, ptr %19, align 4, !tbaa !9
  %618 = icmp ne i32 %617, 1
  br i1 %618, label %619, label %703

619:                                              ; preds = %616
  call void @llvm.lifetime.start.p0(i64 8, ptr %71) #10
  %620 = load ptr, ptr %27, align 8, !tbaa !5
  %621 = load i32, ptr %19, align 4, !tbaa !9
  %622 = sub nsw i32 %621, 1
  %623 = sext i32 %622 to i64
  %624 = getelementptr inbounds %"class.std::complex", ptr %620, i64 %623
  call void @llvm.lifetime.start.p0(i64 8, ptr %72) #10
  %625 = load i32, ptr %19, align 4, !tbaa !9
  %626 = sub nsw i32 %625, 1
  %627 = load ptr, ptr %5, align 8, !tbaa !5
  %628 = getelementptr inbounds %"class.std::complex", ptr %627, i64 0
  %629 = load i32, ptr %19, align 4, !tbaa !9
  %630 = sub nsw i32 %629, 1
  %631 = load i32, ptr %6, align 4, !tbaa !9
  %632 = mul nsw i32 %630, %631
  %633 = sext i32 %632 to i64
  %634 = getelementptr inbounds %"class.std::complex", ptr %628, i64 %633
  %635 = load ptr, ptr %27, align 8, !tbaa !5
  %636 = call <2 x float> @_Z5cdotciPSt7complexIfEiS1_i(i32 noundef %626, ptr noundef %634, i32 noundef 1, ptr noundef %635, i32 noundef 1)
  %637 = getelementptr inbounds %"class.std::complex", ptr %72, i32 0, i32 0
  store <2 x float> %636, ptr %637, align 4
  %638 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %624, ptr noundef nonnull align 4 dereferenceable(8) %72)
  %639 = getelementptr inbounds %"class.std::complex", ptr %71, i32 0, i32 0
  store <2 x float> %638, ptr %639, align 4
  %640 = load ptr, ptr %27, align 8, !tbaa !5
  %641 = load i32, ptr %19, align 4, !tbaa !9
  %642 = sub nsw i32 %641, 1
  %643 = sext i32 %642 to i64
  %644 = getelementptr inbounds %"class.std::complex", ptr %640, i64 %643
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %644, ptr align 4 %71, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #10
  %645 = load i32, ptr %22, align 4, !tbaa !9
  %646 = icmp eq i32 %645, 2
  br i1 %646, label %647, label %670

647:                                              ; preds = %619
  call void @llvm.lifetime.start.p0(i64 8, ptr %73) #10
  %648 = load ptr, ptr %27, align 8, !tbaa !5
  %649 = load i32, ptr %19, align 4, !tbaa !9
  %650 = sext i32 %649 to i64
  %651 = getelementptr inbounds %"class.std::complex", ptr %648, i64 %650
  call void @llvm.lifetime.start.p0(i64 8, ptr %74) #10
  %652 = load i32, ptr %19, align 4, !tbaa !9
  %653 = sub nsw i32 %652, 1
  %654 = load ptr, ptr %5, align 8, !tbaa !5
  %655 = getelementptr inbounds %"class.std::complex", ptr %654, i64 0
  %656 = load i32, ptr %19, align 4, !tbaa !9
  %657 = load i32, ptr %6, align 4, !tbaa !9
  %658 = mul nsw i32 %656, %657
  %659 = sext i32 %658 to i64
  %660 = getelementptr inbounds %"class.std::complex", ptr %655, i64 %659
  %661 = load ptr, ptr %27, align 8, !tbaa !5
  %662 = call <2 x float> @_Z5cdotciPSt7complexIfEiS1_i(i32 noundef %653, ptr noundef %660, i32 noundef 1, ptr noundef %661, i32 noundef 1)
  %663 = getelementptr inbounds %"class.std::complex", ptr %74, i32 0, i32 0
  store <2 x float> %662, ptr %663, align 4
  %664 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %651, ptr noundef nonnull align 4 dereferenceable(8) %74)
  %665 = getelementptr inbounds %"class.std::complex", ptr %73, i32 0, i32 0
  store <2 x float> %664, ptr %665, align 4
  %666 = load ptr, ptr %27, align 8, !tbaa !5
  %667 = load i32, ptr %19, align 4, !tbaa !9
  %668 = sext i32 %667 to i64
  %669 = getelementptr inbounds %"class.std::complex", ptr %666, i64 %668
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %669, ptr align 4 %73, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #10
  br label %670

670:                                              ; preds = %647, %619
  %671 = load ptr, ptr %8, align 8, !tbaa !5
  %672 = load i32, ptr %19, align 4, !tbaa !9
  %673 = sub nsw i32 %672, 1
  %674 = sext i32 %673 to i64
  %675 = getelementptr inbounds i32, ptr %671, i64 %674
  %676 = load i32, ptr %675, align 4, !tbaa !9
  %677 = call i32 @llvm.abs.i32(i32 %676, i1 true)
  store i32 %677, ptr %20, align 4, !tbaa !9
  %678 = load i32, ptr %20, align 4, !tbaa !9
  %679 = load i32, ptr %19, align 4, !tbaa !9
  %680 = icmp ne i32 %678, %679
  br i1 %680, label %681, label %702

681:                                              ; preds = %670
  %682 = load ptr, ptr %27, align 8, !tbaa !5
  %683 = load i32, ptr %19, align 4, !tbaa !9
  %684 = sub nsw i32 %683, 1
  %685 = sext i32 %684 to i64
  %686 = getelementptr inbounds %"class.std::complex", ptr %682, i64 %685
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 4 %686, i64 8, i1 false), !tbaa.struct !11
  %687 = load ptr, ptr %27, align 8, !tbaa !5
  %688 = load i32, ptr %20, align 4, !tbaa !9
  %689 = sub nsw i32 %688, 1
  %690 = sext i32 %689 to i64
  %691 = getelementptr inbounds %"class.std::complex", ptr %687, i64 %690
  %692 = load ptr, ptr %27, align 8, !tbaa !5
  %693 = load i32, ptr %19, align 4, !tbaa !9
  %694 = sub nsw i32 %693, 1
  %695 = sext i32 %694 to i64
  %696 = getelementptr inbounds %"class.std::complex", ptr %692, i64 %695
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %696, ptr align 4 %691, i64 8, i1 false), !tbaa.struct !11
  %697 = load ptr, ptr %27, align 8, !tbaa !5
  %698 = load i32, ptr %20, align 4, !tbaa !9
  %699 = sub nsw i32 %698, 1
  %700 = sext i32 %699 to i64
  %701 = getelementptr inbounds %"class.std::complex", ptr %697, i64 %700
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %701, ptr align 4 %25, i64 8, i1 false), !tbaa.struct !11
  br label %702

702:                                              ; preds = %681, %670
  br label %703

703:                                              ; preds = %702, %616
  %704 = load i32, ptr %19, align 4, !tbaa !9
  %705 = load i32, ptr %22, align 4, !tbaa !9
  %706 = add nsw i32 %704, %705
  store i32 %706, ptr %19, align 4, !tbaa !9
  br label %602, !llvm.loop !21

707:                                              ; preds = %602
  %708 = load i32, ptr %7, align 4, !tbaa !9
  %709 = load ptr, ptr %27, align 8, !tbaa !5
  %710 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %708, ptr noundef %709, i32 noundef 1)
  %711 = fpext float %710 to double
  %712 = fdiv double 1.000000e+00, %711
  %713 = fptrunc double %712 to float
  store float %713, ptr %24, align 4, !tbaa !16
  %714 = load i32, ptr %7, align 4, !tbaa !9
  %715 = load float, ptr %24, align 4, !tbaa !16
  %716 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %714, float noundef %715, ptr noundef %716, i32 noundef 1)
  store float 1.000000e+00, ptr %26, align 4, !tbaa !16
  %717 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %717, ptr %19, align 4, !tbaa !9
  br label %718

718:                                              ; preds = %1024, %707
  %719 = load i32, ptr %19, align 4, !tbaa !9
  %720 = icmp slt i32 0, %719
  br i1 %720, label %721, label %1028

721:                                              ; preds = %718
  %722 = load ptr, ptr %8, align 8, !tbaa !5
  %723 = load i32, ptr %19, align 4, !tbaa !9
  %724 = sub nsw i32 %723, 1
  %725 = sext i32 %724 to i64
  %726 = getelementptr inbounds i32, ptr %722, i64 %725
  %727 = load i32, ptr %726, align 4, !tbaa !9
  %728 = icmp slt i32 %727, 0
  br i1 %728, label %729, label %730

729:                                              ; preds = %721
  store i32 2, ptr %22, align 4, !tbaa !9
  br label %731

730:                                              ; preds = %721
  store i32 1, ptr %22, align 4, !tbaa !9
  br label %731

731:                                              ; preds = %730, %729
  %732 = load i32, ptr %19, align 4, !tbaa !9
  %733 = load i32, ptr %22, align 4, !tbaa !9
  %734 = icmp ne i32 %732, %733
  br i1 %734, label %735, label %814

735:                                              ; preds = %731
  %736 = load ptr, ptr %8, align 8, !tbaa !5
  %737 = load i32, ptr %19, align 4, !tbaa !9
  %738 = sub nsw i32 %737, 1
  %739 = sext i32 %738 to i64
  %740 = getelementptr inbounds i32, ptr %736, i64 %739
  %741 = load i32, ptr %740, align 4, !tbaa !9
  %742 = call i32 @llvm.abs.i32(i32 %741, i1 true)
  store i32 %742, ptr %20, align 4, !tbaa !9
  %743 = load i32, ptr %19, align 4, !tbaa !9
  %744 = add nsw i32 %743, 1
  %745 = load i32, ptr %22, align 4, !tbaa !9
  %746 = sub nsw i32 %744, %745
  store i32 %746, ptr %21, align 4, !tbaa !9
  %747 = load i32, ptr %20, align 4, !tbaa !9
  %748 = load i32, ptr %21, align 4, !tbaa !9
  %749 = icmp ne i32 %747, %748
  br i1 %749, label %750, label %771

750:                                              ; preds = %735
  %751 = load ptr, ptr %27, align 8, !tbaa !5
  %752 = load i32, ptr %21, align 4, !tbaa !9
  %753 = sub nsw i32 %752, 1
  %754 = sext i32 %753 to i64
  %755 = getelementptr inbounds %"class.std::complex", ptr %751, i64 %754
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 4 %755, i64 8, i1 false), !tbaa.struct !11
  %756 = load ptr, ptr %27, align 8, !tbaa !5
  %757 = load i32, ptr %20, 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
  %761 = load ptr, ptr %27, align 8, !tbaa !5
  %762 = load i32, ptr %21, 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 %760, i64 8, i1 false), !tbaa.struct !11
  %766 = load ptr, ptr %27, align 8, !tbaa !5
  %767 = load i32, ptr %20, align 4, !tbaa !9
  %768 = sub nsw i32 %767, 1
  %769 = sext i32 %768 to i64
  %770 = getelementptr inbounds %"class.std::complex", ptr %766, i64 %769
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %770, ptr align 4 %25, i64 8, i1 false), !tbaa.struct !11
  br label %771

771:                                              ; preds = %750, %735
  %772 = load i32, ptr %19, align 4, !tbaa !9
  %773 = load i32, ptr %22, align 4, !tbaa !9
  %774 = sub nsw i32 %772, %773
  %775 = load ptr, ptr %27, align 8, !tbaa !5
  %776 = load i32, ptr %19, align 4, !tbaa !9
  %777 = sub nsw i32 %776, 1
  %778 = sext i32 %777 to i64
  %779 = getelementptr inbounds %"class.std::complex", ptr %775, i64 %778
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %75, ptr align 4 %779, i64 8, i1 false), !tbaa.struct !11
  %780 = load ptr, ptr %5, align 8, !tbaa !5
  %781 = getelementptr inbounds %"class.std::complex", ptr %780, i64 0
  %782 = load i32, ptr %19, align 4, !tbaa !9
  %783 = sub nsw i32 %782, 1
  %784 = load i32, ptr %6, align 4, !tbaa !9
  %785 = mul nsw i32 %783, %784
  %786 = sext i32 %785 to i64
  %787 = getelementptr inbounds %"class.std::complex", ptr %781, i64 %786
  %788 = load ptr, ptr %27, align 8, !tbaa !5
  %789 = getelementptr inbounds %"class.std::complex", ptr %75, i32 0, i32 0
  %790 = load <2 x float>, ptr %789, align 4
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %774, <2 x float> %790, ptr noundef %787, i32 noundef 1, ptr noundef %788, i32 noundef 1)
  %791 = load i32, ptr %22, align 4, !tbaa !9
  %792 = icmp eq i32 %791, 2
  br i1 %792, label %793, label %813

793:                                              ; preds = %771
  %794 = load i32, ptr %19, align 4, !tbaa !9
  %795 = load i32, ptr %22, align 4, !tbaa !9
  %796 = sub nsw i32 %794, %795
  %797 = load ptr, ptr %27, align 8, !tbaa !5
  %798 = load i32, ptr %19, align 4, !tbaa !9
  %799 = sub nsw i32 %798, 2
  %800 = sext i32 %799 to i64
  %801 = getelementptr inbounds %"class.std::complex", ptr %797, i64 %800
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %76, ptr align 4 %801, i64 8, i1 false), !tbaa.struct !11
  %802 = load ptr, ptr %5, align 8, !tbaa !5
  %803 = getelementptr inbounds %"class.std::complex", ptr %802, i64 0
  %804 = load i32, ptr %19, align 4, !tbaa !9
  %805 = sub nsw i32 %804, 2
  %806 = load i32, ptr %6, align 4, !tbaa !9
  %807 = mul nsw i32 %805, %806
  %808 = sext i32 %807 to i64
  %809 = getelementptr inbounds %"class.std::complex", ptr %803, i64 %808
  %810 = load ptr, ptr %27, align 8, !tbaa !5
  %811 = getelementptr inbounds %"class.std::complex", ptr %76, i32 0, i32 0
  %812 = load <2 x float>, ptr %811, align 4
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %796, <2 x float> %812, ptr noundef %809, i32 noundef 1, ptr noundef %810, i32 noundef 1)
  br label %813

813:                                              ; preds = %793, %771
  br label %814

814:                                              ; preds = %813, %731
  %815 = load i32, ptr %22, align 4, !tbaa !9
  %816 = icmp ne i32 %815, 2
  br i1 %816, label %817, label %915

817:                                              ; preds = %814
  %818 = load ptr, ptr %5, align 8, !tbaa !5
  %819 = load i32, ptr %19, align 4, !tbaa !9
  %820 = sub nsw i32 %819, 1
  %821 = load i32, ptr %19, align 4, !tbaa !9
  %822 = sub nsw i32 %821, 1
  %823 = load i32, ptr %6, align 4, !tbaa !9
  %824 = mul nsw i32 %822, %823
  %825 = add nsw i32 %820, %824
  %826 = sext i32 %825 to i64
  %827 = getelementptr inbounds %"class.std::complex", ptr %818, i64 %826
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %77, ptr align 4 %827, i64 8, i1 false), !tbaa.struct !11
  %828 = getelementptr inbounds %"class.std::complex", ptr %77, 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 %27, align 8, !tbaa !5
  %832 = load i32, ptr %19, 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 %78, ptr align 4 %835, i64 8, i1 false), !tbaa.struct !11
  %836 = getelementptr inbounds %"class.std::complex", ptr %78, i32 0, i32 0
  %837 = load <2 x float>, ptr %836, align 4
  %838 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %837)
  %839 = fcmp olt float %830, %838
  br i1 %839, label %840, label %869

840:                                              ; preds = %817
  %841 = load ptr, ptr %5, align 8, !tbaa !5
  %842 = load i32, ptr %19, align 4, !tbaa !9
  %843 = sub nsw i32 %842, 1
  %844 = load i32, ptr %19, align 4, !tbaa !9
  %845 = sub nsw i32 %844, 1
  %846 = load i32, ptr %6, align 4, !tbaa !9
  %847 = mul nsw i32 %845, %846
  %848 = add nsw i32 %843, %847
  %849 = sext i32 %848 to i64
  %850 = getelementptr inbounds %"class.std::complex", ptr %841, i64 %849
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %79, ptr align 4 %850, i64 8, i1 false), !tbaa.struct !11
  %851 = getelementptr inbounds %"class.std::complex", ptr %79, i32 0, i32 0
  %852 = load <2 x float>, ptr %851, align 4
  %853 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %852)
  %854 = load ptr, ptr %27, align 8, !tbaa !5
  %855 = load i32, ptr %19, align 4, !tbaa !9
  %856 = sub nsw i32 %855, 1
  %857 = sext i32 %856 to i64
  %858 = getelementptr inbounds %"class.std::complex", ptr %854, i64 %857
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %80, ptr align 4 %858, i64 8, i1 false), !tbaa.struct !11
  %859 = getelementptr inbounds %"class.std::complex", ptr %80, i32 0, i32 0
  %860 = load <2 x float>, ptr %859, align 4
  %861 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %860)
  %862 = fdiv float %853, %861
  store float %862, ptr %24, align 4, !tbaa !16
  %863 = load i32, ptr %7, align 4, !tbaa !9
  %864 = load float, ptr %24, align 4, !tbaa !16
  %865 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %863, float noundef %864, ptr noundef %865, i32 noundef 1)
  %866 = load float, ptr %24, align 4, !tbaa !16
  %867 = load float, ptr %26, align 4, !tbaa !16
  %868 = fmul float %866, %867
  store float %868, ptr %26, align 4, !tbaa !16
  br label %869

869:                                              ; preds = %840, %817
  %870 = load ptr, ptr %5, align 8, !tbaa !5
  %871 = load i32, ptr %19, align 4, !tbaa !9
  %872 = sub nsw i32 %871, 1
  %873 = load i32, ptr %19, align 4, !tbaa !9
  %874 = sub nsw i32 %873, 1
  %875 = load i32, ptr %6, align 4, !tbaa !9
  %876 = mul nsw i32 %874, %875
  %877 = add nsw i32 %872, %876
  %878 = sext i32 %877 to i64
  %879 = getelementptr inbounds %"class.std::complex", ptr %870, i64 %878
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %81, ptr align 4 %879, i64 8, i1 false), !tbaa.struct !11
  %880 = getelementptr inbounds %"class.std::complex", ptr %81, i32 0, i32 0
  %881 = load <2 x float>, ptr %880, align 4
  %882 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %881)
  %883 = fpext float %882 to double
  %884 = fcmp une double %883, 0.000000e+00
  br i1 %884, label %885, label %908

885:                                              ; preds = %869
  call void @llvm.lifetime.start.p0(i64 8, ptr %82) #10
  %886 = load ptr, ptr %27, align 8, !tbaa !5
  %887 = load i32, ptr %19, align 4, !tbaa !9
  %888 = sub nsw i32 %887, 1
  %889 = sext i32 %888 to i64
  %890 = getelementptr inbounds %"class.std::complex", ptr %886, i64 %889
  %891 = load ptr, ptr %5, align 8, !tbaa !5
  %892 = load i32, ptr %19, align 4, !tbaa !9
  %893 = sub nsw i32 %892, 1
  %894 = load i32, ptr %19, align 4, !tbaa !9
  %895 = sub nsw i32 %894, 1
  %896 = load i32, ptr %6, align 4, !tbaa !9
  %897 = mul nsw i32 %895, %896
  %898 = add nsw i32 %893, %897
  %899 = sext i32 %898 to i64
  %900 = getelementptr inbounds %"class.std::complex", ptr %891, i64 %899
  %901 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %890, ptr noundef nonnull align 4 dereferenceable(8) %900)
  %902 = getelementptr inbounds %"class.std::complex", ptr %82, i32 0, i32 0
  store <2 x float> %901, ptr %902, align 4
  %903 = load ptr, ptr %27, align 8, !tbaa !5
  %904 = load i32, ptr %19, align 4, !tbaa !9
  %905 = sub nsw i32 %904, 1
  %906 = sext i32 %905 to i64
  %907 = getelementptr inbounds %"class.std::complex", ptr %903, i64 %906
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %907, ptr align 4 %82, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %82) #10
  br label %914

908:                                              ; preds = %869
  call void @llvm.lifetime.start.p0(i64 8, ptr %83) #10
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %83, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %909 = load ptr, ptr %27, align 8, !tbaa !5
  %910 = load i32, ptr %19, align 4, !tbaa !9
  %911 = sub nsw i32 %910, 1
  %912 = sext i32 %911 to i64
  %913 = getelementptr inbounds %"class.std::complex", ptr %909, i64 %912
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %913, ptr align 4 %83, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %83) #10
  br label %914

914:                                              ; preds = %908, %885
  br label %1024

915:                                              ; preds = %814
  call void @llvm.lifetime.start.p0(i64 8, ptr %84) #10
  %916 = load ptr, ptr %5, align 8, !tbaa !5
  %917 = load i32, ptr %19, align 4, !tbaa !9
  %918 = sub nsw i32 %917, 1
  %919 = load i32, ptr %19, align 4, !tbaa !9
  %920 = sub nsw i32 %919, 1
  %921 = load i32, ptr %6, align 4, !tbaa !9
  %922 = mul nsw i32 %920, %921
  %923 = add nsw i32 %918, %922
  %924 = sext i32 %923 to i64
  %925 = getelementptr inbounds %"class.std::complex", ptr %916, i64 %924
  call void @llvm.lifetime.start.p0(i64 8, ptr %85) #10
  %926 = load ptr, ptr %5, align 8, !tbaa !5
  %927 = load i32, ptr %19, align 4, !tbaa !9
  %928 = sub nsw i32 %927, 2
  %929 = load i32, ptr %19, align 4, !tbaa !9
  %930 = sub nsw i32 %929, 1
  %931 = load i32, ptr %6, align 4, !tbaa !9
  %932 = mul nsw i32 %930, %931
  %933 = add nsw i32 %928, %932
  %934 = sext i32 %933 to i64
  %935 = getelementptr inbounds %"class.std::complex", ptr %926, i64 %934
  %936 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %935)
  %937 = getelementptr inbounds %"class.std::complex", ptr %85, i32 0, i32 0
  store <2 x float> %936, ptr %937, align 4
  %938 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %925, ptr noundef nonnull align 4 dereferenceable(8) %85)
  %939 = getelementptr inbounds %"class.std::complex", ptr %84, i32 0, i32 0
  store <2 x float> %938, ptr %939, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %9, ptr align 4 %84, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %85) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %84) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %86) #10
  %940 = load ptr, ptr %5, align 8, !tbaa !5
  %941 = load i32, ptr %19, align 4, !tbaa !9
  %942 = sub nsw i32 %941, 2
  %943 = load i32, ptr %19, align 4, !tbaa !9
  %944 = sub nsw i32 %943, 2
  %945 = load i32, ptr %6, align 4, !tbaa !9
  %946 = mul nsw i32 %944, %945
  %947 = add nsw i32 %942, %946
  %948 = sext i32 %947 to i64
  %949 = getelementptr inbounds %"class.std::complex", ptr %940, i64 %948
  %950 = load ptr, ptr %5, align 8, !tbaa !5
  %951 = load i32, ptr %19, align 4, !tbaa !9
  %952 = sub nsw i32 %951, 2
  %953 = load i32, ptr %19, align 4, !tbaa !9
  %954 = sub nsw i32 %953, 1
  %955 = load i32, ptr %6, align 4, !tbaa !9
  %956 = mul nsw i32 %954, %955
  %957 = add nsw i32 %952, %956
  %958 = sext i32 %957 to i64
  %959 = getelementptr inbounds %"class.std::complex", ptr %950, i64 %958
  %960 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %949, ptr noundef nonnull align 4 dereferenceable(8) %959)
  %961 = getelementptr inbounds %"class.std::complex", ptr %86, i32 0, i32 0
  store <2 x float> %960, ptr %961, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %10, ptr align 4 %86, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %86) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %87) #10
  %962 = load ptr, ptr %27, align 8, !tbaa !5
  %963 = load i32, ptr %19, align 4, !tbaa !9
  %964 = sub nsw i32 %963, 1
  %965 = sext i32 %964 to i64
  %966 = getelementptr inbounds %"class.std::complex", ptr %962, i64 %965
  call void @llvm.lifetime.start.p0(i64 8, ptr %88) #10
  %967 = load ptr, ptr %5, align 8, !tbaa !5
  %968 = load i32, ptr %19, align 4, !tbaa !9
  %969 = sub nsw i32 %968, 2
  %970 = load i32, ptr %19, align 4, !tbaa !9
  %971 = sub nsw i32 %970, 1
  %972 = load i32, ptr %6, align 4, !tbaa !9
  %973 = mul nsw i32 %971, %972
  %974 = add nsw i32 %969, %973
  %975 = sext i32 %974 to i64
  %976 = getelementptr inbounds %"class.std::complex", ptr %967, i64 %975
  %977 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %976)
  %978 = getelementptr inbounds %"class.std::complex", ptr %88, i32 0, i32 0
  store <2 x float> %977, ptr %978, align 4
  %979 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %966, ptr noundef nonnull align 4 dereferenceable(8) %88)
  %980 = getelementptr inbounds %"class.std::complex", ptr %87, i32 0, i32 0
  store <2 x float> %979, ptr %980, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %12, ptr align 4 %87, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %88) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %87) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %89) #10
  %981 = load ptr, ptr %27, align 8, !tbaa !5
  %982 = load i32, ptr %19, align 4, !tbaa !9
  %983 = sub nsw i32 %982, 2
  %984 = sext i32 %983 to i64
  %985 = getelementptr inbounds %"class.std::complex", ptr %981, i64 %984
  %986 = load ptr, ptr %5, align 8, !tbaa !5
  %987 = load i32, ptr %19, align 4, !tbaa !9
  %988 = sub nsw i32 %987, 2
  %989 = load i32, ptr %19, align 4, !tbaa !9
  %990 = sub nsw i32 %989, 1
  %991 = load i32, ptr %6, align 4, !tbaa !9
  %992 = mul nsw i32 %990, %991
  %993 = add nsw i32 %988, %992
  %994 = sext i32 %993 to i64
  %995 = getelementptr inbounds %"class.std::complex", ptr %986, i64 %994
  %996 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %985, ptr noundef nonnull align 4 dereferenceable(8) %995)
  %997 = getelementptr inbounds %"class.std::complex", ptr %89, i32 0, i32 0
  store <2 x float> %996, ptr %997, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 4 %89, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %89) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %90) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %91) #10
  %998 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(8) %10)
  %999 = getelementptr inbounds %"class.std::complex", ptr %91, i32 0, i32 0
  store <2 x float> %998, ptr %999, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %92) #10
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %92, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %1000 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %91, ptr noundef nonnull align 4 dereferenceable(8) %92)
  %1001 = getelementptr inbounds %"class.std::complex", ptr %90, i32 0, i32 0
  store <2 x float> %1000, ptr %1001, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 %90, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %92) #10
  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 %93) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %94) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %95) #10
  %1002 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %12)
  %1003 = getelementptr inbounds %"class.std::complex", ptr %95, i32 0, i32 0
  store <2 x float> %1002, ptr %1003, align 4
  %1004 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %95, ptr noundef nonnull align 4 dereferenceable(8) %13)
  %1005 = getelementptr inbounds %"class.std::complex", ptr %94, i32 0, i32 0
  store <2 x float> %1004, ptr %1005, align 4
  %1006 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %94, ptr noundef nonnull align 4 dereferenceable(8) %14)
  %1007 = getelementptr inbounds %"class.std::complex", ptr %93, i32 0, i32 0
  store <2 x float> %1006, ptr %1007, align 4
  %1008 = load ptr, ptr %27, align 8, !tbaa !5
  %1009 = load i32, ptr %19, align 4, !tbaa !9
  %1010 = sub nsw i32 %1009, 1
  %1011 = sext i32 %1010 to i64
  %1012 = getelementptr inbounds %"class.std::complex", ptr %1008, i64 %1011
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1012, ptr align 4 %93, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %95) #10
  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 %96) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %97) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %98) #10
  %1013 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(8) %13)
  %1014 = getelementptr inbounds %"class.std::complex", ptr %98, i32 0, i32 0
  store <2 x float> %1013, ptr %1014, align 4
  %1015 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %98, ptr noundef nonnull align 4 dereferenceable(8) %12)
  %1016 = getelementptr inbounds %"class.std::complex", ptr %97, i32 0, i32 0
  store <2 x float> %1015, ptr %1016, align 4
  %1017 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %97, ptr noundef nonnull align 4 dereferenceable(8) %14)
  %1018 = getelementptr inbounds %"class.std::complex", ptr %96, i32 0, i32 0
  store <2 x float> %1017, ptr %1018, align 4
  %1019 = load ptr, ptr %27, align 8, !tbaa !5
  %1020 = load i32, ptr %19, align 4, !tbaa !9
  %1021 = sub nsw i32 %1020, 2
  %1022 = sext i32 %1021 to i64
  %1023 = getelementptr inbounds %"class.std::complex", ptr %1019, i64 %1022
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1023, ptr align 4 %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
  br label %1024

1024:                                             ; preds = %915, %914
  %1025 = load i32, ptr %19, align 4, !tbaa !9
  %1026 = load i32, ptr %22, align 4, !tbaa !9
  %1027 = sub nsw i32 %1025, %1026
  store i32 %1027, ptr %19, align 4, !tbaa !9
  br label %718, !llvm.loop !22

1028:                                             ; preds = %718
  %1029 = load i32, ptr %7, align 4, !tbaa !9
  %1030 = load ptr, ptr %27, align 8, !tbaa !5
  %1031 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %1029, ptr noundef %1030, i32 noundef 1)
  %1032 = fpext float %1031 to double
  %1033 = fdiv double 1.000000e+00, %1032
  %1034 = fptrunc double %1033 to float
  store float %1034, ptr %24, align 4, !tbaa !16
  %1035 = load i32, ptr %7, align 4, !tbaa !9
  %1036 = load float, ptr %24, align 4, !tbaa !16
  %1037 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %1035, float noundef %1036, ptr noundef %1037, i32 noundef 1)
  %1038 = load float, ptr %24, align 4, !tbaa !16
  %1039 = load float, ptr %26, align 4, !tbaa !16
  %1040 = fmul float %1038, %1039
  store float %1040, ptr %26, align 4, !tbaa !16
  store i32 1, ptr %19, align 4, !tbaa !9
  br label %1041

1041:                                             ; preds = %1142, %1028
  %1042 = load i32, ptr %19, align 4, !tbaa !9
  %1043 = load i32, ptr %7, align 4, !tbaa !9
  %1044 = icmp sle i32 %1042, %1043
  br i1 %1044, label %1045, label %1146

1045:                                             ; preds = %1041
  %1046 = load ptr, ptr %8, align 8, !tbaa !5
  %1047 = load i32, ptr %19, align 4, !tbaa !9
  %1048 = sub nsw i32 %1047, 1
  %1049 = sext i32 %1048 to i64
  %1050 = getelementptr inbounds i32, ptr %1046, i64 %1049
  %1051 = load i32, ptr %1050, align 4, !tbaa !9
  %1052 = icmp slt i32 %1051, 0
  br i1 %1052, label %1053, label %1054

1053:                                             ; preds = %1045
  store i32 2, ptr %22, align 4, !tbaa !9
  br label %1055

1054:                                             ; preds = %1045
  store i32 1, ptr %22, align 4, !tbaa !9
  br label %1055

1055:                                             ; preds = %1054, %1053
  %1056 = load i32, ptr %19, align 4, !tbaa !9
  %1057 = icmp ne i32 %1056, 1
  br i1 %1057, label %1058, label %1142

1058:                                             ; preds = %1055
  call void @llvm.lifetime.start.p0(i64 8, ptr %99) #10
  %1059 = load ptr, ptr %27, align 8, !tbaa !5
  %1060 = load i32, ptr %19, align 4, !tbaa !9
  %1061 = sub nsw i32 %1060, 1
  %1062 = sext i32 %1061 to i64
  %1063 = getelementptr inbounds %"class.std::complex", ptr %1059, i64 %1062
  call void @llvm.lifetime.start.p0(i64 8, ptr %100) #10
  %1064 = load i32, ptr %19, align 4, !tbaa !9
  %1065 = sub nsw i32 %1064, 1
  %1066 = load ptr, ptr %5, align 8, !tbaa !5
  %1067 = getelementptr inbounds %"class.std::complex", ptr %1066, i64 0
  %1068 = load i32, ptr %19, align 4, !tbaa !9
  %1069 = sub nsw i32 %1068, 1
  %1070 = load i32, ptr %6, align 4, !tbaa !9
  %1071 = mul nsw i32 %1069, %1070
  %1072 = sext i32 %1071 to i64
  %1073 = getelementptr inbounds %"class.std::complex", ptr %1067, i64 %1072
  %1074 = load ptr, ptr %27, align 8, !tbaa !5
  %1075 = call <2 x float> @_Z5cdotciPSt7complexIfEiS1_i(i32 noundef %1065, ptr noundef %1073, i32 noundef 1, ptr noundef %1074, i32 noundef 1)
  %1076 = getelementptr inbounds %"class.std::complex", ptr %100, i32 0, i32 0
  store <2 x float> %1075, ptr %1076, align 4
  %1077 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %1063, ptr noundef nonnull align 4 dereferenceable(8) %100)
  %1078 = getelementptr inbounds %"class.std::complex", ptr %99, i32 0, i32 0
  store <2 x float> %1077, ptr %1078, align 4
  %1079 = load ptr, ptr %27, align 8, !tbaa !5
  %1080 = load i32, ptr %19, align 4, !tbaa !9
  %1081 = sub nsw i32 %1080, 1
  %1082 = sext i32 %1081 to i64
  %1083 = getelementptr inbounds %"class.std::complex", ptr %1079, i64 %1082
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1083, ptr align 4 %99, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %100) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %99) #10
  %1084 = load i32, ptr %22, align 4, !tbaa !9
  %1085 = icmp eq i32 %1084, 2
  br i1 %1085, label %1086, label %1109

1086:                                             ; preds = %1058
  call void @llvm.lifetime.start.p0(i64 8, ptr %101) #10
  %1087 = load ptr, ptr %27, align 8, !tbaa !5
  %1088 = load i32, ptr %19, align 4, !tbaa !9
  %1089 = sext i32 %1088 to i64
  %1090 = getelementptr inbounds %"class.std::complex", ptr %1087, i64 %1089
  call void @llvm.lifetime.start.p0(i64 8, ptr %102) #10
  %1091 = load i32, ptr %19, align 4, !tbaa !9
  %1092 = sub nsw i32 %1091, 1
  %1093 = load ptr, ptr %5, align 8, !tbaa !5
  %1094 = getelementptr inbounds %"class.std::complex", ptr %1093, i64 0
  %1095 = load i32, ptr %19, align 4, !tbaa !9
  %1096 = load i32, ptr %6, align 4, !tbaa !9
  %1097 = mul nsw i32 %1095, %1096
  %1098 = sext i32 %1097 to i64
  %1099 = getelementptr inbounds %"class.std::complex", ptr %1094, i64 %1098
  %1100 = load ptr, ptr %27, align 8, !tbaa !5
  %1101 = call <2 x float> @_Z5cdotciPSt7complexIfEiS1_i(i32 noundef %1092, ptr noundef %1099, i32 noundef 1, ptr noundef %1100, i32 noundef 1)
  %1102 = getelementptr inbounds %"class.std::complex", ptr %102, i32 0, i32 0
  store <2 x float> %1101, ptr %1102, align 4
  %1103 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %1090, ptr noundef nonnull align 4 dereferenceable(8) %102)
  %1104 = getelementptr inbounds %"class.std::complex", ptr %101, i32 0, i32 0
  store <2 x float> %1103, ptr %1104, align 4
  %1105 = load ptr, ptr %27, align 8, !tbaa !5
  %1106 = load i32, ptr %19, align 4, !tbaa !9
  %1107 = sext i32 %1106 to i64
  %1108 = getelementptr inbounds %"class.std::complex", ptr %1105, i64 %1107
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1108, ptr align 4 %101, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %102) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %101) #10
  br label %1109

1109:                                             ; preds = %1086, %1058
  %1110 = load ptr, ptr %8, align 8, !tbaa !5
  %1111 = load i32, ptr %19, align 4, !tbaa !9
  %1112 = sub nsw i32 %1111, 1
  %1113 = sext i32 %1112 to i64
  %1114 = getelementptr inbounds i32, ptr %1110, i64 %1113
  %1115 = load i32, ptr %1114, align 4, !tbaa !9
  %1116 = call i32 @llvm.abs.i32(i32 %1115, i1 true)
  store i32 %1116, ptr %20, align 4, !tbaa !9
  %1117 = load i32, ptr %20, align 4, !tbaa !9
  %1118 = load i32, ptr %19, align 4, !tbaa !9
  %1119 = icmp ne i32 %1117, %1118
  br i1 %1119, label %1120, label %1141

1120:                                             ; preds = %1109
  %1121 = load ptr, ptr %27, align 8, !tbaa !5
  %1122 = load i32, ptr %19, align 4, !tbaa !9
  %1123 = sub nsw i32 %1122, 1
  %1124 = sext i32 %1123 to i64
  %1125 = getelementptr inbounds %"class.std::complex", ptr %1121, i64 %1124
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 4 %1125, i64 8, i1 false), !tbaa.struct !11
  %1126 = load ptr, ptr %27, align 8, !tbaa !5
  %1127 = load i32, ptr %20, align 4, !tbaa !9
  %1128 = sub nsw i32 %1127, 1
  %1129 = sext i32 %1128 to i64
  %1130 = getelementptr inbounds %"class.std::complex", ptr %1126, i64 %1129
  %1131 = load ptr, ptr %27, align 8, !tbaa !5
  %1132 = load i32, ptr %19, align 4, !tbaa !9
  %1133 = sub nsw i32 %1132, 1
  %1134 = sext i32 %1133 to i64
  %1135 = getelementptr inbounds %"class.std::complex", ptr %1131, i64 %1134
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1135, ptr align 4 %1130, i64 8, i1 false), !tbaa.struct !11
  %1136 = load ptr, ptr %27, align 8, !tbaa !5
  %1137 = load i32, ptr %20, align 4, !tbaa !9
  %1138 = sub nsw i32 %1137, 1
  %1139 = sext i32 %1138 to i64
  %1140 = getelementptr inbounds %"class.std::complex", ptr %1136, i64 %1139
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1140, ptr align 4 %25, i64 8, i1 false), !tbaa.struct !11
  br label %1141

1141:                                             ; preds = %1120, %1109
  br label %1142

1142:                                             ; preds = %1141, %1055
  %1143 = load i32, ptr %19, align 4, !tbaa !9
  %1144 = load i32, ptr %22, align 4, !tbaa !9
  %1145 = add nsw i32 %1143, %1144
  store i32 %1145, ptr %19, align 4, !tbaa !9
  br label %1041, !llvm.loop !23

1146:                                             ; preds = %1041
  %1147 = load i32, ptr %7, align 4, !tbaa !9
  %1148 = load ptr, ptr %27, align 8, !tbaa !5
  %1149 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %1147, ptr noundef %1148, i32 noundef 1)
  %1150 = fpext float %1149 to double
  %1151 = fdiv double 1.000000e+00, %1150
  %1152 = fptrunc double %1151 to float
  store float %1152, ptr %24, align 4, !tbaa !16
  %1153 = load i32, ptr %7, align 4, !tbaa !9
  %1154 = load float, ptr %24, align 4, !tbaa !16
  %1155 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %1153, float noundef %1154, ptr noundef %1155, i32 noundef 1)
  %1156 = load float, ptr %24, align 4, !tbaa !16
  %1157 = load float, ptr %26, align 4, !tbaa !16
  %1158 = fmul float %1156, %1157
  store float %1158, ptr %26, align 4, !tbaa !16
  %1159 = load float, ptr %11, align 4, !tbaa !16
  %1160 = fpext float %1159 to double
  %1161 = fcmp une double %1160, 0.000000e+00
  br i1 %1161, label %1162, label %1166

1162:                                             ; preds = %1146
  %1163 = load float, ptr %26, align 4, !tbaa !16
  %1164 = load float, ptr %11, align 4, !tbaa !16
  %1165 = fdiv float %1163, %1164
  store float %1165, ptr %23, align 4, !tbaa !16
  br label %1167

1166:                                             ; preds = %1146
  store float 0.000000e+00, ptr %23, align 4, !tbaa !16
  br label %1167

1167:                                             ; preds = %1166, %1162
  %1168 = load ptr, ptr %27, align 8, !tbaa !5
  %1169 = icmp eq ptr %1168, null
  br i1 %1169, label %1171, label %1170

1170:                                             ; preds = %1167
  call void @_ZdaPv(ptr noundef %1168) #12
  br label %1171

1171:                                             ; preds = %1170, %1167
  %1172 = load float, ptr %23, align 4, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #10
  call void @llvm.lifetime.end.p0(i64 8, 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 8, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 8, 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 4, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #10
  ret float %1172

1173:                                             ; preds = %173
  %1174 = load ptr, ptr %28, align 8
  %1175 = load i32, ptr %29, align 4
  %1176 = insertvalue { ptr, i32 } poison, ptr %1174, 0
  %1177 = insertvalue { ptr, i32 } %1176, i32 %1175, 1
  resume { ptr, i32 } %1177
}

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

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

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 uwtable
define dso_local noundef float @_Z5chicoPSt7complexIfEiiPi(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #7 personality ptr @__gxx_personality_v0 {
  %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 8
  %16 = alloca %"class.std::complex", align 4
  %17 = alloca %"class.std::complex", align 8
  %18 = alloca %"class.std::complex", align 8
  %19 = alloca %"class.std::complex", align 8
  %20 = alloca %"class.std::complex", align 8
  %21 = alloca %"class.std::complex", align 4
  %22 = alloca %"class.std::complex", align 8
  %23 = alloca %"class.std::complex", align 8
  %24 = alloca %"class.std::complex", align 8
  %25 = alloca %"class.std::complex", align 8
  %26 = alloca %"class.std::complex", align 8
  %27 = alloca %"class.std::complex", align 8
  %28 = alloca %"class.std::complex", align 8
  %29 = alloca %"class.std::complex", align 8
  %30 = alloca %"class.std::complex", align 8
  %31 = alloca %"class.std::complex", align 8
  %32 = alloca %"class.std::complex", align 4
  %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
  %38 = alloca %"class.std::complex", align 8
  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)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #9
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %39 = sext i32 %2 to i64
  %40 = icmp slt i32 %2, 0
  %41 = shl nsw i64 %39, 3
  %42 = select i1 %40, i64 -1, i64 %41
  %43 = call noalias noundef nonnull ptr @_Znam(i64 noundef %42) #10
  %44 = icmp eq i32 %2, 0
  br i1 %44, label %._crit_edge453, label %45

45:                                               ; preds = %4
  %46 = getelementptr inbounds %"class.std::complex", ptr %43, i64 %39
  br label %47

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

.loopexit:                                        ; preds = %47
  %.not446 = icmp slt i32 %2, 1
  br i1 %.not446, label %._crit_edge453, label %.lr.ph449.preheader

.lr.ph449.preheader:                              ; preds = %.loopexit
  %51 = sext i32 %1 to i64
  %52 = add nuw i32 %2, 1
  %wide.trip.count493 = zext i32 %52 to i64
  br label %.lr.ph449

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

.lr.ph449:                                        ; preds = %.lr.ph449.preheader, %._crit_edge
  %indvars.iv490 = phi i64 [ 1, %.lr.ph449.preheader ], [ %indvars.iv.next491, %._crit_edge ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  %53 = add nsw i64 %indvars.iv490, -1
  %54 = mul nsw i64 %53, %51
  %55 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %54
  %56 = trunc nuw nsw i64 %indvars.iv490 to i32
  %57 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %56, ptr noundef %55, i32 noundef 1)
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %12, float noundef %57, float noundef 0.000000e+00)
  %58 = getelementptr inbounds %"class.std::complex", ptr %43, i64 %53
  %59 = load i64, ptr %12, align 8, !tbaa !5
  store i64 %59, ptr %58, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  %.not437.not444 = icmp ugt i64 %indvars.iv490, 1
  br i1 %.not437.not444, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %.lr.ph449
  %invariant.gep515 = getelementptr %"class.std::complex", ptr %0, i64 %54
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ 1, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #9
  %60 = add nsw i64 %indvars.iv, -1
  %61 = getelementptr inbounds %"class.std::complex", ptr %43, i64 %60
  %62 = call noundef float @_ZSt4realIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %61)
  %gep516 = getelementptr %"class.std::complex", ptr %invariant.gep515, i64 %60
  %.sroa.045.0.copyload = load <2 x float>, ptr %gep516, align 4, !tbaa !5
  %63 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.045.0.copyload)
  %64 = fadd float %62, %63
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef %64, float noundef 0.000000e+00)
  %65 = load i64, ptr %13, align 8, !tbaa !5
  store i64 %65, ptr %61, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %indvars.iv490
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !8

._crit_edge:                                      ; preds = %.lr.ph, %.lr.ph449
  %indvars.iv.next491 = add nuw nsw i64 %indvars.iv490, 1
  %exitcond494.not = icmp eq i64 %indvars.iv.next491, %wide.trip.count493
  br i1 %exitcond494.not, label %.lr.ph452.preheader, label %.lr.ph449, !llvm.loop !10

.lr.ph452:                                        ; preds = %.lr.ph452.preheader, %.lr.ph452
  %indvars.iv495 = phi i64 [ 0, %.lr.ph452.preheader ], [ %indvars.iv.next496, %.lr.ph452 ]
  %.0451 = phi float [ 0.000000e+00, %.lr.ph452.preheader ], [ %68, %.lr.ph452 ]
  %66 = getelementptr inbounds %"class.std::complex", ptr %43, i64 %indvars.iv495
  %67 = call noundef float @_ZSt4realIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %66)
  %68 = call noundef float @_Z6r4_maxff(float noundef %.0451, float noundef %67)
  %indvars.iv.next496 = add nuw nsw i64 %indvars.iv495, 1
  %exitcond498.not = icmp eq i64 %indvars.iv.next496, %wide.trip.count
  br i1 %exitcond498.not, label %._crit_edge453, label %.lr.ph452, !llvm.loop !11

._crit_edge453:                                   ; preds = %.lr.ph452, %4, %.loopexit
  %69 = phi i1 [ false, %.loopexit ], [ false, %4 ], [ true, %.lr.ph452 ]
  %.not446510512 = phi i1 [ true, %.loopexit ], [ true, %4 ], [ %.not446, %.lr.ph452 ]
  %.0.lcssa = phi float [ 0.000000e+00, %.loopexit ], [ 0.000000e+00, %4 ], [ %68, %.lr.ph452 ]
  %70 = call noundef i32 @_Z5chifaPSt7complexIfEiiPi(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3)
  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 1.000000e+00, float noundef 0.000000e+00)
  %71 = load i64, ptr %14, align 8, !tbaa !5
  store i64 %71, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #9
  br i1 %69, label %.lr.ph456.preheader, label %._crit_edge461

.lr.ph456.preheader:                              ; preds = %._crit_edge453
  %wide.trip.count502 = zext nneg i32 %2 to i64
  br label %.lr.ph456

.preheader:                                       ; preds = %.lr.ph456
  %invariant.gep = getelementptr i8, ptr %43, i64 -8
  br i1 %69, label %.lr.ph460, label %._crit_edge461

.lr.ph460:                                        ; preds = %.preheader
  %72 = add i32 %1, 1
  br label %75

.lr.ph456:                                        ; preds = %.lr.ph456.preheader, %.lr.ph456
  %indvars.iv499 = phi i64 [ 0, %.lr.ph456.preheader ], [ %indvars.iv.next500, %.lr.ph456 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #9
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %73 = getelementptr inbounds %"class.std::complex", ptr %43, i64 %indvars.iv499
  %74 = load i64, ptr %15, align 8, !tbaa !5
  store i64 %74, ptr %73, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #9
  %indvars.iv.next500 = add nuw nsw i64 %indvars.iv499, 1
  %exitcond503.not = icmp eq i64 %indvars.iv.next500, %wide.trip.count502
  br i1 %exitcond503.not, label %.preheader, label %.lr.ph456, !llvm.loop !12

75:                                               ; preds = %.lr.ph460, %155
  %.0407459 = phi i32 [ %2, %.lr.ph460 ], [ %97, %155 ]
  %76 = add nsw i32 %.0407459, -1
  %77 = zext nneg i32 %76 to i64
  %78 = getelementptr inbounds i32, ptr %3, i64 %77
  %79 = load i32, ptr %78, align 4, !tbaa !13
  %80 = icmp slt i32 %79, 0
  %..neg487 = select i1 %80, i32 -2, i32 -1
  %81 = call i32 @llvm.abs.i32(i32 %79, i1 true)
  %82 = add nuw nsw i32 %.0407459, 1
  %83 = add i32 %82, %..neg487
  %.not434 = icmp eq i32 %81, %83
  br i1 %.not434, label %89, label %84

84:                                               ; preds = %75
  %85 = zext nneg i32 %83 to i64
  %gep = getelementptr %"class.std::complex", ptr %invariant.gep, i64 %85
  %86 = load i64, ptr %gep, align 4, !tbaa !5
  store i64 %86, ptr %11, align 8, !tbaa !5
  %87 = zext nneg i32 %81 to i64
  %gep458 = getelementptr %"class.std::complex", ptr %invariant.gep, i64 %87
  %88 = load i64, ptr %gep458, align 4, !tbaa !5
  store i64 %88, ptr %gep, align 4, !tbaa !5
  store i64 %86, ptr %gep458, align 4, !tbaa !5
  br label %89

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

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

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

101:                                              ; preds = %95
  %102 = add nsw i32 %.0407459, -2
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds %"class.std::complex", ptr %43, i64 %103
  %.sroa.038.0.copyload = load <2 x float>, ptr %104, align 4, !tbaa !5
  %105 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.038.0.copyload)
  %106 = fcmp une float %105, 0.000000e+00
  br i1 %106, label %107, label %127

107:                                              ; preds = %101
  %.sroa.036.0.copyload = load <2 x float>, ptr %10, align 8, !tbaa !5
  %.sroa.035.0.copyload = load <2 x float>, ptr %104, align 4, !tbaa !5
  %108 = call <2 x float> @_Z6csign1St7complexIfES0_(<2 x float> %.sroa.036.0.copyload, <2 x float> %.sroa.035.0.copyload)
  store <2 x float> %108, ptr %10, align 8, !tbaa !5
  br label %127

.critedge:                                        ; preds = %95
  %109 = add nsw i32 %98, %76
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %110
  %.sroa.032.0.copyload = load <2 x float>, ptr %111, align 4, !tbaa !5
  %112 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.032.0.copyload)
  %.sroa.031.0.copyload = load <2 x float>, ptr %90, align 4, !tbaa !5
  %113 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.031.0.copyload)
  %114 = fcmp olt float %112, %113
  br i1 %114, label %115, label %120

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

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

123:                                              ; preds = %120
  %124 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %90, ptr noundef nonnull align 4 dereferenceable(8) %111)
  store <2 x float> %124, ptr %90, align 4, !tbaa !5
  br label %155

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

127:                                              ; preds = %101, %107
  %128 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %104, ptr noundef nonnull align 4 dereferenceable(8) %10)
  store <2 x float> %128, ptr %104, align 4, !tbaa !5
  %129 = mul nsw i32 %102, %1
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %130
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %97, <2 x float> %128, ptr noundef %131, i32 noundef 1, ptr noundef nonnull %43, i32 noundef 1)
  %132 = add nsw i32 %98, %76
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %133
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #9
  %135 = add nsw i32 %98, %102
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %136
  %138 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %137)
  store <2 x float> %138, ptr %18, align 8
  %139 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %134, ptr noundef nonnull align 4 dereferenceable(8) %18)
  store <2 x float> %139, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #9
  %140 = mul i32 %102, %72
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %141
  %143 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %142, ptr noundef nonnull align 4 dereferenceable(8) %137)
  store <2 x float> %143, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #9
  %144 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %137)
  store <2 x float> %144, ptr %19, align 8
  %145 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %90, ptr noundef nonnull align 4 dereferenceable(8) %19)
  store <2 x float> %145, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  %146 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %104, ptr noundef nonnull align 4 dereferenceable(8) %137)
  store <2 x float> %146, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #9
  %147 = 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> %147, ptr %20, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #9
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %21, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %148 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %20, ptr noundef nonnull align 4 dereferenceable(8) %21)
  store <2 x float> %148, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #9
  %149 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %7)
  store <2 x float> %149, ptr %23, align 8
  %150 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %23, ptr noundef nonnull align 4 dereferenceable(8) %8)
  store <2 x float> %150, ptr %22, align 8
  %151 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %22, ptr noundef nonnull align 4 dereferenceable(8) %9)
  store <2 x float> %151, ptr %90, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #9
  %152 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %5, ptr noundef nonnull align 4 dereferenceable(8) %8)
  store <2 x float> %152, ptr %25, align 8
  %153 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %25, ptr noundef nonnull align 4 dereferenceable(8) %7)
  store <2 x float> %153, ptr %24, align 8
  %154 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %24, ptr noundef nonnull align 4 dereferenceable(8) %9)
  store <2 x float> %154, ptr %104, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #9
  br label %155

155:                                              ; preds = %123, %125, %127
  %156 = icmp sgt i32 %97, 0
  br i1 %156, label %75, label %._crit_edge461, !llvm.loop !15

._crit_edge461:                                   ; preds = %155, %._crit_edge453, %.preheader
  %157 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %2, ptr noundef nonnull %43, i32 noundef 1)
  %158 = fdiv float 1.000000e+00, %157
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %2, float noundef %158, ptr noundef nonnull %43, i32 noundef 1)
  br i1 %.not446510512, label %._crit_edge468, label %.lr.ph467.preheader

.lr.ph467.preheader:                              ; preds = %._crit_edge461
  %159 = getelementptr i8, ptr %43, i64 -8
  br label %.lr.ph467

.lr.ph467:                                        ; preds = %.lr.ph467.preheader, %187
  %.1408465 = phi i32 [ %188, %187 ], [ 1, %.lr.ph467.preheader ]
  %160 = add nsw i32 %.1408465, -1
  %161 = sext i32 %160 to i64
  %162 = getelementptr inbounds i32, ptr %3, i64 %161
  %163 = load i32, ptr %162, align 4, !tbaa !13
  %164 = icmp slt i32 %163, 0
  %.438 = select i1 %164, i32 2, i32 1
  %.not432 = icmp eq i32 %.1408465, 1
  br i1 %.not432, label %187, label %165

165:                                              ; preds = %.lr.ph467
  %166 = getelementptr inbounds %"class.std::complex", ptr %43, i64 %161
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #9
  %167 = mul nsw i32 %160, %1
  %168 = sext i32 %167 to i64
  %169 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %168
  %170 = call <2 x float> @_Z5cdotciPSt7complexIfEiS1_i(i32 noundef %160, ptr noundef %169, i32 noundef 1, ptr noundef nonnull %43, i32 noundef 1)
  store <2 x float> %170, ptr %26, align 8
  %171 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %166, ptr noundef nonnull align 4 dereferenceable(8) %26)
  store <2 x float> %171, ptr %166, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #9
  br i1 %164, label %172, label %180

172:                                              ; preds = %165
  %173 = zext nneg i32 %.1408465 to i64
  %174 = getelementptr inbounds %"class.std::complex", ptr %43, i64 %173
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #9
  %175 = mul nsw i32 %.1408465, %1
  %176 = sext i32 %175 to i64
  %177 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %176
  %178 = call <2 x float> @_Z5cdotciPSt7complexIfEiS1_i(i32 noundef %160, ptr noundef %177, i32 noundef 1, ptr noundef nonnull %43, i32 noundef 1)
  store <2 x float> %178, ptr %27, align 8
  %179 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %174, ptr noundef nonnull align 4 dereferenceable(8) %27)
  store <2 x float> %179, ptr %174, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #9
  br label %180

180:                                              ; preds = %172, %165
  %181 = load i32, ptr %162, align 4, !tbaa !13
  %182 = call i32 @llvm.abs.i32(i32 %181, i1 true)
  %.not433 = icmp eq i32 %182, %.1408465
  br i1 %.not433, label %187, label %183

183:                                              ; preds = %180
  %184 = load i64, ptr %166, align 4, !tbaa !5
  store i64 %184, ptr %11, align 8, !tbaa !5
  %185 = zext nneg i32 %182 to i64
  %gep463 = getelementptr %"class.std::complex", ptr %159, i64 %185
  %186 = load i64, ptr %gep463, align 4, !tbaa !5
  store i64 %186, ptr %166, align 4, !tbaa !5
  store i64 %184, ptr %gep463, align 4, !tbaa !5
  br label %187

187:                                              ; preds = %180, %183, %.lr.ph467
  %188 = add nuw nsw i32 %.438, %.1408465
  %.not425 = icmp sgt i32 %188, %2
  br i1 %.not425, label %._crit_edge468, label %.lr.ph467, !llvm.loop !16

._crit_edge468:                                   ; preds = %187, %._crit_edge461
  %189 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %2, ptr noundef nonnull %43, i32 noundef 1)
  %190 = fdiv float 1.000000e+00, %189
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %2, float noundef %190, ptr noundef nonnull %43, i32 noundef 1)
  br i1 %69, label %.lr.ph477, label %._crit_edge478

.lr.ph477:                                        ; preds = %._crit_edge468
  %191 = add i32 %1, 1
  %192 = getelementptr i8, ptr %43, i64 -8
  %193 = getelementptr i8, ptr %43, i64 -8
  br label %194

194:                                              ; preds = %.lr.ph477, %267
  %.2474 = phi i32 [ %2, %.lr.ph477 ], [ %268, %267 ]
  %.0414473 = phi float [ 1.000000e+00, %.lr.ph477 ], [ %.2416, %267 ]
  %195 = add nsw i32 %.2474, -1
  %196 = zext nneg i32 %195 to i64
  %197 = getelementptr inbounds i32, ptr %3, i64 %196
  %198 = load i32, ptr %197, align 4, !tbaa !13
  %199 = icmp slt i32 %198, 0
  %.439 = select i1 %199, i32 2, i32 1
  %.not429 = icmp eq i32 %.2474, %.439
  br i1 %.not429, label %221, label %200

200:                                              ; preds = %194
  %.439.neg488 = select i1 %199, i32 -2, i32 -1
  %201 = call i32 @llvm.abs.i32(i32 %198, i1 true)
  %202 = add nuw nsw i32 %.2474, 1
  %203 = add nsw i32 %202, %.439.neg488
  %.not430 = icmp eq i32 %201, %203
  br i1 %.not430, label %209, label %204

204:                                              ; preds = %200
  %205 = zext nneg i32 %203 to i64
  %gep470 = getelementptr %"class.std::complex", ptr %193, i64 %205
  %206 = load i64, ptr %gep470, align 4, !tbaa !5
  store i64 %206, ptr %11, align 8, !tbaa !5
  %207 = zext nneg i32 %201 to i64
  %gep472 = getelementptr %"class.std::complex", ptr %192, i64 %207
  %208 = load i64, ptr %gep472, align 4, !tbaa !5
  store i64 %208, ptr %gep470, align 4, !tbaa !5
  store i64 %206, ptr %gep472, align 4, !tbaa !5
  br label %209

209:                                              ; preds = %204, %200
  %210 = sub nsw i32 %.2474, %.439
  %211 = getelementptr inbounds %"class.std::complex", ptr %43, i64 %196
  %.sroa.016.0.copyload = load <2 x float>, ptr %211, align 4, !tbaa !5
  %212 = mul nsw i32 %195, %1
  %213 = sext i32 %212 to i64
  %214 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %213
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %210, <2 x float> %.sroa.016.0.copyload, ptr noundef %214, i32 noundef 1, ptr noundef nonnull %43, i32 noundef 1)
  br i1 %199, label %.thread, label %.critedge441

.thread:                                          ; preds = %209
  %215 = add nsw i32 %.2474, -2
  %216 = sext i32 %215 to i64
  %217 = getelementptr inbounds %"class.std::complex", ptr %43, i64 %216
  %.sroa.015.0.copyload = load <2 x float>, ptr %217, align 4, !tbaa !5
  %218 = mul nsw i32 %215, %1
  %219 = sext i32 %218 to i64
  %220 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %219
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %210, <2 x float> %.sroa.015.0.copyload, ptr noundef %220, i32 noundef 1, ptr noundef nonnull %43, i32 noundef 1)
  br label %241

221:                                              ; preds = %194
  br i1 %199, label %._crit_edge504, label %.critedge441

._crit_edge504:                                   ; preds = %221
  %.pre = mul nuw nsw i32 %195, %1
  %.pre505 = add nsw i32 %.2474, -2
  %.pre507 = sext i32 %.pre505 to i64
  br label %241

.critedge441:                                     ; preds = %209, %221
  %222 = mul i32 %195, %191
  %223 = sext i32 %222 to i64
  %224 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %223
  %.sroa.014.0.copyload = load <2 x float>, ptr %224, align 4, !tbaa !5
  %225 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.014.0.copyload)
  %226 = getelementptr inbounds %"class.std::complex", ptr %43, i64 %196
  %.sroa.013.0.copyload = load <2 x float>, ptr %226, align 4, !tbaa !5
  %227 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.013.0.copyload)
  %228 = fcmp olt float %225, %227
  br i1 %228, label %229, label %234

229:                                              ; preds = %.critedge441
  %.sroa.012.0.copyload = load <2 x float>, ptr %224, align 4, !tbaa !5
  %230 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.012.0.copyload)
  %.sroa.011.0.copyload = load <2 x float>, ptr %226, align 4, !tbaa !5
  %231 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.011.0.copyload)
  %232 = fdiv float %230, %231
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %2, float noundef %232, ptr noundef nonnull %43, i32 noundef 1)
  %233 = fmul float %.0414473, %232
  br label %234

234:                                              ; preds = %229, %.critedge441
  %.1415 = phi float [ %233, %229 ], [ %.0414473, %.critedge441 ]
  %.sroa.010.0.copyload = load <2 x float>, ptr %224, align 4, !tbaa !5
  %235 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.010.0.copyload)
  %236 = fcmp une float %235, 0.000000e+00
  br i1 %236, label %237, label %239

237:                                              ; preds = %234
  %238 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %226, ptr noundef nonnull align 4 dereferenceable(8) %224)
  store <2 x float> %238, ptr %226, align 4, !tbaa !5
  br label %267

239:                                              ; preds = %234
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #9
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %28, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %240 = load i64, ptr %28, align 8, !tbaa !5
  store i64 %240, ptr %226, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #9
  br label %267

241:                                              ; preds = %._crit_edge504, %.thread
  %.pre-phi508 = phi i64 [ %.pre507, %._crit_edge504 ], [ %216, %.thread ]
  %.pre-phi506 = phi i32 [ %.pre505, %._crit_edge504 ], [ %215, %.thread ]
  %.pre-phi = phi i32 [ %.pre, %._crit_edge504 ], [ %212, %.thread ]
  %242 = add nsw i32 %.pre-phi, %195
  %243 = sext i32 %242 to i64
  %244 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %243
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #9
  %245 = add nsw i32 %.pre-phi, %.pre-phi506
  %246 = sext i32 %245 to i64
  %247 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %246
  %248 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %247)
  store <2 x float> %248, ptr %29, align 8
  %249 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %244, ptr noundef nonnull align 4 dereferenceable(8) %29)
  store <2 x float> %249, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #9
  %250 = mul i32 %.pre-phi506, %191
  %251 = sext i32 %250 to i64
  %252 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %251
  %253 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %252, ptr noundef nonnull align 4 dereferenceable(8) %247)
  store <2 x float> %253, ptr %6, align 8, !tbaa !5
  %254 = getelementptr inbounds %"class.std::complex", ptr %43, i64 %196
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #9
  %255 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %247)
  store <2 x float> %255, ptr %30, align 8
  %256 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %254, ptr noundef nonnull align 4 dereferenceable(8) %30)
  store <2 x float> %256, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #9
  %257 = getelementptr inbounds %"class.std::complex", ptr %43, i64 %.pre-phi508
  %258 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %257, ptr noundef nonnull align 4 dereferenceable(8) %247)
  store <2 x float> %258, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %31) #9
  %259 = 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> %259, ptr %31, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %32) #9
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %32, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %260 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %31, ptr noundef nonnull align 4 dereferenceable(8) %32)
  store <2 x float> %260, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %34) #9
  %261 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %7)
  store <2 x float> %261, ptr %34, align 8
  %262 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %34, ptr noundef nonnull align 4 dereferenceable(8) %8)
  store <2 x float> %262, ptr %33, align 8
  %263 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %33, ptr noundef nonnull align 4 dereferenceable(8) %9)
  store <2 x float> %263, ptr %254, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %35) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %36) #9
  %264 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %5, ptr noundef nonnull align 4 dereferenceable(8) %8)
  store <2 x float> %264, ptr %36, align 8
  %265 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %36, ptr noundef nonnull align 4 dereferenceable(8) %7)
  store <2 x float> %265, ptr %35, align 8
  %266 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %35, ptr noundef nonnull align 4 dereferenceable(8) %9)
  store <2 x float> %266, ptr %257, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #9
  br label %267

267:                                              ; preds = %237, %239, %241
  %.2416 = phi float [ %.1415, %237 ], [ %.1415, %239 ], [ %.0414473, %241 ]
  %268 = sub nsw i32 %.2474, %.439
  %269 = icmp sgt i32 %268, 0
  br i1 %269, label %194, label %._crit_edge478, !llvm.loop !17

._crit_edge478:                                   ; preds = %267, %._crit_edge468
  %.0414.lcssa = phi float [ 1.000000e+00, %._crit_edge468 ], [ %.2416, %267 ]
  %270 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %2, ptr noundef nonnull %43, i32 noundef 1)
  %271 = fdiv float 1.000000e+00, %270
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %2, float noundef %271, ptr noundef nonnull %43, i32 noundef 1)
  br i1 %.not446510512, label %._crit_edge486, label %.lr.ph485.preheader

.lr.ph485.preheader:                              ; preds = %._crit_edge478
  %272 = getelementptr i8, ptr %43, i64 -8
  br label %.lr.ph485

.lr.ph485:                                        ; preds = %.lr.ph485.preheader, %300
  %.3483 = phi i32 [ %301, %300 ], [ 1, %.lr.ph485.preheader ]
  %273 = add nsw i32 %.3483, -1
  %274 = sext i32 %273 to i64
  %275 = getelementptr inbounds i32, ptr %3, i64 %274
  %276 = load i32, ptr %275, align 4, !tbaa !13
  %277 = icmp slt i32 %276, 0
  %.442 = select i1 %277, i32 2, i32 1
  %.not427 = icmp eq i32 %.3483, 1
  br i1 %.not427, label %300, label %278

278:                                              ; preds = %.lr.ph485
  %279 = getelementptr inbounds %"class.std::complex", ptr %43, i64 %274
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %37) #9
  %280 = mul nsw i32 %273, %1
  %281 = sext i32 %280 to i64
  %282 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %281
  %283 = call <2 x float> @_Z5cdotciPSt7complexIfEiS1_i(i32 noundef %273, ptr noundef %282, i32 noundef 1, ptr noundef nonnull %43, i32 noundef 1)
  store <2 x float> %283, ptr %37, align 8
  %284 = 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> %284, ptr %279, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %37) #9
  br i1 %277, label %285, label %293

285:                                              ; preds = %278
  %286 = zext nneg i32 %.3483 to i64
  %287 = getelementptr inbounds %"class.std::complex", ptr %43, i64 %286
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %38) #9
  %288 = mul nsw i32 %.3483, %1
  %289 = sext i32 %288 to i64
  %290 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %289
  %291 = call <2 x float> @_Z5cdotciPSt7complexIfEiS1_i(i32 noundef %273, ptr noundef %290, i32 noundef 1, ptr noundef nonnull %43, i32 noundef 1)
  store <2 x float> %291, ptr %38, align 8
  %292 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %287, ptr noundef nonnull align 4 dereferenceable(8) %38)
  store <2 x float> %292, ptr %287, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %38) #9
  br label %293

293:                                              ; preds = %285, %278
  %294 = load i32, ptr %275, align 4, !tbaa !13
  %295 = call i32 @llvm.abs.i32(i32 %294, i1 true)
  %.not428 = icmp eq i32 %295, %.3483
  br i1 %.not428, label %300, label %296

296:                                              ; preds = %293
  %297 = load i64, ptr %279, align 4, !tbaa !5
  store i64 %297, ptr %11, align 8, !tbaa !5
  %298 = zext nneg i32 %295 to i64
  %gep481 = getelementptr %"class.std::complex", ptr %272, i64 %298
  %299 = load i64, ptr %gep481, align 4, !tbaa !5
  store i64 %299, ptr %279, align 4, !tbaa !5
  store i64 %297, ptr %gep481, align 4, !tbaa !5
  br label %300

300:                                              ; preds = %293, %296, %.lr.ph485
  %301 = add nuw nsw i32 %.442, %.3483
  %.not426 = icmp sgt i32 %301, %2
  br i1 %.not426, label %._crit_edge486, label %.lr.ph485, !llvm.loop !18

._crit_edge486:                                   ; preds = %300, %._crit_edge478
  %302 = fmul float %.0414.lcssa, %271
  %303 = call noundef float @_Z6scasumiPSt7complexIfEi(i32 noundef %2, ptr noundef nonnull %43, i32 noundef 1)
  %304 = fdiv float 1.000000e+00, %303
  call void @_Z6csscalifPSt7complexIfEi(i32 noundef %2, float noundef %304, ptr noundef nonnull %43, i32 noundef 1)
  %305 = fcmp une float %.0.lcssa, 0.000000e+00
  %306 = fmul float %302, %304
  %307 = fdiv float %306, %.0.lcssa
  %.0413 = select i1 %305, float %307, float 0.000000e+00
  call void @_ZdaPv(ptr noundef nonnull %43) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  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
  ret float %.0413
}

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #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 uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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