; LLVM IR from sp-nitech/SPTK :: src/math (fast_fourier_transform)

; 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.__gnu_cxx::__normal_iterator.0" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.sptk::FastFourierTransform" = type { ptr, i32, i32, i32, i8, %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK4sptk20FastFourierTransform3RunERKSt6vectorIdSaIdEES5_PS3_S6_(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef %3, ptr noundef %4) #1 align 2 {
  %6 = alloca i1, align 1
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %19 = alloca double, align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %27 = alloca double, align 8
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca ptr, align 8
  %34 = alloca ptr, align 8
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca ptr, align 8
  %38 = alloca ptr, align 8
  %39 = alloca i32, align 4
  %40 = alloca double, align 8
  %41 = alloca double, align 8
  %42 = alloca ptr, align 8
  %43 = alloca ptr, align 8
  %44 = alloca i32, align 4
  %45 = alloca double, align 8
  %46 = alloca double, align 8
  %47 = alloca ptr, align 8
  %48 = alloca ptr, align 8
  %49 = alloca i32, align 4
  %50 = alloca i32, align 4
  %51 = alloca i32, align 4
  %52 = alloca i32, align 4
  %53 = alloca double, align 8
  %54 = alloca double, align 8
  %55 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  %56 = load ptr, ptr %7, align 8
  %57 = getelementptr inbounds %"class.sptk::FastFourierTransform", ptr %56, i32 0, i32 4
  %58 = load i8, ptr %57, align 4, !tbaa !9, !range !17, !noundef !18
  %59 = trunc i8 %58 to i1
  br i1 %59, label %60, label %82

60:                                               ; preds = %5
  %61 = load ptr, ptr %8, align 8, !tbaa !5
  %62 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %61) #5
  %63 = getelementptr inbounds %"class.sptk::FastFourierTransform", ptr %56, i32 0, i32 1
  %64 = load i32, ptr %63, align 8, !tbaa !19
  %65 = add nsw i32 %64, 1
  %66 = sext i32 %65 to i64
  %67 = icmp ne i64 %62, %66
  br i1 %67, label %82, label %68

68:                                               ; preds = %60
  %69 = load ptr, ptr %9, align 8, !tbaa !5
  %70 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %69) #5
  %71 = getelementptr inbounds %"class.sptk::FastFourierTransform", ptr %56, i32 0, i32 1
  %72 = load i32, ptr %71, align 8, !tbaa !19
  %73 = add nsw i32 %72, 1
  %74 = sext i32 %73 to i64
  %75 = icmp ne i64 %70, %74
  br i1 %75, label %82, label %76

76:                                               ; preds = %68
  %77 = load ptr, ptr %10, align 8, !tbaa !5
  %78 = icmp eq ptr null, %77
  br i1 %78, label %82, label %79

79:                                               ; preds = %76
  %80 = load ptr, ptr %11, align 8, !tbaa !5
  %81 = icmp eq ptr null, %80
  br i1 %81, label %82, label %83

82:                                               ; preds = %79, %76, %68, %60, %5
  store i1 false, ptr %6, align 1
  br label %420

83:                                               ; preds = %79
  %84 = load ptr, ptr %10, align 8, !tbaa !5
  %85 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %84) #5
  %86 = getelementptr inbounds %"class.sptk::FastFourierTransform", ptr %56, i32 0, i32 2
  %87 = load i32, ptr %86, align 4, !tbaa !20
  %88 = sext i32 %87 to i64
  %89 = icmp ne i64 %85, %88
  br i1 %89, label %90, label %95

90:                                               ; preds = %83
  %91 = load ptr, ptr %10, align 8, !tbaa !5
  %92 = getelementptr inbounds %"class.sptk::FastFourierTransform", ptr %56, i32 0, i32 2
  %93 = load i32, ptr %92, align 4, !tbaa !20
  %94 = sext i32 %93 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %91, i64 noundef %94)
  br label %95

95:                                               ; preds = %90, %83
  %96 = load ptr, ptr %11, align 8, !tbaa !5
  %97 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %96) #5
  %98 = getelementptr inbounds %"class.sptk::FastFourierTransform", ptr %56, i32 0, i32 2
  %99 = load i32, ptr %98, align 4, !tbaa !20
  %100 = sext i32 %99 to i64
  %101 = icmp ne i64 %97, %100
  br i1 %101, label %102, label %107

102:                                              ; preds = %95
  %103 = load ptr, ptr %11, align 8, !tbaa !5
  %104 = getelementptr inbounds %"class.sptk::FastFourierTransform", ptr %56, i32 0, i32 2
  %105 = load i32, ptr %104, align 4, !tbaa !20
  %106 = sext i32 %105 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %103, i64 noundef %106)
  br label %107

107:                                              ; preds = %102, %95
  %108 = load ptr, ptr %8, align 8, !tbaa !5
  %109 = call ptr @_ZNKSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %108) #5
  %110 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %12, i32 0, i32 0
  store ptr %109, ptr %110, align 8
  %111 = load ptr, ptr %8, align 8, !tbaa !5
  %112 = call ptr @_ZNKSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %111) #5
  %113 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %13, i32 0, i32 0
  store ptr %112, ptr %113, align 8
  %114 = load ptr, ptr %10, align 8, !tbaa !5
  %115 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %114) #5
  %116 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %14, i32 0, i32 0
  store ptr %115, ptr %116, align 8
  %117 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %12, i32 0, i32 0
  %118 = load ptr, ptr %117, align 8
  %119 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %13, i32 0, i32 0
  %120 = load ptr, ptr %119, align 8
  %121 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %14, i32 0, i32 0
  %122 = load ptr, ptr %121, align 8
  %123 = call ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPKdSt6vectorIdSaIdEEEENS1_IPdS6_EEET0_T_SB_SA_(ptr %118, ptr %120, ptr %122)
  %124 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %15, i32 0, i32 0
  store ptr %123, ptr %124, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %125 = load ptr, ptr %10, align 8, !tbaa !5
  %126 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %125) #5
  %127 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  store ptr %126, ptr %127, align 8
  %128 = load ptr, ptr %8, align 8, !tbaa !5
  %129 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %128) #5
  %130 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %17, i64 noundef %129) #5
  %131 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  store ptr %130, ptr %131, align 8
  %132 = load ptr, ptr %10, align 8, !tbaa !5
  %133 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %132) #5
  %134 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %18, i32 0, i32 0
  store ptr %133, ptr %134, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  store double 0.000000e+00, ptr %19, align 8, !tbaa !21
  %135 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  %136 = load ptr, ptr %135, align 8
  %137 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %18, i32 0, i32 0
  %138 = load ptr, ptr %137, align 8
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %136, ptr %138, ptr noundef nonnull align 8 dereferenceable(8) %19)
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  %139 = load ptr, ptr %9, align 8, !tbaa !5
  %140 = call ptr @_ZNKSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %139) #5
  %141 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %20, i32 0, i32 0
  store ptr %140, ptr %141, align 8
  %142 = load ptr, ptr %9, align 8, !tbaa !5
  %143 = call ptr @_ZNKSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %142) #5
  %144 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %21, i32 0, i32 0
  store ptr %143, ptr %144, align 8
  %145 = load ptr, ptr %11, align 8, !tbaa !5
  %146 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %145) #5
  %147 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %22, i32 0, i32 0
  store ptr %146, ptr %147, align 8
  %148 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %20, i32 0, i32 0
  %149 = load ptr, ptr %148, align 8
  %150 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %21, i32 0, i32 0
  %151 = load ptr, ptr %150, align 8
  %152 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %22, i32 0, i32 0
  %153 = load ptr, ptr %152, align 8
  %154 = call ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPKdSt6vectorIdSaIdEEEENS1_IPdS6_EEET0_T_SB_SA_(ptr %149, ptr %151, ptr %153)
  %155 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %23, i32 0, i32 0
  store ptr %154, ptr %155, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  %156 = load ptr, ptr %11, align 8, !tbaa !5
  %157 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %156) #5
  %158 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %25, i32 0, i32 0
  store ptr %157, ptr %158, align 8
  %159 = load ptr, ptr %9, align 8, !tbaa !5
  %160 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %159) #5
  %161 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %25, i64 noundef %160) #5
  %162 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %24, i32 0, i32 0
  store ptr %161, ptr %162, align 8
  %163 = load ptr, ptr %11, align 8, !tbaa !5
  %164 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %163) #5
  %165 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %26, i32 0, i32 0
  store ptr %164, ptr %165, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  store double 0.000000e+00, ptr %27, align 8, !tbaa !21
  %166 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %24, i32 0, i32 0
  %167 = load ptr, ptr %166, align 8
  %168 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %26, i32 0, i32 0
  %169 = load ptr, ptr %168, align 8
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %167, ptr %169, ptr noundef nonnull align 8 dereferenceable(8) %27)
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  %170 = load ptr, ptr %10, align 8, !tbaa !5
  %171 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %170, i64 noundef 0) #5
  store ptr %171, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  %172 = load ptr, ptr %11, align 8, !tbaa !5
  %173 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %172, i64 noundef 0) #5
  store ptr %173, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #5
  %174 = getelementptr inbounds %"class.sptk::FastFourierTransform", ptr %56, i32 0, i32 2
  %175 = load i32, ptr %174, align 4, !tbaa !20
  store i32 %175, ptr %30, align 4, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #5
  %176 = getelementptr inbounds %"class.sptk::FastFourierTransform", ptr %56, i32 0, i32 3
  %177 = load i32, ptr %176, align 8, !tbaa !24
  store i32 %177, ptr %31, align 4, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #5
  store i32 1, ptr %32, align 4, !tbaa !23
  br label %178

178:                                              ; preds = %294, %107
  %179 = load i32, ptr %31, align 4, !tbaa !23
  %180 = icmp slt i32 1, %179
  br i1 %180, label %181, label %300

181:                                              ; preds = %178
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  %182 = getelementptr inbounds %"class.sptk::FastFourierTransform", ptr %56, i32 0, i32 5
  %183 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %182, i64 noundef 0) #5
  store ptr %183, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #5
  %184 = getelementptr inbounds %"class.sptk::FastFourierTransform", ptr %56, i32 0, i32 5
  %185 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %184, i64 noundef 0) #5
  %186 = getelementptr inbounds %"class.sptk::FastFourierTransform", ptr %56, i32 0, i32 2
  %187 = load i32, ptr %186, align 4, !tbaa !20
  %188 = sdiv i32 %187, 4
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds double, ptr %185, i64 %189
  store ptr %190, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #5
  store i32 0, ptr %35, align 4, !tbaa !23
  br label %191

191:                                              ; preds = %291, %181
  %192 = load i32, ptr %35, align 4, !tbaa !23
  %193 = load i32, ptr %31, align 4, !tbaa !23
  %194 = icmp slt i32 %192, %193
  br i1 %194, label %196, label %195

195:                                              ; preds = %191
  store i32 4, ptr %36, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #5
  br label %294

196:                                              ; preds = %191
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #5
  %197 = load ptr, ptr %28, align 8, !tbaa !5
  %198 = load i32, ptr %35, align 4, !tbaa !23
  %199 = sext i32 %198 to i64
  %200 = getelementptr inbounds double, ptr %197, i64 %199
  store ptr %200, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #5
  %201 = load ptr, ptr %29, align 8, !tbaa !5
  %202 = load i32, ptr %35, align 4, !tbaa !23
  %203 = sext i32 %202 to i64
  %204 = getelementptr inbounds double, ptr %201, i64 %203
  store ptr %204, ptr %38, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #5
  %205 = load i32, ptr %30, align 4, !tbaa !23
  store i32 %205, ptr %39, align 4, !tbaa !23
  br label %206

206:                                              ; preds = %278, %196
  %207 = load i32, ptr %39, align 4, !tbaa !23
  %208 = getelementptr inbounds %"class.sptk::FastFourierTransform", ptr %56, i32 0, i32 2
  %209 = load i32, ptr %208, align 4, !tbaa !20
  %210 = icmp sle i32 %207, %209
  br i1 %210, label %212, label %211

