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

; 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

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

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

; 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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z5ctrdiPSt7complexIfEiiS1_i(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #5 {
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %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 %"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 %"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
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store i32 %2, ptr %8, align 4, !tbaa !9
  store ptr %3, ptr %9, align 8, !tbaa !5
  store i32 %4, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  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)
  %44 = load i32, ptr %10, align 4, !tbaa !9
  %45 = sdiv i32 %44, 100
  %46 = icmp ne i32 %45, 0
  br i1 %46, label %47, label %128

47:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %48 = load ptr, ptr %9, align 8, !tbaa !5
  %49 = getelementptr inbounds %"class.std::complex", ptr %48, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %49, ptr align 4 %16, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %17, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %50 = load ptr, ptr %9, align 8, !tbaa !5
  %51 = getelementptr inbounds %"class.std::complex", ptr %50, i64 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %51, ptr align 4 %17, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %52

52:                                               ; preds = %124, %47
  %53 = load i32, ptr %11, align 4, !tbaa !9
  %54 = load i32, ptr %8, align 4, !tbaa !9
  %55 = icmp slt i32 %53, %54
  br i1 %55, label %56, label %127

56:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %57 = load ptr, ptr %9, align 8, !tbaa !5
  %58 = getelementptr inbounds %"class.std::complex", ptr %57, i64 0
  %59 = load ptr, ptr %6, align 8, !tbaa !5
  %60 = load i32, ptr %11, align 4, !tbaa !9
  %61 = load i32, ptr %11, align 4, !tbaa !9
  %62 = load i32, ptr %7, align 4, !tbaa !9
  %63 = mul nsw i32 %61, %62
  %64 = add nsw i32 %60, %63
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds %"class.std::complex", ptr %59, i64 %65
  %67 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %58, ptr noundef nonnull align 4 dereferenceable(8) %66)
  %68 = getelementptr inbounds %"class.std::complex", ptr %18, i32 0, i32 0
  store <2 x float> %67, ptr %68, align 4
  %69 = load ptr, ptr %9, align 8, !tbaa !5
  %70 = getelementptr inbounds %"class.std::complex", ptr %69, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %70, ptr align 4 %18, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  %71 = load ptr, ptr %9, align 8, !tbaa !5
  %72 = getelementptr inbounds %"class.std::complex", ptr %71, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %19, ptr align 4 %72, i64 8, i1 false), !tbaa.struct !11
  %73 = getelementptr inbounds %"class.std::complex", ptr %19, i32 0, i32 0
  %74 = load <2 x float>, ptr %73, align 4
  %75 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %74)
  %76 = fpext float %75 to double
  %77 = fcmp oeq double %76, 0.000000e+00
  br i1 %77, label %78, label %79

78:                                               ; preds = %56
  br label %127

79:                                               ; preds = %56
  br label %80

80:                                               ; preds = %88, %79
  %81 = load ptr, ptr %9, align 8, !tbaa !5
  %82 = getelementptr inbounds %"class.std::complex", ptr %81, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %20, ptr align 4 %82, i64 8, i1 false), !tbaa.struct !11
  %83 = getelementptr inbounds %"class.std::complex", ptr %20, i32 0, i32 0
  %84 = load <2 x float>, ptr %83, align 4
  %85 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %84)
  %86 = fpext float %85 to double
  %87 = fcmp olt double %86, 1.000000e+00
  br i1 %87, label %88, label %101

88:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %89 = load ptr, ptr %9, align 8, !tbaa !5
  %90 = getelementptr inbounds %"class.std::complex", ptr %89, i64 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %22, float noundef 1.000000e+01, float noundef 0.000000e+00)
  %91 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %90, ptr noundef nonnull align 4 dereferenceable(8) %22)
  %92 = getelementptr inbounds %"class.std::complex", ptr %21, i32 0, i32 0
  store <2 x float> %91, ptr %92, align 4
  %93 = load ptr, ptr %9, align 8, !tbaa !5
  %94 = getelementptr inbounds %"class.std::complex", ptr %93, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %94, 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
  %95 = load ptr, ptr %9, align 8, !tbaa !5
  %96 = getelementptr inbounds %"class.std::complex", ptr %95, i64 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %24, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %97 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %96, ptr noundef nonnull align 4 dereferenceable(8) %24)
  %98 = getelementptr inbounds %"class.std::complex", ptr %23, i32 0, i32 0
  store <2 x float> %97, ptr %98, align 4
  %99 = load ptr, ptr %9, align 8, !tbaa !5
  %100 = getelementptr inbounds %"class.std::complex", ptr %99, i64 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %100, 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
  br label %80, !llvm.loop !13

101:                                              ; preds = %80
  br label %102

102:                                              ; preds = %110, %101
  %103 = load ptr, ptr %9, align 8, !tbaa !5
  %104 = getelementptr inbounds %"class.std::complex", ptr %103, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 4 %104, i64 8, i1 false), !tbaa.struct !11
  %105 = getelementptr inbounds %"class.std::complex", ptr %25, i32 0, i32 0
  %106 = load <2 x float>, ptr %105, align 4
  %107 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %106)
  %108 = fpext float %107 to double
  %109 = fcmp ole double 1.000000e+01, %108
  br i1 %109, label %110, label %123

110:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %111 = load ptr, ptr %9, align 8, !tbaa !5
  %112 = getelementptr inbounds %"class.std::complex", ptr %111, i64 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %27, float noundef 1.000000e+01, float noundef 0.000000e+00)
  %113 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %112, ptr noundef nonnull align 4 dereferenceable(8) %27)
  %114 = getelementptr inbounds %"class.std::complex", ptr %26, i32 0, i32 0
  store <2 x float> %113, ptr %114, align 4
  %115 = load ptr, ptr %9, align 8, !tbaa !5
  %116 = getelementptr inbounds %"class.std::complex", ptr %115, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %116, ptr align 4 %26, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  %117 = load ptr, ptr %9, align 8, !tbaa !5
  %118 = getelementptr inbounds %"class.std::complex", ptr %117, i64 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %29, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %119 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %118, ptr noundef nonnull align 4 dereferenceable(8) %29)
  %120 = getelementptr inbounds %"class.std::complex", ptr %28, i32 0, i32 0
  store <2 x float> %119, ptr %120, align 4
  %121 = load ptr, ptr %9, align 8, !tbaa !5
  %122 = getelementptr inbounds %"class.std::complex", ptr %121, i64 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %122, 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 %102, !llvm.loop !15

123:                                              ; preds = %102
  br label %124

124:                                              ; preds = %123
  %125 = load i32, ptr %11, align 4, !tbaa !9
  %126 = add nsw i32 %125, 1
  store i32 %126, ptr %11, align 4, !tbaa !9
  br label %52, !llvm.loop !16

127:                                              ; preds = %78, %52
  br label %128

128:                                              ; preds = %127, %5
  %129 = load i32, ptr %10, align 4, !tbaa !9
  %130 = sdiv i32 %129, 10
  %131 = srem i32 %130, 10
  %132 = icmp ne i32 %131, 0
  br i1 %132, label %133, label %374

133:                                              ; preds = %128
  %134 = load i32, ptr %10, align 4, !tbaa !9
  %135 = srem i32 %134, 10
  %136 = icmp ne i32 %135, 0
  br i1 %136, label %137, label %247

137:                                              ; preds = %133
  store i32 0, ptr %12, align 4, !tbaa !9
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %138

138:                                              ; preds = %243, %137
  %139 = load i32, ptr %14, align 4, !tbaa !9
  %140 = load i32, ptr %8, align 4, !tbaa !9
  %141 = icmp slt i32 %139, %140
  br i1 %141, label %142, label %246

142:                                              ; preds = %138
  %143 = load ptr, ptr %6, align 8, !tbaa !5
  %144 = load i32, ptr %14, align 4, !tbaa !9
  %145 = load i32, ptr %14, align 4, !tbaa !9
  %146 = load i32, ptr %7, align 4, !tbaa !9
  %147 = mul nsw i32 %145, %146
  %148 = add nsw i32 %144, %147
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds %"class.std::complex", ptr %143, i64 %149
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %30, ptr align 4 %150, i64 8, i1 false), !tbaa.struct !11
  %151 = getelementptr inbounds %"class.std::complex", ptr %30, i32 0, i32 0
  %152 = load <2 x float>, ptr %151, align 4
  %153 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %152)
  %154 = fpext float %153 to double
  %155 = fcmp oeq double %154, 0.000000e+00
  br i1 %155, label %156, label %159

156:                                              ; preds = %142
  %157 = load i32, ptr %14, align 4, !tbaa !9
  %158 = add nsw i32 %157, 1
  store i32 %158, ptr %12, align 4, !tbaa !9
  br label %246

159:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %32, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %160 = load ptr, ptr %6, align 8, !tbaa !5
  %161 = load i32, ptr %14, align 4, !tbaa !9
  %162 = load i32, ptr %14, align 4, !tbaa !9
  %163 = load i32, ptr %7, align 4, !tbaa !9
  %164 = mul nsw i32 %162, %163
  %165 = add nsw i32 %161, %164
  %166 = sext i32 %165 to i64
  %167 = getelementptr inbounds %"class.std::complex", ptr %160, i64 %166
  %168 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %32, ptr noundef nonnull align 4 dereferenceable(8) %167)
  %169 = getelementptr inbounds %"class.std::complex", ptr %31, i32 0, i32 0
  store <2 x float> %168, ptr %169, align 4
  %170 = load ptr, ptr %6, align 8, !tbaa !5
  %171 = load i32, ptr %14, align 4, !tbaa !9
  %172 = load i32, ptr %14, align 4, !tbaa !9
  %173 = load i32, ptr %7, align 4, !tbaa !9
  %174 = mul nsw i32 %172, %173
  %175 = add nsw i32 %171, %174
  %176 = sext i32 %175 to i64
  %177 = getelementptr inbounds %"class.std::complex", ptr %170, i64 %176
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %177, ptr align 4 %31, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  %178 = load ptr, ptr %6, align 8, !tbaa !5
  %179 = load i32, ptr %14, align 4, !tbaa !9
  %180 = load i32, ptr %14, align 4, !tbaa !9
  %181 = load i32, ptr %7, align 4, !tbaa !9
  %182 = mul nsw i32 %180, %181
  %183 = add nsw i32 %179, %182
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds %"class.std::complex", ptr %178, i64 %184
  %186 = call <2 x float> @_ZStngIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %185)
  %187 = getelementptr inbounds %"class.std::complex", ptr %33, i32 0, i32 0
  store <2 x float> %186, ptr %187, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %33, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  %188 = load i32, ptr %14, align 4, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %34, ptr align 4 %15, i64 8, i1 false), !tbaa.struct !11
  %189 = load ptr, ptr %6, align 8, !tbaa !5
  %190 = getelementptr inbounds %"class.std::complex", ptr %189, i64 0
  %191 = load i32, ptr %14, align 4, !tbaa !9
  %192 = load i32, ptr %7, align 4, !tbaa !9
  %193 = mul nsw i32 %191, %192
  %194 = sext i32 %193 to i64
  %195 = getelementptr inbounds %"class.std::complex", ptr %190, i64 %194
  %196 = getelementptr inbounds %"class.std::complex", ptr %34, i32 0, i32 0
  %197 = load <2 x float>, ptr %196, align 4
  call void @_Z5cscaliSt7complexIfEPS0_i(i32 noundef %188, <2 x float> %197, ptr noundef %195, i32 noundef 1)
  %198 = load i32, ptr %14, align 4, !tbaa !9
  %199 = add nsw i32 %198, 1
  store i32 %199, ptr %13, align 4, !tbaa !9
  br label %200

200:                                              ; preds = %239, %159
  %201 = load i32, ptr %13, align 4, !tbaa !9
  %202 = load i32, ptr %8, align 4, !tbaa !9
  %203 = icmp slt i32 %201, %202
  br i1 %203, label %204, label %242

204:                                              ; preds = %200
  %205 = load ptr, ptr %6, align 8, !tbaa !5
  %206 = load i32, ptr %14, align 4, !tbaa !9
  %207 = load i32, ptr %13, align 4, !tbaa !9
  %208 = load i32, ptr %7, align 4, !tbaa !9
  %209 = mul nsw i32 %207, %208
  %210 = add nsw i32 %206, %209
  %211 = sext i32 %210 to i64
  %212 = getelementptr inbounds %"class.std::complex", ptr %205, i64 %211
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %212, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #6
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %35, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %213 = load ptr, ptr %6, align 8, !tbaa !5
  %214 = load i32, ptr %14, align 4, !tbaa !9
  %215 = load i32, ptr %13, align 4, !tbaa !9
  %216 = load i32, ptr %7, align 4, !tbaa !9
  %217 = mul nsw i32 %215, %216
  %218 = add nsw i32 %214, %217
  %219 = sext i32 %218 to i64
  %220 = getelementptr inbounds %"class.std::complex", ptr %213, i64 %219
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %220, ptr align 4 %35, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  %221 = load i32, ptr %14, align 4, !tbaa !9
  %222 = add nsw i32 %221, 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %36, ptr align 4 %15, i64 8, i1 false), !tbaa.struct !11
  %223 = load ptr, ptr %6, align 8, !tbaa !5
  %224 = getelementptr inbounds %"class.std::complex", ptr %223, i64 0
  %225 = load i32, ptr %14, align 4, !tbaa !9
  %226 = load i32, ptr %7, align 4, !tbaa !9
  %227 = mul nsw i32 %225, %226
  %228 = sext i32 %227 to i64
  %229 = getelementptr inbounds %"class.std::complex", ptr %224, i64 %228
  %230 = load ptr, ptr %6, align 8, !tbaa !5
  %231 = getelementptr inbounds %"class.std::complex", ptr %230, i64 0
  %232 = load i32, ptr %13, align 4, !tbaa !9
  %233 = load i32, ptr %7, align 4, !tbaa !9
  %234 = mul nsw i32 %232, %233
  %235 = sext i32 %234 to i64
  %236 = getelementptr inbounds %"class.std::complex", ptr %231, i64 %235
  %237 = getelementptr inbounds %"class.std::complex", ptr %36, i32 0, i32 0
  %238 = load <2 x float>, ptr %237, align 4
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %222, <2 x float> %238, ptr noundef %229, i32 noundef 1, ptr noundef %236, i32 noundef 1)
  br label %239

239:                                              ; preds = %204
  %240 = load i32, ptr %13, align 4, !tbaa !9
  %241 = add nsw i32 %240, 1
  store i32 %241, ptr %13, align 4, !tbaa !9
  br label %200, !llvm.loop !17

242:                                              ; preds = %200
  br label %243

243:                                              ; preds = %242
  %244 = load i32, ptr %14, align 4, !tbaa !9
  %245 = add nsw i32 %244, 1
  store i32 %245, ptr %14, align 4, !tbaa !9
  br label %138, !llvm.loop !18

246:                                              ; preds = %156, %138
  br label %373

247:                                              ; preds = %133
  store i32 0, ptr %12, align 4, !tbaa !9
  %248 = load i32, ptr %8, align 4, !tbaa !9
  %249 = sub nsw i32 %248, 1
  store i32 %249, ptr %14, align 4, !tbaa !9
  br label %250

250:                                              ; preds = %369, %247
  %251 = load i32, ptr %14, align 4, !tbaa !9
  %252 = icmp sle i32 0, %251
  br i1 %252, label %253, label %372

253:                                              ; preds = %250
  %254 = load ptr, ptr %6, align 8, !tbaa !5
  %255 = load i32, ptr %14, align 4, !tbaa !9
  %256 = load i32, ptr %14, align 4, !tbaa !9
  %257 = load i32, ptr %7, align 4, !tbaa !9
  %258 = mul nsw i32 %256, %257
  %259 = add nsw i32 %255, %258
  %260 = sext i32 %259 to i64
  %261 = getelementptr inbounds %"class.std::complex", ptr %254, i64 %260
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %37, ptr align 4 %261, i64 8, i1 false), !tbaa.struct !11
  %262 = getelementptr inbounds %"class.std::complex", ptr %37, i32 0, i32 0
  %263 = load <2 x float>, ptr %262, align 4
  %264 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %263)
  %265 = fpext float %264 to double
  %266 = fcmp oeq double %265, 0.000000e+00
  br i1 %266, label %267, label %270

267:                                              ; preds = %253
  %268 = load i32, ptr %14, align 4, !tbaa !9
  %269 = add nsw i32 %268, 1
  store i32 %269, ptr %12, align 4, !tbaa !9
  br label %372

270:                                              ; preds = %253
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #6
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %39, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %271 = load ptr, ptr %6, align 8, !tbaa !5
  %272 = load i32, ptr %14, align 4, !tbaa !9
  %273 = load i32, ptr %14, align 4, !tbaa !9
  %274 = load i32, ptr %7, align 4, !tbaa !9
  %275 = mul nsw i32 %273, %274
  %276 = add nsw i32 %272, %275
  %277 = sext i32 %276 to i64
  %278 = getelementptr inbounds %"class.std::complex", ptr %271, i64 %277
  %279 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %39, ptr noundef nonnull align 4 dereferenceable(8) %278)
  %280 = getelementptr inbounds %"class.std::complex", ptr %38, i32 0, i32 0
  store <2 x float> %279, ptr %280, align 4
  %281 = load ptr, ptr %6, align 8, !tbaa !5
  %282 = load i32, ptr %14, align 4, !tbaa !9
  %283 = load i32, ptr %14, align 4, !tbaa !9
  %284 = load i32, ptr %7, align 4, !tbaa !9
  %285 = mul nsw i32 %283, %284
  %286 = add nsw i32 %282, %285
  %287 = sext i32 %286 to i64
  %288 = getelementptr inbounds %"class.std::complex", ptr %281, i64 %287
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %288, ptr align 4 %38, 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
  %289 = load i32, ptr %14, align 4, !tbaa !9
  %290 = load i32, ptr %8, align 4, !tbaa !9
  %291 = sub nsw i32 %290, 1
  %292 = icmp ne i32 %289, %291
  br i1 %292, label %293, label %320

293:                                              ; preds = %270
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #6
  %294 = load ptr, ptr %6, align 8, !tbaa !5
  %295 = load i32, ptr %14, align 4, !tbaa !9
  %296 = load i32, ptr %14, align 4, !tbaa !9
  %297 = load i32, ptr %7, align 4, !tbaa !9
  %298 = mul nsw i32 %296, %297
  %299 = add nsw i32 %295, %298
  %300 = sext i32 %299 to i64
  %301 = getelementptr inbounds %"class.std::complex", ptr %294, i64 %300
  %302 = call <2 x float> @_ZStngIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %301)
  %303 = getelementptr inbounds %"class.std::complex", ptr %40, i32 0, i32 0
  store <2 x float> %302, ptr %303, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %40, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #6
  %304 = load i32, ptr %8, align 4, !tbaa !9
  %305 = load i32, ptr %14, align 4, !tbaa !9
  %306 = sub nsw i32 %304, %305
  %307 = sub nsw i32 %306, 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %41, ptr align 4 %15, i64 8, i1 false), !tbaa.struct !11
  %308 = load ptr, ptr %6, align 8, !tbaa !5
  %309 = load i32, ptr %14, align 4, !tbaa !9
  %310 = sext i32 %309 to i64
  %311 = getelementptr inbounds %"class.std::complex", ptr %308, i64 %310
  %312 = getelementptr inbounds %"class.std::complex", ptr %311, i64 1
  %313 = load i32, ptr %14, align 4, !tbaa !9
  %314 = load i32, ptr %7, align 4, !tbaa !9
  %315 = mul nsw i32 %313, %314
  %316 = sext i32 %315 to i64
  %317 = getelementptr inbounds %"class.std::complex", ptr %312, i64 %316
  %318 = getelementptr inbounds %"class.std::complex", ptr %41, i32 0, i32 0
  %319 = load <2 x float>, ptr %318, align 4
  call void @_Z5cscaliSt7complexIfEPS0_i(i32 noundef %307, <2 x float> %319, ptr noundef %317, i32 noundef 1)
  br label %320

320:                                              ; preds = %293, %270
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %321

321:                                              ; preds = %365, %320
  %322 = load i32, ptr %13, align 4, !tbaa !9
  %323 = load i32, ptr %14, align 4, !tbaa !9
  %324 = icmp slt i32 %322, %323
  br i1 %324, label %325, label %368

325:                                              ; preds = %321
  %326 = load ptr, ptr %6, align 8, !tbaa !5
  %327 = load i32, ptr %14, align 4, !tbaa !9
  %328 = load i32, ptr %13, align 4, !tbaa !9
  %329 = load i32, ptr %7, align 4, !tbaa !9
  %330 = mul nsw i32 %328, %329
  %331 = add nsw i32 %327, %330
  %332 = sext i32 %331 to i64
  %333 = getelementptr inbounds %"class.std::complex", ptr %326, i64 %332
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %333, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #6
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %42, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %334 = load ptr, ptr %6, align 8, !tbaa !5
  %335 = load i32, ptr %14, align 4, !tbaa !9
  %336 = load i32, ptr %13, align 4, !tbaa !9
  %337 = load i32, ptr %7, align 4, !tbaa !9
  %338 = mul nsw i32 %336, %337
  %339 = add nsw i32 %335, %338
  %340 = sext i32 %339 to i64
  %341 = getelementptr inbounds %"class.std::complex", ptr %334, i64 %340
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %341, ptr align 4 %42, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #6
  %342 = load i32, ptr %8, align 4, !tbaa !9
  %343 = load i32, ptr %14, align 4, !tbaa !9
  %344 = sub nsw i32 %342, %343
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %43, ptr align 4 %15, i64 8, i1 false), !tbaa.struct !11
  %345 = load ptr, ptr %6, align 8, !tbaa !5
  %346 = load i32, ptr %14, align 4, !tbaa !9
  %347 = sext i32 %346 to i64
  %348 = getelementptr inbounds %"class.std::complex", ptr %345, i64 %347
  %349 = load i32, ptr %14, align 4, !tbaa !9
  %350 = load i32, ptr %7, align 4, !tbaa !9
  %351 = mul nsw i32 %349, %350
  %352 = sext i32 %351 to i64
  %353 = getelementptr inbounds %"class.std::complex", ptr %348, i64 %352
  %354 = load ptr, ptr %6, align 8, !tbaa !5
  %355 = load i32, ptr %14, align 4, !tbaa !9
  %356 = sext i32 %355 to i64
  %357 = getelementptr inbounds %"class.std::complex", ptr %354, i64 %356
  %358 = load i32, ptr %13, align 4, !tbaa !9
  %359 = load i32, ptr %7, align 4, !tbaa !9
  %360 = mul nsw i32 %358, %359
  %361 = sext i32 %360 to i64
  %362 = getelementptr inbounds %"class.std::complex", ptr %357, i64 %361
  %363 = getelementptr inbounds %"class.std::complex", ptr %43, i32 0, i32 0
  %364 = load <2 x float>, ptr %363, align 4
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %344, <2 x float> %364, ptr noundef %353, i32 noundef 1, ptr noundef %362, i32 noundef 1)
  br label %365

365:                                              ; preds = %325
  %366 = load i32, ptr %13, align 4, !tbaa !9
  %367 = add nsw i32 %366, 1
  store i32 %367, ptr %13, align 4, !tbaa !9
  br label %321, !llvm.loop !19

368:                                              ; preds = %321
  br label %369

369:                                              ; preds = %368
  %370 = load i32, ptr %14, align 4, !tbaa !9
  %371 = add nsw i32 %370, -1
  store i32 %371, ptr %14, align 4, !tbaa !9
  br label %250, !llvm.loop !20

372:                                              ; preds = %267, %250
  br label %373

373:                                              ; preds = %372, %246
  br label %374

374:                                              ; preds = %373, %128
  %375 = load i32, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  ret i32 %375
}

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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{i64 0, i64 8, !12}
!12 = !{!7, !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !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

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

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

; 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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 -2147483647, -2147483648) i32 @_Z5ctrdiPSt7complexIfEiiS1_i(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 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 4
  %10 = alloca %"class.std::complex", align 4
  %11 = alloca %"class.std::complex", align 4
  %12 = alloca %"class.std::complex", align 4
  %13 = alloca %"class.std::complex", align 4
  %14 = alloca %"class.std::complex", align 8
  %15 = alloca %"class.std::complex", align 4
  %16 = 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)
  %.off = add i32 %4, 99
  %.not = icmp ult i32 %.off, 199
  br i1 %.not, label %.loopexit146, label %17

17:                                               ; preds = %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 1.000000e+00, float noundef 0.000000e+00)
  %18 = load i64, ptr %7, align 8, !tbaa !5
  store i64 %18, 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)
  %19 = getelementptr inbounds i8, ptr %3, i64 8
  %20 = load i64, ptr %8, align 8, !tbaa !5
  store i64 %20, ptr %19, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  %21 = add i32 %1, 1
  %22 = icmp sgt i32 %2, 0
  br i1 %22, label %.lr.ph154.preheader, label %.loopexit146

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

.lr.ph154:                                        ; preds = %.lr.ph154.preheader, %._crit_edge
  %indvars.iv = phi i64 [ 0, %.lr.ph154.preheader ], [ %indvars.iv.next, %._crit_edge ]
  %23 = trunc nuw nsw i64 %indvars.iv to i32
  %24 = mul i32 %21, %23
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %25
  %27 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %3, ptr noundef nonnull align 4 dereferenceable(8) %26)
  store <2 x float> %27, ptr %3, align 4, !tbaa !5
  %28 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %27)
  %29 = fcmp oeq float %28, 0.000000e+00
  br i1 %29, label %.loopexit146, label %.preheader145

.preheader145:                                    ; preds = %.lr.ph154
  %.sroa.015.0.copyload149 = load <2 x float>, ptr %3, align 4, !tbaa !5
  %30 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.015.0.copyload149)
  %31 = fcmp olt float %30, 1.000000e+00
  br i1 %31, label %.lr.ph, label %.preheader144

.preheader144:                                    ; preds = %.lr.ph, %.preheader145
  %.sroa.012.0.copyload150 = load <2 x float>, ptr %3, align 4, !tbaa !5
  %32 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.012.0.copyload150)
  %33 = fcmp ult float %32, 1.000000e+01
  br i1 %33, label %._crit_edge, label %.lr.ph151

.lr.ph:                                           ; preds = %.preheader145, %.lr.ph
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef 1.000000e+01, float noundef 0.000000e+00)
  %34 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %3, ptr noundef nonnull align 4 dereferenceable(8) %9)
  store <2 x float> %34, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %35 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %19, ptr noundef nonnull align 4 dereferenceable(8) %10)
  store <2 x float> %35, ptr %19, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  %.sroa.015.0.copyload = load <2 x float>, ptr %3, align 4, !tbaa !5
  %36 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.015.0.copyload)
  %37 = fcmp olt float %36, 1.000000e+00
  br i1 %37, label %.lr.ph, label %.preheader144, !llvm.loop !8

.lr.ph151:                                        ; preds = %.preheader144, %.lr.ph151
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef 1.000000e+01, float noundef 0.000000e+00)
  %38 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %3, ptr noundef nonnull align 4 dereferenceable(8) %11)
  store <2 x float> %38, ptr %3, 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 1.000000e+00, float noundef 0.000000e+00)
  %39 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %19, ptr noundef nonnull align 4 dereferenceable(8) %12)
  store <2 x float> %39, ptr %19, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  %.sroa.012.0.copyload = load <2 x float>, ptr %3, align 4, !tbaa !5
  %40 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.012.0.copyload)
  %41 = fcmp ult float %40, 1.000000e+01
  br i1 %41, label %._crit_edge, label %.lr.ph151, !llvm.loop !10

._crit_edge:                                      ; preds = %.lr.ph151, %.preheader144
  %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 %.loopexit146, label %.lr.ph154, !llvm.loop !11

.loopexit146:                                     ; preds = %.lr.ph154, %._crit_edge, %17, %5
  %42 = sdiv i32 %4, 10
  %43 = srem i32 %4, 10
  %44 = srem i32 %42, 10
  %.not139 = icmp eq i32 %44, 0
  br i1 %.not139, label %.loopexit, label %45

45:                                               ; preds = %.loopexit146
  %.not140 = icmp eq i32 %43, 0
  %46 = icmp sgt i32 %2, 0
  br i1 %.not140, label %68, label %.preheader

.preheader:                                       ; preds = %45
  br i1 %46, label %.lr.ph160.preheader, label %.loopexit

.lr.ph160.preheader:                              ; preds = %.preheader
  %47 = sext i32 %1 to i64
  %48 = zext nneg i32 %2 to i64
  %wide.trip.count182 = zext nneg i32 %2 to i64
  br label %.lr.ph160

.loopexit142:                                     ; preds = %.lr.ph158, %57
  %indvars.iv.next173 = add nuw nsw i64 %indvars.iv172, 1
  %exitcond183.not = icmp eq i64 %indvars.iv.next180, %wide.trip.count182
  br i1 %exitcond183.not, label %.loopexit, label %.lr.ph160, !llvm.loop !12

.lr.ph160:                                        ; preds = %.lr.ph160.preheader, %.loopexit142
  %indvars.iv179 = phi i64 [ 0, %.lr.ph160.preheader ], [ %indvars.iv.next180, %.loopexit142 ]
  %indvars.iv172 = phi i64 [ 1, %.lr.ph160.preheader ], [ %indvars.iv.next173, %.loopexit142 ]
  %indvars181 = trunc i64 %indvars.iv179 to i32
  %49 = mul nsw i32 %indvars181, %1
  %50 = sext i32 %49 to i64
  %51 = getelementptr %"class.std::complex", ptr %0, i64 %indvars.iv179
  %52 = getelementptr %"class.std::complex", ptr %51, i64 %50
  %.sroa.09.0.copyload = load <2 x float>, ptr %52, align 4, !tbaa !5
  %53 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.09.0.copyload)
  %54 = fcmp oeq float %53, 0.000000e+00
  br i1 %54, label %55, label %57

55:                                               ; preds = %.lr.ph160
  %56 = add nuw nsw i32 %indvars181, 1
  br label %.loopexit

57:                                               ; preds = %.lr.ph160
  %58 = mul nsw i64 %indvars.iv179, %47
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #5
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %59 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %52)
  store <2 x float> %59, ptr %52, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  %60 = call <2 x float> @_ZStngIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %52)
  store <2 x float> %60, ptr %6, align 8, !tbaa !5
  %61 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %58
  call void @_Z5cscaliSt7complexIfEPS0_i(i32 noundef %indvars181, <2 x float> %60, ptr noundef %61, i32 noundef 1)
  %indvars.iv.next180 = add nuw nsw i64 %indvars.iv179, 1
  %62 = icmp ult i64 %indvars.iv.next180, %48
  br i1 %62, label %.lr.ph158.preheader, label %.loopexit142

.lr.ph158.preheader:                              ; preds = %57
  %invariant.gep = getelementptr %"class.std::complex", ptr %0, i64 %indvars.iv179
  %63 = trunc nuw nsw i64 %indvars.iv.next180 to i32
  br label %.lr.ph158

.lr.ph158:                                        ; preds = %.lr.ph158.preheader, %.lr.ph158
  %indvars.iv174 = phi i64 [ %indvars.iv172, %.lr.ph158.preheader ], [ %indvars.iv.next175, %.lr.ph158 ]
  %64 = mul nsw i64 %indvars.iv174, %47
  %gep195 = getelementptr %"class.std::complex", ptr %invariant.gep, i64 %64
  %65 = load i64, ptr %gep195, align 4, !tbaa !5
  store i64 %65, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #5
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %66 = load i64, ptr %14, align 8, !tbaa !5
  store i64 %66, ptr %gep195, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  %.sroa.05.0.copyload = load <2 x float>, ptr %6, align 8, !tbaa !5
  %67 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %64
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %63, <2 x float> %.sroa.05.0.copyload, ptr noundef nonnull %61, i32 noundef 1, ptr noundef %67, i32 noundef 1)
  %indvars.iv.next175 = add nuw nsw i64 %indvars.iv174, 1
  %exitcond178.not = icmp eq i64 %indvars.iv.next175, %wide.trip.count182
  br i1 %exitcond178.not, label %.loopexit142, label %.lr.ph158, !llvm.loop !13

68:                                               ; preds = %45
  br i1 %46, label %.lr.ph167.preheader, label %.loopexit

.lr.ph167.preheader:                              ; preds = %68
  %69 = add nsw i32 %2, -1
  %70 = sext i32 %1 to i64
  %71 = zext nneg i32 %2 to i64
  %72 = zext nneg i32 %69 to i64
  br label %.lr.ph167

.lr.ph167:                                        ; preds = %.lr.ph167.preheader, %._crit_edge164
  %indvars.iv189.in = phi i64 [ %71, %.lr.ph167.preheader ], [ %indvars.iv189, %._crit_edge164 ]
  %indvars.iv189 = add nsw i64 %indvars.iv189.in, -1
  %indvars191 = trunc i64 %indvars.iv189 to i32
  %73 = mul nsw i64 %indvars.iv189, %70
  %74 = mul nsw i32 %indvars191, %1
  %75 = sext i32 %74 to i64
  %76 = getelementptr %"class.std::complex", ptr %0, i64 %indvars.iv189
  %77 = getelementptr %"class.std::complex", ptr %76, i64 %75
  %.sroa.04.0.copyload = load <2 x float>, ptr %77, align 4, !tbaa !5
  %78 = call noundef float @_Z5cabs1St7complexIfE(<2 x float> %.sroa.04.0.copyload)
  %79 = fcmp oeq float %78, 0.000000e+00
  br i1 %79, label %80, label %82

80:                                               ; preds = %.lr.ph167
  %81 = add nuw nsw i32 %indvars191, 1
  br label %.loopexit

82:                                               ; preds = %.lr.ph167
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #5
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %83 = call <2 x float> @_ZStdvIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef nonnull align 4 dereferenceable(8) %77)
  store <2 x float> %83, ptr %77, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  %.not141 = icmp eq i64 %indvars.iv189, %72
  br i1 %.not141, label %89, label %84

84:                                               ; preds = %82
  %85 = call <2 x float> @_ZStngIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %77)
  store <2 x float> %85, ptr %6, align 8, !tbaa !5
  %86 = xor i32 %indvars191, -1
  %87 = add i32 %86, %2
  %gep = getelementptr %"class.std::complex", ptr %0, i64 %indvars.iv189.in
  %88 = getelementptr inbounds %"class.std::complex", ptr %gep, i64 %73
  call void @_Z5cscaliSt7complexIfEPS0_i(i32 noundef %87, <2 x float> %85, ptr noundef nonnull %88, i32 noundef 1)
  br label %89

89:                                               ; preds = %84, %82
  %90 = icmp ugt i64 %indvars.iv189.in, 1
  br i1 %90, label %.lr.ph163, label %.loopexit

.lr.ph163:                                        ; preds = %89
  %91 = getelementptr inbounds %"class.std::complex", ptr %0, i64 %indvars.iv189
  %92 = getelementptr inbounds %"class.std::complex", ptr %91, i64 %73
  %invariant.gep196 = getelementptr %"class.std::complex", ptr %0, i64 %indvars.iv189
  %93 = trunc i64 %indvars.iv189 to i32
  %94 = sub i32 %2, %93
  br label %95

95:                                               ; preds = %.lr.ph163, %95
  %indvars.iv184 = phi i64 [ 0, %.lr.ph163 ], [ %indvars.iv.next185, %95 ]
  %96 = mul nsw i64 %indvars.iv184, %70
  %gep197 = getelementptr %"class.std::complex", ptr %invariant.gep196, i64 %96
  %97 = load i64, ptr %gep197, align 4, !tbaa !5
  store i64 %97, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #5
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %98 = load i64, ptr %16, align 8, !tbaa !5
  store i64 %98, ptr %gep197, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #5
  %.sroa.0.0.copyload = load <2 x float>, ptr %6, align 8, !tbaa !5
  %99 = getelementptr inbounds %"class.std::complex", ptr %91, i64 %96
  call void @_Z5caxpyiSt7complexIfEPS0_iS1_i(i32 noundef %94, <2 x float> %.sroa.0.0.copyload, ptr noundef nonnull %92, i32 noundef 1, ptr noundef nonnull %99, i32 noundef 1)
  %indvars.iv.next185 = add nuw nsw i64 %indvars.iv184, 1
  %exitcond188.not = icmp eq i64 %indvars.iv.next185, %indvars.iv189
  br i1 %exitcond188.not, label %._crit_edge164, label %95, !llvm.loop !14

._crit_edge164:                                   ; preds = %95
  br i1 %90, label %.lr.ph167, label %.loopexit, !llvm.loop !15

.loopexit:                                        ; preds = %.loopexit142, %89, %._crit_edge164, %.preheader, %68, %55, %80, %.loopexit146
  %.0134 = phi i32 [ %56, %55 ], [ %81, %80 ], [ 0, %.loopexit146 ], [ 0, %68 ], [ 0, %.preheader ], [ 0, %._crit_edge164 ], [ 0, %89 ], [ 0, %.loopexit142 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  ret i32 %.0134
}

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}
!11 = distinct !{!11, !9}
!12 = distinct !{!12, !9}
!13 = distinct !{!13, !9}
!14 = distinct !{!14, !9}
!15 = distinct !{!15, !9}


; Effective O3 passes: CorrelatedValuePropagationPass,DivRemPairsPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass