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

; 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

; 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

; 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: mustprogress uwtable
define dso_local void @_Z5cptsliPSt7complexIfES1_S1_(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #4 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca %"class.std::complex", align 4
  %17 = alloca %"class.std::complex", align 4
  %18 = alloca %"class.std::complex", align 4
  %19 = alloca i32, align 4
  %20 = alloca %"class.std::complex", align 4
  %21 = alloca %"class.std::complex", 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
  %48 = alloca %"class.std::complex", align 4
  store i32 %0, ptr %5, align 4, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !9
  store ptr %2, ptr %7, align 8, !tbaa !9
  store ptr %3, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %17, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %49 = load i32, ptr %5, align 4, !tbaa !5
  %50 = icmp eq i32 %49, 1
  br i1 %50, label %51, label %60

51:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %52 = load ptr, ptr %8, align 8, !tbaa !9
  %53 = getelementptr inbounds %"class.std::complex", ptr %52, i64 0
  %54 = load ptr, ptr %6, align 8, !tbaa !9
  %55 = getelementptr inbounds %"class.std::complex", ptr %54, i64 0
  %56 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %53, ptr noundef nonnull align 4 dereferenceable(8) %55)
  %57 = getelementptr inbounds %"class.std::complex", ptr %18, i32 0, i32 0
  store <2 x float> %56, ptr %57, align 4
  %58 = load ptr, ptr %8, align 8, !tbaa !9
  %59 = getelementptr inbounds %"class.std::complex", ptr %58, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %59, ptr align 4 %18, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  store i32 1, ptr %19, align 4
  br label %358

60:                                               ; preds = %4
  %61 = load i32, ptr %5, align 4, !tbaa !5
  %62 = sub nsw i32 %61, 1
  store i32 %62, ptr %14, align 4, !tbaa !5
  %63 = load i32, ptr %5, align 4, !tbaa !5
  %64 = sub nsw i32 %63, 1
  %65 = sdiv i32 %64, 2
  store i32 %65, ptr %15, align 4, !tbaa !5
  %66 = load i32, ptr %5, align 4, !tbaa !5
  %67 = icmp ne i32 %66, 2
  br i1 %67, label %68, label %180

68:                                               ; preds = %60
  %69 = load i32, ptr %5, align 4, !tbaa !5
  %70 = sub nsw i32 %69, 1
  store i32 %70, ptr %10, align 4, !tbaa !5
  store i32 1, ptr %9, align 4, !tbaa !5
  br label %71

71:                                               ; preds = %176, %68
  %72 = load i32, ptr %9, align 4, !tbaa !5
  %73 = load i32, ptr %15, align 4, !tbaa !5
  %74 = icmp sle i32 %72, %73
  br i1 %74, label %75, label %179

75:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %76 = load ptr, ptr %7, align 8, !tbaa !9
  %77 = load i32, ptr %9, align 4, !tbaa !5
  %78 = sub nsw i32 %77, 1
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds %"class.std::complex", ptr %76, i64 %79
  %81 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %80)
  %82 = getelementptr inbounds %"class.std::complex", ptr %21, i32 0, i32 0
  store <2 x float> %81, ptr %82, align 4
  %83 = load ptr, ptr %6, align 8, !tbaa !9
  %84 = load i32, ptr %9, align 4, !tbaa !5
  %85 = sub nsw i32 %84, 1
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds %"class.std::complex", ptr %83, i64 %86
  %88 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %21, ptr noundef nonnull align 4 dereferenceable(8) %87)
  %89 = getelementptr inbounds %"class.std::complex", ptr %20, i32 0, i32 0
  store <2 x float> %88, ptr %89, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %16, ptr align 4 %20, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  %90 = load ptr, ptr %6, align 8, !tbaa !9
  %91 = load i32, ptr %9, align 4, !tbaa !5
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds %"class.std::complex", ptr %90, i64 %92
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %94 = load ptr, ptr %7, align 8, !tbaa !9
  %95 = load i32, ptr %9, align 4, !tbaa !5
  %96 = sub nsw i32 %95, 1
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds %"class.std::complex", ptr %94, i64 %97
  %99 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(8) %98)
  %100 = getelementptr inbounds %"class.std::complex", ptr %23, i32 0, i32 0
  store <2 x float> %99, ptr %100, align 4
  %101 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %93, ptr noundef nonnull align 4 dereferenceable(8) %23)
  %102 = getelementptr inbounds %"class.std::complex", ptr %22, i32 0, i32 0
  store <2 x float> %101, ptr %102, align 4
  %103 = load ptr, ptr %6, align 8, !tbaa !9
  %104 = load i32, ptr %9, align 4, !tbaa !5
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds %"class.std::complex", ptr %103, i64 %105
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %106, ptr align 4 %22, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %107 = load ptr, ptr %8, align 8, !tbaa !9
  %108 = load i32, ptr %9, align 4, !tbaa !5
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds %"class.std::complex", ptr %107, i64 %109
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  %111 = load ptr, ptr %8, align 8, !tbaa !9
  %112 = load i32, ptr %9, align 4, !tbaa !5
  %113 = sub nsw i32 %112, 1
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds %"class.std::complex", ptr %111, i64 %114
  %116 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(8) %115)
  %117 = getelementptr inbounds %"class.std::complex", ptr %25, i32 0, i32 0
  store <2 x float> %116, ptr %117, align 4
  %118 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %110, ptr noundef nonnull align 4 dereferenceable(8) %25)
  %119 = getelementptr inbounds %"class.std::complex", ptr %24, i32 0, i32 0
  store <2 x float> %118, ptr %119, align 4
  %120 = load ptr, ptr %8, align 8, !tbaa !9
  %121 = load i32, ptr %9, align 4, !tbaa !5
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds %"class.std::complex", ptr %120, i64 %122
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %123, ptr align 4 %24, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %124 = load ptr, ptr %7, align 8, !tbaa !9
  %125 = load i32, ptr %10, align 4, !tbaa !5
  %126 = sub nsw i32 %125, 1
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds %"class.std::complex", ptr %124, i64 %127
  %129 = load ptr, ptr %6, align 8, !tbaa !9
  %130 = load i32, ptr %10, align 4, !tbaa !5
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds %"class.std::complex", ptr %129, i64 %131
  %133 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %128, ptr noundef nonnull align 4 dereferenceable(8) %132)
  %134 = getelementptr inbounds %"class.std::complex", ptr %26, i32 0, i32 0
  store <2 x float> %133, ptr %134, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 4 %26, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  %135 = load ptr, ptr %6, align 8, !tbaa !9
  %136 = load i32, ptr %10, align 4, !tbaa !5
  %137 = sub nsw i32 %136, 1
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds %"class.std::complex", ptr %135, i64 %138
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  %140 = load ptr, ptr %7, align 8, !tbaa !9
  %141 = load i32, ptr %10, align 4, !tbaa !5
  %142 = sub nsw i32 %141, 1
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds %"class.std::complex", ptr %140, i64 %143
  %145 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %144)
  %146 = getelementptr inbounds %"class.std::complex", ptr %29, i32 0, i32 0
  store <2 x float> %145, ptr %146, align 4
  %147 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(8) %29)
  %148 = getelementptr inbounds %"class.std::complex", ptr %28, i32 0, i32 0
  store <2 x float> %147, ptr %148, align 4
  %149 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %139, ptr noundef nonnull align 4 dereferenceable(8) %28)
  %150 = getelementptr inbounds %"class.std::complex", ptr %27, i32 0, i32 0
  store <2 x float> %149, ptr %150, align 4
  %151 = load ptr, ptr %6, align 8, !tbaa !9
  %152 = load i32, ptr %10, align 4, !tbaa !5
  %153 = sub nsw i32 %152, 1
  %154 = sext i32 %153 to i64
  %155 = getelementptr inbounds %"class.std::complex", ptr %151, i64 %154
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %155, ptr align 4 %27, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  %156 = load ptr, ptr %8, align 8, !tbaa !9
  %157 = load i32, ptr %10, align 4, !tbaa !5
  %158 = sub nsw i32 %157, 1
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds %"class.std::complex", ptr %156, i64 %159
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  %161 = load ptr, ptr %8, align 8, !tbaa !9
  %162 = load i32, ptr %10, align 4, !tbaa !5
  %163 = sext i32 %162 to i64
  %164 = getelementptr inbounds %"class.std::complex", ptr %161, i64 %163
  %165 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(8) %164)
  %166 = getelementptr inbounds %"class.std::complex", ptr %31, i32 0, i32 0
  store <2 x float> %165, ptr %166, align 4
  %167 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %160, ptr noundef nonnull align 4 dereferenceable(8) %31)
  %168 = getelementptr inbounds %"class.std::complex", ptr %30, i32 0, i32 0
  store <2 x float> %167, ptr %168, align 4
  %169 = load ptr, ptr %8, align 8, !tbaa !9
  %170 = load i32, ptr %10, align 4, !tbaa !5
  %171 = sub nsw i32 %170, 1
  %172 = sext i32 %171 to i64
  %173 = getelementptr inbounds %"class.std::complex", ptr %169, i64 %172
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %173, ptr align 4 %30, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  %174 = load i32, ptr %10, align 4, !tbaa !5
  %175 = sub nsw i32 %174, 1
  store i32 %175, ptr %10, align 4, !tbaa !5
  br label %176

176:                                              ; preds = %75
  %177 = load i32, ptr %9, align 4, !tbaa !5
  %178 = add nsw i32 %177, 1
  store i32 %178, ptr %9, align 4, !tbaa !5
  br label %71, !llvm.loop !13

179:                                              ; preds = %71
  br label %180

180:                                              ; preds = %179, %60
  %181 = load i32, ptr %15, align 4, !tbaa !5
  %182 = add nsw i32 %181, 1
  store i32 %182, ptr %13, align 4, !tbaa !5
  %183 = load i32, ptr %5, align 4, !tbaa !5
  %184 = srem i32 %183, 2
  %185 = icmp eq i32 %184, 0
  br i1 %185, label %186, label %237

186:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  %187 = load ptr, ptr %7, align 8, !tbaa !9
  %188 = load i32, ptr %13, align 4, !tbaa !5
  %189 = sub nsw i32 %188, 1
  %190 = sext i32 %189 to i64
  %191 = getelementptr inbounds %"class.std::complex", ptr %187, i64 %190
  %192 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %191)
  %193 = getelementptr inbounds %"class.std::complex", ptr %33, i32 0, i32 0
  store <2 x float> %192, ptr %193, align 4
  %194 = load ptr, ptr %6, align 8, !tbaa !9
  %195 = load i32, ptr %13, align 4, !tbaa !5
  %196 = sub nsw i32 %195, 1
  %197 = sext i32 %196 to i64
  %198 = getelementptr inbounds %"class.std::complex", ptr %194, i64 %197
  %199 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %33, ptr noundef nonnull align 4 dereferenceable(8) %198)
  %200 = getelementptr inbounds %"class.std::complex", ptr %32, i32 0, i32 0
  store <2 x float> %199, ptr %200, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %16, ptr align 4 %32, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #5
  %201 = load ptr, ptr %6, align 8, !tbaa !9
  %202 = load i32, ptr %13, align 4, !tbaa !5
  %203 = sext i32 %202 to i64
  %204 = getelementptr inbounds %"class.std::complex", ptr %201, i64 %203
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #5
  %205 = load ptr, ptr %7, align 8, !tbaa !9
  %206 = load i32, ptr %13, align 4, !tbaa !5
  %207 = sub nsw i32 %206, 1
  %208 = sext i32 %207 to i64
  %209 = getelementptr inbounds %"class.std::complex", ptr %205, i64 %208
  %210 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(8) %209)
  %211 = getelementptr inbounds %"class.std::complex", ptr %35, i32 0, i32 0
  store <2 x float> %210, ptr %211, align 4
  %212 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %204, ptr noundef nonnull align 4 dereferenceable(8) %35)
  %213 = getelementptr inbounds %"class.std::complex", ptr %34, i32 0, i32 0
  store <2 x float> %212, ptr %213, align 4
  %214 = load ptr, ptr %6, align 8, !tbaa !9
  %215 = load i32, ptr %13, align 4, !tbaa !5
  %216 = sext i32 %215 to i64
  %217 = getelementptr inbounds %"class.std::complex", ptr %214, i64 %216
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %217, ptr align 4 %34, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #5
  %218 = load ptr, ptr %8, align 8, !tbaa !9
  %219 = load i32, ptr %13, align 4, !tbaa !5
  %220 = sext i32 %219 to i64
  %221 = getelementptr inbounds %"class.std::complex", ptr %218, i64 %220
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #5
  %222 = load ptr, ptr %8, align 8, !tbaa !9
  %223 = load i32, ptr %13, align 4, !tbaa !5
  %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> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(8) %226)
  %228 = getelementptr inbounds %"class.std::complex", ptr %37, i32 0, i32 0
  store <2 x float> %227, ptr %228, align 4
  %229 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %221, ptr noundef nonnull align 4 dereferenceable(8) %37)
  %230 = getelementptr inbounds %"class.std::complex", ptr %36, i32 0, i32 0
  store <2 x float> %229, ptr %230, align 4
  %231 = load ptr, ptr %8, align 8, !tbaa !9
  %232 = load i32, ptr %13, align 4, !tbaa !5
  %233 = sext i32 %232 to i64
  %234 = getelementptr inbounds %"class.std::complex", ptr %231, i64 %233
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %234, ptr align 4 %36, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #5
  %235 = load i32, ptr %13, align 4, !tbaa !5
  %236 = add nsw i32 %235, 1
  store i32 %236, ptr %13, align 4, !tbaa !5
  br label %237

237:                                              ; preds = %186, %180
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #5
  %238 = load ptr, ptr %8, align 8, !tbaa !9
  %239 = load i32, ptr %13, align 4, !tbaa !5
  %240 = sub nsw i32 %239, 1
  %241 = sext i32 %240 to i64
  %242 = getelementptr inbounds %"class.std::complex", ptr %238, i64 %241
  %243 = load ptr, ptr %6, align 8, !tbaa !9
  %244 = load i32, ptr %13, align 4, !tbaa !5
  %245 = sub nsw i32 %244, 1
  %246 = sext i32 %245 to i64
  %247 = getelementptr inbounds %"class.std::complex", ptr %243, i64 %246
  %248 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %242, ptr noundef nonnull align 4 dereferenceable(8) %247)
  %249 = getelementptr inbounds %"class.std::complex", ptr %38, i32 0, i32 0
  store <2 x float> %248, ptr %249, align 4
  %250 = load ptr, ptr %8, align 8, !tbaa !9
  %251 = load i32, ptr %13, align 4, !tbaa !5
  %252 = sub nsw i32 %251, 1
  %253 = sext i32 %252 to i64
  %254 = getelementptr inbounds %"class.std::complex", ptr %250, i64 %253
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %254, ptr align 4 %38, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #5
  %255 = load i32, ptr %5, align 4, !tbaa !5
  %256 = icmp ne i32 %255, 2
  br i1 %256, label %257, label %336

257:                                              ; preds = %237
  %258 = load i32, ptr %13, align 4, !tbaa !5
  %259 = sub nsw i32 %258, 1
  store i32 %259, ptr %9, align 4, !tbaa !5
  %260 = load i32, ptr %13, align 4, !tbaa !5
  %261 = load i32, ptr %15, align 4, !tbaa !5
  %262 = add nsw i32 %260, %261
  %263 = sub nsw i32 %262, 1
  store i32 %263, ptr %11, align 4, !tbaa !5
  %264 = load i32, ptr %13, align 4, !tbaa !5
  store i32 %264, ptr %12, align 4, !tbaa !5
  br label %265

265:                                              ; preds = %332, %257
  %266 = load i32, ptr %12, align 4, !tbaa !5
  %267 = load i32, ptr %11, align 4, !tbaa !5
  %268 = icmp sle i32 %266, %267
  br i1 %268, label %269, label %335

269:                                              ; preds = %265
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #5
  %270 = load ptr, ptr %8, align 8, !tbaa !9
  %271 = load i32, ptr %9, align 4, !tbaa !5
  %272 = sub nsw i32 %271, 1
  %273 = sext i32 %272 to i64
  %274 = getelementptr inbounds %"class.std::complex", ptr %270, i64 %273
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #5
  %275 = load ptr, ptr %7, align 8, !tbaa !9
  %276 = load i32, ptr %9, align 4, !tbaa !5
  %277 = sub nsw i32 %276, 1
  %278 = sext i32 %277 to i64
  %279 = getelementptr inbounds %"class.std::complex", ptr %275, i64 %278
  %280 = load ptr, ptr %8, align 8, !tbaa !9
  %281 = load i32, ptr %9, align 4, !tbaa !5
  %282 = sext i32 %281 to i64
  %283 = getelementptr inbounds %"class.std::complex", ptr %280, i64 %282
  %284 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %279, ptr noundef nonnull align 4 dereferenceable(8) %283)
  %285 = getelementptr inbounds %"class.std::complex", ptr %41, i32 0, i32 0
  store <2 x float> %284, ptr %285, align 4
  %286 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %274, ptr noundef nonnull align 4 dereferenceable(8) %41)
  %287 = getelementptr inbounds %"class.std::complex", ptr %40, i32 0, i32 0
  store <2 x float> %286, ptr %287, align 4
  %288 = load ptr, ptr %6, align 8, !tbaa !9
  %289 = load i32, ptr %9, align 4, !tbaa !5
  %290 = sub nsw i32 %289, 1
  %291 = sext i32 %290 to i64
  %292 = getelementptr inbounds %"class.std::complex", ptr %288, i64 %291
  %293 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %40, ptr noundef nonnull align 4 dereferenceable(8) %292)
  %294 = getelementptr inbounds %"class.std::complex", ptr %39, i32 0, i32 0
  store <2 x float> %293, ptr %294, align 4
  %295 = load ptr, ptr %8, align 8, !tbaa !9
  %296 = load i32, ptr %9, align 4, !tbaa !5
  %297 = sub nsw i32 %296, 1
  %298 = sext i32 %297 to i64
  %299 = getelementptr inbounds %"class.std::complex", ptr %295, i64 %298
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %299, ptr align 4 %39, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #5
  %300 = load ptr, ptr %8, align 8, !tbaa !9
  %301 = load i32, ptr %12, align 4, !tbaa !5
  %302 = sext i32 %301 to i64
  %303 = getelementptr inbounds %"class.std::complex", ptr %300, i64 %302
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #5
  %304 = load ptr, ptr %7, align 8, !tbaa !9
  %305 = load i32, ptr %12, align 4, !tbaa !5
  %306 = sub nsw i32 %305, 1
  %307 = sext i32 %306 to i64
  %308 = getelementptr inbounds %"class.std::complex", ptr %304, i64 %307
  %309 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %308)
  %310 = getelementptr inbounds %"class.std::complex", ptr %45, i32 0, i32 0
  store <2 x float> %309, ptr %310, align 4
  %311 = load ptr, ptr %8, align 8, !tbaa !9
  %312 = load i32, ptr %12, align 4, !tbaa !5
  %313 = sub nsw i32 %312, 1
  %314 = sext i32 %313 to i64
  %315 = getelementptr inbounds %"class.std::complex", ptr %311, i64 %314
  %316 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %45, ptr noundef nonnull align 4 dereferenceable(8) %315)
  %317 = getelementptr inbounds %"class.std::complex", ptr %44, i32 0, i32 0
  store <2 x float> %316, ptr %317, align 4
  %318 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %303, ptr noundef nonnull align 4 dereferenceable(8) %44)
  %319 = getelementptr inbounds %"class.std::complex", ptr %43, i32 0, i32 0
  store <2 x float> %318, ptr %319, align 4
  %320 = load ptr, ptr %6, align 8, !tbaa !9
  %321 = load i32, ptr %12, align 4, !tbaa !5
  %322 = sext i32 %321 to i64
  %323 = getelementptr inbounds %"class.std::complex", ptr %320, i64 %322
  %324 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %43, ptr noundef nonnull align 4 dereferenceable(8) %323)
  %325 = getelementptr inbounds %"class.std::complex", ptr %42, i32 0, i32 0
  store <2 x float> %324, ptr %325, align 4
  %326 = load ptr, ptr %8, align 8, !tbaa !9
  %327 = load i32, ptr %12, align 4, !tbaa !5
  %328 = sext i32 %327 to i64
  %329 = getelementptr inbounds %"class.std::complex", ptr %326, i64 %328
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %329, ptr align 4 %42, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #5
  %330 = load i32, ptr %9, align 4, !tbaa !5
  %331 = sub nsw i32 %330, 1
  store i32 %331, ptr %9, align 4, !tbaa !5
  br label %332

332:                                              ; preds = %269
  %333 = load i32, ptr %12, align 4, !tbaa !5
  %334 = add nsw i32 %333, 1
  store i32 %334, ptr %12, align 4, !tbaa !5
  br label %265, !llvm.loop !15

335:                                              ; preds = %265
  br label %336

336:                                              ; preds = %335, %237
  %337 = load i32, ptr %5, align 4, !tbaa !5
  %338 = srem i32 %337, 2
  %339 = icmp eq i32 %338, 0
  br i1 %339, label %340, label %357

340:                                              ; preds = %336
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #5
  %341 = load ptr, ptr %8, align 8, !tbaa !9
  %342 = getelementptr inbounds %"class.std::complex", ptr %341, i64 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #5
  %343 = load ptr, ptr %7, align 8, !tbaa !9
  %344 = getelementptr inbounds %"class.std::complex", ptr %343, i64 0
  %345 = load ptr, ptr %8, align 8, !tbaa !9
  %346 = getelementptr inbounds %"class.std::complex", ptr %345, i64 1
  %347 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %344, ptr noundef nonnull align 4 dereferenceable(8) %346)
  %348 = getelementptr inbounds %"class.std::complex", ptr %48, i32 0, i32 0
  store <2 x float> %347, ptr %348, align 4
  %349 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %342, ptr noundef nonnull align 4 dereferenceable(8) %48)
  %350 = getelementptr inbounds %"class.std::complex", ptr %47, i32 0, i32 0
  store <2 x float> %349, ptr %350, align 4
  %351 = load ptr, ptr %6, align 8, !tbaa !9
  %352 = getelementptr inbounds %"class.std::complex", ptr %351, i64 0
  %353 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %47, ptr noundef nonnull align 4 dereferenceable(8) %352)
  %354 = getelementptr inbounds %"class.std::complex", ptr %46, i32 0, i32 0
  store <2 x float> %353, ptr %354, align 4
  %355 = load ptr, ptr %8, align 8, !tbaa !9
  %356 = getelementptr inbounds %"class.std::complex", ptr %355, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %356, ptr align 4 %46, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #5
  br label %357

357:                                              ; preds = %340, %336
  store i32 1, ptr %19, align 4
  br label %358

358:                                              ; preds = %357, %51
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  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 = { 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 #5 = { 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 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !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

; 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

; 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 uwtable
define dso_local void @_Z5cptsliPSt7complexIfES1_S1_(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #3 {
  %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 8
  %17 = alloca %"class.std::complex", align 8
  %18 = alloca %"class.std::complex", align 8
  %19 = alloca %"class.std::complex", align 8
  %20 = alloca %"class.std::complex", align 8
  %21 = alloca %"class.std::complex", align 8
  %22 = alloca %"class.std::complex", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  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) #5
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %23 = icmp eq i32 %0, 1
  br i1 %23, label %24, label %26

24:                                               ; preds = %4
  %25 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %3, ptr noundef nonnull align 4 dereferenceable(8) %1)
  store <2 x float> %25, ptr %3, align 4, !tbaa !5
  br label %105

26:                                               ; preds = %4
  %27 = add nsw i32 %0, -1
  %28 = sdiv i32 %27, 2
  %.not.not = icmp eq i32 %0, 2
  br i1 %.not.not, label %.thread, label %.preheader

.preheader:                                       ; preds = %26
  %.not120122 = icmp slt i32 %0, 3
  br i1 %.not120122, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %.preheader
  %29 = zext nneg i32 %0 to i64
  %30 = add nsw i64 %29, -1
  %smax = call i32 @llvm.smax.i32(i32 %28, i32 1)
  %31 = add nuw nsw i32 %smax, 1
  %wide.trip.count = zext nneg i32 %31 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv130 = phi i64 [ %30, %.lr.ph.preheader ], [ %indvars.iv.next131, %.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 %7) #5
  %32 = add nsw i64 %indvars.iv, -1
  %33 = getelementptr inbounds %"class.std::complex", ptr %2, i64 %32
  %34 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %33)
  store <2 x float> %34, ptr %7, align 8
  %35 = getelementptr inbounds %"class.std::complex", ptr %1, i64 %32
  %36 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(8) %35)
  store <2 x float> %36, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  %37 = getelementptr inbounds %"class.std::complex", ptr %1, i64 %indvars.iv
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %38 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %5, ptr noundef nonnull align 4 dereferenceable(8) %33)
  store <2 x float> %38, ptr %8, align 8
  %39 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %37, ptr noundef nonnull align 4 dereferenceable(8) %8)
  store <2 x float> %39, ptr %37, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  %40 = getelementptr inbounds %"class.std::complex", ptr %3, i64 %indvars.iv
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %41 = getelementptr inbounds %"class.std::complex", ptr %3, i64 %32
  %42 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %5, ptr noundef nonnull align 4 dereferenceable(8) %41)
  store <2 x float> %42, ptr %9, align 8
  %43 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %40, ptr noundef nonnull align 4 dereferenceable(8) %9)
  store <2 x float> %43, ptr %40, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  %indvars.iv.next131 = add nsw i64 %indvars.iv130, -1
  %44 = getelementptr inbounds %"class.std::complex", ptr %2, i64 %indvars.iv.next131
  %45 = getelementptr inbounds %"class.std::complex", ptr %1, i64 %indvars.iv130
  %46 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %44, ptr noundef nonnull align 4 dereferenceable(8) %45)
  store <2 x float> %46, ptr %6, align 8, !tbaa !5
  %47 = getelementptr inbounds %"class.std::complex", ptr %1, i64 %indvars.iv.next131
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  %48 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %44)
  store <2 x float> %48, ptr %11, align 8
  %49 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %11)
  store <2 x float> %49, ptr %10, align 8
  %50 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %47, ptr noundef nonnull align 4 dereferenceable(8) %10)
  store <2 x float> %50, ptr %47, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  %51 = getelementptr inbounds %"class.std::complex", ptr %3, i64 %indvars.iv.next131
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  %52 = getelementptr inbounds %"class.std::complex", ptr %3, i64 %indvars.iv130
  %53 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %52)
  store <2 x float> %53, ptr %12, align 8
  %54 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %51, ptr noundef nonnull align 4 dereferenceable(8) %12)
  store <2 x float> %54, ptr %51, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !8

._crit_edge:                                      ; preds = %.lr.ph, %.preheader
  %55 = add nsw i32 %28, 1
  %56 = and i32 %0, 1
  %57 = icmp eq i32 %56, 0
  br i1 %57, label %.thread, label %73

.thread:                                          ; preds = %26, %._crit_edge
  %58 = phi i32 [ %55, %._crit_edge ], [ 1, %26 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #5
  %59 = sext i32 %28 to i64
  %60 = getelementptr inbounds %"class.std::complex", ptr %2, i64 %59
  %61 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %60)
  store <2 x float> %61, ptr %13, align 8
  %62 = getelementptr inbounds %"class.std::complex", ptr %1, i64 %59
  %63 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %62)
  store <2 x float> %63, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  %64 = sext i32 %58 to i64
  %65 = getelementptr inbounds %"class.std::complex", ptr %1, i64 %64
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #5
  %66 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %5, ptr noundef nonnull align 4 dereferenceable(8) %60)
  store <2 x float> %66, ptr %14, align 8
  %67 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %65, ptr noundef nonnull align 4 dereferenceable(8) %14)
  store <2 x float> %67, ptr %65, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  %68 = getelementptr inbounds %"class.std::complex", ptr %3, i64 %64
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #5
  %69 = getelementptr inbounds %"class.std::complex", ptr %3, i64 %59
  %70 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %5, ptr noundef nonnull align 4 dereferenceable(8) %69)
  store <2 x float> %70, ptr %15, align 8
  %71 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %68, ptr noundef nonnull align 4 dereferenceable(8) %15)
  store <2 x float> %71, ptr %68, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  %72 = add nsw i32 %28, 2
  br label %73

73:                                               ; preds = %.thread, %._crit_edge
  %74 = phi i1 [ true, %.thread ], [ false, %._crit_edge ]
  %.0118 = phi i32 [ %72, %.thread ], [ %55, %._crit_edge ]
  %75 = add nsw i32 %.0118, -1
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds %"class.std::complex", ptr %3, i64 %76
  %78 = getelementptr inbounds %"class.std::complex", ptr %1, i64 %76
  %79 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %77, ptr noundef nonnull align 4 dereferenceable(8) %78)
  store <2 x float> %79, ptr %77, align 4, !tbaa !5
  %.not121.not125 = icmp sgt i32 %0, 2
  br i1 %.not121.not125, label %.lr.ph129.preheader, label %.loopexit

.lr.ph129.preheader:                              ; preds = %73
  %80 = add nsw i32 %.0118, %28
  %81 = sext i32 %.0118 to i64
  %82 = add nsw i64 %81, -1
  %83 = sext i32 %80 to i64
  br label %.lr.ph129

.lr.ph129:                                        ; preds = %.lr.ph129.preheader, %.lr.ph129
  %indvars.iv137 = phi i64 [ %81, %.lr.ph129.preheader ], [ %indvars.iv.next138, %.lr.ph129 ]
  %indvars.iv135 = phi i64 [ %82, %.lr.ph129.preheader ], [ %indvars.iv.next136, %.lr.ph129 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #5
  %indvars.iv.next136 = add nsw i64 %indvars.iv135, -1
  %84 = getelementptr inbounds %"class.std::complex", ptr %3, i64 %indvars.iv.next136
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #5
  %85 = getelementptr inbounds %"class.std::complex", ptr %2, i64 %indvars.iv.next136
  %86 = getelementptr inbounds %"class.std::complex", ptr %3, i64 %indvars.iv135
  %87 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %85, ptr noundef nonnull align 4 dereferenceable(8) %86)
  store <2 x float> %87, ptr %17, align 8
  %88 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %84, ptr noundef nonnull align 4 dereferenceable(8) %17)
  store <2 x float> %88, ptr %16, align 8
  %89 = getelementptr inbounds %"class.std::complex", ptr %1, i64 %indvars.iv.next136
  %90 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(8) %89)
  store <2 x float> %90, ptr %84, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #5
  %91 = getelementptr inbounds %"class.std::complex", ptr %3, i64 %indvars.iv137
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #5
  %92 = add nsw i64 %indvars.iv137, -1
  %93 = getelementptr inbounds %"class.std::complex", ptr %2, i64 %92
  %94 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %93)
  store <2 x float> %94, ptr %20, align 8
  %95 = getelementptr inbounds %"class.std::complex", ptr %3, i64 %92
  %96 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %20, ptr noundef nonnull align 4 dereferenceable(8) %95)
  store <2 x float> %96, ptr %19, align 8
  %97 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %91, ptr noundef nonnull align 4 dereferenceable(8) %19)
  store <2 x float> %97, ptr %18, align 8
  %98 = getelementptr inbounds %"class.std::complex", ptr %1, i64 %indvars.iv137
  %99 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(8) %98)
  store <2 x float> %99, ptr %91, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #5
  %indvars.iv.next138 = add nsw i64 %indvars.iv137, 1
  %.not121.not = icmp slt i64 %indvars.iv.next138, %83
  br i1 %.not121.not, label %.lr.ph129, label %.loopexit, !llvm.loop !10

.loopexit:                                        ; preds = %.lr.ph129, %73
  br i1 %74, label %100, label %105

100:                                              ; preds = %.loopexit
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #5
  %101 = getelementptr inbounds i8, ptr %3, i64 8
  %102 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %2, ptr noundef nonnull align 4 dereferenceable(8) %101)
  store <2 x float> %102, ptr %22, align 8
  %103 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %3, ptr noundef nonnull align 4 dereferenceable(8) %22)
  store <2 x float> %103, ptr %21, align 8
  %104 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %21, ptr noundef nonnull align 4 dereferenceable(8) %1)
  store <2 x float> %104, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #5
  br label %105

105:                                              ; preds = %.loopexit, %100, %24
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  ret void
}

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

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 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SCCPPass,SROAPass,SimplifyCFGPass