211:                                              ; preds = %206
  store i32 7, ptr %36, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #5
  br label %282

212:                                              ; preds = %206
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #5
  %213 = load ptr, ptr %37, align 8, !tbaa !5
  %214 = load double, ptr %213, align 8, !tbaa !21
  %215 = load ptr, ptr %37, align 8, !tbaa !5
  %216 = load i32, ptr %31, align 4, !tbaa !23
  %217 = sext i32 %216 to i64
  %218 = getelementptr inbounds double, ptr %215, i64 %217
  %219 = load double, ptr %218, align 8, !tbaa !21
  %220 = fsub double %214, %219
  store double %220, ptr %40, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #5
  %221 = load ptr, ptr %38, align 8, !tbaa !5
  %222 = load double, ptr %221, align 8, !tbaa !21
  %223 = load ptr, ptr %38, align 8, !tbaa !5
  %224 = load i32, ptr %31, align 4, !tbaa !23
  %225 = sext i32 %224 to i64
  %226 = getelementptr inbounds double, ptr %223, i64 %225
  %227 = load double, ptr %226, align 8, !tbaa !21
  %228 = fsub double %222, %227
  store double %228, ptr %41, align 8, !tbaa !21
  %229 = load ptr, ptr %37, align 8, !tbaa !5
  %230 = load i32, ptr %31, align 4, !tbaa !23
  %231 = sext i32 %230 to i64
  %232 = getelementptr inbounds double, ptr %229, i64 %231
  %233 = load double, ptr %232, align 8, !tbaa !21
  %234 = load ptr, ptr %37, align 8, !tbaa !5
  %235 = load double, ptr %234, align 8, !tbaa !21
  %236 = fadd double %235, %233
  store double %236, ptr %234, align 8, !tbaa !21
  %237 = load ptr, ptr %38, align 8, !tbaa !5
  %238 = load i32, ptr %31, align 4, !tbaa !23
  %239 = sext i32 %238 to i64
  %240 = getelementptr inbounds double, ptr %237, i64 %239
  %241 = load double, ptr %240, align 8, !tbaa !21
  %242 = load ptr, ptr %38, align 8, !tbaa !5
  %243 = load double, ptr %242, align 8, !tbaa !21
  %244 = fadd double %243, %241
  store double %244, ptr %242, align 8, !tbaa !21
  %245 = load ptr, ptr %34, align 8, !tbaa !5
  %246 = load double, ptr %245, align 8, !tbaa !21
  %247 = load double, ptr %40, align 8, !tbaa !21
  %248 = load ptr, ptr %33, align 8, !tbaa !5
  %249 = load double, ptr %248, align 8, !tbaa !21
  %250 = load double, ptr %41, align 8, !tbaa !21
  %251 = fmul double %249, %250
  %252 = call double @llvm.fmuladd.f64(double %246, double %247, double %251)
  %253 = load ptr, ptr %37, align 8, !tbaa !5
  %254 = load i32, ptr %31, align 4, !tbaa !23
  %255 = sext i32 %254 to i64
  %256 = getelementptr inbounds double, ptr %253, i64 %255
  store double %252, ptr %256, align 8, !tbaa !21
  %257 = load ptr, ptr %34, align 8, !tbaa !5
  %258 = load double, ptr %257, align 8, !tbaa !21
  %259 = load double, ptr %41, align 8, !tbaa !21
  %260 = load ptr, ptr %33, align 8, !tbaa !5
  %261 = load double, ptr %260, align 8, !tbaa !21
  %262 = load double, ptr %40, align 8, !tbaa !21
  %263 = fmul double %261, %262
  %264 = fneg double %263
  %265 = call double @llvm.fmuladd.f64(double %258, double %259, double %264)
  %266 = load ptr, ptr %38, align 8, !tbaa !5
  %267 = load i32, ptr %31, align 4, !tbaa !23
  %268 = sext i32 %267 to i64
  %269 = getelementptr inbounds double, ptr %266, i64 %268
  store double %265, ptr %269, align 8, !tbaa !21
  %270 = load i32, ptr %30, align 4, !tbaa !23
  %271 = load ptr, ptr %37, align 8, !tbaa !5
  %272 = sext i32 %270 to i64
  %273 = getelementptr inbounds double, ptr %271, i64 %272
  store ptr %273, ptr %37, align 8, !tbaa !5
  %274 = load i32, ptr %30, align 4, !tbaa !23
  %275 = load ptr, ptr %38, align 8, !tbaa !5
  %276 = sext i32 %274 to i64
  %277 = getelementptr inbounds double, ptr %275, i64 %276
  store ptr %277, ptr %38, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #5
  br label %278

278:                                              ; preds = %212
  %279 = load i32, ptr %30, align 4, !tbaa !23
  %280 = load i32, ptr %39, align 4, !tbaa !23
  %281 = add nsw i32 %280, %279
  store i32 %281, ptr %39, align 4, !tbaa !23
  br label %206, !llvm.loop !25

282:                                              ; preds = %211
  %283 = load i32, ptr %32, align 4, !tbaa !23
  %284 = load ptr, ptr %33, align 8, !tbaa !5
  %285 = sext i32 %283 to i64
  %286 = getelementptr inbounds double, ptr %284, i64 %285
  store ptr %286, ptr %33, align 8, !tbaa !5
  %287 = load i32, ptr %32, align 4, !tbaa !23
  %288 = load ptr, ptr %34, align 8, !tbaa !5
  %289 = sext i32 %287 to i64
  %290 = getelementptr inbounds double, ptr %288, i64 %289
  store ptr %290, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #5
  br label %291

291:                                              ; preds = %282
  %292 = load i32, ptr %35, align 4, !tbaa !23
  %293 = add nsw i32 %292, 1
  store i32 %293, ptr %35, align 4, !tbaa !23
  br label %191, !llvm.loop !27

294:                                              ; preds = %195
  %295 = load i32, ptr %31, align 4, !tbaa !23
  store i32 %295, ptr %30, align 4, !tbaa !23
  %296 = load i32, ptr %31, align 4, !tbaa !23
  %297 = sdiv i32 %296, 2
  store i32 %297, ptr %31, align 4, !tbaa !23
  %298 = load i32, ptr %32, align 4, !tbaa !23
  %299 = mul nsw i32 %298, 2
  store i32 %299, ptr %32, align 4, !tbaa !23
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  br label %178, !llvm.loop !28

300:                                              ; preds = %178
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #5
  %301 = load ptr, ptr %28, align 8, !tbaa !5
  store ptr %301, ptr %42, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #5
  %302 = load ptr, ptr %29, align 8, !tbaa !5
  store ptr %302, ptr %43, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #5
  store i32 0, ptr %44, align 4, !tbaa !23
  br label %303

303:                                              ; preds = %344, %300
  %304 = load i32, ptr %44, align 4, !tbaa !23
  %305 = getelementptr inbounds %"class.sptk::FastFourierTransform", ptr %56, i32 0, i32 3
  %306 = load i32, ptr %305, align 8, !tbaa !24
  %307 = icmp slt i32 %304, %306
  br i1 %307, label %309, label %308

308:                                              ; preds = %303
  store i32 10, ptr %36, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #5
  br label %347

309:                                              ; preds = %303
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #5
  %310 = load ptr, ptr %42, align 8, !tbaa !5
  %311 = load double, ptr %310, align 8, !tbaa !21
  %312 = load ptr, ptr %42, align 8, !tbaa !5
  %313 = getelementptr inbounds double, ptr %312, i64 1
  %314 = load double, ptr %313, align 8, !tbaa !21
  %315 = fsub double %311, %314
  store double %315, ptr %45, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #5
  %316 = load ptr, ptr %43, align 8, !tbaa !5
  %317 = load double, ptr %316, align 8, !tbaa !21
  %318 = load ptr, ptr %43, align 8, !tbaa !5
  %319 = getelementptr inbounds double, ptr %318, i64 1
  %320 = load double, ptr %319, align 8, !tbaa !21
  %321 = fsub double %317, %320
  store double %321, ptr %46, align 8, !tbaa !21
  %322 = load ptr, ptr %42, align 8, !tbaa !5
  %323 = getelementptr inbounds double, ptr %322, i64 1
  %324 = load double, ptr %323, align 8, !tbaa !21
  %325 = load ptr, ptr %42, align 8, !tbaa !5
  %326 = load double, ptr %325, align 8, !tbaa !21
  %327 = fadd double %326, %324
  store double %327, ptr %325, align 8, !tbaa !21
  %328 = load ptr, ptr %43, align 8, !tbaa !5
  %329 = getelementptr inbounds double, ptr %328, i64 1
  %330 = load double, ptr %329, align 8, !tbaa !21
  %331 = load ptr, ptr %43, align 8, !tbaa !5
  %332 = load double, ptr %331, align 8, !tbaa !21
  %333 = fadd double %332, %330
  store double %333, ptr %331, align 8, !tbaa !21
  %334 = load double, ptr %45, align 8, !tbaa !21
  %335 = load ptr, ptr %42, align 8, !tbaa !5
  %336 = getelementptr inbounds double, ptr %335, i64 1
  store double %334, ptr %336, align 8, !tbaa !21
  %337 = load double, ptr %46, align 8, !tbaa !21
  %338 = load ptr, ptr %43, align 8, !tbaa !5
  %339 = getelementptr inbounds double, ptr %338, i64 1
  store double %337, ptr %339, align 8, !tbaa !21
  %340 = load ptr, ptr %42, align 8, !tbaa !5
  %341 = getelementptr inbounds double, ptr %340, i64 2
  store ptr %341, ptr %42, align 8, !tbaa !5
  %342 = load ptr, ptr %43, align 8, !tbaa !5
  %343 = getelementptr inbounds double, ptr %342, i64 2
  store ptr %343, ptr %43, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #5
  br label %344

344:                                              ; preds = %309
  %345 = load i32, ptr %44, align 4, !tbaa !23
  %346 = add nsw i32 %345, 1
  store i32 %346, ptr %44, align 4, !tbaa !23
  br label %303, !llvm.loop !29

347:                                              ; preds = %308
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #5
  %348 = load ptr, ptr %28, align 8, !tbaa !5
  store ptr %348, ptr %47, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #5
  %349 = load ptr, ptr %29, align 8, !tbaa !5
  store ptr %349, ptr %48, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #5
  %350 = getelementptr inbounds %"class.sptk::FastFourierTransform", ptr %56, i32 0, i32 2
  %351 = load i32, ptr %350, align 4, !tbaa !20
  %352 = sub nsw i32 %351, 1
  store i32 %352, ptr %49, align 4, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #5
  store i32 0, ptr %50, align 4, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #5
  store i32 0, ptr %51, align 4, !tbaa !23
  br label %353

353:                                              ; preds = %416, %347
  %354 = load i32, ptr %50, align 4, !tbaa !23
  %355 = load i32, ptr %49, align 4, !tbaa !23
  %356 = icmp slt i32 %354, %355
  br i1 %356, label %358, label %357

357:                                              ; preds = %353
  store i32 13, ptr %36, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #5
  br label %419

358:                                              ; preds = %353
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #5
  %359 = load i32, ptr %50, align 4, !tbaa !23
  %360 = load i32, ptr %51, align 4, !tbaa !23
  %361 = sub nsw i32 %359, %360
  store i32 %361, ptr %52, align 4, !tbaa !23
  %362 = load i32, ptr %52, align 4, !tbaa !23
  %363 = icmp slt i32 %362, 0
  br i1 %363, label %364, label %391

364:                                              ; preds = %358
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #5
  %365 = load ptr, ptr %47, align 8, !tbaa !5
  %366 = load double, ptr %365, align 8, !tbaa !21
  store double %366, ptr %53, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #5
  %367 = load ptr, ptr %48, align 8, !tbaa !5
  %368 = load double, ptr %367, align 8, !tbaa !21
  store double %368, ptr %54, align 8, !tbaa !21
  %369 = load ptr, ptr %47, align 8, !tbaa !5
  %370 = load i32, ptr %52, align 4, !tbaa !23
  %371 = sext i32 %370 to i64
  %372 = getelementptr inbounds double, ptr %369, i64 %371
  %373 = load double, ptr %372, align 8, !tbaa !21
  %374 = load ptr, ptr %47, align 8, !tbaa !5
  store double %373, ptr %374, align 8, !tbaa !21
  %375 = load ptr, ptr %48, align 8, !tbaa !5
  %376 = load i32, ptr %52, align 4, !tbaa !23
  %377 = sext i32 %376 to i64
  %378 = getelementptr inbounds double, ptr %375, i64 %377
  %379 = load double, ptr %378, align 8, !tbaa !21
  %380 = load ptr, ptr %48, align 8, !tbaa !5
  store double %379, ptr %380, align 8, !tbaa !21
  %381 = load double, ptr %53, align 8, !tbaa !21
  %382 = load ptr, ptr %47, align 8, !tbaa !5
  %383 = load i32, ptr %52, align 4, !tbaa !23
  %384 = sext i32 %383 to i64
  %385 = getelementptr inbounds double, ptr %382, i64 %384
  store double %381, ptr %385, align 8, !tbaa !21
  %386 = load double, ptr %54, align 8, !tbaa !21
  %387 = load ptr, ptr %48, align 8, !tbaa !5
  %388 = load i32, ptr %52, align 4, !tbaa !23
  %389 = sext i32 %388 to i64
  %390 = getelementptr inbounds double, ptr %387, i64 %389
  store double %386, ptr %390, align 8, !tbaa !21
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #5
  br label %391

391:                                              ; preds = %364, %358
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #5
  %392 = getelementptr inbounds %"class.sptk::FastFourierTransform", ptr %56, i32 0, i32 3
  %393 = load i32, ptr %392, align 8, !tbaa !24
  store i32 %393, ptr %55, align 4, !tbaa !23
  br label %394

394:                                              ; preds = %398, %391
  %395 = load i32, ptr %55, align 4, !tbaa !23
  %396 = load i32, ptr %51, align 4, !tbaa !23
  %397 = icmp sle i32 %395, %396
  br i1 %397, label %398, label %404

398:                                              ; preds = %394
  %399 = load i32, ptr %55, align 4, !tbaa !23
  %400 = load i32, ptr %51, align 4, !tbaa !23
  %401 = sub nsw i32 %400, %399
  store i32 %401, ptr %51, align 4, !tbaa !23
  %402 = load i32, ptr %55, align 4, !tbaa !23
  %403 = sdiv i32 %402, 2
  store i32 %403, ptr %55, align 4, !tbaa !23
  br label %394, !llvm.loop !30

404:                                              ; preds = %394
  %405 = load i32, ptr %55, align 4, !tbaa !23
  %406 = load i32, ptr %51, align 4, !tbaa !23
  %407 = add nsw i32 %406, %405
  store i32 %407, ptr %51, align 4, !tbaa !23
  %408 = load ptr, ptr %28, align 8, !tbaa !5
  %409 = load i32, ptr %51, align 4, !tbaa !23
  %410 = sext i32 %409 to i64
  %411 = getelementptr inbounds double, ptr %408, i64 %410
  store ptr %411, ptr %47, align 8, !tbaa !5
  %412 = load ptr, ptr %29, align 8, !tbaa !5
  %413 = load i32, ptr %51, align 4, !tbaa !23
  %414 = sext i32 %413 to i64
  %415 = getelementptr inbounds double, ptr %412, i64 %414
  store ptr %415, ptr %48, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #5
  br label %416

416:                                              ; preds = %404
  %417 = load i32, ptr %50, align 4, !tbaa !23
  %418 = add nsw i32 %417, 1
  store i32 %418, ptr %50, align 4, !tbaa !23
  br label %353, !llvm.loop !31

419:                                              ; preds = %357
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #5
  store i1 true, ptr %6, align 1
  store i32 1, ptr %36, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  br label %420

420:                                              ; preds = %419, %82
  %421 = load i1, ptr %6, align 1
  ret i1 %421
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPKdSt6vectorIdSaIdEEEENS1_IPdS6_EEET0_T_SB_SA_(ptr, ptr, ptr) #3

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr, ptr, ptr noundef nonnull align 8 dereferenceable(8)) #3

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

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

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

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

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !12, i64 20}
!10 = !{!"_ZTSN4sptk20FastFourierTransformE", !11, i64 8, !11, i64 12, !11, i64 16, !12, i64 20, !13, i64 24}
!11 = !{!"int", !7, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!"_ZTSSt6vectorIdSaIdEE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = !{!10, !11, i64 8}
!20 = !{!10, !11, i64 12}
!21 = !{!22, !22, i64 0}
!22 = !{!"double", !7, i64 0}
!23 = !{!11, !11, i64 0}
!24 = !{!10, !11, i64 16}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = distinct !{!27, !26}
!28 = distinct !{!28, !26}
!29 = distinct !{!29, !26}
!30 = distinct !{!30, !26}
!31 = distinct !{!31, !26}


; 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.__gnu_cxx::__normal_iterator" = type { ptr }

; 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 uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 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: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK4sptk20FastFourierTransform3RunERKSt6vectorIdSaIdEES5_PS3_S6_(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #1 align 2 {
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca double, align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = alloca double, align 8
  %10 = getelementptr inbounds i8, ptr %0, i64 20
  %11 = load i8, ptr %10, align 4, !tbaa !5, !range !16, !noundef !17
  %12 = trunc nuw i8 %11 to i1
  br i1 %12, label %13, label %.loopexit

13:                                               ; preds = %5
  %14 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %15 = getelementptr inbounds i8, ptr %0, i64 8
  %16 = load i32, ptr %15, align 8, !tbaa !18
  %17 = add nsw i32 %16, 1
  %18 = sext i32 %17 to i64
  %.not = icmp eq i64 %14, %18
  br i1 %.not, label %19, label %.loopexit

19:                                               ; preds = %13
  %20 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  %21 = load i32, ptr %15, align 8, !tbaa !18
  %22 = add nsw i32 %21, 1
  %23 = sext i32 %22 to i64
  %24 = icmp ne i64 %20, %23
  %25 = icmp eq ptr %3, null
  %or.cond = or i1 %25, %24
  %26 = icmp eq ptr %4, null
  %or.cond3 = or i1 %26, %or.cond
  br i1 %or.cond3, label %.loopexit, label %27

27:                                               ; preds = %19
  %28 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  %29 = getelementptr inbounds i8, ptr %0, i64 12
  %30 = load i32, ptr %29, align 4, !tbaa !19
  %31 = sext i32 %30 to i64
  %.not157 = icmp eq i64 %28, %31
  br i1 %.not157, label %33, label %32

32:                                               ; preds = %27
  tail call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %31)
  br label %33

33:                                               ; preds = %32, %27
  %34 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  %35 = load i32, ptr %29, align 4, !tbaa !19
  %36 = sext i32 %35 to i64
  %.not158 = icmp eq i64 %34, %36
  br i1 %.not158, label %38, label %37

37:                                               ; preds = %33
  tail call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %36)
  br label %38

38:                                               ; preds = %37, %33
  %39 = tail call ptr @_ZNKSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %40 = tail call ptr @_ZNKSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %41 = tail call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  %42 = tail call ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPKdSt6vectorIdSaIdEEEENS1_IPdS6_EEET0_T_SB_SA_(ptr %39, ptr %40, ptr %41)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %43 = tail call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  store ptr %43, ptr %6, align 8
  %44 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %45 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef %44) #6
  %46 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  store double 0.000000e+00, ptr %7, align 8, !tbaa !20
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %45, ptr %46, ptr noundef nonnull align 8 dereferenceable(8) %7)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  %47 = call ptr @_ZNKSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  %48 = call ptr @_ZNKSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  %49 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  %50 = call ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPKdSt6vectorIdSaIdEEEENS1_IPdS6_EEET0_T_SB_SA_(ptr %47, ptr %48, ptr %49)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %51 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  store ptr %51, ptr %8, align 8
  %52 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  %53 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %8, i64 noundef %52) #6
  %54 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  store double 0.000000e+00, ptr %9, align 8, !tbaa !20
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %53, ptr %54, ptr noundef nonnull align 8 dereferenceable(8) %9)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #6
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 0) #6
  %57 = getelementptr inbounds i8, ptr %0, i64 16
  %58 = load i32, ptr %57, align 8, !tbaa !22
  %59 = icmp sgt i32 %58, 1
  br i1 %59, label %.lr.ph174, label %.preheader

.lr.ph174:                                        ; preds = %38
  %60 = load i32, ptr %29, align 4, !tbaa !19
  %61 = getelementptr inbounds i8, ptr %0, i64 24
  br label %76

.preheader.loopexit:                              ; preds = %.split169.us
  %.pre = load i32, ptr %57, align 8, !tbaa !22
  br label %.preheader

.preheader:                                       ; preds = %.preheader.loopexit, %38
  %62 = phi i32 [ %.pre, %.preheader.loopexit ], [ %58, %38 ]
  %63 = icmp sgt i32 %62, 0
  br i1 %63, label %.lr.ph178.preheader, label %._crit_edge179

.lr.ph178.preheader:                              ; preds = %.preheader
  %64 = zext nneg i32 %62 to i64
  %min.iters.check = icmp ult i32 %62, 4
  br i1 %min.iters.check, label %.lr.ph178.preheader217, label %vector.memcheck

.lr.ph178.preheader217:                           ; preds = %middle.block, %vector.memcheck, %.lr.ph178.preheader
  %.0145177.ph = phi i32 [ 0, %vector.memcheck ], [ 0, %.lr.ph178.preheader ], [ %ind.end, %middle.block ]
  %.0146176.ph = phi ptr [ %56, %vector.memcheck ], [ %56, %.lr.ph178.preheader ], [ %ind.end202, %middle.block ]
  %.0147175.ph = phi ptr [ %55, %vector.memcheck ], [ %55, %.lr.ph178.preheader ], [ %ind.end204, %middle.block ]
  br label %.lr.ph178

vector.memcheck:                                  ; preds = %.lr.ph178.preheader
  %65 = add nsw i32 %62, -1
  %66 = zext i32 %65 to i64
  %67 = shl nuw nsw i64 %66, 4
  %68 = add nuw nsw i64 %67, 16
  %scevgep = getelementptr i8, ptr %55, i64 %68
  %scevgep201 = getelementptr i8, ptr %56, i64 %68
  %bound0 = icmp ult ptr %55, %scevgep201
  %bound1 = icmp ult ptr %56, %scevgep
  %found.conflict = and i1 %bound0, %bound1
  br i1 %found.conflict, label %.lr.ph178.preheader217, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %64, 2147483646
  %ind.end = trunc nuw nsw i64 %n.vec to i32
  %69 = shl nuw nsw i64 %n.vec, 4
  %ind.end202 = getelementptr i8, ptr %56, i64 %69
  %70 = shl nuw nsw i64 %n.vec, 4
  %ind.end204 = getelementptr i8, ptr %55, i64 %70
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = shl i64 %index, 4
  %next.gep = getelementptr i8, ptr %56, i64 %offset.idx
  %offset.idx206 = shl i64 %index, 4
  %next.gep207 = getelementptr i8, ptr %55, i64 %offset.idx206
  %wide.vec = load <4 x double>, ptr %next.gep207, align 8, !tbaa !20
  %strided.vec = shufflevector <4 x double> %wide.vec, <4 x double> poison, <2 x i32> <i32 0, i32 2>
  %strided.vec208 = shufflevector <4 x double> %wide.vec, <4 x double> poison, <2 x i32> <i32 1, i32 3>
  %71 = fsub <2 x double> %strided.vec, %strided.vec208
  %wide.vec209 = load <4 x double>, ptr %next.gep, align 8, !tbaa !20
  %strided.vec210 = shufflevector <4 x double> %wide.vec209, <4 x double> poison, <2 x i32> <i32 0, i32 2>
  %strided.vec211 = shufflevector <4 x double> %wide.vec209, <4 x double> poison, <2 x i32> <i32 1, i32 3>
  %72 = fsub <2 x double> %strided.vec210, %strided.vec211
  %73 = fadd <2 x double> %strided.vec, %strided.vec208
  %strided.vec213 = shufflevector <4 x double> %wide.vec209, <4 x double> poison, <2 x i32> <i32 0, i32 2>
  %strided.vec214 = shufflevector <4 x double> %wide.vec209, <4 x double> poison, <2 x i32> <i32 1, i32 3>
  %74 = fadd <2 x double> %strided.vec214, %strided.vec213
  %interleaved.vec = shufflevector <2 x double> %73, <2 x double> %71, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
  store <4 x double> %interleaved.vec, ptr %next.gep207, align 8, !tbaa !20
  %interleaved.vec215 = shufflevector <2 x double> %74, <2 x double> %72, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
  store <4 x double> %interleaved.vec215, ptr %next.gep, align 8, !tbaa !20
  %index.next = add nuw i64 %index, 2
  %75 = icmp eq i64 %index.next, %n.vec
  br i1 %75, label %middle.block, label %vector.body, !llvm.loop !23

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %64
  br i1 %cmp.n, label %._crit_edge179, label %.lr.ph178.preheader217

76:                                               ; preds = %.lr.ph174, %.split169.us
  %.0136172 = phi i32 [ %60, %.lr.ph174 ], [ %.0137171, %.split169.us ]
  %.0137171 = phi i32 [ %58, %.lr.ph174 ], [ %87, %.split169.us ]
  %.0140170 = phi i32 [ 1, %.lr.ph174 ], [ %88, %.split169.us ]
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %61, i64 noundef 0) #6
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %61, i64 noundef 0) #6
  %79 = load i32, ptr %29, align 4, !tbaa !19
  %.not160161 = icmp sgt i32 %.0136172, %79
  %80 = zext nneg i32 %.0137171 to i64
  %81 = sext i32 %.0136172 to i64
  %82 = sext i32 %.0140170 to i64
  br i1 %.not160161, label %.split169.us, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %76
  %83 = sdiv i32 %79, 4
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds double, ptr %78, i64 %84
  %86 = call i32 @llvm.umax.i32(i32 %.0137171, i32 1)
  %wide.trip.count = zext nneg i32 %86 to i64
  br label %.lr.ph

.split169.us:                                     ; preds = %._crit_edge, %76
  %87 = lshr i32 %.0137171, 1
  %88 = shl nsw i32 %.0140170, 1
  %89 = icmp ugt i32 %.0137171, 3
  br i1 %89, label %76, label %.preheader.loopexit, !llvm.loop !27

.lr.ph:                                           ; preds = %.lr.ph.preheader, %._crit_edge
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %._crit_edge ]
  %.0143167 = phi ptr [ %77, %.lr.ph.preheader ], [ %92, %._crit_edge ]
  %.0144166 = phi ptr [ %85, %.lr.ph.preheader ], [ %93, %._crit_edge ]
  %90 = getelementptr inbounds double, ptr %55, i64 %indvars.iv
  %91 = getelementptr inbounds double, ptr %56, i64 %indvars.iv
  br label %94

._crit_edge:                                      ; preds = %94
  %92 = getelementptr inbounds double, ptr %.0143167, i64 %82
  %93 = getelementptr inbounds double, ptr %.0144166, i64 %82
  %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 %.split169.us, label %.lr.ph, !llvm.loop !28

94:                                               ; preds = %.lr.ph, %94
  %.0149164 = phi i32 [ %.0136172, %.lr.ph ], [ %118, %94 ]
  %.0150163 = phi ptr [ %91, %.lr.ph ], [ %117, %94 ]
  %.0151162 = phi ptr [ %90, %.lr.ph ], [ %116, %94 ]
  %95 = load double, ptr %.0151162, align 8, !tbaa !20
  %96 = getelementptr inbounds double, ptr %.0151162, i64 %80
  %97 = load double, ptr %96, align 8, !tbaa !20
  %98 = fsub double %95, %97
  %99 = load double, ptr %.0150163, align 8, !tbaa !20
  %100 = getelementptr inbounds double, ptr %.0150163, i64 %80
  %101 = load double, ptr %100, align 8, !tbaa !20
  %102 = fsub double %99, %101
  %103 = fadd double %95, %97
  store double %103, ptr %.0151162, align 8, !tbaa !20
  %104 = load double, ptr %100, align 8, !tbaa !20
  %105 = load double, ptr %.0150163, align 8, !tbaa !20
  %106 = fadd double %104, %105
  store double %106, ptr %.0150163, align 8, !tbaa !20
  %107 = load double, ptr %.0144166, align 8, !tbaa !20
  %108 = load double, ptr %.0143167, align 8, !tbaa !20
  %109 = fmul double %102, %108
  %110 = call double @llvm.fmuladd.f64(double %107, double %98, double %109)
  store double %110, ptr %96, align 8, !tbaa !20
  %111 = load double, ptr %.0144166, align 8, !tbaa !20
  %112 = load double, ptr %.0143167, align 8, !tbaa !20
  %113 = fneg double %112
  %114 = fmul double %98, %113
  %115 = call double @llvm.fmuladd.f64(double %111, double %102, double %114)
  store double %115, ptr %100, align 8, !tbaa !20
  %116 = getelementptr inbounds double, ptr %.0151162, i64 %81
  %117 = getelementptr inbounds double, ptr %.0150163, i64 %81
  %118 = add nsw i32 %.0149164, %.0136172
  %.not160 = icmp sgt i32 %118, %79
  br i1 %.not160, label %._crit_edge, label %94, !llvm.loop !29

._crit_edge179:                                   ; preds = %.lr.ph178, %middle.block, %.preheader
  %119 = load i32, ptr %29, align 4, !tbaa !19
  %120 = icmp sgt i32 %119, 1
  br i1 %120, label %.lr.ph193.preheader, label %.loopexit

.lr.ph193.preheader:                              ; preds = %._crit_edge179
  %121 = add nsw i32 %119, -2
  br label %.lr.ph193

.lr.ph178:                                        ; preds = %.lr.ph178.preheader217, %.lr.ph178
  %.0145177 = phi i32 [ %136, %.lr.ph178 ], [ %.0145177.ph, %.lr.ph178.preheader217 ]
  %.0146176 = phi ptr [ %135, %.lr.ph178 ], [ %.0146176.ph, %.lr.ph178.preheader217 ]
  %.0147175 = phi ptr [ %134, %.lr.ph178 ], [ %.0147175.ph, %.lr.ph178.preheader217 ]
  %122 = load double, ptr %.0147175, align 8, !tbaa !20
  %123 = getelementptr inbounds i8, ptr %.0147175, i64 8
  %124 = load double, ptr %123, align 8, !tbaa !20
  %125 = fsub double %122, %124
  %126 = load double, ptr %.0146176, align 8, !tbaa !20
  %127 = getelementptr inbounds i8, ptr %.0146176, i64 8
  %128 = load double, ptr %127, align 8, !tbaa !20
  %129 = fsub double %126, %128
  %130 = fadd double %122, %124
  store double %130, ptr %.0147175, align 8, !tbaa !20
  %131 = load double, ptr %127, align 8, !tbaa !20
  %132 = load double, ptr %.0146176, align 8, !tbaa !20
  %133 = fadd double %131, %132
  store double %133, ptr %.0146176, align 8, !tbaa !20
  store double %125, ptr %123, align 8, !tbaa !20
  store double %129, ptr %127, align 8, !tbaa !20
  %134 = getelementptr inbounds i8, ptr %.0147175, i64 16
  %135 = getelementptr inbounds i8, ptr %.0146176, i64 16
  %136 = add nuw nsw i32 %.0145177, 1
  %exitcond197.not = icmp eq i32 %136, %62
  br i1 %exitcond197.not, label %._crit_edge179, label %.lr.ph178, !llvm.loop !30

.lr.ph193:                                        ; preds = %.lr.ph193.preheader, %._crit_edge185
  %.0138191 = phi i32 [ %150, %._crit_edge185 ], [ 0, %.lr.ph193.preheader ]
  %.0139190 = phi i32 [ %154, %._crit_edge185 ], [ 0, %.lr.ph193.preheader ]
  %.0141189 = phi ptr [ %153, %._crit_edge185 ], [ %56, %.lr.ph193.preheader ]
  %.0142188 = phi ptr [ %152, %._crit_edge185 ], [ %55, %.lr.ph193.preheader ]
  %137 = sub nsw i32 %.0139190, %.0138191
  %138 = icmp slt i32 %137, 0
  br i1 %138, label %139, label %147

139:                                              ; preds = %.lr.ph193
  %140 = load double, ptr %.0142188, align 8, !tbaa !20
  %141 = load double, ptr %.0141189, align 8, !tbaa !20
  %142 = sext i32 %137 to i64
  %143 = getelementptr inbounds double, ptr %.0142188, i64 %142
  %144 = load double, ptr %143, align 8, !tbaa !20
  store double %144, ptr %.0142188, align 8, !tbaa !20
  %145 = getelementptr inbounds double, ptr %.0141189, i64 %142
  %146 = load double, ptr %145, align 8, !tbaa !20
  store double %146, ptr %.0141189, align 8, !tbaa !20
  store double %140, ptr %143, align 8, !tbaa !20
  store double %141, ptr %145, align 8, !tbaa !20
  br label %147

147:                                              ; preds = %139, %.lr.ph193
  %.not159180 = icmp sgt i32 %62, %.0138191
  br i1 %.not159180, label %._crit_edge185, label %.lr.ph184

.lr.ph184:                                        ; preds = %147, %.lr.ph184
  %.0182 = phi i32 [ %149, %.lr.ph184 ], [ %62, %147 ]
  %.1181 = phi i32 [ %148, %.lr.ph184 ], [ %.0138191, %147 ]
  %148 = sub nsw i32 %.1181, %.0182
  %149 = sdiv i32 %.0182, 2
  %.not159 = icmp sgt i32 %149, %148
  br i1 %.not159, label %._crit_edge185, label %.lr.ph184, !llvm.loop !31

._crit_edge185:                                   ; preds = %.lr.ph184, %147
  %.1.lcssa = phi i32 [ %.0138191, %147 ], [ %148, %.lr.ph184 ]
  %.0.lcssa = phi i32 [ %62, %147 ], [ %149, %.lr.ph184 ]
  %150 = add nsw i32 %.0.lcssa, %.1.lcssa
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds double, ptr %55, i64 %151
  %153 = getelementptr inbounds double, ptr %56, i64 %151
  %154 = add nuw nsw i32 %.0139190, 1
  %exitcond198.not = icmp eq i32 %.0139190, %121
  br i1 %exitcond198.not, label %.loopexit, label %.lr.ph193, !llvm.loop !32

.loopexit:                                        ; preds = %._crit_edge185, %._crit_edge179, %5, %13, %19
  %.0135 = phi i1 [ false, %19 ], [ false, %13 ], [ false, %5 ], [ true, %._crit_edge179 ], [ true, %._crit_edge185 ]
  ret i1 %.0135
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPKdSt6vectorIdSaIdEEEENS1_IPdS6_EEET0_T_SB_SA_(ptr, ptr, ptr) local_unnamed_addr #3

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr, ptr, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

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

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #4

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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 #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !10, i64 20}
!6 = !{!"_ZTSN4sptk20FastFourierTransformE", !7, i64 8, !7, i64 12, !7, i64 16, !10, i64 20, !11, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{!"_ZTSSt6vectorIdSaIdEE", !12, i64 0}
!12 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{i8 0, i8 2}
!17 = !{}
!18 = !{!6, !7, i64 8}
!19 = !{!6, !7, i64 12}
!20 = !{!21, !21, i64 0}
!21 = !{!"double", !8, i64 0}
!22 = !{!6, !7, i64 16}
!23 = distinct !{!23, !24, !25, !26}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!"llvm.loop.isvectorized", i32 1}
!26 = !{!"llvm.loop.unroll.runtime.disable"}
!27 = distinct !{!27, !24}
!28 = distinct !{!28, !24}
!29 = distinct !{!29, !24}
!30 = distinct !{!30, !24, !25}
!31 = distinct !{!31, !24}
!32 = distinct !{!32, !24}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass