; LLVM IR from HiFi-LoFi/FFTConvolver :: FFTConvolver.ll (ZN12fftconvolver12FFTConvolver4initEmPKfm)

; 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.fftconvolver::FFTConvolver" = type { ptr, i64, i64, i64, i64, %"class.std::vector", %"class.std::vector", %"class.fftconvolver::Buffer", %"class.audiofft::AudioFFT", %"class.fftconvolver::SplitComplex", %"class.fftconvolver::SplitComplex", %"class.fftconvolver::Buffer", i64, %"class.fftconvolver::Buffer", i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<fftconvolver::SplitComplex *, std::allocator<fftconvolver::SplitComplex *>>::_Vector_impl" }
%"struct.std::_Vector_base<fftconvolver::SplitComplex *, std::allocator<fftconvolver::SplitComplex *>>::_Vector_impl" = type { %"struct.std::_Vector_base<fftconvolver::SplitComplex *, std::allocator<fftconvolver::SplitComplex *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fftconvolver::SplitComplex *, std::allocator<fftconvolver::SplitComplex *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.audiofft::AudioFFT" = type { %"class.std::unique_ptr" }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }
%"class.fftconvolver::SplitComplex" = type { i64, %"class.fftconvolver::Buffer", %"class.fftconvolver::Buffer" }
%"class.fftconvolver::Buffer" = type { ptr, ptr, i64 }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12fftconvolver12SplitComplexC2Em(ptr noundef nonnull align 8 dereferenceable(56), i64 noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12fftconvolver12FFTConvolver5resetEv(ptr noundef nonnull align 8 dereferenceable(296)) #0 align 2

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #1

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

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

declare void @_ZN8audiofft8AudioFFT4initEm(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN12fftconvolver12FFTConvolver4initEmPKfm(ptr noundef nonnull align 8 dereferenceable(296) %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca i1, align 1
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i64, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i64 %1, ptr %7, align 8, !tbaa !9
  store ptr %2, ptr %8, align 8, !tbaa !5
  store i64 %3, ptr %9, align 8, !tbaa !9
  %18 = load ptr, ptr %6, align 8
  call void @_ZN12fftconvolver12FFTConvolver5resetEv(ptr noundef nonnull align 8 dereferenceable(296) %18)
  %19 = load i64, ptr %7, align 8, !tbaa !9
  %20 = icmp eq i64 %19, 0
  br i1 %20, label %21, label %22

21:                                               ; preds = %4
  store i1 false, ptr %5, align 1
  br label %157

22:                                               ; preds = %4
  br label %23

23:                                               ; preds = %37, %22
  %24 = load i64, ptr %9, align 8, !tbaa !9
  %25 = icmp ugt i64 %24, 0
  br i1 %25, label %26, label %35

26:                                               ; preds = %23
  %27 = load ptr, ptr %8, align 8, !tbaa !5
  %28 = load i64, ptr %9, align 8, !tbaa !9
  %29 = sub i64 %28, 1
  %30 = getelementptr inbounds float, ptr %27, i64 %29
  %31 = load float, ptr %30, align 4, !tbaa !11
  %32 = fpext float %31 to double
  %33 = call double @llvm.fabs.f64(double %32)
  %34 = fcmp olt double %33, 0x3EB0C6F7A0000000
  br label %35

35:                                               ; preds = %26, %23
  %36 = phi i1 [ false, %23 ], [ %34, %26 ]
  br i1 %36, label %37, label %40

37:                                               ; preds = %35
  %38 = load i64, ptr %9, align 8, !tbaa !9
  %39 = add i64 %38, -1
  store i64 %39, ptr %9, align 8, !tbaa !9
  br label %23, !llvm.loop !13

40:                                               ; preds = %35
  %41 = load i64, ptr %9, align 8, !tbaa !9
  %42 = icmp eq i64 %41, 0
  br i1 %42, label %43, label %44

43:                                               ; preds = %40
  store i1 true, ptr %5, align 1
  br label %157

44:                                               ; preds = %40
  %45 = call noundef i64 @_ZN12fftconvolver12NextPowerOf2ImEET_RKS1_(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %46 = getelementptr inbounds %"class.fftconvolver::FFTConvolver", ptr %18, i32 0, i32 1
  store i64 %45, ptr %46, align 8, !tbaa !15
  %47 = getelementptr inbounds %"class.fftconvolver::FFTConvolver", ptr %18, i32 0, i32 1
  %48 = load i64, ptr %47, align 8, !tbaa !15
  %49 = mul i64 2, %48
  %50 = getelementptr inbounds %"class.fftconvolver::FFTConvolver", ptr %18, i32 0, i32 2
  store i64 %49, ptr %50, align 8, !tbaa !30
  %51 = load i64, ptr %9, align 8, !tbaa !9
  %52 = uitofp i64 %51 to float
  %53 = getelementptr inbounds %"class.fftconvolver::FFTConvolver", ptr %18, i32 0, i32 1
  %54 = load i64, ptr %53, align 8, !tbaa !15
  %55 = uitofp i64 %54 to float
  %56 = fdiv float %52, %55
  %57 = fpext float %56 to double
  %58 = call double @llvm.ceil.f64(double %57)
  %59 = fptoui double %58 to i64
  %60 = getelementptr inbounds %"class.fftconvolver::FFTConvolver", ptr %18, i32 0, i32 3
  store i64 %59, ptr %60, align 8, !tbaa !31
  %61 = getelementptr inbounds %"class.fftconvolver::FFTConvolver", ptr %18, i32 0, i32 2
  %62 = load i64, ptr %61, align 8, !tbaa !30
  %63 = call noundef i64 @_ZN8audiofft8AudioFFT11ComplexSizeEm(i64 noundef %62)
  %64 = getelementptr inbounds %"class.fftconvolver::FFTConvolver", ptr %18, i32 0, i32 4
  store i64 %63, ptr %64, align 8, !tbaa !32
  %65 = getelementptr inbounds %"class.fftconvolver::FFTConvolver", ptr %18, i32 0, i32 8
  %66 = getelementptr inbounds %"class.fftconvolver::FFTConvolver", ptr %18, i32 0, i32 2
  %67 = load i64, ptr %66, align 8, !tbaa !30
  call void @_ZN8audiofft8AudioFFT4initEm(ptr noundef nonnull align 8 dereferenceable(8) %65, i64 noundef %67)
  %68 = getelementptr inbounds %"class.fftconvolver::FFTConvolver", ptr %18, i32 0, i32 7
  %69 = getelementptr inbounds %"class.fftconvolver::FFTConvolver", ptr %18, i32 0, i32 2
  %70 = load i64, ptr %69, align 8, !tbaa !30
  call void @_ZN12fftconvolver6BufferIfE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %68, i64 noundef %70)
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  store i64 0, ptr %10, align 8, !tbaa !9
  br label %71

71:                                               ; preds = %83, %44
  %72 = load i64, ptr %10, align 8, !tbaa !9
  %73 = getelementptr inbounds %"class.fftconvolver::FFTConvolver", ptr %18, i32 0, i32 3
  %74 = load i64, ptr %73, align 8, !tbaa !31
  %75 = icmp ult i64 %72, %74
  br i1 %75, label %77, label %76

76:                                               ; preds = %71
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %90

77:                                               ; preds = %71
  %78 = getelementptr inbounds %"class.fftconvolver::FFTConvolver", ptr %18, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %79 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 56) #8
  %80 = getelementptr inbounds %"class.fftconvolver::FFTConvolver", ptr %18, i32 0, i32 4
  %81 = load i64, ptr %80, align 8, !tbaa !32
  invoke void @_ZN12fftconvolver12SplitComplexC2Em(ptr noundef nonnull align 8 dereferenceable(56) %79, i64 noundef %81)
          to label %82 unwind label %86

82:                                               ; preds = %77
  store ptr %79, ptr %11, align 8, !tbaa !5
  call void @_ZNSt6vectorIPN12fftconvolver12SplitComplexESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %78, ptr noundef nonnull align 8 dereferenceable(8) %11)
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %83

83:                                               ; preds = %82
  %84 = load i64, ptr %10, align 8, !tbaa !9
  %85 = add i64 %84, 1
  store i64 %85, ptr %10, align 8, !tbaa !9
  br label %71, !llvm.loop !33

86:                                               ; preds = %77
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %12, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %13, align 4
  call void @_ZdlPvm(ptr noundef %79, i64 noundef 56) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %159

90:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  store i64 0, ptr %14, align 8, !tbaa !9
  br label %91

91:                                               ; preds = %135, %90
  %92 = load i64, ptr %14, align 8, !tbaa !9
  %93 = getelementptr inbounds %"class.fftconvolver::FFTConvolver", ptr %18, i32 0, i32 3
  %94 = load i64, ptr %93, align 8, !tbaa !31
  %95 = icmp ult i64 %92, %94
  br i1 %95, label %97, label %96

96:                                               ; preds = %91
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %142

97:                                               ; preds = %91
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %98 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 56) #8
  %99 = getelementptr inbounds %"class.fftconvolver::FFTConvolver", ptr %18, i32 0, i32 4
  %100 = load i64, ptr %99, align 8, !tbaa !32
  invoke void @_ZN12fftconvolver12SplitComplexC2Em(ptr noundef nonnull align 8 dereferenceable(56) %98, i64 noundef %100)
          to label %101 unwind label %138

101:                                              ; preds = %97
  store ptr %98, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %102 = load i64, ptr %9, align 8, !tbaa !9
  %103 = load i64, ptr %14, align 8, !tbaa !9
  %104 = getelementptr inbounds %"class.fftconvolver::FFTConvolver", ptr %18, i32 0, i32 1
  %105 = load i64, ptr %104, align 8, !tbaa !15
  %106 = mul i64 %103, %105
  %107 = sub i64 %102, %106
  store i64 %107, ptr %16, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %108 = load i64, ptr %16, align 8, !tbaa !9
  %109 = getelementptr inbounds %"class.fftconvolver::FFTConvolver", ptr %18, i32 0, i32 1
  %110 = load i64, ptr %109, align 8, !tbaa !15
  %111 = icmp uge i64 %108, %110
  br i1 %111, label %112, label %115

112:                                              ; preds = %101
  %113 = getelementptr inbounds %"class.fftconvolver::FFTConvolver", ptr %18, i32 0, i32 1
  %114 = load i64, ptr %113, align 8, !tbaa !15
  br label %117

115:                                              ; preds = %101
  %116 = load i64, ptr %16, align 8, !tbaa !9
  br label %117

117:                                              ; preds = %115, %112
  %118 = phi i64 [ %114, %112 ], [ %116, %115 ]
  store i64 %118, ptr %17, align 8, !tbaa !9
  %119 = getelementptr inbounds %"class.fftconvolver::FFTConvolver", ptr %18, i32 0, i32 7
  %120 = load ptr, ptr %8, align 8, !tbaa !5
  %121 = load i64, ptr %14, align 8, !tbaa !9
  %122 = getelementptr inbounds %"class.fftconvolver::FFTConvolver", ptr %18, i32 0, i32 1
  %123 = load i64, ptr %122, align 8, !tbaa !15
  %124 = mul i64 %121, %123
  %125 = getelementptr inbounds float, ptr %120, i64 %124
  %126 = load i64, ptr %17, align 8, !tbaa !9
  call void @_ZN12fftconvolver10CopyAndPadIfEEvRNS_6BufferIT_EEPKS2_m(ptr noundef nonnull align 8 dereferenceable(24) %119, ptr noundef %125, i64 noundef %126)
  %127 = getelementptr inbounds %"class.fftconvolver::FFTConvolver", ptr %18, i32 0, i32 8
  %128 = getelementptr inbounds %"class.fftconvolver::FFTConvolver", ptr %18, i32 0, i32 7
  %129 = call noundef ptr @_ZN12fftconvolver6BufferIfE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %128)
  %130 = load ptr, ptr %15, align 8, !tbaa !5
  %131 = call noundef ptr @_ZN12fftconvolver12SplitComplex2reEv(ptr noundef nonnull align 8 dereferenceable(56) %130)
  %132 = load ptr, ptr %15, align 8, !tbaa !5
  %133 = call noundef ptr @_ZN12fftconvolver12SplitComplex2imEv(ptr noundef nonnull align 8 dereferenceable(56) %132)
  call void @_ZN8audiofft8AudioFFT3fftEPKfPfS3_(ptr noundef nonnull align 8 dereferenceable(8) %127, ptr noundef %129, ptr noundef %131, ptr noundef %133)
  %134 = getelementptr inbounds %"class.fftconvolver::FFTConvolver", ptr %18, i32 0, i32 6
  call void @_ZNSt6vectorIPN12fftconvolver12SplitComplexESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %134, ptr noundef nonnull align 8 dereferenceable(8) %15)
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br label %135

135:                                              ; preds = %117
  %136 = load i64, ptr %14, align 8, !tbaa !9
  %137 = add i64 %136, 1
  store i64 %137, ptr %14, align 8, !tbaa !9
  br label %91, !llvm.loop !34

138:                                              ; preds = %97
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %12, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %13, align 4
  call void @_ZdlPvm(ptr noundef %98, i64 noundef 56) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %159

142:                                              ; preds = %96
  %143 = getelementptr inbounds %"class.fftconvolver::FFTConvolver", ptr %18, i32 0, i32 9
  %144 = getelementptr inbounds %"class.fftconvolver::FFTConvolver", ptr %18, i32 0, i32 4
  %145 = load i64, ptr %144, align 8, !tbaa !32
  call void @_ZN12fftconvolver12SplitComplex6resizeEm(ptr noundef nonnull align 8 dereferenceable(56) %143, i64 noundef %145)
  %146 = getelementptr inbounds %"class.fftconvolver::FFTConvolver", ptr %18, i32 0, i32 10
  %147 = getelementptr inbounds %"class.fftconvolver::FFTConvolver", ptr %18, i32 0, i32 4
  %148 = load i64, ptr %147, align 8, !tbaa !32
  call void @_ZN12fftconvolver12SplitComplex6resizeEm(ptr noundef nonnull align 8 dereferenceable(56) %146, i64 noundef %148)
  %149 = getelementptr inbounds %"class.fftconvolver::FFTConvolver", ptr %18, i32 0, i32 11
  %150 = getelementptr inbounds %"class.fftconvolver::FFTConvolver", ptr %18, i32 0, i32 1
  %151 = load i64, ptr %150, align 8, !tbaa !15
  call void @_ZN12fftconvolver6BufferIfE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %149, i64 noundef %151)
  %152 = getelementptr inbounds %"class.fftconvolver::FFTConvolver", ptr %18, i32 0, i32 13
  %153 = getelementptr inbounds %"class.fftconvolver::FFTConvolver", ptr %18, i32 0, i32 1
  %154 = load i64, ptr %153, align 8, !tbaa !15
  call void @_ZN12fftconvolver6BufferIfE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %152, i64 noundef %154)
  %155 = getelementptr inbounds %"class.fftconvolver::FFTConvolver", ptr %18, i32 0, i32 14
  store i64 0, ptr %155, align 8, !tbaa !35
  %156 = getelementptr inbounds %"class.fftconvolver::FFTConvolver", ptr %18, i32 0, i32 12
  store i64 0, ptr %156, align 8, !tbaa !36
  store i1 true, ptr %5, align 1
  br label %157

157:                                              ; preds = %142, %43, %21
  %158 = load i1, ptr %5, align 1
  ret i1 %158

159:                                              ; preds = %138, %86
  %160 = load ptr, ptr %12, align 8
  %161 = load i32, ptr %13, align 4
  %162 = insertvalue { ptr, i32 } poison, ptr %160, 0
  %163 = insertvalue { ptr, i32 } %162, i32 %161, 1
  resume { ptr, i32 } %163
}

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

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

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

declare noundef i64 @_ZN8audiofft8AudioFFT11ComplexSizeEm(i64 noundef) #3

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #6

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

declare void @_ZN8audiofft8AudioFFT3fftEPKfPfS3_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ptr noundef, ptr noundef) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN12fftconvolver12SplitComplex2reEv(ptr noundef nonnull align 8 dereferenceable(56)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN12fftconvolver12SplitComplex2imEv(ptr noundef nonnull align 8 dereferenceable(56)) #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12fftconvolver12SplitComplex6resizeEm(ptr noundef nonnull align 8 dereferenceable(56), i64 noundef) #0 align 2

attributes #0 = { 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 #1 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 #6 = { nobuiltin allocsize(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 #7 = { nounwind }
attributes #8 = { builtin allocsize(0) }
attributes #9 = { builtin 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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !10, i64 8}
!16 = !{!"_ZTSN12fftconvolver12FFTConvolverE", !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !17, i64 40, !17, i64 64, !21, i64 88, !22, i64 112, !29, i64 120, !29, i64 176, !21, i64 232, !10, i64 256, !21, i64 264, !10, i64 288}
!17 = !{!"_ZTSSt6vectorIPN12fftconvolver12SplitComplexESaIS2_EE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIPN12fftconvolver12SplitComplexESaIS2_EE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIPN12fftconvolver12SplitComplexESaIS2_EE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIPN12fftconvolver12SplitComplexESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"_ZTSN12fftconvolver6BufferIfEE", !6, i64 8, !10, i64 16}
!22 = !{!"_ZTSN8audiofft8AudioFFTE", !23, i64 0}
!23 = !{!"_ZTSSt10unique_ptrIN8audiofft6detail12AudioFFTImplESt14default_deleteIS2_EE", !24, i64 0}
!24 = !{!"_ZTSSt15__uniq_ptr_dataIN8audiofft6detail12AudioFFTImplESt14default_deleteIS2_ELb1ELb1EE", !25, i64 0}
!25 = !{!"_ZTSSt15__uniq_ptr_implIN8audiofft6detail12AudioFFTImplESt14default_deleteIS2_EE", !26, i64 0}
!26 = !{!"_ZTSSt5tupleIJPN8audiofft6detail12AudioFFTImplESt14default_deleteIS2_EEE", !27, i64 0}
!27 = !{!"_ZTSSt11_Tuple_implILm0EJPN8audiofft6detail12AudioFFTImplESt14default_deleteIS2_EEE", !28, i64 0}
!28 = !{!"_ZTSSt10_Head_baseILm0EPN8audiofft6detail12AudioFFTImplELb0EE", !6, i64 0}
!29 = !{!"_ZTSN12fftconvolver12SplitComplexE", !10, i64 0, !21, i64 8, !21, i64 32}
!30 = !{!16, !10, i64 16}
!31 = !{!16, !10, i64 24}
!32 = !{!16, !10, i64 32}
!33 = distinct !{!33, !14}
!34 = distinct !{!34, !14}
!35 = !{!16, !10, i64 288}
!36 = !{!16, !10, i64 256}


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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12fftconvolver12SplitComplexC2Em(ptr noundef nonnull align 8 dereferenceable(56), i64 noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12fftconvolver12FFTConvolver5resetEv(ptr noundef nonnull align 8 dereferenceable(296)) local_unnamed_addr #0 align 2

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #1

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

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

declare void @_ZN8audiofft8AudioFFT4initEm(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN12fftconvolver12FFTConvolver4initEmPKfm(ptr noundef nonnull align 8 dereferenceable(296) %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca i64, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  store i64 %1, ptr %5, align 8, !tbaa !5
  tail call void @_ZN12fftconvolver12FFTConvolver5resetEv(ptr noundef nonnull align 8 dereferenceable(296) %0)
  %8 = icmp ne i64 %1, 0
  br i1 %8, label %.preheader29, label %.loopexit

.preheader29:                                     ; preds = %4
  %invariant.gep = getelementptr i8, ptr %2, i64 -4
  %cond32 = icmp eq i64 %3, 0
  br i1 %cond32, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader29, %12
  %.02033 = phi i64 [ %13, %12 ], [ %3, %.preheader29 ]
  %gep = getelementptr float, ptr %invariant.gep, i64 %.02033
  %9 = load float, ptr %gep, align 4, !tbaa !9
  %10 = tail call float @llvm.fabs.f32(float %9)
  %11 = fcmp olt float %10, 0x3EB0C6F7A0000000
  br i1 %11, label %12, label %.critedge

12:                                               ; preds = %.lr.ph
  %13 = add i64 %.02033, -1
  %cond = icmp eq i64 %13, 0
  br i1 %cond, label %.loopexit, label %.lr.ph, !llvm.loop !11

.critedge:                                        ; preds = %.lr.ph
  %14 = call noundef i64 @_ZN12fftconvolver12NextPowerOf2ImEET_RKS1_(ptr noundef nonnull align 8 dereferenceable(8) %5)
  %15 = getelementptr inbounds i8, ptr %0, i64 8
  store i64 %14, ptr %15, align 8, !tbaa !13
  %16 = shl i64 %14, 1
  %17 = getelementptr inbounds i8, ptr %0, i64 16
  store i64 %16, ptr %17, align 8, !tbaa !29
  %18 = uitofp i64 %.02033 to float
  %19 = uitofp i64 %14 to float
  %20 = fdiv float %18, %19
  %21 = call float @llvm.ceil.f32(float %20)
  %22 = fptoui float %21 to i64
  %23 = getelementptr inbounds i8, ptr %0, i64 24
  store i64 %22, ptr %23, align 8, !tbaa !30
  %24 = call noundef i64 @_ZN8audiofft8AudioFFT11ComplexSizeEm(i64 noundef %16)
  %25 = getelementptr inbounds i8, ptr %0, i64 32
  store i64 %24, ptr %25, align 8, !tbaa !31
  %26 = getelementptr inbounds i8, ptr %0, i64 112
  %27 = load i64, ptr %17, align 8, !tbaa !29
  call void @_ZN8audiofft8AudioFFT4initEm(ptr noundef nonnull align 8 dereferenceable(8) %26, i64 noundef %27)
  %28 = getelementptr inbounds i8, ptr %0, i64 88
  %29 = load i64, ptr %17, align 8, !tbaa !29
  call void @_ZN12fftconvolver6BufferIfE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %29)
  %30 = load i64, ptr %23, align 8, !tbaa !30
  %.not = icmp eq i64 %30, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph35

.lr.ph35:                                         ; preds = %.critedge
  %31 = getelementptr inbounds i8, ptr %0, i64 40
  br label %34

.preheader:                                       ; preds = %37
  %32 = icmp eq i64 %39, 0
  br i1 %32, label %._crit_edge, label %.lr.ph37

.lr.ph37:                                         ; preds = %.preheader
  %33 = getelementptr inbounds i8, ptr %0, i64 64
  br label %53

34:                                               ; preds = %.lr.ph35, %37
  %.02434 = phi i64 [ 0, %.lr.ph35 ], [ %38, %37 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  %35 = call noalias noundef nonnull dereferenceable(56) ptr @_Znwm(i64 noundef 56) #8
  %36 = load i64, ptr %25, align 8, !tbaa !31
  invoke void @_ZN12fftconvolver12SplitComplexC2Em(ptr noundef nonnull align 8 dereferenceable(56) %35, i64 noundef %36)
          to label %37 unwind label %41

37:                                               ; preds = %34
  store ptr %35, ptr %6, align 8, !tbaa !32
  call void @_ZNSt6vectorIPN12fftconvolver12SplitComplexESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull align 8 dereferenceable(8) %6)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  %38 = add nuw i64 %.02434, 1
  %39 = load i64, ptr %23, align 8, !tbaa !30
  %40 = icmp ult i64 %38, %39
  br i1 %40, label %34, label %.preheader, !llvm.loop !33

41:                                               ; preds = %34
  %42 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %35, i64 noundef 56) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  br label %71

._crit_edge:                                      ; preds = %56, %.critedge, %.preheader
  %43 = getelementptr inbounds i8, ptr %0, i64 120
  %44 = load i64, ptr %25, align 8, !tbaa !31
  call void @_ZN12fftconvolver12SplitComplex6resizeEm(ptr noundef nonnull align 8 dereferenceable(56) %43, i64 noundef %44)
  %45 = getelementptr inbounds i8, ptr %0, i64 176
  %46 = load i64, ptr %25, align 8, !tbaa !31
  call void @_ZN12fftconvolver12SplitComplex6resizeEm(ptr noundef nonnull align 8 dereferenceable(56) %45, i64 noundef %46)
  %47 = getelementptr inbounds i8, ptr %0, i64 232
  %48 = load i64, ptr %15, align 8, !tbaa !13
  call void @_ZN12fftconvolver6BufferIfE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %47, i64 noundef %48)
  %49 = getelementptr inbounds i8, ptr %0, i64 264
  %50 = load i64, ptr %15, align 8, !tbaa !13
  call void @_ZN12fftconvolver6BufferIfE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %49, i64 noundef %50)
  %51 = getelementptr inbounds i8, ptr %0, i64 288
  store i64 0, ptr %51, align 8, !tbaa !34
  %52 = getelementptr inbounds i8, ptr %0, i64 256
  store i64 0, ptr %52, align 8, !tbaa !35
  br label %.loopexit

53:                                               ; preds = %.lr.ph37, %56
  %.02136 = phi i64 [ 0, %.lr.ph37 ], [ %66, %56 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  %54 = call noalias noundef nonnull dereferenceable(56) ptr @_Znwm(i64 noundef 56) #8
  %55 = load i64, ptr %25, align 8, !tbaa !31
  invoke void @_ZN12fftconvolver12SplitComplexC2Em(ptr noundef nonnull align 8 dereferenceable(56) %54, i64 noundef %55)
          to label %56 unwind label %69

56:                                               ; preds = %53
  store ptr %54, ptr %7, align 8, !tbaa !32
  %57 = load i64, ptr %15, align 8, !tbaa !13
  %58 = mul i64 %57, %.02136
  %59 = sub i64 %.02033, %58
  %. = call i64 @llvm.umin.i64(i64 %59, i64 %57)
  %60 = getelementptr inbounds float, ptr %2, i64 %58
  call void @_ZN12fftconvolver10CopyAndPadIfEEvRNS_6BufferIT_EEPKS2_m(ptr noundef nonnull align 8 dereferenceable(24) %28, ptr noundef %60, i64 noundef %.)
  %61 = call noundef ptr @_ZN12fftconvolver6BufferIfE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %28)
  %62 = load ptr, ptr %7, align 8, !tbaa !32
  %63 = call noundef ptr @_ZN12fftconvolver12SplitComplex2reEv(ptr noundef nonnull align 8 dereferenceable(56) %62)
  %64 = load ptr, ptr %7, align 8, !tbaa !32
  %65 = call noundef ptr @_ZN12fftconvolver12SplitComplex2imEv(ptr noundef nonnull align 8 dereferenceable(56) %64)
  call void @_ZN8audiofft8AudioFFT3fftEPKfPfS3_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef %61, ptr noundef %63, ptr noundef %65)
  call void @_ZNSt6vectorIPN12fftconvolver12SplitComplexESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 8 dereferenceable(8) %7)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  %66 = add nuw i64 %.02136, 1
  %67 = load i64, ptr %23, align 8, !tbaa !30
  %68 = icmp ult i64 %66, %67
  br i1 %68, label %53, label %._crit_edge, !llvm.loop !36

69:                                               ; preds = %53
  %70 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %54, i64 noundef 56) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  br label %71

.loopexit:                                        ; preds = %12, %.preheader29, %4, %._crit_edge
  ret i1 %8

71:                                               ; preds = %69, %41
  %.pn = phi { ptr, i32 } [ %42, %41 ], [ %70, %69 ]
  resume { ptr, i32 } %.pn
}

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

declare noundef i64 @_ZN8audiofft8AudioFFT11ComplexSizeEm(i64 noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIPN12fftconvolver12SplitComplexESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12fftconvolver10CopyAndPadIfEEvRNS_6BufferIT_EEPKS2_m(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i64 noundef) local_unnamed_addr #0

declare void @_ZN8audiofft8AudioFFT3fftEPKfPfS3_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN12fftconvolver12SplitComplex2reEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN12fftconvolver12SplitComplex2imEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIPN12fftconvolver12SplitComplexESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12fftconvolver12SplitComplex6resizeEm(ptr noundef nonnull align 8 dereferenceable(56), i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #6

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.ceil.f32(float) #6

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umin.i64(i64, i64) #6

attributes #0 = { 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 #1 = { nobuiltin nounwind "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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress 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 #5 = { nobuiltin allocsize(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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { nounwind }
attributes #8 = { builtin allocsize(0) }
attributes #9 = { builtin 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !6, i64 8}
!14 = !{!"_ZTSN12fftconvolver12FFTConvolverE", !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !15, i64 40, !15, i64 64, !20, i64 88, !21, i64 112, !28, i64 120, !28, i64 176, !20, i64 232, !6, i64 256, !20, i64 264, !6, i64 288}
!15 = !{!"_ZTSSt6vectorIPN12fftconvolver12SplitComplexESaIS2_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIPN12fftconvolver12SplitComplexESaIS2_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIPN12fftconvolver12SplitComplexESaIS2_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIPN12fftconvolver12SplitComplexESaIS2_EE17_Vector_impl_dataE", !19, i64 0, !19, i64 8, !19, i64 16}
!19 = !{!"any pointer", !7, i64 0}
!20 = !{!"_ZTSN12fftconvolver6BufferIfEE", !19, i64 8, !6, i64 16}
!21 = !{!"_ZTSN8audiofft8AudioFFTE", !22, i64 0}
!22 = !{!"_ZTSSt10unique_ptrIN8audiofft6detail12AudioFFTImplESt14default_deleteIS2_EE", !23, i64 0}
!23 = !{!"_ZTSSt15__uniq_ptr_dataIN8audiofft6detail12AudioFFTImplESt14default_deleteIS2_ELb1ELb1EE", !24, i64 0}
!24 = !{!"_ZTSSt15__uniq_ptr_implIN8audiofft6detail12AudioFFTImplESt14default_deleteIS2_EE", !25, i64 0}
!25 = !{!"_ZTSSt5tupleIJPN8audiofft6detail12AudioFFTImplESt14default_deleteIS2_EEE", !26, i64 0}
!26 = !{!"_ZTSSt11_Tuple_implILm0EJPN8audiofft6detail12AudioFFTImplESt14default_deleteIS2_EEE", !27, i64 0}
!27 = !{!"_ZTSSt10_Head_baseILm0EPN8audiofft6detail12AudioFFTImplELb0EE", !19, i64 0}
!28 = !{!"_ZTSN12fftconvolver12SplitComplexE", !6, i64 0, !20, i64 8, !20, i64 32}
!29 = !{!14, !6, i64 16}
!30 = !{!14, !6, i64 24}
!31 = !{!14, !6, i64 32}
!32 = !{!19, !19, i64 0}
!33 = distinct !{!33, !12}
!34 = !{!14, !6, i64 288}
!35 = !{!14, !6, i64 256}
!36 = distinct !{!36, !12}


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