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

; 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5chpslPSt7complexIfEiPiS1_(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #6 {
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"class.std::complex", align 4
  %10 = alloca %"class.std::complex", align 4
  %11 = alloca %"class.std::complex", align 4
  %12 = alloca %"class.std::complex", align 4
  %13 = alloca %"class.std::complex", align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca %"class.std::complex", align 4
  %23 = alloca %"class.std::complex", align 4
  %24 = alloca %"class.std::complex", align 4
  %25 = alloca %"class.std::complex", align 4
  %26 = alloca %"class.std::complex", align 4
  %27 = alloca %"class.std::complex", align 4
  %28 = alloca %"class.std::complex", align 4
  %29 = alloca %"class.std::complex", 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
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  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) #7
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %22, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %48 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %48, ptr %17, align 4, !tbaa !9
  %49 = load i32, ptr %6, align 4, !tbaa !9
  %50 = load i32, ptr %6, align 4, !tbaa !9
  %51 = sub nsw i32 %50, 1
  %52 = mul nsw i32 %49, %51
  %53 = sdiv i32 %52, 2
  store i32 %53, ptr %14, align 4, !tbaa !9
  br label %54

54:                                               ; preds = %307, %4
  %55 = load i32, ptr %17, align 4, !tbaa !9
  %56 = icmp slt i32 0, %55
  br i1 %56, label %57, label %308

57:                                               ; preds = %54
  %58 = load i32, ptr %14, align 4, !tbaa !9
  %59 = load i32, ptr %17, align 4, !tbaa !9
  %60 = add nsw i32 %58, %59
  store i32 %60, ptr %18, align 4, !tbaa !9
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  %62 = load i32, ptr %17, align 4, !tbaa !9
  %63 = sub nsw i32 %62, 1
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds i32, ptr %61, i64 %64
  %66 = load i32, ptr %65, align 4, !tbaa !9
  %67 = icmp sle i32 0, %66
  br i1 %67, label %68, label %140

68:                                               ; preds = %57
  %69 = load i32, ptr %17, align 4, !tbaa !9
  %70 = icmp ne i32 %69, 1
  br i1 %70, label %71, label %117

71:                                               ; preds = %68
  %72 = load ptr, ptr %7, align 8, !tbaa !5
  %73 = load i32, ptr %17, align 4, !tbaa !9
  %74 = sub nsw i32 %73, 1
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds i32, ptr %72, i64 %75
  %77 = load i32, ptr %76, align 4, !tbaa !9
  store i32 %77, ptr %21, align 4, !tbaa !9
  %78 = load i32, ptr %21, align 4, !tbaa !9
  %79 = load i32, ptr %17, align 4, !tbaa !9
  %80 = icmp ne i32 %78, %79
  br i1 %80, label %81, label %102

81:                                               ; preds = %71
  %82 = load ptr, ptr %8, align 8, !tbaa !5
  %83 = load i32, ptr %17, align 4, !tbaa !9
  %84 = sub nsw i32 %83, 1
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds %"class.std::complex", ptr %82, i64 %85
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 4 %86, i64 8, i1 false), !tbaa.struct !11
  %87 = load ptr, ptr %8, align 8, !tbaa !5
  %88 = load i32, ptr %21, align 4, !tbaa !9
  %89 = sub nsw i32 %88, 1
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds %"class.std::complex", ptr %87, i64 %90
  %92 = load ptr, ptr %8, align 8, !tbaa !5
  %93 = load i32, ptr %17, align 4, !tbaa !9
  %94 = sub nsw i32 %93, 1
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds %"class.std::complex", ptr %92, i64 %95
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %96, ptr align 4 %91, i64 8, i1 false), !tbaa.struct !11
  %97 = load ptr, ptr %8, align 8, !tbaa !5
  %98 = load i32, ptr %21, align 4, !tbaa !9
  %99 = sub nsw i32 %98, 1
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds %"class.std::complex", ptr %97, i64 %100
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %101, ptr align 4 %22, i64 8, i1 false), !tbaa.struct !11
  br label %102

102:                                              ; preds = %81, %71
  %103 = load i32, ptr %17, align 4, !tbaa !9
  %104 = sub nsw i32 %103, 1
  %105 = load ptr, ptr %8, align 8, !tbaa !5
  %106 = load i32, ptr %17, align 4, !tbaa !9
  %107 = sub nsw i32 %106, 1
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds %"class.std::complex", ptr %105, i64 %108
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %23, ptr align 4 %109, i64 8, i1 false), !tbaa.struct !11
  %110 = load ptr, ptr %5, align 8, !tbaa !5
  %111 = load i32, ptr %14, align 4, !tbaa !9
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds %"class.std::complex", ptr %110, i64 %112
  %114 = load ptr, ptr %8, align 8, !tbaa !5
  %115 = getelementptr inbounds %"class.std::complex", ptr %23, i32 0, i32 0
  %116 = load <2 x float>, ptr %115, align 4
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %104, <2 x float> %116, ptr noundef %113, i32 noundef 1, ptr noundef %114, i32 noundef 1)
  br label %117

117:                                              ; preds = %102, %68
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  %118 = load ptr, ptr %8, align 8, !tbaa !5
  %119 = load i32, ptr %17, align 4, !tbaa !9
  %120 = sub nsw i32 %119, 1
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds %"class.std::complex", ptr %118, i64 %121
  %123 = load ptr, ptr %5, align 8, !tbaa !5
  %124 = load i32, ptr %18, align 4, !tbaa !9
  %125 = sub nsw i32 %124, 1
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds %"class.std::complex", ptr %123, i64 %126
  %128 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %122, ptr noundef nonnull align 4 dereferenceable(8) %127)
  %129 = getelementptr inbounds %"class.std::complex", ptr %24, i32 0, i32 0
  store <2 x float> %128, ptr %129, align 4
  %130 = load ptr, ptr %8, align 8, !tbaa !5
  %131 = load i32, ptr %17, align 4, !tbaa !9
  %132 = sub nsw i32 %131, 1
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds %"class.std::complex", ptr %130, i64 %133
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %134, ptr align 4 %24, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  %135 = load i32, ptr %17, align 4, !tbaa !9
  %136 = sub nsw i32 %135, 1
  store i32 %136, ptr %17, align 4, !tbaa !9
  %137 = load i32, ptr %14, align 4, !tbaa !9
  %138 = load i32, ptr %17, align 4, !tbaa !9
  %139 = sub nsw i32 %137, %138
  store i32 %139, ptr %14, align 4, !tbaa !9
  br label %307

140:                                              ; preds = %57
  %141 = load i32, ptr %14, align 4, !tbaa !9
  %142 = load i32, ptr %17, align 4, !tbaa !9
  %143 = sub nsw i32 %142, 1
  %144 = sub nsw i32 %141, %143
  store i32 %144, ptr %15, align 4, !tbaa !9
  %145 = load i32, ptr %17, align 4, !tbaa !9
  %146 = icmp ne i32 %145, 2
  br i1 %146, label %147, label %209

147:                                              ; preds = %140
  %148 = load ptr, ptr %7, align 8, !tbaa !5
  %149 = load i32, ptr %17, align 4, !tbaa !9
  %150 = sub nsw i32 %149, 1
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds i32, ptr %148, i64 %151
  %153 = load i32, ptr %152, align 4, !tbaa !9
  %154 = call i32 @llvm.abs.i32(i32 %153, i1 true)
  store i32 %154, ptr %21, align 4, !tbaa !9
  %155 = load i32, ptr %21, align 4, !tbaa !9
  %156 = load i32, ptr %17, align 4, !tbaa !9
  %157 = sub nsw i32 %156, 1
  %158 = icmp ne i32 %155, %157
  br i1 %158, label %159, label %180

159:                                              ; preds = %147
  %160 = load ptr, ptr %8, align 8, !tbaa !5
  %161 = load i32, ptr %17, align 4, !tbaa !9
  %162 = sub nsw i32 %161, 2
  %163 = sext i32 %162 to i64
  %164 = getelementptr inbounds %"class.std::complex", ptr %160, i64 %163
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 4 %164, i64 8, i1 false), !tbaa.struct !11
  %165 = load ptr, ptr %8, align 8, !tbaa !5
  %166 = load i32, ptr %21, 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
  %170 = load ptr, ptr %8, align 8, !tbaa !5
  %171 = load i32, ptr %17, align 4, !tbaa !9
  %172 = sub nsw i32 %171, 2
  %173 = sext i32 %172 to i64
  %174 = getelementptr inbounds %"class.std::complex", ptr %170, i64 %173
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %174, ptr align 4 %169, i64 8, i1 false), !tbaa.struct !11
  %175 = load ptr, ptr %8, align 8, !tbaa !5
  %176 = load i32, ptr %21, align 4, !tbaa !9
  %177 = sub nsw i32 %176, 1
  %178 = sext i32 %177 to i64
  %179 = getelementptr inbounds %"class.std::complex", ptr %175, i64 %178
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %179, ptr align 4 %22, i64 8, i1 false), !tbaa.struct !11
  br label %180

180:                                              ; preds = %159, %147
  %181 = load i32, ptr %17, align 4, !tbaa !9
  %182 = sub nsw i32 %181, 2
  %183 = load ptr, ptr %8, align 8, !tbaa !5
  %184 = load i32, ptr %17, align 4, !tbaa !9
  %185 = sub nsw i32 %184, 1
  %186 = sext i32 %185 to i64
  %187 = getelementptr inbounds %"class.std::complex", ptr %183, i64 %186
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 4 %187, i64 8, i1 false), !tbaa.struct !11
  %188 = load ptr, ptr %5, align 8, !tbaa !5
  %189 = load i32, ptr %14, align 4, !tbaa !9
  %190 = sext i32 %189 to i64
  %191 = getelementptr inbounds %"class.std::complex", ptr %188, i64 %190
  %192 = load ptr, ptr %8, align 8, !tbaa !5
  %193 = getelementptr inbounds %"class.std::complex", ptr %25, i32 0, i32 0
  %194 = load <2 x float>, ptr %193, align 4
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %182, <2 x float> %194, ptr noundef %191, i32 noundef 1, ptr noundef %192, i32 noundef 1)
  %195 = load i32, ptr %17, align 4, !tbaa !9
  %196 = sub nsw i32 %195, 2
  %197 = load ptr, ptr %8, align 8, !tbaa !5
  %198 = load i32, ptr %17, align 4, !tbaa !9
  %199 = sub nsw i32 %198, 2
  %200 = sext i32 %199 to i64
  %201 = getelementptr inbounds %"class.std::complex", ptr %197, i64 %200
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 %201, i64 8, i1 false), !tbaa.struct !11
  %202 = load ptr, ptr %5, align 8, !tbaa !5
  %203 = load i32, ptr %15, align 4, !tbaa !9
  %204 = sext i32 %203 to i64
  %205 = getelementptr inbounds %"class.std::complex", ptr %202, i64 %204
  %206 = load ptr, ptr %8, align 8, !tbaa !5
  %207 = getelementptr inbounds %"class.std::complex", ptr %26, i32 0, i32 0
  %208 = load <2 x float>, ptr %207, align 4
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %196, <2 x float> %208, ptr noundef %205, i32 noundef 1, ptr noundef %206, i32 noundef 1)
  br label %209

209:                                              ; preds = %180, %140
  %210 = load i32, ptr %14, align 4, !tbaa !9
  %211 = load i32, ptr %17, align 4, !tbaa !9
  %212 = add nsw i32 %210, %211
  %213 = sub nsw i32 %212, 1
  store i32 %213, ptr %19, align 4, !tbaa !9
  %214 = load i32, ptr %14, align 4, !tbaa !9
  %215 = load i32, ptr %17, align 4, !tbaa !9
  %216 = add nsw i32 %214, %215
  store i32 %216, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  %217 = load ptr, ptr %5, align 8, !tbaa !5
  %218 = load i32, ptr %18, align 4, !tbaa !9
  %219 = sub nsw i32 %218, 1
  %220 = sext i32 %219 to i64
  %221 = getelementptr inbounds %"class.std::complex", ptr %217, i64 %220
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  %222 = load ptr, ptr %5, align 8, !tbaa !5
  %223 = load i32, ptr %19, align 4, !tbaa !9
  %224 = sub nsw i32 %223, 1
  %225 = sext i32 %224 to i64
  %226 = getelementptr inbounds %"class.std::complex", ptr %222, i64 %225
  %227 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %226)
  %228 = getelementptr inbounds %"class.std::complex", ptr %28, i32 0, i32 0
  store <2 x float> %227, ptr %228, align 4
  %229 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %221, ptr noundef nonnull align 4 dereferenceable(8) %28)
  %230 = getelementptr inbounds %"class.std::complex", ptr %27, i32 0, i32 0
  store <2 x float> %229, ptr %230, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %9, ptr align 4 %27, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  %231 = load i32, ptr %15, align 4, !tbaa !9
  %232 = load i32, ptr %17, align 4, !tbaa !9
  %233 = add nsw i32 %231, %232
  %234 = sub nsw i32 %233, 1
  store i32 %234, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  %235 = load ptr, ptr %5, align 8, !tbaa !5
  %236 = load i32, ptr %20, align 4, !tbaa !9
  %237 = sub nsw i32 %236, 1
  %238 = sext i32 %237 to i64
  %239 = getelementptr inbounds %"class.std::complex", ptr %235, i64 %238
  %240 = load ptr, ptr %5, align 8, !tbaa !5
  %241 = load i32, ptr %19, align 4, !tbaa !9
  %242 = sub nsw i32 %241, 1
  %243 = sext i32 %242 to i64
  %244 = getelementptr inbounds %"class.std::complex", ptr %240, i64 %243
  %245 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %239, ptr noundef nonnull align 4 dereferenceable(8) %244)
  %246 = getelementptr inbounds %"class.std::complex", ptr %29, i32 0, i32 0
  store <2 x float> %245, ptr %246, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %10, ptr align 4 %29, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  %247 = load ptr, ptr %8, align 8, !tbaa !5
  %248 = load i32, ptr %17, align 4, !tbaa !9
  %249 = sub nsw i32 %248, 1
  %250 = sext i32 %249 to i64
  %251 = getelementptr inbounds %"class.std::complex", ptr %247, i64 %250
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #7
  %252 = load ptr, ptr %5, align 8, !tbaa !5
  %253 = load i32, ptr %19, align 4, !tbaa !9
  %254 = sub nsw i32 %253, 1
  %255 = sext i32 %254 to i64
  %256 = getelementptr inbounds %"class.std::complex", ptr %252, i64 %255
  %257 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %256)
  %258 = getelementptr inbounds %"class.std::complex", ptr %31, i32 0, i32 0
  store <2 x float> %257, ptr %258, align 4
  %259 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %251, ptr noundef nonnull align 4 dereferenceable(8) %31)
  %260 = getelementptr inbounds %"class.std::complex", ptr %30, i32 0, i32 0
  store <2 x float> %259, ptr %260, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %11, ptr align 4 %30, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #7
  %261 = load ptr, ptr %8, align 8, !tbaa !5
  %262 = load i32, ptr %17, align 4, !tbaa !9
  %263 = sub nsw i32 %262, 2
  %264 = sext i32 %263 to i64
  %265 = getelementptr inbounds %"class.std::complex", ptr %261, i64 %264
  %266 = load ptr, ptr %5, align 8, !tbaa !5
  %267 = load i32, ptr %19, align 4, !tbaa !9
  %268 = sub nsw i32 %267, 1
  %269 = sext i32 %268 to i64
  %270 = getelementptr inbounds %"class.std::complex", ptr %266, i64 %269
  %271 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %265, ptr noundef nonnull align 4 dereferenceable(8) %270)
  %272 = getelementptr inbounds %"class.std::complex", ptr %32, i32 0, i32 0
  store <2 x float> %271, ptr %272, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %12, ptr align 4 %32, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #7
  %273 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(8) %10)
  %274 = getelementptr inbounds %"class.std::complex", ptr %34, i32 0, i32 0
  store <2 x float> %273, ptr %274, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #7
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %35, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %275 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %34, ptr noundef nonnull align 4 dereferenceable(8) %35)
  %276 = getelementptr inbounds %"class.std::complex", ptr %33, i32 0, i32 0
  store <2 x float> %275, ptr %276, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 4 %33, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #7
  %277 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %11)
  %278 = getelementptr inbounds %"class.std::complex", ptr %38, i32 0, i32 0
  store <2 x float> %277, ptr %278, align 4
  %279 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %38, ptr noundef nonnull align 4 dereferenceable(8) %12)
  %280 = getelementptr inbounds %"class.std::complex", ptr %37, i32 0, i32 0
  store <2 x float> %279, ptr %280, align 4
  %281 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %37, ptr noundef nonnull align 4 dereferenceable(8) %13)
  %282 = getelementptr inbounds %"class.std::complex", ptr %36, i32 0, i32 0
  store <2 x float> %281, ptr %282, align 4
  %283 = load ptr, ptr %8, align 8, !tbaa !5
  %284 = load i32, ptr %17, align 4, !tbaa !9
  %285 = sub nsw i32 %284, 1
  %286 = sext i32 %285 to i64
  %287 = getelementptr inbounds %"class.std::complex", ptr %283, i64 %286
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %287, ptr align 4 %36, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #7
  %288 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(8) %12)
  %289 = getelementptr inbounds %"class.std::complex", ptr %41, i32 0, i32 0
  store <2 x float> %288, ptr %289, align 4
  %290 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %41, ptr noundef nonnull align 4 dereferenceable(8) %11)
  %291 = getelementptr inbounds %"class.std::complex", ptr %40, i32 0, i32 0
  store <2 x float> %290, ptr %291, align 4
  %292 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %40, ptr noundef nonnull align 4 dereferenceable(8) %13)
  %293 = getelementptr inbounds %"class.std::complex", ptr %39, i32 0, i32 0
  store <2 x float> %292, ptr %293, align 4
  %294 = load ptr, ptr %8, align 8, !tbaa !5
  %295 = load i32, ptr %17, align 4, !tbaa !9
  %296 = sub nsw i32 %295, 2
  %297 = sext i32 %296 to i64
  %298 = getelementptr inbounds %"class.std::complex", ptr %294, i64 %297
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %298, ptr align 4 %39, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #7
  %299 = load i32, ptr %17, align 4, !tbaa !9
  %300 = sub nsw i32 %299, 2
  store i32 %300, ptr %17, align 4, !tbaa !9
  %301 = load i32, ptr %14, align 4, !tbaa !9
  %302 = load i32, ptr %17, align 4, !tbaa !9
  %303 = add nsw i32 %302, 1
  %304 = sub nsw i32 %301, %303
  %305 = load i32, ptr %17, align 4, !tbaa !9
  %306 = sub nsw i32 %304, %305
  store i32 %306, ptr %14, align 4, !tbaa !9
  br label %307

307:                                              ; preds = %209, %117
  br label %54, !llvm.loop !13

308:                                              ; preds = %54
  store i32 1, ptr %17, align 4, !tbaa !9
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %309

309:                                              ; preds = %471, %308
  %310 = load i32, ptr %17, align 4, !tbaa !9
  %311 = load i32, ptr %6, align 4, !tbaa !9
  %312 = icmp sle i32 %310, %311
  br i1 %312, label %313, label %472

313:                                              ; preds = %309
  %314 = load ptr, ptr %7, align 8, !tbaa !5
  %315 = load i32, ptr %17, align 4, !tbaa !9
  %316 = sub nsw i32 %315, 1
  %317 = sext i32 %316 to i64
  %318 = getelementptr inbounds i32, ptr %314, i64 %317
  %319 = load i32, ptr %318, align 4, !tbaa !9
  %320 = icmp sle i32 0, %319
  br i1 %320, label %321, label %383

321:                                              ; preds = %313
  %322 = load i32, ptr %17, align 4, !tbaa !9
  %323 = icmp ne i32 %322, 1
  br i1 %323, label %324, label %377

324:                                              ; preds = %321
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #7
  %325 = load ptr, ptr %8, align 8, !tbaa !5
  %326 = load i32, ptr %17, align 4, !tbaa !9
  %327 = sub nsw i32 %326, 1
  %328 = sext i32 %327 to i64
  %329 = getelementptr inbounds %"class.std::complex", ptr %325, i64 %328
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #7
  %330 = load i32, ptr %17, align 4, !tbaa !9
  %331 = sub nsw i32 %330, 1
  %332 = load ptr, ptr %5, align 8, !tbaa !5
  %333 = load i32, ptr %14, align 4, !tbaa !9
  %334 = sext i32 %333 to i64
  %335 = getelementptr inbounds %"class.std::complex", ptr %332, i64 %334
  %336 = load ptr, ptr %8, align 8, !tbaa !5
  %337 = call <2 x float> @_Z5cdotciPSt7complexIfEiS1_i(i32 noundef %331, ptr noundef %335, i32 noundef 1, ptr noundef %336, i32 noundef 1)
  %338 = getelementptr inbounds %"class.std::complex", ptr %43, i32 0, i32 0
  store <2 x float> %337, ptr %338, align 4
  %339 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %329, ptr noundef nonnull align 4 dereferenceable(8) %43)
  %340 = getelementptr inbounds %"class.std::complex", ptr %42, i32 0, i32 0
  store <2 x float> %339, ptr %340, align 4
  %341 = load ptr, ptr %8, align 8, !tbaa !5
  %342 = load i32, ptr %17, align 4, !tbaa !9
  %343 = sub nsw i32 %342, 1
  %344 = sext i32 %343 to i64
  %345 = getelementptr inbounds %"class.std::complex", ptr %341, i64 %344
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %345, ptr align 4 %42, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #7
  %346 = load ptr, ptr %7, align 8, !tbaa !5
  %347 = load i32, ptr %17, align 4, !tbaa !9
  %348 = sub nsw i32 %347, 1
  %349 = sext i32 %348 to i64
  %350 = getelementptr inbounds i32, ptr %346, i64 %349
  %351 = load i32, ptr %350, align 4, !tbaa !9
  store i32 %351, ptr %21, align 4, !tbaa !9
  %352 = load i32, ptr %21, align 4, !tbaa !9
  %353 = load i32, ptr %17, align 4, !tbaa !9
  %354 = icmp ne i32 %352, %353
  br i1 %354, label %355, label %376

355:                                              ; preds = %324
  %356 = load ptr, ptr %8, align 8, !tbaa !5
  %357 = load i32, ptr %17, align 4, !tbaa !9
  %358 = sub nsw i32 %357, 1
  %359 = sext i32 %358 to i64
  %360 = getelementptr inbounds %"class.std::complex", ptr %356, i64 %359
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 4 %360, i64 8, i1 false), !tbaa.struct !11
  %361 = load ptr, ptr %8, align 8, !tbaa !5
  %362 = load i32, ptr %21, align 4, !tbaa !9
  %363 = sub nsw i32 %362, 1
  %364 = sext i32 %363 to i64
  %365 = getelementptr inbounds %"class.std::complex", ptr %361, i64 %364
  %366 = load ptr, ptr %8, align 8, !tbaa !5
  %367 = load i32, ptr %17, align 4, !tbaa !9
  %368 = sub nsw i32 %367, 1
  %369 = sext i32 %368 to i64
  %370 = getelementptr inbounds %"class.std::complex", ptr %366, i64 %369
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %370, ptr align 4 %365, i64 8, i1 false), !tbaa.struct !11
  %371 = load ptr, ptr %8, align 8, !tbaa !5
  %372 = load i32, ptr %21, align 4, !tbaa !9
  %373 = sub nsw i32 %372, 1
  %374 = sext i32 %373 to i64
  %375 = getelementptr inbounds %"class.std::complex", ptr %371, i64 %374
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %375, ptr align 4 %22, i64 8, i1 false), !tbaa.struct !11
  br label %376

376:                                              ; preds = %355, %324
  br label %377

377:                                              ; preds = %376, %321
  %378 = load i32, ptr %14, align 4, !tbaa !9
  %379 = load i32, ptr %17, align 4, !tbaa !9
  %380 = add nsw i32 %378, %379
  store i32 %380, ptr %14, align 4, !tbaa !9
  %381 = load i32, ptr %17, align 4, !tbaa !9
  %382 = add nsw i32 %381, 1
  store i32 %382, ptr %17, align 4, !tbaa !9
  br label %471

383:                                              ; preds = %313
  %384 = load i32, ptr %17, align 4, !tbaa !9
  %385 = icmp ne i32 %384, 1
  br i1 %385, label %386, label %462

386:                                              ; preds = %383
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #7
  %387 = load ptr, ptr %8, align 8, !tbaa !5
  %388 = load i32, ptr %17, align 4, !tbaa !9
  %389 = sub nsw i32 %388, 1
  %390 = sext i32 %389 to i64
  %391 = getelementptr inbounds %"class.std::complex", ptr %387, i64 %390
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #7
  %392 = load i32, ptr %17, align 4, !tbaa !9
  %393 = sub nsw i32 %392, 1
  %394 = load ptr, ptr %5, align 8, !tbaa !5
  %395 = load i32, ptr %14, align 4, !tbaa !9
  %396 = sext i32 %395 to i64
  %397 = getelementptr inbounds %"class.std::complex", ptr %394, i64 %396
  %398 = load ptr, ptr %8, align 8, !tbaa !5
  %399 = call <2 x float> @_Z5cdotciPSt7complexIfEiS1_i(i32 noundef %393, ptr noundef %397, i32 noundef 1, ptr noundef %398, i32 noundef 1)
  %400 = getelementptr inbounds %"class.std::complex", ptr %45, i32 0, i32 0
  store <2 x float> %399, ptr %400, align 4
  %401 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %391, ptr noundef nonnull align 4 dereferenceable(8) %45)
  %402 = getelementptr inbounds %"class.std::complex", ptr %44, i32 0, i32 0
  store <2 x float> %401, ptr %402, align 4
  %403 = load ptr, ptr %8, align 8, !tbaa !5
  %404 = load i32, ptr %17, align 4, !tbaa !9
  %405 = sub nsw i32 %404, 1
  %406 = sext i32 %405 to i64
  %407 = getelementptr inbounds %"class.std::complex", ptr %403, i64 %406
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %407, ptr align 4 %44, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #7
  %408 = load i32, ptr %14, align 4, !tbaa !9
  %409 = load i32, ptr %17, align 4, !tbaa !9
  %410 = add nsw i32 %408, %409
  store i32 %410, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #7
  %411 = load ptr, ptr %8, align 8, !tbaa !5
  %412 = load i32, ptr %17, align 4, !tbaa !9
  %413 = sext i32 %412 to i64
  %414 = getelementptr inbounds %"class.std::complex", ptr %411, i64 %413
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #7
  %415 = load i32, ptr %17, align 4, !tbaa !9
  %416 = sub nsw i32 %415, 1
  %417 = load ptr, ptr %5, align 8, !tbaa !5
  %418 = load i32, ptr %16, align 4, !tbaa !9
  %419 = sext i32 %418 to i64
  %420 = getelementptr inbounds %"class.std::complex", ptr %417, i64 %419
  %421 = load ptr, ptr %8, align 8, !tbaa !5
  %422 = call <2 x float> @_Z5cdotciPSt7complexIfEiS1_i(i32 noundef %416, ptr noundef %420, i32 noundef 1, ptr noundef %421, i32 noundef 1)
  %423 = getelementptr inbounds %"class.std::complex", ptr %47, i32 0, i32 0
  store <2 x float> %422, ptr %423, align 4
  %424 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %414, ptr noundef nonnull align 4 dereferenceable(8) %47)
  %425 = getelementptr inbounds %"class.std::complex", ptr %46, i32 0, i32 0
  store <2 x float> %424, ptr %425, align 4
  %426 = load ptr, ptr %8, align 8, !tbaa !5
  %427 = load i32, ptr %17, align 4, !tbaa !9
  %428 = sext i32 %427 to i64
  %429 = getelementptr inbounds %"class.std::complex", ptr %426, i64 %428
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %429, ptr align 4 %46, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #7
  %430 = load ptr, ptr %7, align 8, !tbaa !5
  %431 = load i32, ptr %17, align 4, !tbaa !9
  %432 = sub nsw i32 %431, 1
  %433 = sext i32 %432 to i64
  %434 = getelementptr inbounds i32, ptr %430, i64 %433
  %435 = load i32, ptr %434, align 4, !tbaa !9
  %436 = call i32 @llvm.abs.i32(i32 %435, i1 true)
  store i32 %436, ptr %21, align 4, !tbaa !9
  %437 = load i32, ptr %21, align 4, !tbaa !9
  %438 = load i32, ptr %17, align 4, !tbaa !9
  %439 = icmp ne i32 %437, %438
  br i1 %439, label %440, label %461

440:                                              ; preds = %386
  %441 = load ptr, ptr %8, align 8, !tbaa !5
  %442 = load i32, ptr %17, align 4, !tbaa !9
  %443 = sub nsw i32 %442, 1
  %444 = sext i32 %443 to i64
  %445 = getelementptr inbounds %"class.std::complex", ptr %441, i64 %444
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 4 %445, i64 8, i1 false), !tbaa.struct !11
  %446 = load ptr, ptr %8, align 8, !tbaa !5
  %447 = load i32, ptr %21, align 4, !tbaa !9
  %448 = sub nsw i32 %447, 1
  %449 = sext i32 %448 to i64
  %450 = getelementptr inbounds %"class.std::complex", ptr %446, i64 %449
  %451 = load ptr, ptr %8, align 8, !tbaa !5
  %452 = load i32, ptr %17, align 4, !tbaa !9
  %453 = sub nsw i32 %452, 1
  %454 = sext i32 %453 to i64
  %455 = getelementptr inbounds %"class.std::complex", ptr %451, i64 %454
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %455, ptr align 4 %450, i64 8, i1 false), !tbaa.struct !11
  %456 = load ptr, ptr %8, align 8, !tbaa !5
  %457 = load i32, ptr %21, align 4, !tbaa !9
  %458 = sub nsw i32 %457, 1
  %459 = sext i32 %458 to i64
  %460 = getelementptr inbounds %"class.std::complex", ptr %456, i64 %459
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %460, ptr align 4 %22, i64 8, i1 false), !tbaa.struct !11
  br label %461

461:                                              ; preds = %440, %386
  br label %462

462:                                              ; preds = %461, %383
  %463 = load i32, ptr %14, align 4, !tbaa !9
  %464 = load i32, ptr %17, align 4, !tbaa !9
  %465 = add nsw i32 %463, %464
  %466 = load i32, ptr %17, align 4, !tbaa !9
  %467 = add nsw i32 %465, %466
  %468 = add nsw i32 %467, 1
  store i32 %468, ptr %14, align 4, !tbaa !9
  %469 = load i32, ptr %17, align 4, !tbaa !9
  %470 = add nsw i32 %469, 2
  store i32 %470, ptr %17, align 4, !tbaa !9
  br label %471

471:                                              ; preds = %462, %377
  br label %309, !llvm.loop !15

472:                                              ; preds = %309
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  ret void
}

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 nounwind willreturn memory(argmem: readwrite) }
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 = { "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 nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }

!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}


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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5chpslPSt7complexIfEiPiS1_(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr noundef %3) local_unnamed_addr #5 {
  %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 4
  %15 = alloca %"class.std::complex", align 8
  %16 = alloca %"class.std::complex", align 8
  %17 = alloca %"class.std::complex", align 8
  %18 = alloca %"class.std::complex", align 8
  %19 = alloca %"class.std::complex", align 8
  %20 = alloca %"class.std::complex", align 8
  %21 = alloca %"class.std::complex", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  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) #6
  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) #6
  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) #6
  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) #6
  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) #6
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %invariant.gep = getelementptr i8, ptr %3, i64 -16
  %invariant.gep185 = getelementptr i8, ptr %0, i64 -8
  %invariant.gep187 = getelementptr i8, ptr %0, i64 -16
  %invariant.gep191 = getelementptr i8, ptr %3, i64 -8
  %22 = icmp sgt i32 %1, 0
  br i1 %22, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %4
  %23 = add nsw i32 %1, -1
  %24 = mul nsw i32 %23, %1
  %25 = lshr i32 %24, 1
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %87
  %.0196 = phi i32 [ %.1, %87 ], [ %25, %.lr.ph.preheader ]
  %.0168195 = phi i32 [ %.1169, %87 ], [ %1, %.lr.ph.preheader ]
  %26 = add nsw i32 %.0196, %.0168195
  %27 = add nsw i32 %.0168195, -1
  %28 = zext nneg i32 %27 to i64
  %29 = getelementptr inbounds i32, ptr %2, i64 %28
  %30 = load i32, ptr %29, align 4, !tbaa !5
  %31 = icmp sgt i32 %30, -1
  br i1 %31, label %32, label %47

32:                                               ; preds = %.lr.ph
  %.not183 = icmp eq i32 %.0168195, 1
  br i1 %.not183, label %43, label %33

33:                                               ; preds = %32
  %.not184 = icmp eq i32 %30, %.0168195
  br i1 %.not184, label %39, label %34

34:                                               ; preds = %33
  %35 = getelementptr inbounds %"class.std::complex", ptr %3, i64 %28
  %36 = load i64, ptr %35, align 4, !tbaa !9
  store i64 %36, ptr %10, align 8, !tbaa !9
  %37 = zext nneg i32 %30 to i64
  %gep192 = getelementptr %"class.std::complex", ptr %invariant.gep191, i64 %37
  %38 = load i64, ptr %gep192, align 4, !tbaa !9
  store i64 %38, ptr %35, align 4, !tbaa !9
  store i64 %36, ptr %gep192, align 4, !tbaa !9
  br label %39

39:                                               ; preds = %34, %33
  %40 = getelementptr inbounds %"class.std::complex", ptr %3, i64 %28
  %.sroa.013.0.copyload = load <2 x float>, ptr %40, align 4, !tbaa !9
  %41 = sext i32 %.0196 to i64
  %42 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %41
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %27, <2 x float> %.sroa.013.0.copyload, ptr noundef %42, i32 noundef 1, ptr noundef %3, i32 noundef 1)
  br label %43

43:                                               ; preds = %39, %32
  %44 = getelementptr inbounds %"class.std::complex", ptr %3, i64 %28
  %45 = sext i32 %26 to i64
  %gep194 = getelementptr %"class.std::complex", ptr %invariant.gep185, i64 %45
  %46 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %44, ptr noundef nonnull align 4 dereferenceable(8) %gep194)
  store <2 x float> %46, ptr %44, align 4, !tbaa !9
  br label %87

47:                                               ; preds = %.lr.ph
  %48 = sub nsw i32 %.0196, %27
  %.not181 = icmp eq i32 %.0168195, 2
  br i1 %.not181, label %._crit_edge205, label %49

49:                                               ; preds = %47
  %50 = sub nsw i32 0, %30
  %.not182 = icmp eq i32 %27, %50
  br i1 %.not182, label %58, label %51

51:                                               ; preds = %49
  %52 = zext nneg i32 %.0168195 to i64
  %gep = getelementptr %"class.std::complex", ptr %invariant.gep, i64 %52
  %53 = load i64, ptr %gep, align 4, !tbaa !9
  store i64 %53, ptr %10, align 8, !tbaa !9
  %54 = xor i32 %30, -1
  %55 = zext nneg i32 %54 to i64
  %56 = getelementptr inbounds %"class.std::complex", ptr %3, i64 %55
  %57 = load i64, ptr %56, align 4, !tbaa !9
  store i64 %57, ptr %gep, align 4, !tbaa !9
  store i64 %53, ptr %56, align 4, !tbaa !9
  br label %58

58:                                               ; preds = %51, %49
  %59 = add nsw i32 %.0168195, -2
  %60 = getelementptr inbounds %"class.std::complex", ptr %3, i64 %28
  %.sroa.011.0.copyload = load <2 x float>, ptr %60, align 4, !tbaa !9
  %61 = sext i32 %.0196 to i64
  %62 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %61
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %59, <2 x float> %.sroa.011.0.copyload, ptr noundef %62, i32 noundef 1, ptr noundef %3, i32 noundef 1)
  %63 = sext i32 %59 to i64
  %64 = getelementptr inbounds %"class.std::complex", ptr %3, i64 %63
  %.sroa.010.0.copyload = load <2 x float>, ptr %64, align 4, !tbaa !9
  %65 = sext i32 %48 to i64
  %66 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %65
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %59, <2 x float> %.sroa.010.0.copyload, ptr noundef %66, i32 noundef 1, ptr noundef %3, i32 noundef 1)
  br label %._crit_edge205

._crit_edge205:                                   ; preds = %47, %58
  %.pre-phi207 = phi i64 [ %63, %58 ], [ 0, %47 ]
  %.pre-phi = phi i32 [ %59, %58 ], [ 0, %47 ]
  %67 = sext i32 %26 to i64
  %gep186 = getelementptr %"class.std::complex", ptr %invariant.gep185, i64 %67
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %gep188 = getelementptr %"class.std::complex", ptr %invariant.gep187, i64 %67
  %68 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %gep188)
  store <2 x float> %68, ptr %11, align 8
  %69 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %gep186, ptr noundef nonnull align 4 dereferenceable(8) %11)
  store <2 x float> %69, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  %70 = add nsw i32 %48, %.0168195
  %71 = sext i32 %70 to i64
  %gep190 = getelementptr %"class.std::complex", ptr %invariant.gep187, i64 %71
  %72 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %gep190, ptr noundef nonnull align 4 dereferenceable(8) %gep188)
  store <2 x float> %72, ptr %6, align 8, !tbaa !9
  %73 = getelementptr inbounds %"class.std::complex", ptr %3, i64 %28
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  %74 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %gep188)
  store <2 x float> %74, ptr %12, align 8
  %75 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %73, ptr noundef nonnull align 4 dereferenceable(8) %12)
  store <2 x float> %75, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  %76 = getelementptr inbounds %"class.std::complex", ptr %3, i64 %.pre-phi207
  %77 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %76, ptr noundef nonnull align 4 dereferenceable(8) %gep188)
  store <2 x float> %77, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  %78 = 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> %78, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %79 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %14)
  store <2 x float> %79, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #6
  %80 = 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> %80, ptr %16, align 8
  %81 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(8) %8)
  store <2 x float> %81, ptr %15, align 8
  %82 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef nonnull align 4 dereferenceable(8) %9)
  store <2 x float> %82, ptr %73, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #6
  %83 = 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> %83, ptr %18, align 8
  %84 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(8) %7)
  store <2 x float> %84, ptr %17, align 8
  %85 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(8) %9)
  store <2 x float> %85, ptr %76, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #6
  %86 = add i32 %27, %.pre-phi
  br label %87

87:                                               ; preds = %._crit_edge205, %43
  %.1169 = phi i32 [ %27, %43 ], [ %.pre-phi, %._crit_edge205 ]
  %.pn = phi i32 [ %27, %43 ], [ %86, %._crit_edge205 ]
  %.1 = sub i32 %.0196, %.pn
  %88 = icmp sgt i32 %.1169, 0
  br i1 %88, label %.lr.ph, label %.lr.ph204, !llvm.loop !10

.lr.ph204:                                        ; preds = %87, %130
  %.2203 = phi i32 [ %.3, %130 ], [ 0, %87 ]
  %.2170202 = phi i32 [ %131, %130 ], [ 1, %87 ]
  %89 = add nsw i32 %.2170202, -1
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds i32, ptr %2, i64 %90
  %92 = load i32, ptr %91, align 4, !tbaa !5
  %93 = icmp sgt i32 %92, -1
  %.not179 = icmp eq i32 %.2170202, 1
  br i1 %93, label %94, label %107

94:                                               ; preds = %.lr.ph204
  br i1 %.not179, label %105, label %95

95:                                               ; preds = %94
  %96 = getelementptr inbounds %"class.std::complex", ptr %3, i64 %90
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #6
  %97 = sext i32 %.2203 to i64
  %98 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %97
  %99 = call <2 x float> @_Z5cdotciPSt7complexIfEiS1_i(i32 noundef %89, ptr noundef %98, i32 noundef 1, ptr noundef %3, i32 noundef 1)
  store <2 x float> %99, ptr %19, align 8
  %100 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %96, ptr noundef nonnull align 4 dereferenceable(8) %19)
  store <2 x float> %100, ptr %96, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #6
  %101 = load i32, ptr %91, align 4, !tbaa !5
  %.not180 = icmp eq i32 %101, %.2170202
  br i1 %.not180, label %105, label %102

102:                                              ; preds = %95
  store <2 x float> %100, ptr %10, align 8, !tbaa !9
  %103 = sext i32 %101 to i64
  %gep200 = getelementptr %"class.std::complex", ptr %invariant.gep191, i64 %103
  %104 = load i64, ptr %gep200, align 4, !tbaa !9
  store i64 %104, ptr %96, align 4, !tbaa !9
  store <2 x float> %100, ptr %gep200, align 4, !tbaa !9
  br label %105

105:                                              ; preds = %95, %102, %94
  %106 = add nsw i32 %.2203, %.2170202
  br label %130

107:                                              ; preds = %.lr.ph204
  br i1 %.not179, label %127, label %108

108:                                              ; preds = %107
  %109 = getelementptr inbounds %"class.std::complex", ptr %3, i64 %90
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #6
  %110 = sext i32 %.2203 to i64
  %111 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %110
  %112 = call <2 x float> @_Z5cdotciPSt7complexIfEiS1_i(i32 noundef %89, ptr noundef %111, i32 noundef 1, ptr noundef %3, i32 noundef 1)
  store <2 x float> %112, ptr %20, align 8
  %113 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %109, ptr noundef nonnull align 4 dereferenceable(8) %20)
  store <2 x float> %113, ptr %109, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  %114 = add nsw i32 %.2203, %.2170202
  %115 = zext nneg i32 %.2170202 to i64
  %116 = getelementptr inbounds %"class.std::complex", ptr %3, i64 %115
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #6
  %117 = sext i32 %114 to i64
  %118 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %117
  %119 = call <2 x float> @_Z5cdotciPSt7complexIfEiS1_i(i32 noundef %89, ptr noundef %118, i32 noundef 1, ptr noundef %3, i32 noundef 1)
  store <2 x float> %119, ptr %21, align 8
  %120 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %116, ptr noundef nonnull align 4 dereferenceable(8) %21)
  store <2 x float> %120, ptr %116, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #6
  %121 = load i32, ptr %91, align 4, !tbaa !5
  %122 = call i32 @llvm.abs.i32(i32 %121, i1 true)
  %.not178 = icmp eq i32 %122, %.2170202
  br i1 %.not178, label %127, label %123

123:                                              ; preds = %108
  %124 = load i64, ptr %109, align 4, !tbaa !9
  store i64 %124, ptr %10, align 8, !tbaa !9
  %125 = zext nneg i32 %122 to i64
  %gep198 = getelementptr %"class.std::complex", ptr %invariant.gep191, i64 %125
  %126 = load i64, ptr %gep198, align 4, !tbaa !9
  store i64 %126, ptr %109, align 4, !tbaa !9
  store i64 %124, ptr %gep198, align 4, !tbaa !9
  br label %127

127:                                              ; preds = %108, %123, %107
  %reass.add = shl nuw i32 %.2170202, 1
  %128 = or disjoint i32 %reass.add, 1
  %129 = add i32 %128, %.2203
  br label %130

130:                                              ; preds = %127, %105
  %.sink = phi i32 [ 2, %127 ], [ 1, %105 ]
  %.3 = phi i32 [ %129, %127 ], [ %106, %105 ]
  %131 = add nuw nsw i32 %.2170202, %.sink
  %.not = icmp sgt i32 %131, %1
  br i1 %.not, label %._crit_edge, label %.lr.ph204, !llvm.loop !12

._crit_edge:                                      ; preds = %130, %4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  ret void
}

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


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