; LLVM IR from kkumatani/distant_speech_recognition :: btk20_src/matrix/linpack_c.ll (Z5cgtsliPSt7complexIfES1_S1_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: 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> @_ZStngIfESt7complexIT_ERKS2_(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> @_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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z5cgtsliPSt7complexIfES1_S1_S1_(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #5 {
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::complex", align 4
  %15 = alloca %"class.std::complex", 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 %"class.std::complex", align 4
  %20 = alloca i32, 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
  store i32 %0, ptr %7, align 4, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !9
  store ptr %2, ptr %9, align 8, !tbaa !9
  store ptr %3, ptr %10, align 8, !tbaa !9
  store ptr %4, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef 0.000000e+00, float noundef 0.000000e+00)
  store i32 0, ptr %12, align 4, !tbaa !5
  %40 = load ptr, ptr %9, align 8, !tbaa !9
  %41 = getelementptr inbounds %"class.std::complex", ptr %40, i64 0
  %42 = load ptr, ptr %8, align 8, !tbaa !9
  %43 = getelementptr inbounds %"class.std::complex", ptr %42, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %43, ptr align 4 %41, i64 8, i1 false), !tbaa.struct !11
  %44 = load i32, ptr %7, align 4, !tbaa !5
  %45 = sub nsw i32 %44, 1
  %46 = icmp sle i32 1, %45
  br i1 %46, label %47, label %241

47:                                               ; preds = %5
  %48 = load ptr, ptr %10, align 8, !tbaa !9
  %49 = getelementptr inbounds %"class.std::complex", ptr %48, i64 0
  %50 = load ptr, ptr %9, align 8, !tbaa !9
  %51 = getelementptr inbounds %"class.std::complex", ptr %50, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %51, ptr align 4 %49, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %52 = load ptr, ptr %10, align 8, !tbaa !9
  %53 = getelementptr inbounds %"class.std::complex", ptr %52, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %53, ptr align 4 %15, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %54 = load ptr, ptr %10, align 8, !tbaa !9
  %55 = load i32, ptr %7, align 4, !tbaa !5
  %56 = sub nsw i32 %55, 1
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds %"class.std::complex", ptr %54, i64 %57
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %58, ptr align 4 %16, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  store i32 1, ptr %13, align 4, !tbaa !5
  br label %59

59:                                               ; preds = %237, %47
  %60 = load i32, ptr %13, align 4, !tbaa !5
  %61 = load i32, ptr %7, align 4, !tbaa !5
  %62 = sub nsw i32 %61, 1
  %63 = icmp sle i32 %60, %62
  br i1 %63, label %64, label %240

64:                                               ; preds = %59
  %65 = load ptr, ptr %8, align 8, !tbaa !9
  %66 = load i32, ptr %13, align 4, !tbaa !5
  %67 = sub nsw i32 %66, 1
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds %"class.std::complex", ptr %65, i64 %68
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 4 %69, i64 8, i1 false), !tbaa.struct !11
  %70 = getelementptr inbounds %"class.std::complex", ptr %17, i32 0, i32 0
  %71 = load <2 x float>, ptr %70, align 4
  %72 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %71)
  %73 = load ptr, ptr %8, align 8, !tbaa !9
  %74 = load i32, ptr %13, align 4, !tbaa !5
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds %"class.std::complex", ptr %73, i64 %75
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 4 %76, i64 8, i1 false), !tbaa.struct !11
  %77 = getelementptr inbounds %"class.std::complex", ptr %18, i32 0, i32 0
  %78 = load <2 x float>, ptr %77, align 4
  %79 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %78)
  %80 = fcmp ole float %72, %79
  br i1 %80, label %81, label %154

81:                                               ; preds = %64
  %82 = load ptr, ptr %8, align 8, !tbaa !9
  %83 = load i32, ptr %13, align 4, !tbaa !5
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds %"class.std::complex", ptr %82, i64 %84
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 %85, i64 8, i1 false), !tbaa.struct !11
  %86 = load ptr, ptr %8, align 8, !tbaa !9
  %87 = load i32, ptr %13, align 4, !tbaa !5
  %88 = sub nsw i32 %87, 1
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds %"class.std::complex", ptr %86, i64 %89
  %91 = load ptr, ptr %8, align 8, !tbaa !9
  %92 = load i32, ptr %13, align 4, !tbaa !5
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds %"class.std::complex", ptr %91, i64 %93
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %94, ptr align 4 %90, i64 8, i1 false), !tbaa.struct !11
  %95 = load ptr, ptr %8, align 8, !tbaa !9
  %96 = load i32, ptr %13, align 4, !tbaa !5
  %97 = sub nsw i32 %96, 1
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds %"class.std::complex", ptr %95, i64 %98
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %99, ptr align 4 %14, i64 8, i1 false), !tbaa.struct !11
  %100 = load ptr, ptr %9, align 8, !tbaa !9
  %101 = load i32, ptr %13, align 4, !tbaa !5
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds %"class.std::complex", ptr %100, i64 %102
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 %103, i64 8, i1 false), !tbaa.struct !11
  %104 = load ptr, ptr %9, align 8, !tbaa !9
  %105 = load i32, ptr %13, align 4, !tbaa !5
  %106 = sub nsw i32 %105, 1
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds %"class.std::complex", ptr %104, i64 %107
  %109 = load ptr, ptr %9, align 8, !tbaa !9
  %110 = load i32, ptr %13, align 4, !tbaa !5
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds %"class.std::complex", ptr %109, i64 %111
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %112, ptr align 4 %108, i64 8, i1 false), !tbaa.struct !11
  %113 = load ptr, ptr %9, align 8, !tbaa !9
  %114 = load i32, ptr %13, align 4, !tbaa !5
  %115 = sub nsw i32 %114, 1
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds %"class.std::complex", ptr %113, i64 %116
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %117, ptr align 4 %14, i64 8, i1 false), !tbaa.struct !11
  %118 = load ptr, ptr %10, align 8, !tbaa !9
  %119 = load i32, ptr %13, align 4, !tbaa !5
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds %"class.std::complex", ptr %118, i64 %120
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 %121, i64 8, i1 false), !tbaa.struct !11
  %122 = load ptr, ptr %10, align 8, !tbaa !9
  %123 = load i32, ptr %13, align 4, !tbaa !5
  %124 = sub nsw i32 %123, 1
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds %"class.std::complex", ptr %122, i64 %125
  %127 = load ptr, ptr %10, align 8, !tbaa !9
  %128 = load i32, ptr %13, align 4, !tbaa !5
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds %"class.std::complex", ptr %127, i64 %129
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %130, ptr align 4 %126, i64 8, i1 false), !tbaa.struct !11
  %131 = load ptr, ptr %10, align 8, !tbaa !9
  %132 = load i32, ptr %13, align 4, !tbaa !5
  %133 = sub nsw i32 %132, 1
  %134 = sext i32 %133 to i64
  %135 = getelementptr inbounds %"class.std::complex", ptr %131, i64 %134
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %135, ptr align 4 %14, i64 8, i1 false), !tbaa.struct !11
  %136 = load ptr, ptr %11, align 8, !tbaa !9
  %137 = load i32, ptr %13, align 4, !tbaa !5
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds %"class.std::complex", ptr %136, i64 %138
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 %139, i64 8, i1 false), !tbaa.struct !11
  %140 = load ptr, ptr %11, align 8, !tbaa !9
  %141 = load i32, ptr %13, 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 = load ptr, ptr %11, align 8, !tbaa !9
  %146 = load i32, ptr %13, align 4, !tbaa !5
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds %"class.std::complex", ptr %145, i64 %147
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %148, ptr align 4 %144, i64 8, i1 false), !tbaa.struct !11
  %149 = load ptr, ptr %11, align 8, !tbaa !9
  %150 = load i32, ptr %13, align 4, !tbaa !5
  %151 = sub nsw i32 %150, 1
  %152 = sext i32 %151 to i64
  %153 = getelementptr inbounds %"class.std::complex", ptr %149, i64 %152
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %153, ptr align 4 %14, i64 8, i1 false), !tbaa.struct !11
  br label %154

154:                                              ; preds = %81, %64
  %155 = load ptr, ptr %8, align 8, !tbaa !9
  %156 = load i32, ptr %13, align 4, !tbaa !5
  %157 = sub nsw i32 %156, 1
  %158 = sext i32 %157 to i64
  %159 = getelementptr inbounds %"class.std::complex", ptr %155, i64 %158
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %19, ptr align 4 %159, i64 8, i1 false), !tbaa.struct !11
  %160 = getelementptr inbounds %"class.std::complex", ptr %19, i32 0, i32 0
  %161 = load <2 x float>, ptr %160, align 4
  %162 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %161)
  %163 = fpext float %162 to double
  %164 = fcmp oeq double %163, 0.000000e+00
  br i1 %164, label %165, label %168

165:                                              ; preds = %154
  %166 = load i32, ptr %13, align 4, !tbaa !5
  store i32 %166, ptr %12, align 4, !tbaa !5
  %167 = load i32, ptr %12, align 4, !tbaa !5
  store i32 %167, ptr %6, align 4
  store i32 1, ptr %20, align 4
  br label %363

168:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %169 = load ptr, ptr %8, align 8, !tbaa !9
  %170 = load i32, ptr %13, align 4, !tbaa !5
  %171 = sext i32 %170 to i64
  %172 = getelementptr inbounds %"class.std::complex", ptr %169, i64 %171
  %173 = call <2 x float> @_ZStngIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %172)
  %174 = getelementptr inbounds %"class.std::complex", ptr %22, i32 0, i32 0
  store <2 x float> %173, ptr %174, align 4
  %175 = load ptr, ptr %8, align 8, !tbaa !9
  %176 = load i32, ptr %13, align 4, !tbaa !5
  %177 = sub nsw i32 %176, 1
  %178 = sext i32 %177 to i64
  %179 = getelementptr inbounds %"class.std::complex", ptr %175, i64 %178
  %180 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %22, ptr noundef nonnull align 4 dereferenceable(8) %179)
  %181 = getelementptr inbounds %"class.std::complex", ptr %21, i32 0, i32 0
  store <2 x float> %180, ptr %181, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 %21, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %182 = load ptr, ptr %9, align 8, !tbaa !9
  %183 = load i32, ptr %13, align 4, !tbaa !5
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds %"class.std::complex", ptr %182, i64 %184
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %186 = load ptr, ptr %9, align 8, !tbaa !9
  %187 = load i32, ptr %13, align 4, !tbaa !5
  %188 = sub nsw i32 %187, 1
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds %"class.std::complex", ptr %186, i64 %189
  %191 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(8) %190)
  %192 = getelementptr inbounds %"class.std::complex", ptr %24, i32 0, i32 0
  store <2 x float> %191, ptr %192, align 4
  %193 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %185, ptr noundef nonnull align 4 dereferenceable(8) %24)
  %194 = getelementptr inbounds %"class.std::complex", ptr %23, i32 0, i32 0
  store <2 x float> %193, ptr %194, align 4
  %195 = load ptr, ptr %8, align 8, !tbaa !9
  %196 = load i32, ptr %13, align 4, !tbaa !5
  %197 = sext i32 %196 to i64
  %198 = getelementptr inbounds %"class.std::complex", ptr %195, i64 %197
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %198, ptr align 4 %23, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %199 = load ptr, ptr %10, align 8, !tbaa !9
  %200 = load i32, ptr %13, align 4, !tbaa !5
  %201 = sext i32 %200 to i64
  %202 = getelementptr inbounds %"class.std::complex", ptr %199, i64 %201
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %203 = load ptr, ptr %10, align 8, !tbaa !9
  %204 = load i32, ptr %13, align 4, !tbaa !5
  %205 = sub nsw i32 %204, 1
  %206 = sext i32 %205 to i64
  %207 = getelementptr inbounds %"class.std::complex", ptr %203, i64 %206
  %208 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(8) %207)
  %209 = getelementptr inbounds %"class.std::complex", ptr %26, i32 0, i32 0
  store <2 x float> %208, ptr %209, align 4
  %210 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %202, ptr noundef nonnull align 4 dereferenceable(8) %26)
  %211 = getelementptr inbounds %"class.std::complex", ptr %25, i32 0, i32 0
  store <2 x float> %210, ptr %211, align 4
  %212 = load ptr, ptr %9, align 8, !tbaa !9
  %213 = load i32, ptr %13, align 4, !tbaa !5
  %214 = sext i32 %213 to i64
  %215 = getelementptr inbounds %"class.std::complex", ptr %212, i64 %214
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %215, ptr align 4 %25, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %27, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %216 = load ptr, ptr %10, align 8, !tbaa !9
  %217 = load i32, ptr %13, align 4, !tbaa !5
  %218 = sext i32 %217 to i64
  %219 = getelementptr inbounds %"class.std::complex", ptr %216, i64 %218
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %219, ptr align 4 %27, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  %220 = load ptr, ptr %11, align 8, !tbaa !9
  %221 = load i32, ptr %13, align 4, !tbaa !5
  %222 = sext i32 %221 to i64
  %223 = getelementptr inbounds %"class.std::complex", ptr %220, i64 %222
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %224 = load ptr, ptr %11, align 8, !tbaa !9
  %225 = load i32, ptr %13, align 4, !tbaa !5
  %226 = sub nsw i32 %225, 1
  %227 = sext i32 %226 to i64
  %228 = getelementptr inbounds %"class.std::complex", ptr %224, i64 %227
  %229 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(8) %228)
  %230 = getelementptr inbounds %"class.std::complex", ptr %29, i32 0, i32 0
  store <2 x float> %229, ptr %230, align 4
  %231 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %223, ptr noundef nonnull align 4 dereferenceable(8) %29)
  %232 = getelementptr inbounds %"class.std::complex", ptr %28, i32 0, i32 0
  store <2 x float> %231, ptr %232, align 4
  %233 = load ptr, ptr %11, align 8, !tbaa !9
  %234 = load i32, ptr %13, align 4, !tbaa !5
  %235 = sext i32 %234 to i64
  %236 = getelementptr inbounds %"class.std::complex", ptr %233, i64 %235
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %236, ptr align 4 %28, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  br label %237

237:                                              ; preds = %168
  %238 = load i32, ptr %13, align 4, !tbaa !5
  %239 = add nsw i32 %238, 1
  store i32 %239, ptr %13, align 4, !tbaa !5
  br label %59, !llvm.loop !13

240:                                              ; preds = %59
  br label %241

241:                                              ; preds = %240, %5
  %242 = load ptr, ptr %8, align 8, !tbaa !9
  %243 = load i32, ptr %7, align 4, !tbaa !5
  %244 = sub nsw i32 %243, 1
  %245 = sext i32 %244 to i64
  %246 = getelementptr inbounds %"class.std::complex", ptr %242, i64 %245
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %30, ptr align 4 %246, i64 8, i1 false), !tbaa.struct !11
  %247 = getelementptr inbounds %"class.std::complex", ptr %30, i32 0, i32 0
  %248 = load <2 x float>, ptr %247, align 4
  %249 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %248)
  %250 = fpext float %249 to double
  %251 = fcmp oeq double %250, 0.000000e+00
  br i1 %251, label %252, label %255

252:                                              ; preds = %241
  %253 = load i32, ptr %7, align 4, !tbaa !5
  store i32 %253, ptr %12, align 4, !tbaa !5
  %254 = load i32, ptr %12, align 4, !tbaa !5
  store i32 %254, ptr %6, align 4
  store i32 1, ptr %20, align 4
  br label %363

255:                                              ; preds = %241
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  %256 = load ptr, ptr %11, align 8, !tbaa !9
  %257 = load i32, ptr %7, align 4, !tbaa !5
  %258 = sub nsw i32 %257, 1
  %259 = sext i32 %258 to i64
  %260 = getelementptr inbounds %"class.std::complex", ptr %256, i64 %259
  %261 = load ptr, ptr %8, align 8, !tbaa !9
  %262 = load i32, ptr %7, align 4, !tbaa !5
  %263 = sub nsw i32 %262, 1
  %264 = sext i32 %263 to i64
  %265 = getelementptr inbounds %"class.std::complex", ptr %261, i64 %264
  %266 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %260, ptr noundef nonnull align 4 dereferenceable(8) %265)
  %267 = getelementptr inbounds %"class.std::complex", ptr %31, i32 0, i32 0
  store <2 x float> %266, ptr %267, align 4
  %268 = load ptr, ptr %11, align 8, !tbaa !9
  %269 = load i32, ptr %7, align 4, !tbaa !5
  %270 = sub nsw i32 %269, 1
  %271 = sext i32 %270 to i64
  %272 = getelementptr inbounds %"class.std::complex", ptr %268, i64 %271
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %272, ptr align 4 %31, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  %273 = load i32, ptr %7, align 4, !tbaa !5
  %274 = icmp slt i32 1, %273
  br i1 %274, label %275, label %361

275:                                              ; preds = %255
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  %276 = load ptr, ptr %11, align 8, !tbaa !9
  %277 = load i32, ptr %7, align 4, !tbaa !5
  %278 = sub nsw i32 %277, 2
  %279 = sext i32 %278 to i64
  %280 = getelementptr inbounds %"class.std::complex", ptr %276, i64 %279
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #6
  %281 = load ptr, ptr %9, align 8, !tbaa !9
  %282 = load i32, ptr %7, align 4, !tbaa !5
  %283 = sub nsw i32 %282, 2
  %284 = sext i32 %283 to i64
  %285 = getelementptr inbounds %"class.std::complex", ptr %281, i64 %284
  %286 = load ptr, ptr %11, align 8, !tbaa !9
  %287 = load i32, ptr %7, align 4, !tbaa !5
  %288 = sub nsw i32 %287, 1
  %289 = sext i32 %288 to i64
  %290 = getelementptr inbounds %"class.std::complex", ptr %286, i64 %289
  %291 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %285, ptr noundef nonnull align 4 dereferenceable(8) %290)
  %292 = getelementptr inbounds %"class.std::complex", ptr %34, i32 0, i32 0
  store <2 x float> %291, ptr %292, align 4
  %293 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %280, ptr noundef nonnull align 4 dereferenceable(8) %34)
  %294 = getelementptr inbounds %"class.std::complex", ptr %33, 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 %7, align 4, !tbaa !5
  %297 = sub nsw i32 %296, 2
  %298 = sext i32 %297 to i64
  %299 = getelementptr inbounds %"class.std::complex", ptr %295, i64 %298
  %300 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %33, ptr noundef nonnull align 4 dereferenceable(8) %299)
  %301 = getelementptr inbounds %"class.std::complex", ptr %32, i32 0, i32 0
  store <2 x float> %300, ptr %301, align 4
  %302 = load ptr, ptr %11, align 8, !tbaa !9
  %303 = load i32, ptr %7, align 4, !tbaa !5
  %304 = sub nsw i32 %303, 2
  %305 = sext i32 %304 to i64
  %306 = getelementptr inbounds %"class.std::complex", ptr %302, i64 %305
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %306, ptr align 4 %32, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  %307 = load i32, ptr %7, align 4, !tbaa !5
  %308 = sub nsw i32 %307, 2
  store i32 %308, ptr %13, align 4, !tbaa !5
  br label %309

309:                                              ; preds = %357, %275
  %310 = load i32, ptr %13, align 4, !tbaa !5
  %311 = icmp sle i32 1, %310
  br i1 %311, label %312, label %360

312:                                              ; preds = %309
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #6
  %313 = load ptr, ptr %11, align 8, !tbaa !9
  %314 = load i32, ptr %13, align 4, !tbaa !5
  %315 = sub nsw i32 %314, 1
  %316 = sext i32 %315 to i64
  %317 = getelementptr inbounds %"class.std::complex", ptr %313, i64 %316
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #6
  %318 = load ptr, ptr %9, align 8, !tbaa !9
  %319 = load i32, ptr %13, align 4, !tbaa !5
  %320 = sub nsw i32 %319, 1
  %321 = sext i32 %320 to i64
  %322 = getelementptr inbounds %"class.std::complex", ptr %318, i64 %321
  %323 = load ptr, ptr %11, align 8, !tbaa !9
  %324 = load i32, ptr %13, align 4, !tbaa !5
  %325 = sext i32 %324 to i64
  %326 = getelementptr inbounds %"class.std::complex", ptr %323, i64 %325
  %327 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %322, ptr noundef nonnull align 4 dereferenceable(8) %326)
  %328 = getelementptr inbounds %"class.std::complex", ptr %38, i32 0, i32 0
  store <2 x float> %327, ptr %328, align 4
  %329 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %317, ptr noundef nonnull align 4 dereferenceable(8) %38)
  %330 = getelementptr inbounds %"class.std::complex", ptr %37, i32 0, i32 0
  store <2 x float> %329, ptr %330, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #6
  %331 = load ptr, ptr %10, align 8, !tbaa !9
  %332 = load i32, ptr %13, align 4, !tbaa !5
  %333 = sub nsw i32 %332, 1
  %334 = sext i32 %333 to i64
  %335 = getelementptr inbounds %"class.std::complex", ptr %331, i64 %334
  %336 = load ptr, ptr %11, align 8, !tbaa !9
  %337 = load i32, ptr %13, align 4, !tbaa !5
  %338 = add nsw i32 %337, 1
  %339 = sext i32 %338 to i64
  %340 = getelementptr inbounds %"class.std::complex", ptr %336, i64 %339
  %341 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %335, ptr noundef nonnull align 4 dereferenceable(8) %340)
  %342 = getelementptr inbounds %"class.std::complex", ptr %39, i32 0, i32 0
  store <2 x float> %341, ptr %342, align 4
  %343 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %37, ptr noundef nonnull align 4 dereferenceable(8) %39)
  %344 = getelementptr inbounds %"class.std::complex", ptr %36, i32 0, i32 0
  store <2 x float> %343, ptr %344, align 4
  %345 = load ptr, ptr %8, align 8, !tbaa !9
  %346 = load i32, ptr %13, align 4, !tbaa !5
  %347 = sub nsw i32 %346, 1
  %348 = sext i32 %347 to i64
  %349 = getelementptr inbounds %"class.std::complex", ptr %345, i64 %348
  %350 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %36, ptr noundef nonnull align 4 dereferenceable(8) %349)
  %351 = getelementptr inbounds %"class.std::complex", ptr %35, i32 0, i32 0
  store <2 x float> %350, ptr %351, align 4
  %352 = load ptr, ptr %11, align 8, !tbaa !9
  %353 = load i32, ptr %13, align 4, !tbaa !5
  %354 = sub nsw i32 %353, 1
  %355 = sext i32 %354 to i64
  %356 = getelementptr inbounds %"class.std::complex", ptr %352, i64 %355
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %356, ptr align 4 %35, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  br label %357

357:                                              ; preds = %312
  %358 = load i32, ptr %13, align 4, !tbaa !5
  %359 = add nsw i32 %358, -1
  store i32 %359, ptr %13, align 4, !tbaa !5
  br label %309, !llvm.loop !15

360:                                              ; preds = %309
  br label %361

361:                                              ; preds = %360, %255
  %362 = load i32, ptr %12, align 4, !tbaa !5
  store i32 %362, ptr %6, align 4
  store i32 1, ptr %20, align 4
  br label %363

363:                                              ; preds = %361, %252, %165
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  %364 = load i32, ptr %6, align 4
  ret i32 %364
}

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 = { 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 = !{!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: 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> @_ZStngIfESt7complexIT_ERKS2_(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> @_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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z5cgtsliPSt7complexIfES1_S1_S1_(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #4 {
  %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
  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)
  %20 = load i64, ptr %2, align 4, !tbaa !5
  store i64 %20, ptr %1, align 4, !tbaa !5
  %21 = add nsw i32 %0, -1
  %22 = icmp sgt i32 %0, 1
  br i1 %22, label %23, label %.loopexit127

23:                                               ; preds = %5
  %24 = load i64, ptr %3, align 4, !tbaa !5
  store i64 %24, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %7, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %25 = load i64, ptr %7, align 8, !tbaa !5
  store i64 %25, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %8, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %26 = zext nneg i32 %21 to i64
  %27 = getelementptr inbounds %"class.std::complex", ptr %3, i64 %26
  %28 = load i64, ptr %8, align 8, !tbaa !5
  store i64 %28, ptr %27, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  %wide.trip.count = zext nneg i32 %0 to i64
  br label %29

29:                                               ; preds = %23, %52
  %indvars.iv = phi i64 [ 1, %23 ], [ %indvars.iv.next, %52 ]
  %30 = add nsw i64 %indvars.iv, -1
  %31 = getelementptr inbounds %"class.std::complex", ptr %1, i64 %30
  %.sroa.010.0.copyload = load <2 x float>, ptr %31, align 4, !tbaa !5
  %32 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.010.0.copyload)
  %33 = getelementptr inbounds %"class.std::complex", ptr %1, i64 %indvars.iv
  %.sroa.09.0.copyload = load <2 x float>, ptr %33, align 4, !tbaa !5
  %34 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.09.0.copyload)
  %35 = fcmp ugt float %32, %34
  br i1 %35, label %49, label %36

36:                                               ; preds = %29
  %37 = load <2 x i64>, ptr %31, align 4, !tbaa !5
  %38 = shufflevector <2 x i64> %37, <2 x i64> poison, <2 x i32> <i32 1, i32 0>
  store <2 x i64> %38, ptr %31, align 4, !tbaa !5
  %39 = getelementptr inbounds %"class.std::complex", ptr %2, i64 %30
  %40 = load <2 x i64>, ptr %39, align 4, !tbaa !5
  %41 = shufflevector <2 x i64> %40, <2 x i64> poison, <2 x i32> <i32 1, i32 0>
  store <2 x i64> %41, ptr %39, align 4, !tbaa !5
  %42 = getelementptr inbounds %"class.std::complex", ptr %3, i64 %30
  %43 = load <2 x i64>, ptr %42, align 4, !tbaa !5
  %44 = shufflevector <2 x i64> %43, <2 x i64> poison, <2 x i32> <i32 1, i32 0>
  store <2 x i64> %44, ptr %42, align 4, !tbaa !5
  %45 = getelementptr inbounds %"class.std::complex", ptr %4, i64 %indvars.iv
  %46 = load i64, ptr %45, align 4, !tbaa !5
  store i64 %46, ptr %6, align 8, !tbaa !5
  %47 = getelementptr inbounds %"class.std::complex", ptr %4, i64 %30
  %48 = load i64, ptr %47, align 4, !tbaa !5
  store i64 %48, ptr %45, align 4, !tbaa !5
  store i64 %46, ptr %47, align 4, !tbaa !5
  br label %49

49:                                               ; preds = %36, %29
  %.sroa.08.0.copyload = load <2 x float>, ptr %31, align 4, !tbaa !5
  %50 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.08.0.copyload)
  %51 = fcmp oeq float %50, 0.000000e+00
  br i1 %51, label %.loopexit.loopexit132, label %52

52:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %53 = call <2 x float> @_ZStngIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %33)
  store <2 x float> %53, ptr %9, align 8
  %54 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(8) %31)
  store <2 x float> %54, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  %55 = getelementptr inbounds %"class.std::complex", ptr %2, i64 %indvars.iv
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
  %56 = getelementptr inbounds %"class.std::complex", ptr %2, i64 %30
  %57 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %56)
  store <2 x float> %57, ptr %10, align 8
  %58 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %55, ptr noundef nonnull align 4 dereferenceable(8) %10)
  store <2 x float> %58, ptr %33, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  %59 = getelementptr inbounds %"class.std::complex", ptr %3, i64 %indvars.iv
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  %60 = getelementptr inbounds %"class.std::complex", ptr %3, i64 %30
  %61 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %60)
  store <2 x float> %61, ptr %11, align 8
  %62 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %59, ptr noundef nonnull align 4 dereferenceable(8) %11)
  store <2 x float> %62, ptr %55, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %12, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %63 = load i64, ptr %12, align 8, !tbaa !5
  store i64 %63, ptr %59, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  %64 = getelementptr inbounds %"class.std::complex", ptr %4, i64 %indvars.iv
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #5
  %65 = getelementptr inbounds %"class.std::complex", ptr %4, i64 %30
  %66 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %65)
  store <2 x float> %66, ptr %13, align 8
  %67 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %64, ptr noundef nonnull align 4 dereferenceable(8) %13)
  store <2 x float> %67, ptr %64, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #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 %.loopexit127, label %29, !llvm.loop !8

.loopexit127:                                     ; preds = %52, %5
  %68 = sext i32 %21 to i64
  %69 = getelementptr inbounds %"class.std::complex", ptr %1, i64 %68
  %.sroa.03.0.copyload = load <2 x float>, ptr %69, align 4, !tbaa !5
  %70 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.03.0.copyload)
  %71 = fcmp oeq float %70, 0.000000e+00
  br i1 %71, label %.loopexit, label %72

72:                                               ; preds = %.loopexit127
  %73 = getelementptr inbounds %"class.std::complex", ptr %4, i64 %68
  %74 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %73, ptr noundef nonnull align 4 dereferenceable(8) %69)
  store <2 x float> %74, ptr %73, align 4, !tbaa !5
  br i1 %22, label %75, label %.loopexit

75:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #5
  %76 = add nsw i32 %0, -2
  %77 = zext nneg i32 %76 to i64
  %78 = getelementptr inbounds %"class.std::complex", ptr %4, i64 %77
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #5
  %79 = getelementptr inbounds %"class.std::complex", ptr %2, i64 %77
  %80 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %79, ptr noundef nonnull align 4 dereferenceable(8) %73)
  store <2 x float> %80, ptr %15, align 8
  %81 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %78, ptr noundef nonnull align 4 dereferenceable(8) %15)
  store <2 x float> %81, ptr %14, align 8
  %82 = getelementptr inbounds %"class.std::complex", ptr %1, i64 %77
  %83 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(8) %82)
  store <2 x float> %83, ptr %78, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  %.not = icmp eq i32 %0, 2
  br i1 %.not, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %75, %.lr.ph
  %indvars.iv135 = phi i64 [ %indvars.iv.next136, %.lr.ph ], [ %77, %75 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #5
  %indvars.iv.next136 = add nsw i64 %indvars.iv135, -1
  %84 = getelementptr inbounds %"class.std::complex", ptr %4, i64 %indvars.iv.next136
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #5
  %85 = getelementptr inbounds %"class.std::complex", ptr %2, i64 %indvars.iv.next136
  %86 = getelementptr inbounds %"class.std::complex", ptr %4, 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 %18, 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) %18)
  store <2 x float> %88, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #5
  %89 = getelementptr inbounds %"class.std::complex", ptr %3, i64 %indvars.iv.next136
  %90 = getelementptr inbounds i8, ptr %86, i64 8
  %91 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %89, ptr noundef nonnull align 4 dereferenceable(8) %90)
  store <2 x float> %91, ptr %19, align 8
  %92 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(8) %19)
  store <2 x float> %92, ptr %16, align 8
  %93 = getelementptr inbounds %"class.std::complex", ptr %1, i64 %indvars.iv.next136
  %94 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(8) %93)
  store <2 x float> %94, ptr %84, align 4, !tbaa !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
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #5
  %95 = icmp ugt i64 %indvars.iv135, 1
  br i1 %95, label %.lr.ph, label %.loopexit, !llvm.loop !10

.loopexit.loopexit132:                            ; preds = %49
  %96 = trunc nuw nsw i64 %indvars.iv to i32
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph, %.loopexit.loopexit132, %75, %72, %.loopexit127
  %.0 = phi i32 [ %0, %.loopexit127 ], [ 0, %72 ], [ 0, %75 ], [ %96, %.loopexit.loopexit132 ], [ 0, %.lr.ph ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  ret i32 %.0
}

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 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 = !{!"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,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass