; LLVM IR from Try/Tempest :: Engine/thirdparty/openal-soft/core (hrtf)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.std::array.23" = type { [16 x i8] }
%"class.al::span.21" = type { ptr, i64 }
%"class.al::span.20" = type { ptr, i64 }
%"class.al::span.22" = type { ptr }
%"class.std::vector.24" = type { %"struct.std::_Vector_base.25" }
%"struct.std::_Vector_base.25" = type { %"struct.std::_Vector_base<ImpulseResponse, std::allocator<ImpulseResponse>>::_Vector_impl" }
%"struct.std::_Vector_base<ImpulseResponse, std::allocator<ImpulseResponse>>::_Vector_impl" = type { %"struct.std::_Vector_base<ImpulseResponse, std::allocator<ImpulseResponse>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ImpulseResponse, std::allocator<ImpulseResponse>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.anon.29 = type { ptr, ptr, ptr }
%"class.al::ptr_wrapper.30" = type { ptr }
%"class.std::back_insert_iterator" = type { ptr }
%class.anon.31 = type { i8 }
%"class.std::vector.33" = type { %"struct.std::_Vector_base.34" }
%"struct.std::_Vector_base.34" = type { %"struct.std::_Vector_base<std::array<std::array<double, 2>, 128>, std::allocator<std::array<std::array<double, 2>, 128>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::array<std::array<double, 2>, 128>, std::allocator<std::array<std::array<double, 2>, 128>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::array<std::array<double, 2>, 128>, std::allocator<std::array<std::array<double, 2>, 128>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::array<std::array<double, 2>, 128>, std::allocator<std::array<std::array<double, 2>, 128>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.35" = type { i8 }
%"class.al::ptr_wrapper.38" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.al::span.39" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.41" = type { ptr }
%"class.al::ptr_wrapper.44" = type { ptr }
%class.anon.45 = type { i8 }
%struct.HrtfStore = type { %"struct.std::atomic", i32, %"class.al::span.6", %"class.al::span.7", %"class.al::span.8", %"class.al::span.9", [8 x i8] }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"class.al::span.6" = type { ptr, i64 }
%"class.al::span.7" = type { ptr, i64 }
%"class.al::span.8" = type { ptr, i64 }
%"class.al::span.9" = type { ptr, i64 }
%struct.DirectHrtfState = type { %"struct.std::array.18", i32, [12 x i8], %"struct.al::FlexArray" }
%"struct.std::array.18" = type { [1024 x float] }
%"struct.al::FlexArray" = type { %"struct.al::FlexArrayStorage" }
%"struct.al::FlexArrayStorage" = type { %"class.al::span.19" }
%"class.al::span.19" = type { ptr, i64 }
%struct.HrtfChannelState = type { %class.BandSplitterR, float, [12 x i8], %"struct.std::array.15" }
%class.BandSplitterR = type { float, float, float, float }
%"struct.std::array.15" = type { [128 x %"struct.std::array.13"] }
%"struct.std::array.13" = type { [2 x float] }
%struct.ImpulseResponse = type { %"class.al::span.39", i32, i32 }

@_ZN9AmbiIndex16OrderFromChannelE = external dso_local constant %"struct.std::array.23", align 1
@.str = external hidden unnamed_addr constant [50 x i8], align 1
@_ZL10HrirLength = external hidden constant i32, align 4
@.str.2 = external hidden unnamed_addr constant [37 x i8], align 1

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS4_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS4_IKfLm4EEE(ptr noundef nonnull align 16 dereferenceable(4128) %0, ptr noundef %1, i32 noundef %2, i1 noundef zeroext %3, ptr %4, i64 %5, ptr noundef byval(%"class.al::span.21") align 8 %6, float noundef %7, i64 %8) #3 align 2 personality ptr @__gxx_personality_v0 {
  %10 = alloca %"class.al::span.20", align 8
  %11 = alloca %"class.al::span.22", align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i8, align 1
  %16 = alloca float, align 4
  %17 = alloca double, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca %"class.std::vector.24", align 8
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca %class.anon.29, align 8
  %26 = alloca %"class.al::ptr_wrapper.30", align 8
  %27 = alloca %"class.al::ptr_wrapper.30", align 8
  %28 = alloca %"class.std::back_insert_iterator", align 8
  %29 = alloca %class.anon.29, align 8
  %30 = alloca %"class.std::back_insert_iterator", align 8
  %31 = alloca %class.anon.31, align 1
  %32 = alloca %"class.std::vector.33", align 8
  %33 = alloca %"class.std::allocator.35", align 1
  %34 = alloca %"class.al::ptr_wrapper.38", align 8
  %35 = alloca ptr, align 8
  %36 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %37 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %38 = alloca i32, align 4
  %39 = alloca ptr, align 8
  %40 = alloca %"class.al::span.39", align 8
  %41 = alloca i32, align 4
  %42 = alloca i32, align 4
  %43 = alloca i32, align 4
  %44 = alloca i32, align 4
  %45 = alloca ptr, align 8
  %46 = alloca ptr, align 8
  %47 = alloca %"class.__gnu_cxx::__normal_iterator.41", align 8
  %48 = alloca %"class.__gnu_cxx::__normal_iterator.41", align 8
  %49 = alloca ptr, align 8
  %50 = alloca double, align 8
  %51 = alloca i64, align 8
  %52 = alloca i64, align 8
  %53 = alloca i64, align 8
  %54 = alloca i64, align 8
  %55 = alloca %"class.al::ptr_wrapper.44", align 8
  %56 = alloca ptr, align 8
  %57 = alloca %"class.__gnu_cxx::__normal_iterator.41", align 8
  %58 = alloca %"class.__gnu_cxx::__normal_iterator.41", align 8
  %59 = alloca ptr, align 8
  %60 = alloca %class.anon.45, align 1
  %61 = alloca %class.anon.45, align 1
  %62 = alloca i32, align 4
  %63 = alloca i32, align 4
  %64 = getelementptr inbounds { ptr, i64 }, ptr %10, i32 0, i32 0
  store ptr %4, ptr %64, align 8
  %65 = getelementptr inbounds { ptr, i64 }, ptr %10, i32 0, i32 1
  store i64 %5, ptr %65, align 8
  %66 = getelementptr inbounds %"class.al::span.22", ptr %11, i32 0, i32 0
  %67 = inttoptr i64 %8 to ptr
  store ptr %67, ptr %66, align 8
  store ptr %0, ptr %12, align 8, !tbaa !5
  store ptr %1, ptr %13, align 8, !tbaa !5
  store i32 %2, ptr %14, align 4, !tbaa !9
  %68 = zext i1 %3 to i8
  store i8 %68, ptr %15, align 1, !tbaa !11
  store float %7, ptr %16, align 4, !tbaa !13
  %69 = load ptr, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #11
  %70 = load float, ptr %16, align 4, !tbaa !13
  %71 = fpext float %70 to double
  %72 = load ptr, ptr %13, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.HrtfStore, ptr %72, i32 0, i32 1
  %74 = load i32, ptr %73, align 4
  %75 = and i32 %74, 16777215
  %76 = sitofp i32 %75 to double
  %77 = fdiv double %71, %76
  store double %77, ptr %17, align 8, !tbaa !15
  %78 = getelementptr inbounds %struct.DirectHrtfState, ptr %69, i32 0, i32 3
  %79 = call noundef nonnull align 16 dereferenceable(1056) ptr @_ZN2al9FlexArrayI16HrtfChannelStateLm16EEixEm(ptr noundef nonnull align 16 dereferenceable(16) %78, i64 noundef 0) #11
  %80 = getelementptr inbounds %struct.HrtfChannelState, ptr %79, i32 0, i32 0
  %81 = load double, ptr %17, align 8, !tbaa !15
  %82 = fptrunc double %81 to float
  call void @_ZN13BandSplitterRIfE4initEf(ptr noundef nonnull align 4 dereferenceable(16) %80, float noundef %82)
  %83 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK2al4spanIKfLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(8) %11, i64 noundef 0)
  %84 = load float, ptr %83, align 4, !tbaa !13
  %85 = getelementptr inbounds %struct.DirectHrtfState, ptr %69, i32 0, i32 3
  %86 = call noundef nonnull align 16 dereferenceable(1056) ptr @_ZN2al9FlexArrayI16HrtfChannelStateLm16EEixEm(ptr noundef nonnull align 16 dereferenceable(16) %85, i64 noundef 0) #11
  %87 = getelementptr inbounds %struct.HrtfChannelState, ptr %86, i32 0, i32 1
  store float %84, ptr %87, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #11
  store i64 1, ptr %18, align 8, !tbaa !21
  br label %88

88:                                               ; preds = %113, %9
  %89 = load i64, ptr %18, align 8, !tbaa !21
  %90 = getelementptr inbounds %struct.DirectHrtfState, ptr %69, i32 0, i32 3
  %91 = call noundef i64 @_ZNK2al9FlexArrayI16HrtfChannelStateLm16EE4sizeEv(ptr noundef nonnull align 16 dereferenceable(16) %90) #11
  %92 = icmp ult i64 %89, %91
  br i1 %92, label %94, label %93

93:                                               ; preds = %88
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #11
  br label %116

94:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #11
  %95 = load i64, ptr %18, align 8, !tbaa !21
  %96 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt5arrayIhLm16EEixEm(ptr noundef nonnull align 1 dereferenceable(16) @_ZN9AmbiIndex16OrderFromChannelE, i64 noundef %95) #11
  %97 = load i8, ptr %96, align 1, !tbaa !23
  %98 = zext i8 %97 to i64
  store i64 %98, ptr %19, align 8, !tbaa !21
  %99 = getelementptr inbounds %struct.DirectHrtfState, ptr %69, i32 0, i32 3
  %100 = call noundef nonnull align 16 dereferenceable(1056) ptr @_ZN2al9FlexArrayI16HrtfChannelStateLm16EEixEm(ptr noundef nonnull align 16 dereferenceable(16) %99, i64 noundef 0) #11
  %101 = getelementptr inbounds %struct.HrtfChannelState, ptr %100, i32 0, i32 0
  %102 = getelementptr inbounds %struct.DirectHrtfState, ptr %69, i32 0, i32 3
  %103 = load i64, ptr %18, align 8, !tbaa !21
  %104 = call noundef nonnull align 16 dereferenceable(1056) ptr @_ZN2al9FlexArrayI16HrtfChannelStateLm16EEixEm(ptr noundef nonnull align 16 dereferenceable(16) %102, i64 noundef %103) #11
  %105 = getelementptr inbounds %struct.HrtfChannelState, ptr %104, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %105, ptr align 16 %101, i64 16, i1 false), !tbaa.struct !24
  %106 = load i64, ptr %19, align 8, !tbaa !21
  %107 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK2al4spanIKfLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(8) %11, i64 noundef %106)
  %108 = load float, ptr %107, align 4, !tbaa !13
  %109 = getelementptr inbounds %struct.DirectHrtfState, ptr %69, i32 0, i32 3
  %110 = load i64, ptr %18, align 8, !tbaa !21
  %111 = call noundef nonnull align 16 dereferenceable(1056) ptr @_ZN2al9FlexArrayI16HrtfChannelStateLm16EEixEm(ptr noundef nonnull align 16 dereferenceable(16) %109, i64 noundef %110) #11
  %112 = getelementptr inbounds %struct.HrtfChannelState, ptr %111, i32 0, i32 1
  store float %108, ptr %112, align 16, !tbaa !17
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #11
  br label %113

113:                                              ; preds = %94
  %114 = load i64, ptr %18, align 8, !tbaa !21
  %115 = add i64 %114, 1
  store i64 %115, ptr %18, align 8, !tbaa !21
  br label %88, !llvm.loop !25

116:                                              ; preds = %93
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #11
  store i32 256, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #11
  store i32 0, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #11
  call void @_ZNSt6vectorIZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS5_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS5_IKfLm4EEEE15ImpulseResponseSaISF_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #11
  %117 = call noundef i64 @_ZNK2al4spanIK12AngularPointLm18446744073709551615EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %10) #11
  invoke void @_ZNSt6vectorIZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS5_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS5_IKfLm4EEEE15ImpulseResponseSaISF_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %117)
          to label %118 unwind label %160

118:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 24, ptr %25) #11
  %119 = getelementptr inbounds %class.anon.29, ptr %25, i32 0, i32 0
  %120 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %120, ptr %119, align 8, !tbaa !27
  %121 = getelementptr inbounds %class.anon.29, ptr %25, i32 0, i32 1
  store ptr %21, ptr %121, align 8, !tbaa !5
  %122 = getelementptr inbounds %class.anon.29, ptr %25, i32 0, i32 2
  store ptr %20, ptr %122, align 8, !tbaa !5
  %123 = call ptr @_ZNK2al4spanIK12AngularPointLm18446744073709551615EE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %10) #11
  %124 = getelementptr inbounds %"class.al::ptr_wrapper.30", ptr %26, i32 0, i32 0
  store ptr %123, ptr %124, align 8
  %125 = call ptr @_ZNK2al4spanIK12AngularPointLm18446744073709551615EE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %10) #11
  %126 = getelementptr inbounds %"class.al::ptr_wrapper.30", ptr %27, i32 0, i32 0
  store ptr %125, ptr %126, align 8
  %127 = invoke ptr @_ZSt13back_inserterISt6vectorIZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS6_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS6_IKfLm4EEEE15ImpulseResponseSaISG_EEESt20back_insert_iteratorIT_ERSK_(ptr noundef nonnull align 8 dereferenceable(24) %22)
          to label %128 unwind label %164

128:                                              ; preds = %118
  %129 = getelementptr inbounds %"class.std::back_insert_iterator", ptr %28, i32 0, i32 0
  store ptr %127, ptr %129, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %29, ptr align 8 %25, i64 24, i1 false), !tbaa.struct !29
  %130 = getelementptr inbounds %"class.al::ptr_wrapper.30", ptr %26, i32 0, i32 0
  %131 = load ptr, ptr %130, align 8
  %132 = getelementptr inbounds %"class.al::ptr_wrapper.30", ptr %27, i32 0, i32 0
  %133 = load ptr, ptr %132, align 8
  %134 = getelementptr inbounds %"class.std::back_insert_iterator", ptr %28, i32 0, i32 0
  %135 = load ptr, ptr %134, align 8
  %136 = invoke ptr @"_ZSt9transformIN2al11ptr_wrapperIPK12AngularPointEESt20back_insert_iteratorISt6vectorIZN15DirectHrtfState5buildEPK9HrtfStorejbNS0_4spanIS3_Lm18446744073709551615EEENSC_IKSt5arrayIfLm16EELm18446744073709551615EEEfNSC_IKfLm4EEEE15ImpulseResponseSaISK_EEEZNS8_5buildESB_jbSD_SH_fSJ_E3$_0ET0_T_SQ_SP_T1_"(ptr %131, ptr %133, ptr %135, ptr noundef byval(%class.anon.29) align 8 %29)
          to label %137 unwind label %164

137:                                              ; preds = %128
  %138 = getelementptr inbounds %"class.std::back_insert_iterator", ptr %30, i32 0, i32 0
  store ptr %136, ptr %138, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #11
  %139 = load i32, ptr %20, align 4, !tbaa !9
  %140 = uitofp i32 %139 to double
  %141 = fdiv double %140, 4.000000e+00
  %142 = load i32, ptr %21, align 4, !tbaa !9
  %143 = uitofp i32 %142 to double
  %144 = fdiv double %143, 4.000000e+00
  %145 = load i32, ptr %14, align 4, !tbaa !9
  call void (i32, ptr, ...) @_Z8al_print8LogLevelPKcz(i32 noundef 3, ptr noundef @.str, double noundef %141, double noundef %144, i32 noundef %145) #11
  call void @llvm.lifetime.start.p0(i64 24, ptr %32) #11
  %146 = getelementptr inbounds %struct.DirectHrtfState, ptr %69, i32 0, i32 3
  %147 = call noundef i64 @_ZNK2al9FlexArrayI16HrtfChannelStateLm16EE4sizeEv(ptr noundef nonnull align 16 dereferenceable(16) %146) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #11
  call void @_ZNSaISt5arrayIS_IdLm2EELm128EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #11
  invoke void @_ZNSt6vectorISt5arrayIS0_IdLm2EELm128EESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %147, ptr noundef nonnull align 1 dereferenceable(1) %33)
          to label %148 unwind label %168

148:                                              ; preds = %137
  call void @_ZNSt15__new_allocatorISt5arrayIS0_IdLm2EELm128EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #11
  store i32 0, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #11
  %149 = call ptr @_ZNK2al4spanIKSt5arrayIfLm16EELm18446744073709551615EE6cbeginEv(ptr noundef nonnull align 8 dereferenceable(16) %6) #11
  %150 = getelementptr inbounds %"class.al::ptr_wrapper.38", ptr %34, i32 0, i32 0
  store ptr %149, ptr %150, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #11
  store ptr %22, ptr %35, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #11
  %151 = load ptr, ptr %35, align 8, !tbaa !5
  %152 = call ptr @_ZNSt6vectorIZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS5_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS5_IKfLm4EEEE15ImpulseResponseSaISF_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %151) #11
  %153 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %36, i32 0, i32 0
  store ptr %152, ptr %153, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #11
  %154 = load ptr, ptr %35, align 8, !tbaa !5
  %155 = call ptr @_ZNSt6vectorIZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS5_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS5_IKfLm4EEEE15ImpulseResponseSaISF_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %154) #11
  %156 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %37, i32 0, i32 0
  store ptr %155, ptr %156, align 8
  br label %157

157:                                              ; preds = %299, %148
  %158 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS6_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS6_IKfLm4EEEE15ImpulseResponseSt6vectorISG_SaISG_EEEEbRKNS_17__normal_iteratorIT_T0_EESQ_(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull align 8 dereferenceable(8) %37) #11
  br i1 %158, label %172, label %159

159:                                              ; preds = %157
  store i32 5, ptr %38, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #11
  br label %303

160:                                              ; preds = %116
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %23, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %24, align 4
  br label %356

164:                                              ; preds = %128, %118
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %23, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %24, align 4
  br label %355

168:                                              ; preds = %137
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %23, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %24, align 4
  call void @_ZNSt15__new_allocatorISt5arrayIS0_IdLm2EELm128EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #11
  br label %354

172:                                              ; preds = %157
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #11
  %173 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS6_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS6_IKfLm4EEEE15ImpulseResponseSt6vectorISG_SaISG_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %36) #11
  store ptr %173, ptr %39, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #11
  %174 = load ptr, ptr %39, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.ImpulseResponse, ptr %174, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %40, ptr align 8 %175, i64 8, i1 false), !tbaa.struct !30
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #11
  %176 = load i8, ptr %15, align 1, !tbaa !11, !range !31, !noundef !32
  %177 = trunc i8 %176 to i1
  br i1 %177, label %178, label %186

178:                                              ; preds = %172
  %179 = load ptr, ptr %39, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.ImpulseResponse, ptr %179, i32 0, i32 1
  %181 = load ptr, ptr %39, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.ImpulseResponse, ptr %181, i32 0, i32 2
  %183 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIjERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %180, ptr noundef nonnull align 4 dereferenceable(4) %182)
          to label %184 unwind label %226

184:                                              ; preds = %178
  %185 = load i32, ptr %183, align 4, !tbaa !9
  br label %188

186:                                              ; preds = %172
  %187 = load i32, ptr %20, align 4, !tbaa !9
  br label %188

188:                                              ; preds = %186, %184
  %189 = phi i32 [ %185, %184 ], [ %187, %186 ]
  store i32 %189, ptr %41, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #11
  %190 = load ptr, ptr %39, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.ImpulseResponse, ptr %190, i32 0, i32 1
  %192 = load i32, ptr %191, align 8, !tbaa !33
  %193 = load i32, ptr %41, align 4, !tbaa !9
  %194 = sub i32 %192, %193
  %195 = call noundef i32 @"_ZZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS4_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS4_IKfLm4EEEENK3$_1clEj"(ptr noundef nonnull align 1 dereferenceable(1) %31, i32 noundef %194) #11
  store i32 %195, ptr %42, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #11
  %196 = load ptr, ptr %39, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.ImpulseResponse, ptr %196, i32 0, i32 2
  %198 = load i32, ptr %197, align 4, !tbaa !36
  %199 = load i32, ptr %41, align 4, !tbaa !9
  %200 = sub i32 %198, %199
  %201 = call noundef i32 @"_ZZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS4_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS4_IKfLm4EEEENK3$_1clEj"(ptr noundef nonnull align 1 dereferenceable(1) %31, i32 noundef %200) #11
  store i32 %201, ptr %43, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #11
  %202 = load ptr, ptr %39, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.ImpulseResponse, ptr %202, i32 0, i32 1
  %204 = load ptr, ptr %39, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.ImpulseResponse, ptr %204, i32 0, i32 2
  %206 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIjERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %203, ptr noundef nonnull align 4 dereferenceable(4) %205)
          to label %207 unwind label %230

207:                                              ; preds = %188
  %208 = load i32, ptr %206, align 4, !tbaa !9
  %209 = load i32, ptr %41, align 4, !tbaa !9
  %210 = sub i32 %208, %209
  store i32 %210, ptr %44, align 4, !tbaa !9
  %211 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIjERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %21, ptr noundef nonnull align 4 dereferenceable(4) %44)
          to label %212 unwind label %230

212:                                              ; preds = %207
  %213 = load i32, ptr %211, align 4, !tbaa !9
  store i32 %213, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #11
  %214 = call noundef ptr @_ZNK2al11ptr_wrapperIPKSt5arrayIfLm16EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #11
  %215 = call noundef ptr @_ZNKSt5arrayIfLm16EE6cbeginEv(ptr noundef nonnull align 4 dereferenceable(64) %214) #11
  store ptr %215, ptr %45, align 8, !tbaa !5
  %216 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN2al11ptr_wrapperIPKSt5arrayIfLm16EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #11
  store ptr %32, ptr %46, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #11
  %217 = load ptr, ptr %46, align 8, !tbaa !5
  %218 = call ptr @_ZNSt6vectorISt5arrayIS0_IdLm2EELm128EESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %217) #11
  %219 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.41", ptr %47, i32 0, i32 0
  store ptr %218, ptr %219, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #11
  %220 = load ptr, ptr %46, align 8, !tbaa !5
  %221 = call ptr @_ZNSt6vectorISt5arrayIS0_IdLm2EELm128EESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %220) #11
  %222 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.41", ptr %48, i32 0, i32 0
  store ptr %221, ptr %222, align 8
  br label %223

223:                                              ; preds = %295, %212
  %224 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt5arrayIS1_IdLm2EELm128EESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull align 8 dereferenceable(8) %48) #11
  br i1 %224, label %234, label %225

225:                                              ; preds = %223
  store i32 7, ptr %38, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #11
  br label %298

226:                                              ; preds = %178
  %227 = landingpad { ptr, i32 }
          cleanup
  %228 = extractvalue { ptr, i32 } %227, 0
  store ptr %228, ptr %23, align 8
  %229 = extractvalue { ptr, i32 } %227, 1
  store i32 %229, ptr %24, align 4
  br label %302

230:                                              ; preds = %207, %188
  %231 = landingpad { ptr, i32 }
          cleanup
  %232 = extractvalue { ptr, i32 } %231, 0
  store ptr %232, ptr %23, align 8
  %233 = extractvalue { ptr, i32 } %231, 1
  store i32 %233, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #11
  br label %301

234:                                              ; preds = %223
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #11
  %235 = call noundef nonnull align 8 dereferenceable(2048) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt5arrayIS1_IdLm2EELm128EESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %47) #11
  store ptr %235, ptr %49, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #11
  %236 = load ptr, ptr %45, align 8, !tbaa !5
  %237 = getelementptr inbounds float, ptr %236, i32 1
  store ptr %237, ptr %45, align 8, !tbaa !5
  %238 = load float, ptr %236, align 4, !tbaa !13
  %239 = fpext float %238 to double
  store double %239, ptr %50, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #11
  %240 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIjERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %42, ptr noundef nonnull align 4 dereferenceable(4) %43)
          to label %241 unwind label %254

241:                                              ; preds = %234
  %242 = load i32, ptr %240, align 4, !tbaa !9
  %243 = sub i32 128, %242
  %244 = zext i32 %243 to i64
  store i64 %244, ptr %51, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #11
  %245 = load i32, ptr %42, align 4, !tbaa !9
  %246 = zext i32 %245 to i64
  store i64 %246, ptr %52, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #11
  %247 = load i32, ptr %43, align 4, !tbaa !9
  %248 = zext i32 %247 to i64
  store i64 %248, ptr %53, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #11
  store i64 0, ptr %54, align 8, !tbaa !21
  br label %249

249:                                              ; preds = %287, %241
  %250 = load i64, ptr %54, align 8, !tbaa !21
  %251 = load i64, ptr %51, align 8, !tbaa !21
  %252 = icmp ult i64 %250, %251
  br i1 %252, label %258, label %253

253:                                              ; preds = %249
  store i32 9, ptr %38, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #11
  br label %294

254:                                              ; preds = %234
  %255 = landingpad { ptr, i32 }
          cleanup
  %256 = extractvalue { ptr, i32 } %255, 0
  store ptr %256, ptr %23, align 8
  %257 = extractvalue { ptr, i32 } %255, 1
  store i32 %257, ptr %24, align 4
  br label %297

258:                                              ; preds = %249
  %259 = load i64, ptr %54, align 8, !tbaa !21
  %260 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNK2al4spanIKSt5arrayIfLm2EELm128EEixEm(ptr noundef nonnull align 8 dereferenceable(8) %40, i64 noundef %259)
          to label %261 unwind label %290

261:                                              ; preds = %258
  %262 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIfLm2EEixEm(ptr noundef nonnull align 4 dereferenceable(8) %260, i64 noundef 0) #11
  %263 = load float, ptr %262, align 4, !tbaa !13
  %264 = fpext float %263 to double
  %265 = load double, ptr %50, align 8, !tbaa !15
  %266 = load ptr, ptr %49, align 8, !tbaa !5
  %267 = load i64, ptr %52, align 8, !tbaa !21
  %268 = add i64 %267, 1
  store i64 %268, ptr %52, align 8, !tbaa !21
  %269 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIS_IdLm2EELm128EEixEm(ptr noundef nonnull align 8 dereferenceable(2048) %266, i64 noundef %267) #11
  %270 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm2EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %269, i64 noundef 0) #11
  %271 = load double, ptr %270, align 8, !tbaa !15
  %272 = call double @llvm.fmuladd.f64(double %264, double %265, double %271)
  store double %272, ptr %270, align 8, !tbaa !15
  %273 = load i64, ptr %54, align 8, !tbaa !21
  %274 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNK2al4spanIKSt5arrayIfLm2EELm128EEixEm(ptr noundef nonnull align 8 dereferenceable(8) %40, i64 noundef %273)
          to label %275 unwind label %290

275:                                              ; preds = %261
  %276 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIfLm2EEixEm(ptr noundef nonnull align 4 dereferenceable(8) %274, i64 noundef 1) #11
  %277 = load float, ptr %276, align 4, !tbaa !13
  %278 = fpext float %277 to double
  %279 = load double, ptr %50, align 8, !tbaa !15
  %280 = load ptr, ptr %49, align 8, !tbaa !5
  %281 = load i64, ptr %53, align 8, !tbaa !21
  %282 = add i64 %281, 1
  store i64 %282, ptr %53, align 8, !tbaa !21
  %283 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIS_IdLm2EELm128EEixEm(ptr noundef nonnull align 8 dereferenceable(2048) %280, i64 noundef %281) #11
  %284 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm2EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %283, i64 noundef 1) #11
  %285 = load double, ptr %284, align 8, !tbaa !15
  %286 = call double @llvm.fmuladd.f64(double %278, double %279, double %285)
  store double %286, ptr %284, align 8, !tbaa !15
  br label %287

287:                                              ; preds = %275
  %288 = load i64, ptr %54, align 8, !tbaa !21
  %289 = add i64 %288, 1
  store i64 %289, ptr %54, align 8, !tbaa !21
  br label %249, !llvm.loop !37

290:                                              ; preds = %261, %258
  %291 = landingpad { ptr, i32 }
          cleanup
  %292 = extractvalue { ptr, i32 } %291, 0
  store ptr %292, ptr %23, align 8
  %293 = extractvalue { ptr, i32 } %291, 1
  store i32 %293, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #11
  br label %297

294:                                              ; preds = %253
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #11
  br label %295

295:                                              ; preds = %294
  %296 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt5arrayIS1_IdLm2EELm128EESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %47) #11
  br label %223

297:                                              ; preds = %290, %254
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #11
  br label %301

298:                                              ; preds = %225
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #11
  br label %299

299:                                              ; preds = %298
  %300 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS6_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS6_IKfLm4EEEE15ImpulseResponseSt6vectorISG_SaISG_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %36) #11
  br label %157

301:                                              ; preds = %297, %230
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #11
  br label %302

302:                                              ; preds = %301, %226
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #11
  br label %353

303:                                              ; preds = %159
  call void @_ZNSt6vectorIZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS5_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS5_IKfLm4EEEE15ImpulseResponseSaISF_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #11
  %304 = getelementptr inbounds %struct.DirectHrtfState, ptr %69, i32 0, i32 3
  %305 = call ptr @_ZN2al9FlexArrayI16HrtfChannelStateLm16EE5beginEv(ptr noundef nonnull align 16 dereferenceable(16) %304) #11
  %306 = getelementptr inbounds %"class.al::ptr_wrapper.44", ptr %55, i32 0, i32 0
  store ptr %305, ptr %306, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #11
  store ptr %32, ptr %56, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #11
  %307 = load ptr, ptr %56, align 8, !tbaa !5
  %308 = call ptr @_ZNSt6vectorISt5arrayIS0_IdLm2EELm128EESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %307) #11
  %309 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.41", ptr %57, i32 0, i32 0
  store ptr %308, ptr %309, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #11
  %310 = load ptr, ptr %56, align 8, !tbaa !5
  %311 = call ptr @_ZNSt6vectorISt5arrayIS0_IdLm2EELm128EESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %310) #11
  %312 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.41", ptr %58, i32 0, i32 0
  store ptr %311, ptr %312, align 8
  br label %313

313:                                              ; preds = %328, %303
  %314 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt5arrayIS1_IdLm2EELm128EESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %57, ptr noundef nonnull align 8 dereferenceable(8) %58) #11
  br i1 %314, label %316, label %315

315:                                              ; preds = %313
  store i32 12, ptr %38, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #11
  br label %334

316:                                              ; preds = %313
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #11
  %317 = call noundef nonnull align 8 dereferenceable(2048) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt5arrayIS1_IdLm2EELm128EESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %57) #11
  store ptr %317, ptr %59, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %60) #11
  %318 = load ptr, ptr %59, align 8, !tbaa !5
  %319 = call noundef ptr @_ZNKSt5arrayIS_IdLm2EELm128EE6cbeginEv(ptr noundef nonnull align 8 dereferenceable(2048) %318) #11
  %320 = load ptr, ptr %59, align 8, !tbaa !5
  %321 = call noundef ptr @_ZNKSt5arrayIS_IdLm2EELm128EE4cendEv(ptr noundef nonnull align 8 dereferenceable(2048) %320) #11
  %322 = call noundef ptr @_ZNK2al11ptr_wrapperIP16HrtfChannelStateEptEv(ptr noundef nonnull align 8 dereferenceable(8) %55) #11
  %323 = getelementptr inbounds %struct.HrtfChannelState, ptr %322, i32 0, i32 3
  %324 = call noundef ptr @_ZNSt5arrayIS_IfLm2EELm128EE5beginEv(ptr noundef nonnull align 4 dereferenceable(1024) %323) #12
  %325 = invoke noundef ptr @"_ZSt9transformIPKSt5arrayIdLm2EEPS0_IfLm2EEZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENSB_IKS0_IfLm16EELm18446744073709551615EEEfNSB_IKfLm4EEEE3$_2ET0_T_SM_SL_T1_"(ptr noundef %319, ptr noundef %321, ptr noundef %324)
          to label %326 unwind label %330

326:                                              ; preds = %316
  %327 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN2al11ptr_wrapperIP16HrtfChannelStateEppEv(ptr noundef nonnull align 8 dereferenceable(8) %55) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %60) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #11
  br label %328

328:                                              ; preds = %326
  %329 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt5arrayIS1_IdLm2EELm128EESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %57) #11
  br label %313

330:                                              ; preds = %316
  %331 = landingpad { ptr, i32 }
          cleanup
  %332 = extractvalue { ptr, i32 } %331, 0
  store ptr %332, ptr %23, align 8
  %333 = extractvalue { ptr, i32 } %331, 1
  store i32 %333, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %60) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #11
  br label %352

334:                                              ; preds = %315
  call void @_ZNSt6vectorISt5arrayIS0_IdLm2EELm128EESaIS2_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr %62) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr %63) #11
  %335 = load i32, ptr %21, align 4, !tbaa !9
  %336 = call noundef i32 @"_ZZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS4_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS4_IKfLm4EEEENK3$_1clEj"(ptr noundef nonnull align 1 dereferenceable(1) %31, i32 noundef %335) #11
  %337 = load i32, ptr %14, align 4, !tbaa !9
  %338 = add i32 %336, %337
  store i32 %338, ptr %63, align 4, !tbaa !9
  %339 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIjERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %63, ptr noundef nonnull align 4 dereferenceable(4) @_ZL10HrirLength)
          to label %340 unwind label %348

340:                                              ; preds = %334
  %341 = load i32, ptr %339, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %63) #11
  store i32 %341, ptr %62, align 4, !tbaa !9
  %342 = load i32, ptr %21, align 4, !tbaa !9
  %343 = uitofp i32 %342 to double
  %344 = fdiv double %343, 4.000000e+00
  %345 = load i32, ptr %62, align 4, !tbaa !9
  call void (i32, ptr, ...) @_Z8al_print8LogLevelPKcz(i32 noundef 3, ptr noundef @.str.2, double noundef %344, i32 noundef %345) #11
  %346 = load i32, ptr %62, align 4, !tbaa !9
  %347 = getelementptr inbounds %struct.DirectHrtfState, ptr %69, i32 0, i32 1
  store i32 %346, ptr %347, align 16, !tbaa !38
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #11
  call void @_ZNSt6vectorISt5arrayIS0_IdLm2EELm128EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #11
  call void @_ZNSt6vectorIZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS5_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS5_IKfLm4EEEE15ImpulseResponseSaISF_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #11
  ret void

348:                                              ; preds = %334
  %349 = landingpad { ptr, i32 }
          cleanup
  %350 = extractvalue { ptr, i32 } %349, 0
  store ptr %350, ptr %23, align 8
  %351 = extractvalue { ptr, i32 } %349, 1
  store i32 %351, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %63) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #11
  br label %352

352:                                              ; preds = %348, %330
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #11
  br label %353

353:                                              ; preds = %352, %302
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #11
  call void @_ZNSt6vectorISt5arrayIS0_IdLm2EELm128EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #11
  br label %354

354:                                              ; preds = %353, %168
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #11
  br label %355

355:                                              ; preds = %354, %164
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #11
  br label %356

356:                                              ; preds = %355, %160
  call void @_ZNSt6vectorIZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS5_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS5_IKfLm4EEEE15ImpulseResponseSaISF_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #11
  br label %357

357:                                              ; preds = %356
  %358 = load ptr, ptr %23, align 8
  %359 = load i32, ptr %24, align 4
  %360 = insertvalue { ptr, i32 } poison, ptr %358, 0
  %361 = insertvalue { ptr, i32 } %360, i32 %359, 1
  resume { ptr, i32 } %361
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 16 dereferenceable(1056) ptr @_ZN2al9FlexArrayI16HrtfChannelStateLm16EEixEm(ptr noundef nonnull align 16 dereferenceable(16), i64 noundef) #4 align 2

declare void @_ZN13BandSplitterRIfE4initEf(ptr noundef nonnull align 4 dereferenceable(16), float noundef) #5

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK2al9FlexArrayI16HrtfChannelStateLm16EE4sizeEv(ptr noundef nonnull align 16 dereferenceable(16)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt5arrayIhLm16EEixEm(ptr noundef nonnull align 1 dereferenceable(16), i64 noundef) #4 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZNSt6vectorIZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS5_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS5_IKfLm4EEEE15ImpulseResponseSaISF_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden ptr @"_ZSt9transformIN2al11ptr_wrapperIPK12AngularPointEESt20back_insert_iteratorISt6vectorIZN15DirectHrtfState5buildEPK9HrtfStorejbNS0_4spanIS3_Lm18446744073709551615EEENSC_IKSt5arrayIfLm16EELm18446744073709551615EEEfNSC_IKfLm4EEEE15ImpulseResponseSaISK_EEEZNS8_5buildESB_jbSD_SH_fSJ_E3$_0ET0_T_SQ_SP_T1_"(ptr, ptr, ptr, ptr noundef byval(%class.anon.29) align 8) #3

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden ptr @_ZSt13back_inserterISt6vectorIZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS6_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS6_IKfLm4EEEE15ImpulseResponseSaISG_EEESt20back_insert_iteratorIT_ERSK_(ptr noundef nonnull align 8 dereferenceable(24)) #6

; Function Attrs: nounwind
declare void @_Z8al_print8LogLevelPKcz(i32 noundef, ptr noundef, ...) #7

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS6_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS6_IKfLm4EEEE15ImpulseResponseSt6vectorISG_SaISG_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @"_ZZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS4_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS4_IKfLm4EEEENK3$_1clEj"(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef) #2 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt5arrayIfLm16EE6cbeginEv(ptr noundef nonnull align 4 dereferenceable(64)) #4 align 2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPSt5arrayIS1_IdLm2EELm128EESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #2

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS6_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS6_IKfLm4EEEE15ImpulseResponseSt6vectorISG_SaISG_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZNSt6vectorIZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS5_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS5_IKfLm4EEEE15ImpulseResponseSaISF_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZN2al9FlexArrayI16HrtfChannelStateLm16EE5beginEv(ptr noundef nonnull align 16 dereferenceable(16)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef ptr @"_ZSt9transformIPKSt5arrayIdLm2EEPS0_IfLm2EEZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENSB_IKS0_IfLm16EELm18446744073709551615EEEfNSB_IKfLm4EEEE3$_2ET0_T_SM_SL_T1_"(ptr noundef, ptr noundef, ptr noundef) #9

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

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

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

; Function Attrs: mustprogress nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayIS_IfLm2EELm128EE5beginEv(ptr noundef nonnull align 4 dereferenceable(1024)) #10 align 2

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress 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 = { "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 = { 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 #7 = { 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 #8 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { mustprogress nounwind uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #10 = { mustprogress nounwind willreturn memory(none) 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 #11 = { nounwind }
attributes #12 = { nounwind willreturn memory(none) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"double", !7, i64 0}
!17 = !{!18, !14, i64 16}
!18 = !{!"_ZTS16HrtfChannelState", !19, i64 0, !14, i64 16, !20, i64 32}
!19 = !{!"_ZTS13BandSplitterRIfE", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!20 = !{!"_ZTSSt5arrayIS_IfLm2EELm128EE", !7, i64 0}
!21 = !{!22, !22, i64 0}
!22 = !{!"long", !7, i64 0}
!23 = !{!7, !7, i64 0}
!24 = !{i64 0, i64 4, !13, i64 4, i64 4, !13, i64 8, i64 4, !13, i64 12, i64 4, !13}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{!28, !6, i64 0}
!28 = !{!"_ZTSZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS4_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS4_IKfLm4EEEE3$_0", !6, i64 0, !6, i64 8, !6, i64 16}
!29 = !{i64 0, i64 8, !5, i64 8, i64 8, !5, i64 16, i64 8, !5}
!30 = !{i64 0, i64 8, !5}
!31 = !{i8 0, i8 2}
!32 = !{}
!33 = !{!34, !10, i64 8}
!34 = !{!"_ZTSZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS4_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS4_IKfLm4EEEE15ImpulseResponse", !35, i64 0, !10, i64 8, !10, i64 12}
!35 = !{!"_ZTSN2al4spanIKSt5arrayIfLm2EELm128EEE", !6, i64 0}
!36 = !{!34, !10, i64 12}
!37 = distinct !{!37, !26}
!38 = !{!39, !10, i64 4096}
!39 = !{!"_ZTS15DirectHrtfState", !40, i64 0, !10, i64 4096, !41, i64 4112}
!40 = !{!"_ZTSSt5arrayIfLm1024EE", !7, i64 0}
!41 = !{!"_ZTSN2al9FlexArrayI16HrtfChannelStateLm16EEE", !42, i64 0}
!42 = !{!"_ZTSN2al16FlexArrayStorageI16HrtfChannelStateLm16ELb1EEE", !43, i64 0}
!43 = !{!"_ZTSN2al4spanI16HrtfChannelStateLm18446744073709551615EEE", !6, i64 0, !22, i64 8}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.std::array.23" = type { [16 x i8] }
%"class.al::span.21" = type { ptr, i64 }
%"class.al::span.20" = type { ptr, i64 }
%"class.al::span.22" = type { ptr }
%"class.std::vector.24" = type { %"struct.std::_Vector_base.25" }
%"struct.std::_Vector_base.25" = type { %"struct.std::_Vector_base<ImpulseResponse, std::allocator<ImpulseResponse>>::_Vector_impl" }
%"struct.std::_Vector_base<ImpulseResponse, std::allocator<ImpulseResponse>>::_Vector_impl" = type { %"struct.std::_Vector_base<ImpulseResponse, std::allocator<ImpulseResponse>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ImpulseResponse, std::allocator<ImpulseResponse>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.anon.29 = type { ptr, ptr, ptr }
%class.anon.31 = type { i8 }
%"class.std::vector.33" = type { %"struct.std::_Vector_base.34" }
%"struct.std::_Vector_base.34" = type { %"struct.std::_Vector_base<std::array<std::array<double, 2>, 128>, std::allocator<std::array<std::array<double, 2>, 128>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::array<std::array<double, 2>, 128>, std::allocator<std::array<std::array<double, 2>, 128>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::array<std::array<double, 2>, 128>, std::allocator<std::array<std::array<double, 2>, 128>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::array<std::array<double, 2>, 128>, std::allocator<std::array<std::array<double, 2>, 128>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.35" = type { i8 }
%"class.al::ptr_wrapper.38" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.al::span.39" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.41" = type { ptr }
%"class.al::ptr_wrapper.44" = type { ptr }

@_ZN9AmbiIndex16OrderFromChannelE = external dso_local constant %"struct.std::array.23", align 1
@.str = external hidden unnamed_addr constant [50 x i8], align 1
@_ZL10HrirLength = external hidden constant i32, align 4
@.str.2 = external hidden unnamed_addr constant [37 x i8], align 1

; 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 nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS4_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS4_IKfLm4EEE(ptr noundef nonnull align 16 dereferenceable(4128) %0, ptr noundef %1, i32 noundef %2, i1 noundef zeroext %3, ptr %4, i64 %5, ptr noundef byval(%"class.al::span.21") align 8 %6, float noundef %7, i64 %8) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %10 = alloca %"class.al::span.20", align 8
  %11 = alloca %"class.al::span.22", align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::vector.24", align 8
  %15 = alloca %class.anon.29, align 8
  %16 = alloca %class.anon.31, align 1
  %17 = alloca %"class.std::vector.33", align 8
  %18 = alloca %"class.std::allocator.35", align 1
  %19 = alloca %"class.al::ptr_wrapper.38", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %22 = alloca %"class.al::span.39", align 8
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca %"class.__gnu_cxx::__normal_iterator.41", align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator.41", align 8
  %28 = alloca %"class.al::ptr_wrapper.44", align 8
  %29 = alloca %"class.__gnu_cxx::__normal_iterator.41", align 8
  %30 = alloca %"class.__gnu_cxx::__normal_iterator.41", align 8
  %31 = alloca i32, align 4
  store ptr %4, ptr %10, align 8
  %32 = getelementptr inbounds i8, ptr %10, i64 8
  store i64 %5, ptr %32, align 8
  %33 = inttoptr i64 %8 to ptr
  store ptr %33, ptr %11, align 8
  %34 = fpext float %7 to double
  %35 = getelementptr inbounds i8, ptr %1, i64 4
  %36 = load i32, ptr %35, align 4
  %37 = and i32 %36, 16777215
  %38 = uitofp nneg i32 %37 to double
  %39 = fdiv double %34, %38
  %40 = getelementptr inbounds i8, ptr %0, i64 4112
  %41 = tail call noundef nonnull align 16 dereferenceable(1056) ptr @_ZN2al9FlexArrayI16HrtfChannelStateLm16EEixEm(ptr noundef nonnull align 16 dereferenceable(16) %40, i64 noundef 0) #11
  %42 = fptrunc double %39 to float
  tail call void @_ZN13BandSplitterRIfE4initEf(ptr noundef nonnull align 4 dereferenceable(16) %41, float noundef %42)
  %43 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK2al4spanIKfLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(8) %11, i64 noundef 0)
  %44 = load float, ptr %43, align 4, !tbaa !5
  %45 = call noundef nonnull align 16 dereferenceable(1056) ptr @_ZN2al9FlexArrayI16HrtfChannelStateLm16EEixEm(ptr noundef nonnull align 16 dereferenceable(16) %40, i64 noundef 0) #11
  %46 = getelementptr inbounds i8, ptr %45, i64 16
  store float %44, ptr %46, align 16, !tbaa !9
  %47 = call noundef i64 @_ZNK2al9FlexArrayI16HrtfChannelStateLm16EE4sizeEv(ptr noundef nonnull align 16 dereferenceable(16) %40) #11
  %48 = icmp ugt i64 %47, 1
  br i1 %48, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #11
  store i32 256, ptr %12, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #11
  store i32 0, ptr %13, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #11
  call void @_ZNSt6vectorIZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS5_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS5_IKfLm4EEEE15ImpulseResponseSaISF_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #11
  %49 = call noundef i64 @_ZNK2al4spanIK12AngularPointLm18446744073709551615EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %10) #11
  invoke void @_ZNSt6vectorIZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS5_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS5_IKfLm4EEEE15ImpulseResponseSaISF_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %49)
          to label %62 unwind label %85

.lr.ph:                                           ; preds = %9, %.lr.ph
  %.061 = phi i64 [ %59, %.lr.ph ], [ 1, %9 ]
  %50 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt5arrayIhLm16EEixEm(ptr noundef nonnull align 1 dereferenceable(16) @_ZN9AmbiIndex16OrderFromChannelE, i64 noundef %.061) #11
  %51 = load i8, ptr %50, align 1, !tbaa !15
  %52 = zext i8 %51 to i64
  %53 = call noundef nonnull align 16 dereferenceable(1056) ptr @_ZN2al9FlexArrayI16HrtfChannelStateLm16EEixEm(ptr noundef nonnull align 16 dereferenceable(16) %40, i64 noundef 0) #11
  %54 = call noundef nonnull align 16 dereferenceable(1056) ptr @_ZN2al9FlexArrayI16HrtfChannelStateLm16EEixEm(ptr noundef nonnull align 16 dereferenceable(16) %40, i64 noundef %.061) #11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %54, ptr noundef nonnull align 16 dereferenceable(16) %53, i64 16, i1 false), !tbaa.struct !16
  %55 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK2al4spanIKfLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(8) %11, i64 noundef %52)
  %56 = load float, ptr %55, align 4, !tbaa !5
  %57 = call noundef nonnull align 16 dereferenceable(1056) ptr @_ZN2al9FlexArrayI16HrtfChannelStateLm16EEixEm(ptr noundef nonnull align 16 dereferenceable(16) %40, i64 noundef %.061) #11
  %58 = getelementptr inbounds i8, ptr %57, i64 16
  store float %56, ptr %58, align 16, !tbaa !9
  %59 = add nuw i64 %.061, 1
  %60 = call noundef i64 @_ZNK2al9FlexArrayI16HrtfChannelStateLm16EE4sizeEv(ptr noundef nonnull align 16 dereferenceable(16) %40) #11
  %61 = icmp ult i64 %59, %60
  br i1 %61, label %.lr.ph, label %._crit_edge, !llvm.loop !17

62:                                               ; preds = %._crit_edge
  %63 = call ptr @_ZNK2al4spanIK12AngularPointLm18446744073709551615EE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %10) #11
  %64 = call ptr @_ZNK2al4spanIK12AngularPointLm18446744073709551615EE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %10) #11
  %65 = invoke ptr @_ZSt13back_inserterISt6vectorIZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS6_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS6_IKfLm4EEEE15ImpulseResponseSaISG_EEESt20back_insert_iteratorIT_ERSK_(ptr noundef nonnull align 8 dereferenceable(24) %14)
          to label %66 unwind label %87

66:                                               ; preds = %62
  store ptr %1, ptr %15, align 8, !tbaa !19
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %15, i64 8
  store ptr %13, ptr %.sroa.5.0..sroa_idx, align 8, !tbaa !19
  %.sroa.6.0..sroa_idx = getelementptr inbounds i8, ptr %15, i64 16
  store ptr %12, ptr %.sroa.6.0..sroa_idx, align 8, !tbaa !19
  %67 = invoke ptr @"_ZSt9transformIN2al11ptr_wrapperIPK12AngularPointEESt20back_insert_iteratorISt6vectorIZN15DirectHrtfState5buildEPK9HrtfStorejbNS0_4spanIS3_Lm18446744073709551615EEENSC_IKSt5arrayIfLm16EELm18446744073709551615EEEfNSC_IKfLm4EEEE15ImpulseResponseSaISK_EEEZNS8_5buildESB_jbSD_SH_fSJ_E3$_0ET0_T_SQ_SP_T1_"(ptr %63, ptr %64, ptr %65, ptr noundef nonnull byval(%class.anon.29) align 8 %15)
          to label %68 unwind label %87

68:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #11
  %69 = load i32, ptr %12, align 4, !tbaa !13
  %70 = uitofp i32 %69 to double
  %71 = fmul double %70, 2.500000e-01
  %72 = load i32, ptr %13, align 4, !tbaa !13
  %73 = uitofp i32 %72 to double
  %74 = fmul double %73, 2.500000e-01
  call void (i32, ptr, ...) @_Z8al_print8LogLevelPKcz(i32 noundef 3, ptr noundef nonnull @.str, double noundef %71, double noundef %74, i32 noundef %2) #11
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #11
  %75 = call noundef i64 @_ZNK2al9FlexArrayI16HrtfChannelStateLm16EE4sizeEv(ptr noundef nonnull align 16 dereferenceable(16) %40) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #11
  call void @_ZNSaISt5arrayIS_IdLm2EELm128EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #11
  invoke void @_ZNSt6vectorISt5arrayIS0_IdLm2EELm128EESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %75, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %76 unwind label %89

76:                                               ; preds = %68
  call void @_ZNSt15__new_allocatorISt5arrayIS0_IdLm2EELm128EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #11
  store i32 0, ptr %13, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #11
  %77 = call ptr @_ZNK2al4spanIKSt5arrayIfLm16EELm18446744073709551615EE6cbeginEv(ptr noundef nonnull align 8 dereferenceable(16) %6) #11
  store ptr %77, ptr %19, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #11
  %78 = call ptr @_ZNSt6vectorIZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS5_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS5_IKfLm4EEEE15ImpulseResponseSaISF_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #11
  store ptr %78, ptr %20, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #11
  %79 = call ptr @_ZNSt6vectorIZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS5_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS5_IKfLm4EEEE15ImpulseResponseSaISF_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #11
  store ptr %79, ptr %21, align 8
  %80 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS6_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS6_IKfLm4EEEE15ImpulseResponseSt6vectorISG_SaISG_EEEEbRKNS_17__normal_iteratorIT_T0_EESQ_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #11
  br i1 %80, label %.lr.ph73, label %._crit_edge74

._crit_edge74:                                    ; preds = %._crit_edge71, %76
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #11
  call void @_ZNSt6vectorIZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS5_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS5_IKfLm4EEEE15ImpulseResponseSaISF_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #11
  %81 = call ptr @_ZN2al9FlexArrayI16HrtfChannelStateLm16EE5beginEv(ptr noundef nonnull align 16 dereferenceable(16) %40) #11
  store ptr %81, ptr %28, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #11
  %82 = call ptr @_ZNSt6vectorISt5arrayIS0_IdLm2EELm128EESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #11
  store ptr %82, ptr %29, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #11
  %83 = call ptr @_ZNSt6vectorISt5arrayIS0_IdLm2EELm128EESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #11
  store ptr %83, ptr %30, align 8
  %84 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt5arrayIS1_IdLm2EELm128EESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %30) #11
  br i1 %84, label %.lr.ph76, label %._crit_edge77

85:                                               ; preds = %._crit_edge
  %86 = landingpad { ptr, i32 }
          cleanup
  br label %171

87:                                               ; preds = %66, %62
  %88 = landingpad { ptr, i32 }
          cleanup
  br label %171

89:                                               ; preds = %68
  %90 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt5arrayIS0_IdLm2EELm128EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #11
  br label %171

.lr.ph73:                                         ; preds = %76, %._crit_edge71
  %91 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS6_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS6_IKfLm4EEEE15ImpulseResponseSt6vectorISG_SaISG_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #11
  %92 = load i64, ptr %91, align 8, !tbaa !19
  store i64 %92, ptr %22, align 8, !tbaa !19
  br i1 %3, label %93, label %97

93:                                               ; preds = %.lr.ph73
  %94 = getelementptr inbounds i8, ptr %91, i64 8
  %95 = getelementptr inbounds i8, ptr %91, i64 12
  %96 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIjERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %94, ptr noundef nonnull align 4 dereferenceable(4) %95)
  br label %97

97:                                               ; preds = %.lr.ph73, %93
  %.in = phi ptr [ %96, %93 ], [ %12, %.lr.ph73 ]
  %98 = load i32, ptr %.in, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #11
  %99 = getelementptr inbounds i8, ptr %91, i64 8
  %100 = load i32, ptr %99, align 8, !tbaa !21
  %101 = sub i32 %100, %98
  %102 = call noundef i32 @"_ZZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS4_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS4_IKfLm4EEEENK3$_1clEj"(ptr noundef nonnull align 1 dereferenceable(1) %16, i32 noundef %101) #11
  store i32 %102, ptr %23, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %24) #11
  %103 = getelementptr inbounds i8, ptr %91, i64 12
  %104 = load i32, ptr %103, align 4, !tbaa !24
  %105 = sub i32 %104, %98
  %106 = call noundef i32 @"_ZZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS4_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS4_IKfLm4EEEENK3$_1clEj"(ptr noundef nonnull align 1 dereferenceable(1) %16, i32 noundef %105) #11
  store i32 %106, ptr %24, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %25) #11
  %107 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIjERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %99, ptr noundef nonnull align 4 dereferenceable(4) %103)
  %108 = load i32, ptr %107, align 4, !tbaa !13
  %109 = sub i32 %108, %98
  store i32 %109, ptr %25, align 4, !tbaa !13
  %110 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIjERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 4 dereferenceable(4) %25)
  %111 = load i32, ptr %110, align 4, !tbaa !13
  store i32 %111, ptr %13, align 4, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #11
  %112 = call noundef ptr @_ZNK2al11ptr_wrapperIPKSt5arrayIfLm16EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #11
  %113 = call noundef ptr @_ZNKSt5arrayIfLm16EE6cbeginEv(ptr noundef nonnull align 4 dereferenceable(64) %112) #11
  %114 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN2al11ptr_wrapperIPKSt5arrayIfLm16EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #11
  %115 = call ptr @_ZNSt6vectorISt5arrayIS0_IdLm2EELm128EESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #11
  store ptr %115, ptr %26, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #11
  %116 = call ptr @_ZNSt6vectorISt5arrayIS0_IdLm2EELm128EESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #11
  store ptr %116, ptr %27, align 8
  %117 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt5arrayIS1_IdLm2EELm128EESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %27) #11
  br i1 %117, label %.lr.ph70, label %._crit_edge71

._crit_edge71:                                    ; preds = %._crit_edge67, %97
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #11
  %118 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS6_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS6_IKfLm4EEEE15ImpulseResponseSt6vectorISG_SaISG_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #11
  %119 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS6_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS6_IKfLm4EEEE15ImpulseResponseSt6vectorISG_SaISG_EEEEbRKNS_17__normal_iteratorIT_T0_EESQ_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #11
  br i1 %119, label %.lr.ph73, label %._crit_edge74

.lr.ph70:                                         ; preds = %97, %._crit_edge67
  %.05868 = phi ptr [ %121, %._crit_edge67 ], [ %113, %97 ]
  %120 = call noundef nonnull align 8 dereferenceable(2048) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt5arrayIS1_IdLm2EELm128EESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %26) #11
  %121 = getelementptr inbounds i8, ptr %.05868, i64 4
  %122 = load float, ptr %.05868, align 4, !tbaa !5
  %123 = fpext float %122 to double
  %124 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIjERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %23, ptr noundef nonnull align 4 dereferenceable(4) %24)
  %125 = load i32, ptr %124, align 4, !tbaa !13
  %.not = icmp eq i32 %125, 128
  br i1 %.not, label %._crit_edge67, label %.lr.ph66.preheader

.lr.ph66.preheader:                               ; preds = %.lr.ph70
  %126 = load i32, ptr %24, align 4, !tbaa !13
  %127 = zext i32 %126 to i64
  %128 = load i32, ptr %23, align 4, !tbaa !13
  %129 = zext i32 %128 to i64
  %130 = sub i32 128, %125
  %umax = zext i32 %130 to i64
  br label %.lr.ph66

._crit_edge67:                                    ; preds = %.lr.ph66, %.lr.ph70
  %131 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt5arrayIS1_IdLm2EELm128EESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %26) #11
  %132 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt5arrayIS1_IdLm2EELm128EESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %27) #11
  br i1 %132, label %.lr.ph70, label %._crit_edge71

.lr.ph66:                                         ; preds = %.lr.ph66.preheader, %.lr.ph66
  %.05564 = phi i64 [ %151, %.lr.ph66 ], [ 0, %.lr.ph66.preheader ]
  %.05663 = phi i64 [ %146, %.lr.ph66 ], [ %127, %.lr.ph66.preheader ]
  %.05762 = phi i64 [ %137, %.lr.ph66 ], [ %129, %.lr.ph66.preheader ]
  %133 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK2al4spanIKSt5arrayIfLm2EELm128EEixEm(ptr noundef nonnull align 8 dereferenceable(8) %22, i64 noundef %.05564)
  %134 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIfLm2EEixEm(ptr noundef nonnull align 4 dereferenceable(8) %133, i64 noundef 0) #11
  %135 = load float, ptr %134, align 4, !tbaa !5
  %136 = fpext float %135 to double
  %137 = add nuw nsw i64 %.05762, 1
  %138 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIS_IdLm2EELm128EEixEm(ptr noundef nonnull align 8 dereferenceable(2048) %120, i64 noundef %.05762) #11
  %139 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm2EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %138, i64 noundef 0) #11
  %140 = load double, ptr %139, align 8, !tbaa !25
  %141 = call double @llvm.fmuladd.f64(double %136, double %123, double %140)
  store double %141, ptr %139, align 8, !tbaa !25
  %142 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK2al4spanIKSt5arrayIfLm2EELm128EEixEm(ptr noundef nonnull align 8 dereferenceable(8) %22, i64 noundef %.05564)
  %143 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIfLm2EEixEm(ptr noundef nonnull align 4 dereferenceable(8) %142, i64 noundef 1) #11
  %144 = load float, ptr %143, align 4, !tbaa !5
  %145 = fpext float %144 to double
  %146 = add nuw nsw i64 %.05663, 1
  %147 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIS_IdLm2EELm128EEixEm(ptr noundef nonnull align 8 dereferenceable(2048) %120, i64 noundef %.05663) #11
  %148 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm2EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %147, i64 noundef 1) #11
  %149 = load double, ptr %148, align 8, !tbaa !25
  %150 = call double @llvm.fmuladd.f64(double %145, double %123, double %149)
  store double %150, ptr %148, align 8, !tbaa !25
  %151 = add nuw nsw i64 %.05564, 1
  %exitcond.not = icmp eq i64 %151, %umax
  br i1 %exitcond.not, label %._crit_edge67, label %.lr.ph66, !llvm.loop !27

._crit_edge77:                                    ; preds = %.lr.ph76, %._crit_edge74
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #11
  call void @_ZNSt6vectorISt5arrayIS0_IdLm2EELm128EESaIS2_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %31) #11
  %152 = load i32, ptr %13, align 4, !tbaa !13
  %153 = call noundef i32 @"_ZZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS4_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS4_IKfLm4EEEENK3$_1clEj"(ptr noundef nonnull align 1 dereferenceable(1) %16, i32 noundef %152) #11
  %154 = add i32 %153, %2
  store i32 %154, ptr %31, align 4, !tbaa !13
  %155 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIjERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %31, ptr noundef nonnull align 4 dereferenceable(4) @_ZL10HrirLength)
  %156 = load i32, ptr %155, align 4, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #11
  %157 = load i32, ptr %13, align 4, !tbaa !13
  %158 = uitofp i32 %157 to double
  %159 = fmul double %158, 2.500000e-01
  call void (i32, ptr, ...) @_Z8al_print8LogLevelPKcz(i32 noundef 3, ptr noundef nonnull @.str.2, double noundef %159, i32 noundef %156) #11
  %160 = getelementptr inbounds i8, ptr %0, i64 4096
  store i32 %156, ptr %160, align 16, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #11
  call void @_ZNSt6vectorISt5arrayIS0_IdLm2EELm128EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #11
  call void @_ZNSt6vectorIZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS5_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS5_IKfLm4EEEE15ImpulseResponseSaISF_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #11
  ret void

.lr.ph76:                                         ; preds = %._crit_edge74, %.lr.ph76
  %161 = call noundef nonnull align 8 dereferenceable(2048) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt5arrayIS1_IdLm2EELm128EESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #11
  %162 = call noundef ptr @_ZNKSt5arrayIS_IdLm2EELm128EE6cbeginEv(ptr noundef nonnull align 8 dereferenceable(2048) %161) #11
  %163 = call noundef ptr @_ZNKSt5arrayIS_IdLm2EELm128EE4cendEv(ptr noundef nonnull align 8 dereferenceable(2048) %161) #11
  %164 = call noundef ptr @_ZNK2al11ptr_wrapperIP16HrtfChannelStateEptEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #11
  %165 = getelementptr inbounds i8, ptr %164, i64 32
  %166 = call noundef ptr @_ZNSt5arrayIS_IfLm2EELm128EE5beginEv(ptr noundef nonnull align 4 dereferenceable(1024) %165) #12
  %167 = call noundef ptr @"_ZSt9transformIPKSt5arrayIdLm2EEPS0_IfLm2EEZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENSB_IKS0_IfLm16EELm18446744073709551615EEEfNSB_IKfLm4EEEE3$_2ET0_T_SM_SL_T1_"(ptr noundef %162, ptr noundef %163, ptr noundef %166)
  %168 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN2al11ptr_wrapperIP16HrtfChannelStateEppEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #11
  %169 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt5arrayIS1_IdLm2EELm128EESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #11
  %170 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt5arrayIS1_IdLm2EELm128EESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %30) #11
  br i1 %170, label %.lr.ph76, label %._crit_edge77

171:                                              ; preds = %87, %89, %85
  %.pn.pn = phi { ptr, i32 } [ %86, %85 ], [ %90, %89 ], [ %88, %87 ]
  call void @_ZNSt6vectorIZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS5_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS5_IKfLm4EEEE15ImpulseResponseSaISF_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #11
  resume { ptr, i32 } %.pn.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 16 dereferenceable(1056) ptr @_ZN2al9FlexArrayI16HrtfChannelStateLm16EEixEm(ptr noundef nonnull align 16 dereferenceable(16), i64 noundef) local_unnamed_addr #4 align 2

declare void @_ZN13BandSplitterRIfE4initEf(ptr noundef nonnull align 4 dereferenceable(16), float noundef) local_unnamed_addr #5

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt5arrayIhLm16EEixEm(ptr noundef nonnull align 1 dereferenceable(16), i64 noundef) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZNSt6vectorIZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS5_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS5_IKfLm4EEEE15ImpulseResponseSaISF_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden ptr @"_ZSt9transformIN2al11ptr_wrapperIPK12AngularPointEESt20back_insert_iteratorISt6vectorIZN15DirectHrtfState5buildEPK9HrtfStorejbNS0_4spanIS3_Lm18446744073709551615EEENSC_IKSt5arrayIfLm16EELm18446744073709551615EEEfNSC_IKfLm4EEEE15ImpulseResponseSaISK_EEEZNS8_5buildESB_jbSD_SH_fSJ_E3$_0ET0_T_SQ_SP_T1_"(ptr, ptr, ptr, ptr noundef byval(%class.anon.29) align 8) local_unnamed_addr #3

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden ptr @_ZSt13back_inserterISt6vectorIZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS6_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS6_IKfLm4EEEE15ImpulseResponseSaISG_EEESt20back_insert_iteratorIT_ERSK_(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #6

; Function Attrs: nounwind
declare void @_Z8al_print8LogLevelPKcz(i32 noundef, ptr noundef, ...) local_unnamed_addr #7

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS6_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS6_IKfLm4EEEE15ImpulseResponseSt6vectorISG_SaISG_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @"_ZZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS4_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS4_IKfLm4EEEENK3$_1clEj"(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef) local_unnamed_addr #2 align 2

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPSt5arrayIS1_IdLm2EELm128EESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef ptr @"_ZSt9transformIPKSt5arrayIdLm2EEPS0_IfLm2EEZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENSB_IKS0_IfLm16EELm18446744073709551615EEEfNSB_IKfLm4EEEE3$_2ET0_T_SM_SL_T1_"(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #9

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

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

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

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayIS_IfLm2EELm128EE5beginEv(ptr noundef nonnull align 4 dereferenceable(1024)) local_unnamed_addr #10 align 2

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress 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 = { "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 = { 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 #7 = { 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 #8 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { mustprogress nounwind uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #10 = { mustprogress nofree nosync nounwind willreturn memory(none) 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 #11 = { nounwind }
attributes #12 = { nounwind willreturn memory(none) }

!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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 16}
!10 = !{!"_ZTS16HrtfChannelState", !11, i64 0, !6, i64 16, !12, i64 32}
!11 = !{!"_ZTS13BandSplitterRIfE", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!12 = !{!"_ZTSSt5arrayIS_IfLm2EELm128EE", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!7, !7, i64 0}
!16 = !{i64 0, i64 4, !5, i64 4, i64 4, !5, i64 8, i64 4, !5, i64 12, i64 4, !5}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!20, !20, i64 0}
!20 = !{!"any pointer", !7, i64 0}
!21 = !{!22, !14, i64 8}
!22 = !{!"_ZTSZN15DirectHrtfState5buildEPK9HrtfStorejbN2al4spanIK12AngularPointLm18446744073709551615EEENS4_IKSt5arrayIfLm16EELm18446744073709551615EEEfNS4_IKfLm4EEEE15ImpulseResponse", !23, i64 0, !14, i64 8, !14, i64 12}
!23 = !{!"_ZTSN2al4spanIKSt5arrayIfLm2EELm128EEE", !20, i64 0}
!24 = !{!22, !14, i64 12}
!25 = !{!26, !26, i64 0}
!26 = !{!"double", !7, i64 0}
!27 = distinct !{!27, !18}
!28 = !{!29, !14, i64 4096}
!29 = !{!"_ZTS15DirectHrtfState", !30, i64 0, !14, i64 4096, !31, i64 4112}
!30 = !{!"_ZTSSt5arrayIfLm1024EE", !7, i64 0}
!31 = !{!"_ZTSN2al9FlexArrayI16HrtfChannelStateLm16EEE", !32, i64 0}
!32 = !{!"_ZTSN2al16FlexArrayStorageI16HrtfChannelStateLm16ELb1EEE", !33, i64 0}
!33 = !{!"_ZTSN2al4spanI16HrtfChannelStateLm18446744073709551615EEE", !20, i64 0, !34, i64 8}
!34 = !{!"long", !7, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass