; LLVM IR from sgtlaugh/algovault :: code_library/fft.ll (ZN3fft12mod_multiplyESt6vectorIxSaIxEES2_ii)

; 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"

%"struct.fft::(anonymous namespace)::ComplexNum" = type { x86_fp80, x86_fp80 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }

@_ZN3fft12_GLOBAL__N_11uE = external hidden global [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], align 16
@_ZN3fft12_GLOBAL__N_11wE = external hidden global [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], align 16
@_ZN3fft12_GLOBAL__N_11fE = external hidden global [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], align 16
@_ZN3fft12_GLOBAL__N_11gE = external hidden global [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], align 16
@_ZN3fft12_GLOBAL__N_12dpE = external hidden global [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], align 16

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZN3fft12_GLOBAL__N_110ComplexNumC2Eee(ptr noundef nonnull align 16 dereferenceable(32), x86_fp80 noundef, x86_fp80 noundef) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN3fft12_GLOBAL__N_15buildERSt6vectorIxSaIxEES4_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 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) #4

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN3fft12_GLOBAL__N_19transformEPNS0_10ComplexNumES2_S2_i(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #3

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN3fft12_GLOBAL__N_110ComplexNummlES1_(ptr dead_on_unwind noalias writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16, ptr noundef nonnull align 16 dereferenceable(32), ptr noundef byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIxSaIxEEC2EmRKxRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #0

; Function Attrs: mustprogress uwtable
declare hidden noundef i64 @_ZN3fft12_GLOBAL__N_116round_to_nearestERKe(ptr noundef nonnull align 16 dereferenceable(16)) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN3fft12_GLOBAL__N_18is_equalERKSt6vectorIxSaIxEES5_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN3fft12_GLOBAL__N_110ComplexNummiES1_(ptr dead_on_unwind noalias writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16, ptr noundef nonnull align 16 dereferenceable(32), ptr noundef byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN3fft12_GLOBAL__N_110ComplexNum9conjugateEv(ptr dead_on_unwind noalias writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16, ptr noundef nonnull align 16 dereferenceable(32)) #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3fft12mod_multiplyESt6vectorIxSaIxEES2_ii(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #3 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %20 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %21 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %22 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %23 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %24 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %25 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %26 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %27 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %28 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %29 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %30 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %31 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %32 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %33 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %34 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %35 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %36 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %37 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %38 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %39 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %40 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %41 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %42 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %43 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %44 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %45 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %46 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %47 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %48 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %49 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %50 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %51 = alloca i1, align 1
  %52 = alloca i64, align 8
  %53 = alloca %"class.std::allocator", align 1
  %54 = alloca ptr, align 8
  %55 = alloca i32, align 4
  store ptr %0, ptr %6, align 8
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store i32 %3, ptr %9, align 4, !tbaa !9
  store i32 %4, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  %56 = load i32, ptr %10, align 4, !tbaa !9
  %57 = shl i32 1, %56
  %58 = sub nsw i32 %57, 1
  store i32 %58, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  %59 = call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %60 = call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  %61 = add i64 %59, %60
  %62 = sub i64 %61, 1
  %63 = trunc i64 %62 to i32
  store i32 %63, ptr %18, align 4, !tbaa !9
  %64 = call noundef i32 @_ZN3fft12_GLOBAL__N_15buildERSt6vectorIxSaIxEES4_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2)
  store i32 %64, ptr %17, align 4, !tbaa !9
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %65

65:                                               ; preds = %84, %5
  %66 = load i32, ptr %15, align 4, !tbaa !9
  %67 = load i32, ptr %17, align 4, !tbaa !9
  %68 = icmp slt i32 %66, %67
  br i1 %68, label %69, label %87

69:                                               ; preds = %65
  %70 = load i32, ptr %9, align 4, !tbaa !9
  %71 = sext i32 %70 to i64
  %72 = load i32, ptr %15, align 4, !tbaa !9
  %73 = sext i32 %72 to i64
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %73) #6
  %75 = load i64, ptr %74, align 8, !tbaa !11
  %76 = srem i64 %75, %71
  store i64 %76, ptr %74, align 8, !tbaa !11
  %77 = load i32, ptr %9, align 4, !tbaa !9
  %78 = sext i32 %77 to i64
  %79 = load i32, ptr %15, align 4, !tbaa !9
  %80 = sext i32 %79 to i64
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %80) #6
  %82 = load i64, ptr %81, align 8, !tbaa !11
  %83 = srem i64 %82, %78
  store i64 %83, ptr %81, align 8, !tbaa !11
  br label %84

84:                                               ; preds = %69
  %85 = load i32, ptr %15, align 4, !tbaa !9
  %86 = add nsw i32 %85, 1
  store i32 %86, ptr %15, align 4, !tbaa !9
  br label %65, !llvm.loop !13

87:                                               ; preds = %65
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %88

88:                                               ; preds = %112, %87
  %89 = load i32, ptr %15, align 4, !tbaa !9
  %90 = load i32, ptr %17, align 4, !tbaa !9
  %91 = icmp slt i32 %89, %90
  br i1 %91, label %92, label %115

92:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #6
  %93 = load i32, ptr %15, align 4, !tbaa !9
  %94 = sext i32 %93 to i64
  %95 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %94) #6
  %96 = load i64, ptr %95, align 8, !tbaa !11
  %97 = load i32, ptr %11, align 4, !tbaa !9
  %98 = sext i32 %97 to i64
  %99 = and i64 %96, %98
  %100 = sitofp i64 %99 to x86_fp80
  %101 = load i32, ptr %15, align 4, !tbaa !9
  %102 = sext i32 %101 to i64
  %103 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %102) #6
  %104 = load i64, ptr %103, align 8, !tbaa !11
  %105 = load i32, ptr %10, align 4, !tbaa !9
  %106 = zext i32 %105 to i64
  %107 = ashr i64 %104, %106
  %108 = sitofp i64 %107 to x86_fp80
  call void @_ZN3fft12_GLOBAL__N_110ComplexNumC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %19, x86_fp80 noundef %100, x86_fp80 noundef %108)
  %109 = load i32, ptr %15, align 4, !tbaa !9
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11uE, i64 0, i64 %110
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %111, ptr align 16 %19, i64 32, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #6
  br label %112

112:                                              ; preds = %92
  %113 = load i32, ptr %15, align 4, !tbaa !9
  %114 = add nsw i32 %113, 1
  store i32 %114, ptr %15, align 4, !tbaa !9
  br label %88, !llvm.loop !18

115:                                              ; preds = %88
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %116

116:                                              ; preds = %140, %115
  %117 = load i32, ptr %15, align 4, !tbaa !9
  %118 = load i32, ptr %17, align 4, !tbaa !9
  %119 = icmp slt i32 %117, %118
  br i1 %119, label %120, label %143

120:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #6
  %121 = load i32, ptr %15, align 4, !tbaa !9
  %122 = sext i32 %121 to i64
  %123 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %122) #6
  %124 = load i64, ptr %123, align 8, !tbaa !11
  %125 = load i32, ptr %11, align 4, !tbaa !9
  %126 = sext i32 %125 to i64
  %127 = and i64 %124, %126
  %128 = sitofp i64 %127 to x86_fp80
  %129 = load i32, ptr %15, align 4, !tbaa !9
  %130 = sext i32 %129 to i64
  %131 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %130) #6
  %132 = load i64, ptr %131, align 8, !tbaa !11
  %133 = load i32, ptr %10, align 4, !tbaa !9
  %134 = zext i32 %133 to i64
  %135 = ashr i64 %132, %134
  %136 = sitofp i64 %135 to x86_fp80
  call void @_ZN3fft12_GLOBAL__N_110ComplexNumC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %20, x86_fp80 noundef %128, x86_fp80 noundef %136)
  %137 = load i32, ptr %15, align 4, !tbaa !9
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11wE, i64 0, i64 %138
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %139, ptr align 16 %20, i64 32, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #6
  br label %140

140:                                              ; preds = %120
  %141 = load i32, ptr %15, align 4, !tbaa !9
  %142 = add nsw i32 %141, 1
  store i32 %142, ptr %15, align 4, !tbaa !9
  br label %116, !llvm.loop !19

143:                                              ; preds = %116
  %144 = load i32, ptr %17, align 4, !tbaa !9
  call void @_ZN3fft12_GLOBAL__N_19transformEPNS0_10ComplexNumES2_S2_i(ptr noundef @_ZN3fft12_GLOBAL__N_11uE, ptr noundef @_ZN3fft12_GLOBAL__N_11fE, ptr noundef @_ZN3fft12_GLOBAL__N_12dpE, i32 noundef %144)
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %145

145:                                              ; preds = %156, %143
  %146 = load i32, ptr %15, align 4, !tbaa !9
  %147 = load i32, ptr %17, align 4, !tbaa !9
  %148 = icmp slt i32 %146, %147
  br i1 %148, label %149, label %159

149:                                              ; preds = %145
  %150 = load i32, ptr %15, align 4, !tbaa !9
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11fE, i64 0, i64 %151
  %153 = load i32, ptr %15, align 4, !tbaa !9
  %154 = sext i32 %153 to i64
  %155 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11gE, i64 0, i64 %154
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %155, ptr align 16 %152, i64 32, i1 false), !tbaa.struct !15
  br label %156

156:                                              ; preds = %149
  %157 = load i32, ptr %15, align 4, !tbaa !9
  %158 = add nsw i32 %157, 1
  store i32 %158, ptr %15, align 4, !tbaa !9
  br label %145, !llvm.loop !20

159:                                              ; preds = %145
  %160 = call noundef zeroext i1 @_ZN3fft12_GLOBAL__N_18is_equalERKSt6vectorIxSaIxEES5_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2)
  br i1 %160, label %163, label %161

161:                                              ; preds = %159
  %162 = load i32, ptr %17, align 4, !tbaa !9
  call void @_ZN3fft12_GLOBAL__N_19transformEPNS0_10ComplexNumES2_S2_i(ptr noundef @_ZN3fft12_GLOBAL__N_11wE, ptr noundef @_ZN3fft12_GLOBAL__N_11gE, ptr noundef @_ZN3fft12_GLOBAL__N_12dpE, i32 noundef %162)
  br label %163

163:                                              ; preds = %161, %159
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %164

164:                                              ; preds = %207, %163
  %165 = load i32, ptr %15, align 4, !tbaa !9
  %166 = load i32, ptr %17, align 4, !tbaa !9
  %167 = icmp slt i32 %165, %166
  br i1 %167, label %168, label %210

168:                                              ; preds = %164
  %169 = load i32, ptr %17, align 4, !tbaa !9
  %170 = sub nsw i32 %169, 1
  %171 = load i32, ptr %17, align 4, !tbaa !9
  %172 = load i32, ptr %15, align 4, !tbaa !9
  %173 = sub nsw i32 %171, %172
  %174 = and i32 %170, %173
  store i32 %174, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #6
  %175 = load i32, ptr %16, align 4, !tbaa !9
  %176 = sext i32 %175 to i64
  %177 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11fE, i64 0, i64 %176
  call void @_ZN3fft12_GLOBAL__N_110ComplexNum9conjugateEv(ptr dead_on_unwind writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %21, ptr noundef nonnull align 16 dereferenceable(32) %177)
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #6
  %178 = load i32, ptr %16, align 4, !tbaa !9
  %179 = sext i32 %178 to i64
  %180 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11gE, i64 0, i64 %179
  call void @_ZN3fft12_GLOBAL__N_110ComplexNum9conjugateEv(ptr dead_on_unwind writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %22, ptr noundef nonnull align 16 dereferenceable(32) %180)
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %24) #6
  %181 = load i32, ptr %15, align 4, !tbaa !9
  %182 = sext i32 %181 to i64
  %183 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11fE, i64 0, i64 %182
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %25, ptr align 16 %21, i64 32, i1 false), !tbaa.struct !15
  call void @_ZN3fft12_GLOBAL__N_110ComplexNumplES1_(ptr dead_on_unwind writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %24, ptr noundef nonnull align 16 dereferenceable(32) %183, ptr noundef byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %25)
  call void @_ZN3fft12_GLOBAL__N_110ComplexNumC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %26, x86_fp80 noundef 0xK3FFE8000000000000000, x86_fp80 noundef 0xK00000000000000000000)
  call void @_ZN3fft12_GLOBAL__N_110ComplexNummlES1_(ptr dead_on_unwind writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %23, ptr noundef nonnull align 16 dereferenceable(32) %24, ptr noundef byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %26)
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #6
  %184 = load i32, ptr %15, align 4, !tbaa !9
  %185 = sext i32 %184 to i64
  %186 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11fE, i64 0, i64 %185
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %29, ptr align 16 %21, i64 32, i1 false), !tbaa.struct !15
  call void @_ZN3fft12_GLOBAL__N_110ComplexNummiES1_(ptr dead_on_unwind writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %28, ptr noundef nonnull align 16 dereferenceable(32) %186, ptr noundef byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %29)
  call void @_ZN3fft12_GLOBAL__N_110ComplexNumC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %30, x86_fp80 noundef 0xK00000000000000000000, x86_fp80 noundef 0xKBFFE8000000000000000)
  call void @_ZN3fft12_GLOBAL__N_110ComplexNummlES1_(ptr dead_on_unwind writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %27, ptr noundef nonnull align 16 dereferenceable(32) %28, ptr noundef byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %30)
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %31) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %32) #6
  %187 = load i32, ptr %15, align 4, !tbaa !9
  %188 = sext i32 %187 to i64
  %189 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11gE, i64 0, i64 %188
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %33, ptr align 16 %22, i64 32, i1 false), !tbaa.struct !15
  call void @_ZN3fft12_GLOBAL__N_110ComplexNumplES1_(ptr dead_on_unwind writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %32, ptr noundef nonnull align 16 dereferenceable(32) %189, ptr noundef byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %33)
  %190 = load i32, ptr %17, align 4, !tbaa !9
  %191 = sitofp i32 %190 to double
  %192 = fdiv double 5.000000e-01, %191
  %193 = fpext double %192 to x86_fp80
  call void @_ZN3fft12_GLOBAL__N_110ComplexNumC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %34, x86_fp80 noundef %193, x86_fp80 noundef 0xK00000000000000000000)
  call void @_ZN3fft12_GLOBAL__N_110ComplexNummlES1_(ptr dead_on_unwind writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %31, ptr noundef nonnull align 16 dereferenceable(32) %32, ptr noundef byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %34)
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %35) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %36) #6
  %194 = load i32, ptr %15, align 4, !tbaa !9
  %195 = sext i32 %194 to i64
  %196 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11gE, i64 0, i64 %195
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %37, ptr align 16 %22, i64 32, i1 false), !tbaa.struct !15
  call void @_ZN3fft12_GLOBAL__N_110ComplexNummiES1_(ptr dead_on_unwind writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %36, ptr noundef nonnull align 16 dereferenceable(32) %196, ptr noundef byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %37)
  %197 = load i32, ptr %17, align 4, !tbaa !9
  %198 = sitofp i32 %197 to double
  %199 = fdiv double -5.000000e-01, %198
  %200 = fpext double %199 to x86_fp80
  call void @_ZN3fft12_GLOBAL__N_110ComplexNumC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %38, x86_fp80 noundef 0xK00000000000000000000, x86_fp80 noundef %200)
  call void @_ZN3fft12_GLOBAL__N_110ComplexNummlES1_(ptr dead_on_unwind writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %35, ptr noundef nonnull align 16 dereferenceable(32) %36, ptr noundef byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %38)
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %39) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %40) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %41, ptr align 16 %31, i64 32, i1 false), !tbaa.struct !15
  call void @_ZN3fft12_GLOBAL__N_110ComplexNummlES1_(ptr dead_on_unwind writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %40, ptr noundef nonnull align 16 dereferenceable(32) %23, ptr noundef byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %41)
  call void @llvm.lifetime.start.p0(i64 32, ptr %43) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %44, ptr align 16 %35, i64 32, i1 false), !tbaa.struct !15
  call void @_ZN3fft12_GLOBAL__N_110ComplexNummlES1_(ptr dead_on_unwind writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %43, ptr noundef nonnull align 16 dereferenceable(32) %27, ptr noundef byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %44)
  call void @_ZN3fft12_GLOBAL__N_110ComplexNumC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %45, x86_fp80 noundef 0xK00000000000000000000, x86_fp80 noundef 0xK3FFF8000000000000000)
  call void @_ZN3fft12_GLOBAL__N_110ComplexNummlES1_(ptr dead_on_unwind writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %42, ptr noundef nonnull align 16 dereferenceable(32) %43, ptr noundef byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %45)
  call void @_ZN3fft12_GLOBAL__N_110ComplexNumplES1_(ptr dead_on_unwind writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %39, ptr noundef nonnull align 16 dereferenceable(32) %40, ptr noundef byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %42)
  %201 = load i32, ptr %16, align 4, !tbaa !9
  %202 = sext i32 %201 to i64
  %203 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11uE, i64 0, i64 %202
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %203, ptr align 16 %39, i64 32, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 32, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %46) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %47) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %48, ptr align 16 %35, i64 32, i1 false), !tbaa.struct !15
  call void @_ZN3fft12_GLOBAL__N_110ComplexNummlES1_(ptr dead_on_unwind writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %47, ptr noundef nonnull align 16 dereferenceable(32) %23, ptr noundef byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %48)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %50, ptr align 16 %31, i64 32, i1 false), !tbaa.struct !15
  call void @_ZN3fft12_GLOBAL__N_110ComplexNummlES1_(ptr dead_on_unwind writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %49, ptr noundef nonnull align 16 dereferenceable(32) %27, ptr noundef byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %50)
  call void @_ZN3fft12_GLOBAL__N_110ComplexNumplES1_(ptr dead_on_unwind writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %46, ptr noundef nonnull align 16 dereferenceable(32) %47, ptr noundef byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %49)
  %204 = load i32, ptr %16, align 4, !tbaa !9
  %205 = sext i32 %204 to i64
  %206 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11wE, i64 0, i64 %205
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %206, ptr align 16 %46, i64 32, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 32, ptr %47) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %46) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #6
  br label %207

207:                                              ; preds = %168
  %208 = load i32, ptr %15, align 4, !tbaa !9
  %209 = add nsw i32 %208, 1
  store i32 %209, ptr %15, align 4, !tbaa !9
  br label %164, !llvm.loop !21

210:                                              ; preds = %164
  %211 = load i32, ptr %17, align 4, !tbaa !9
  call void @_ZN3fft12_GLOBAL__N_19transformEPNS0_10ComplexNumES2_S2_i(ptr noundef @_ZN3fft12_GLOBAL__N_11uE, ptr noundef @_ZN3fft12_GLOBAL__N_11fE, ptr noundef @_ZN3fft12_GLOBAL__N_12dpE, i32 noundef %211)
  %212 = load i32, ptr %17, align 4, !tbaa !9
  call void @_ZN3fft12_GLOBAL__N_19transformEPNS0_10ComplexNumES2_S2_i(ptr noundef @_ZN3fft12_GLOBAL__N_11wE, ptr noundef @_ZN3fft12_GLOBAL__N_11gE, ptr noundef @_ZN3fft12_GLOBAL__N_12dpE, i32 noundef %212)
  store i1 false, ptr %51, align 1
  %213 = load i32, ptr %18, align 4, !tbaa !9
  %214 = sext i32 %213 to i64
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #6
  store i64 0, ptr %52, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %53) #6
  call void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %53) #6
  invoke void @_ZNSt6vectorIxSaIxEEC2EmRKxRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %214, ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef nonnull align 1 dereferenceable(1) %53)
          to label %215 unwind label %268

215:                                              ; preds = %210
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %53) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %53) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #6
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %216

216:                                              ; preds = %265, %215
  %217 = load i32, ptr %15, align 4, !tbaa !9
  %218 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %17, ptr noundef nonnull align 4 dereferenceable(4) %18)
          to label %219 unwind label %272

219:                                              ; preds = %216
  %220 = load i32, ptr %218, align 4, !tbaa !9
  %221 = icmp slt i32 %217, %220
  br i1 %221, label %222, label %276

222:                                              ; preds = %219
  %223 = load i32, ptr %15, align 4, !tbaa !9
  %224 = sext i32 %223 to i64
  %225 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11fE, i64 0, i64 %224
  %226 = getelementptr inbounds %"struct.fft::(anonymous namespace)::ComplexNum", ptr %225, i32 0, i32 0
  %227 = invoke noundef i64 @_ZN3fft12_GLOBAL__N_116round_to_nearestERKe(ptr noundef nonnull align 16 dereferenceable(16) %226)
          to label %228 unwind label %272

228:                                              ; preds = %222
  store i64 %227, ptr %12, align 8, !tbaa !11
  %229 = load i32, ptr %15, align 4, !tbaa !9
  %230 = sext i32 %229 to i64
  %231 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11gE, i64 0, i64 %230
  %232 = getelementptr inbounds %"struct.fft::(anonymous namespace)::ComplexNum", ptr %231, i32 0, i32 0
  %233 = invoke noundef i64 @_ZN3fft12_GLOBAL__N_116round_to_nearestERKe(ptr noundef nonnull align 16 dereferenceable(16) %232)
          to label %234 unwind label %272

234:                                              ; preds = %228
  store i64 %233, ptr %13, align 8, !tbaa !11
  %235 = load i32, ptr %15, align 4, !tbaa !9
  %236 = sext i32 %235 to i64
  %237 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11fE, i64 0, i64 %236
  %238 = getelementptr inbounds %"struct.fft::(anonymous namespace)::ComplexNum", ptr %237, i32 0, i32 1
  %239 = invoke noundef i64 @_ZN3fft12_GLOBAL__N_116round_to_nearestERKe(ptr noundef nonnull align 16 dereferenceable(16) %238)
          to label %240 unwind label %272

240:                                              ; preds = %234
  store i64 %239, ptr %14, align 8, !tbaa !11
  %241 = load i64, ptr %12, align 8, !tbaa !11
  %242 = load i64, ptr %13, align 8, !tbaa !11
  %243 = load i32, ptr %9, align 4, !tbaa !9
  %244 = sext i32 %243 to i64
  %245 = srem i64 %242, %244
  %246 = load i32, ptr %10, align 4, !tbaa !9
  %247 = zext i32 %246 to i64
  %248 = shl i64 %245, %247
  %249 = add nsw i64 %241, %248
  %250 = load i64, ptr %14, align 8, !tbaa !11
  %251 = load i32, ptr %9, align 4, !tbaa !9
  %252 = sext i32 %251 to i64
  %253 = srem i64 %250, %252
  %254 = load i32, ptr %10, align 4, !tbaa !9
  %255 = mul nsw i32 2, %254
  %256 = zext i32 %255 to i64
  %257 = shl i64 %253, %256
  %258 = add nsw i64 %249, %257
  %259 = load i32, ptr %9, align 4, !tbaa !9
  %260 = sext i32 %259 to i64
  %261 = srem i64 %258, %260
  %262 = load i32, ptr %15, align 4, !tbaa !9
  %263 = sext i32 %262 to i64
  %264 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %263) #6
  store i64 %261, ptr %264, align 8, !tbaa !11
  br label %265

265:                                              ; preds = %240
  %266 = load i32, ptr %15, align 4, !tbaa !9
  %267 = add nsw i32 %266, 1
  store i32 %267, ptr %15, align 4, !tbaa !9
  br label %216, !llvm.loop !22

268:                                              ; preds = %210
  %269 = landingpad { ptr, i32 }
          cleanup
  %270 = extractvalue { ptr, i32 } %269, 0
  store ptr %270, ptr %54, align 8
  %271 = extractvalue { ptr, i32 } %269, 1
  store i32 %271, ptr %55, align 4
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %53) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %53) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #6
  br label %280

272:                                              ; preds = %234, %228, %222, %216
  %273 = landingpad { ptr, i32 }
          cleanup
  %274 = extractvalue { ptr, i32 } %273, 0
  store ptr %274, ptr %54, align 8
  %275 = extractvalue { ptr, i32 } %273, 1
  store i32 %275, ptr %55, align 4
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  br label %280

276:                                              ; preds = %219
  store i1 true, ptr %51, align 1
  %277 = load i1, ptr %51, align 1
  br i1 %277, label %279, label %278

278:                                              ; preds = %276
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  br label %279

279:                                              ; preds = %278, %276
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  ret void

280:                                              ; preds = %272, %268
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %281

281:                                              ; preds = %280
  %282 = load ptr, ptr %54, align 8
  %283 = load i32, ptr %55, align 4
  %284 = insertvalue { ptr, i32 } poison, ptr %282, 0
  %285 = insertvalue { ptr, i32 } %284, i32 %283, 1
  resume { ptr, i32 } %285
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN3fft12_GLOBAL__N_110ComplexNumplES1_(ptr dead_on_unwind noalias writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16, ptr noundef nonnull align 16 dereferenceable(32), ptr noundef byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

attributes #0 = { inlinehint 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = !{!12, !12, i64 0}
!12 = !{!"long long", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{i64 0, i64 16, !16, i64 16, i64 16, !16}
!16 = !{!17, !17, i64 0}
!17 = !{!"long double", !7, i64 0}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !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"

%"struct.fft::(anonymous namespace)::ComplexNum" = type { x86_fp80, x86_fp80 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }

@_ZN3fft12_GLOBAL__N_11uE = external hidden global [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], align 16
@_ZN3fft12_GLOBAL__N_11wE = external hidden global [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], align 16
@_ZN3fft12_GLOBAL__N_11fE = external hidden global [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], align 16
@_ZN3fft12_GLOBAL__N_11gE = external hidden global [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], align 16
@_ZN3fft12_GLOBAL__N_12dpE = external hidden global [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], align 16

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZN3fft12_GLOBAL__N_110ComplexNumC2Eee(ptr noundef nonnull align 16 dereferenceable(32), x86_fp80 noundef, x86_fp80 noundef) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN3fft12_GLOBAL__N_15buildERSt6vectorIxSaIxEES4_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress 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) #4

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN3fft12_GLOBAL__N_19transformEPNS0_10ComplexNumES2_S2_i(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN3fft12_GLOBAL__N_110ComplexNummlES1_(ptr dead_on_unwind noalias writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16, ptr noundef nonnull align 16 dereferenceable(32), ptr noundef byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIxSaIxEEC2EmRKxRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare hidden noundef i64 @_ZN3fft12_GLOBAL__N_116round_to_nearestERKe(ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN3fft12_GLOBAL__N_18is_equalERKSt6vectorIxSaIxEES5_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN3fft12_GLOBAL__N_110ComplexNummiES1_(ptr dead_on_unwind noalias writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16, ptr noundef nonnull align 16 dereferenceable(32), ptr noundef byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN3fft12_GLOBAL__N_110ComplexNum9conjugateEv(ptr dead_on_unwind noalias writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16, ptr noundef nonnull align 16 dereferenceable(32)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3fft12mod_multiplyESt6vectorIxSaIxEES2_ii(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, ptr noundef nonnull %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %9 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %10 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %11 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %12 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %13 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %14 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %15 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %16 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %17 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %18 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %19 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %20 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %21 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %22 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %23 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %24 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %25 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %26 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %27 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %28 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %29 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %30 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %31 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %32 = alloca i64, align 8
  %33 = alloca %"class.std::allocator", align 1
  %notmask = shl nsw i32 -1, %4
  %34 = xor i32 %notmask, -1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #6
  %35 = tail call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %36 = tail call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  %37 = add i64 %36, %35
  %38 = trunc i64 %37 to i32
  %39 = add i32 %38, -1
  store i32 %39, ptr %7, align 4, !tbaa !5
  %40 = tail call noundef i32 @_ZN3fft12_GLOBAL__N_15buildERSt6vectorIxSaIxEES4_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2)
  store i32 %40, ptr %6, align 4, !tbaa !5
  %41 = icmp sgt i32 %40, 0
  br i1 %41, label %.lr.ph, label %._crit_edge.thread

.lr.ph:                                           ; preds = %5
  %42 = sext i32 %3 to i64
  %wide.trip.count = zext nneg i32 %40 to i64
  br label %46

.preheader58:                                     ; preds = %46
  br i1 %41, label %.lr.ph62, label %._crit_edge.thread

.lr.ph62:                                         ; preds = %.preheader58
  %43 = zext nneg i32 %34 to i64
  %44 = zext nneg i32 %4 to i64
  %45 = zext nneg i32 %40 to i64
  br label %56

46:                                               ; preds = %.lr.ph, %46
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %46 ]
  %47 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv) #6
  %48 = load i64, ptr %47, align 8, !tbaa !9
  %49 = srem i64 %48, %42
  store i64 %49, ptr %47, align 8, !tbaa !9
  %50 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv) #6
  %51 = load i64, ptr %50, align 8, !tbaa !9
  %52 = srem i64 %51, %42
  store i64 %52, ptr %50, align 8, !tbaa !9
  %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 %.preheader58, label %46, !llvm.loop !11

.preheader:                                       ; preds = %56
  br i1 %41, label %.lr.ph64, label %._crit_edge.thread

.lr.ph64:                                         ; preds = %.preheader
  %53 = zext nneg i32 %34 to i64
  %54 = zext nneg i32 %4 to i64
  %55 = zext nneg i32 %40 to i64
  br label %67

56:                                               ; preds = %.lr.ph62, %56
  %indvars.iv81 = phi i64 [ 0, %.lr.ph62 ], [ %indvars.iv.next82, %56 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #6
  %57 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv81) #6
  %58 = load i64, ptr %57, align 8, !tbaa !9
  %59 = and i64 %58, %43
  %60 = uitofp nneg i64 %59 to x86_fp80
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv81) #6
  %62 = load i64, ptr %61, align 8, !tbaa !9
  %63 = ashr i64 %62, %44
  %64 = sitofp i64 %63 to x86_fp80
  call void @_ZN3fft12_GLOBAL__N_110ComplexNumC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %8, x86_fp80 noundef %60, x86_fp80 noundef %64)
  %65 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11uE, i64 0, i64 %indvars.iv81
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %65, ptr noundef nonnull align 16 dereferenceable(32) %8, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #6
  %indvars.iv.next82 = add nuw nsw i64 %indvars.iv81, 1
  %66 = icmp ult i64 %indvars.iv.next82, %45
  br i1 %66, label %56, label %.preheader, !llvm.loop !16

67:                                               ; preds = %.lr.ph64, %67
  %indvars.iv84 = phi i64 [ 0, %.lr.ph64 ], [ %indvars.iv.next85, %67 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #6
  %68 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv84) #6
  %69 = load i64, ptr %68, align 8, !tbaa !9
  %70 = and i64 %69, %53
  %71 = uitofp nneg i64 %70 to x86_fp80
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv84) #6
  %73 = load i64, ptr %72, align 8, !tbaa !9
  %74 = ashr i64 %73, %54
  %75 = sitofp i64 %74 to x86_fp80
  call void @_ZN3fft12_GLOBAL__N_110ComplexNumC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %9, x86_fp80 noundef %71, x86_fp80 noundef %75)
  %76 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11wE, i64 0, i64 %indvars.iv84
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %76, ptr noundef nonnull align 16 dereferenceable(32) %9, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #6
  %indvars.iv.next85 = add nuw nsw i64 %indvars.iv84, 1
  %77 = icmp ult i64 %indvars.iv.next85, %55
  br i1 %77, label %67, label %._crit_edge, !llvm.loop !17

._crit_edge.thread:                               ; preds = %.preheader, %.preheader58, %5
  call void @_ZN3fft12_GLOBAL__N_19transformEPNS0_10ComplexNumES2_S2_i(ptr noundef nonnull @_ZN3fft12_GLOBAL__N_11uE, ptr noundef nonnull @_ZN3fft12_GLOBAL__N_11fE, ptr noundef nonnull @_ZN3fft12_GLOBAL__N_12dpE, i32 noundef %40)
  br label %._crit_edge68

._crit_edge:                                      ; preds = %67
  call void @_ZN3fft12_GLOBAL__N_19transformEPNS0_10ComplexNumES2_S2_i(ptr noundef nonnull @_ZN3fft12_GLOBAL__N_11uE, ptr noundef nonnull @_ZN3fft12_GLOBAL__N_11fE, ptr noundef nonnull @_ZN3fft12_GLOBAL__N_12dpE, i32 noundef %40)
  br i1 %41, label %.lr.ph67.preheader, label %._crit_edge68

.lr.ph67.preheader:                               ; preds = %._crit_edge
  %78 = zext nneg i32 %40 to i64
  %79 = shl nuw nsw i64 %78, 5
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 16 @_ZN3fft12_GLOBAL__N_11gE, ptr nonnull align 16 @_ZN3fft12_GLOBAL__N_11fE, i64 %79, i1 false)
  br label %._crit_edge68

._crit_edge68:                                    ; preds = %._crit_edge.thread, %.lr.ph67.preheader, %._crit_edge
  %80 = call noundef zeroext i1 @_ZN3fft12_GLOBAL__N_18is_equalERKSt6vectorIxSaIxEES5_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2)
  br i1 %80, label %82, label %81

81:                                               ; preds = %._crit_edge68
  call void @_ZN3fft12_GLOBAL__N_19transformEPNS0_10ComplexNumES2_S2_i(ptr noundef nonnull @_ZN3fft12_GLOBAL__N_11wE, ptr noundef nonnull @_ZN3fft12_GLOBAL__N_11gE, ptr noundef nonnull @_ZN3fft12_GLOBAL__N_12dpE, i32 noundef %40)
  br label %82

82:                                               ; preds = %81, %._crit_edge68
  br i1 %41, label %.lr.ph71.preheader, label %._crit_edge72

.lr.ph71.preheader:                               ; preds = %82
  %83 = add nsw i32 %40, -1
  %84 = sitofp i32 %40 to double
  %85 = fdiv double 5.000000e-01, %84
  %86 = fpext double %85 to x86_fp80
  %87 = fdiv double -5.000000e-01, %84
  %88 = fpext double %87 to x86_fp80
  %89 = zext nneg i32 %40 to i64
  br label %.lr.ph71

.lr.ph71:                                         ; preds = %.lr.ph71.preheader, %.lr.ph71
  %indvars.iv90 = phi i64 [ 0, %.lr.ph71.preheader ], [ %indvars.iv.next91, %.lr.ph71 ]
  %90 = trunc nuw nsw i64 %indvars.iv90 to i32
  %91 = sub nsw i32 %40, %90
  %92 = and i32 %83, %91
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #6
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11fE, i64 0, i64 %93
  call void @_ZN3fft12_GLOBAL__N_110ComplexNum9conjugateEv(ptr dead_on_unwind nonnull writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %10, ptr noundef nonnull align 16 dereferenceable(32) %94)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #6
  %95 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11gE, i64 0, i64 %93
  call void @_ZN3fft12_GLOBAL__N_110ComplexNum9conjugateEv(ptr dead_on_unwind nonnull writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %11, ptr noundef nonnull align 16 dereferenceable(32) %95)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #6
  %96 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11fE, i64 0, i64 %indvars.iv90
  call void @_ZN3fft12_GLOBAL__N_110ComplexNumplES1_(ptr dead_on_unwind nonnull writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %13, ptr noundef nonnull align 16 dereferenceable(32) %96, ptr noundef nonnull byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %10)
  call void @_ZN3fft12_GLOBAL__N_110ComplexNumC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %14, x86_fp80 noundef 0xK3FFE8000000000000000, x86_fp80 noundef 0xK00000000000000000000)
  call void @_ZN3fft12_GLOBAL__N_110ComplexNummlES1_(ptr dead_on_unwind nonnull writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %12, ptr noundef nonnull align 16 dereferenceable(32) %13, ptr noundef nonnull byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %14)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #6
  call void @_ZN3fft12_GLOBAL__N_110ComplexNummiES1_(ptr dead_on_unwind nonnull writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %16, ptr noundef nonnull align 16 dereferenceable(32) %96, ptr noundef nonnull byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %10)
  call void @_ZN3fft12_GLOBAL__N_110ComplexNumC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %17, x86_fp80 noundef 0xK00000000000000000000, x86_fp80 noundef 0xKBFFE8000000000000000)
  call void @_ZN3fft12_GLOBAL__N_110ComplexNummlES1_(ptr dead_on_unwind nonnull writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %15, ptr noundef nonnull align 16 dereferenceable(32) %16, ptr noundef nonnull byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %17)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %19) #6
  %97 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11gE, i64 0, i64 %indvars.iv90
  call void @_ZN3fft12_GLOBAL__N_110ComplexNumplES1_(ptr dead_on_unwind nonnull writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %19, ptr noundef nonnull align 16 dereferenceable(32) %97, ptr noundef nonnull byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %11)
  call void @_ZN3fft12_GLOBAL__N_110ComplexNumC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %20, x86_fp80 noundef %86, x86_fp80 noundef 0xK00000000000000000000)
  call void @_ZN3fft12_GLOBAL__N_110ComplexNummlES1_(ptr dead_on_unwind nonnull writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %18, ptr noundef nonnull align 16 dereferenceable(32) %19, ptr noundef nonnull byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %20)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %21) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %22) #6
  call void @_ZN3fft12_GLOBAL__N_110ComplexNummiES1_(ptr dead_on_unwind nonnull writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %22, ptr noundef nonnull align 16 dereferenceable(32) %97, ptr noundef nonnull byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %11)
  call void @_ZN3fft12_GLOBAL__N_110ComplexNumC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %23, x86_fp80 noundef 0xK00000000000000000000, x86_fp80 noundef %88)
  call void @_ZN3fft12_GLOBAL__N_110ComplexNummlES1_(ptr dead_on_unwind nonnull writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %21, ptr noundef nonnull align 16 dereferenceable(32) %22, ptr noundef nonnull byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %23)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %24) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %25) #6
  call void @_ZN3fft12_GLOBAL__N_110ComplexNummlES1_(ptr dead_on_unwind nonnull writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %25, ptr noundef nonnull align 16 dereferenceable(32) %12, ptr noundef nonnull byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %18)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %27) #6
  call void @_ZN3fft12_GLOBAL__N_110ComplexNummlES1_(ptr dead_on_unwind nonnull writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %27, ptr noundef nonnull align 16 dereferenceable(32) %15, ptr noundef nonnull byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %21)
  call void @_ZN3fft12_GLOBAL__N_110ComplexNumC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %28, x86_fp80 noundef 0xK00000000000000000000, x86_fp80 noundef 0xK3FFF8000000000000000)
  call void @_ZN3fft12_GLOBAL__N_110ComplexNummlES1_(ptr dead_on_unwind nonnull writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %26, ptr noundef nonnull align 16 dereferenceable(32) %27, ptr noundef nonnull byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %28)
  call void @_ZN3fft12_GLOBAL__N_110ComplexNumplES1_(ptr dead_on_unwind nonnull writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %24, ptr noundef nonnull align 16 dereferenceable(32) %25, ptr noundef nonnull byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %26)
  %98 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11uE, i64 0, i64 %93
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %98, ptr noundef nonnull align 16 dereferenceable(32) %24, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %27) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %29) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %30) #6
  call void @_ZN3fft12_GLOBAL__N_110ComplexNummlES1_(ptr dead_on_unwind nonnull writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %30, ptr noundef nonnull align 16 dereferenceable(32) %12, ptr noundef nonnull byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %21)
  call void @_ZN3fft12_GLOBAL__N_110ComplexNummlES1_(ptr dead_on_unwind nonnull writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %31, ptr noundef nonnull align 16 dereferenceable(32) %15, ptr noundef nonnull byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %18)
  call void @_ZN3fft12_GLOBAL__N_110ComplexNumplES1_(ptr dead_on_unwind nonnull writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %29, ptr noundef nonnull align 16 dereferenceable(32) %30, ptr noundef nonnull byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %31)
  %99 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11wE, i64 0, i64 %93
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %99, ptr noundef nonnull align 16 dereferenceable(32) %29, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %30) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %29) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #6
  %indvars.iv.next91 = add nuw nsw i64 %indvars.iv90, 1
  %100 = icmp ult i64 %indvars.iv.next91, %89
  br i1 %100, label %.lr.ph71, label %._crit_edge72, !llvm.loop !18

._crit_edge72:                                    ; preds = %.lr.ph71, %82
  call void @_ZN3fft12_GLOBAL__N_19transformEPNS0_10ComplexNumES2_S2_i(ptr noundef nonnull @_ZN3fft12_GLOBAL__N_11uE, ptr noundef nonnull @_ZN3fft12_GLOBAL__N_11fE, ptr noundef nonnull @_ZN3fft12_GLOBAL__N_12dpE, i32 noundef %40)
  call void @_ZN3fft12_GLOBAL__N_19transformEPNS0_10ComplexNumES2_S2_i(ptr noundef nonnull @_ZN3fft12_GLOBAL__N_11wE, ptr noundef nonnull @_ZN3fft12_GLOBAL__N_11gE, ptr noundef nonnull @_ZN3fft12_GLOBAL__N_12dpE, i32 noundef %40)
  %101 = sext i32 %39 to i64
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %32) #6
  store i64 0, ptr %32, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %33) #6
  call void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #6
  invoke void @_ZNSt6vectorIxSaIxEEC2EmRKxRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %101, ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 1 dereferenceable(1) %33)
          to label %102 unwind label %132

102:                                              ; preds = %._crit_edge72
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %33) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #6
  %103 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %104 = load i32, ptr %103, align 4, !tbaa !5
  %105 = icmp sgt i32 %104, 0
  br i1 %105, label %.lr.ph76, label %._crit_edge77

.lr.ph76:                                         ; preds = %102
  %106 = sext i32 %3 to i64
  %107 = zext nneg i32 %4 to i64
  %108 = shl nsw i32 %4, 1
  %109 = zext nneg i32 %108 to i64
  br label %110

110:                                              ; preds = %.lr.ph76, %119
  %indvars.iv93 = phi i64 [ 0, %.lr.ph76 ], [ %indvars.iv.next94, %119 ]
  %111 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11fE, i64 0, i64 %indvars.iv93
  %112 = invoke noundef i64 @_ZN3fft12_GLOBAL__N_116round_to_nearestERKe(ptr noundef nonnull align 16 dereferenceable(16) %111)
          to label %113 unwind label %134

113:                                              ; preds = %110
  %114 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11gE, i64 0, i64 %indvars.iv93
  %115 = invoke noundef i64 @_ZN3fft12_GLOBAL__N_116round_to_nearestERKe(ptr noundef nonnull align 16 dereferenceable(16) %114)
          to label %116 unwind label %134

116:                                              ; preds = %113
  %117 = getelementptr inbounds i8, ptr %111, i64 16
  %118 = invoke noundef i64 @_ZN3fft12_GLOBAL__N_116round_to_nearestERKe(ptr noundef nonnull align 16 dereferenceable(16) %117)
          to label %119 unwind label %134

119:                                              ; preds = %116
  %120 = srem i64 %115, %106
  %121 = shl i64 %120, %107
  %122 = add nsw i64 %121, %112
  %123 = srem i64 %118, %106
  %124 = shl i64 %123, %109
  %125 = add nsw i64 %122, %124
  %126 = srem i64 %125, %106
  %127 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv93) #6
  store i64 %126, ptr %127, align 8, !tbaa !9
  %indvars.iv.next94 = add nuw nsw i64 %indvars.iv93, 1
  %128 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %129 = load i32, ptr %128, align 4, !tbaa !5
  %130 = sext i32 %129 to i64
  %131 = icmp slt i64 %indvars.iv.next94, %130
  br i1 %131, label %110, label %._crit_edge77, !llvm.loop !19

132:                                              ; preds = %._crit_edge72
  %133 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %33) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #6
  br label %136

134:                                              ; preds = %116, %113, %110
  %135 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  br label %136

._crit_edge77:                                    ; preds = %119, %102
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  ret void

136:                                              ; preds = %134, %132
  %.pn = phi { ptr, i32 } [ %135, %134 ], [ %133, %132 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  resume { ptr, i32 } %.pn
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN3fft12_GLOBAL__N_110ComplexNumplES1_(ptr dead_on_unwind noalias writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16, ptr noundef nonnull align 16 dereferenceable(32), ptr noundef byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

attributes #0 = { inlinehint 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = !{!"long long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{i64 0, i64 16, !14, i64 16, i64 16, !14}
!14 = !{!15, !15, i64 0}
!15 = !{!"long double", !7, i64 0}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass