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

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

%"class.al::span.0" = type { ptr, i64 }
%"class.al::span" = type { ptr, i64 }
%"class.al::span.5" = type { ptr }
%"struct.std::array" = type { [4 x i32] }
%"class.al::span.1" = type { ptr }
%"class.al::span.2" = type { ptr, i64 }
%"class.al::ptr_wrapper" = type { ptr }
%class.anon.11 = type { ptr, ptr, %"class.al::span", <2 x i64>, <4 x float>, %"class.al::span.5", <2 x i64>, <2 x i64> }
%"class.al::ptr_wrapper.3" = type { ptr }
%class.anon.12 = type { ptr, ptr, %"class.al::span", i32, %"class.al::span.5" }
%struct.CubicState = type { %"class.al::span.5" }

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write)
declare void @llvm.assume(i1 noundef) #0

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

; Function Attrs: alwaysinline mustprogress uwtable
declare hidden noundef <2 x i64> @_ZL14_mm_set1_epi32i(i32 noundef) #2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <4 x float> @_ZL11_mm_set1_psf(float noundef) #3

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z13InitPosArraysILm4EEvjjjN2al4spanIjXT_EEES2_(i32 noundef, i32 noundef, i32 noundef, ptr, ptr) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2al4spanIjLm4EEC2ILm4EEERSt5arrayIjXT_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #6 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <2 x i64> @_ZL14_mm_setr_epi32iiii(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #3

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2al4spanIDv4_fLm18446744073709551615EEC2IPS1_EET_m(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64 noundef) unnamed_addr #6 align 2

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

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL17_mm_cvtsi128_si32Dv2_x(<2 x i64> noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { ptr, i64 } @_ZNK2al4spanIfLm18446744073709551615EE4lastEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) #6 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z9Resample_I8CubicTag7SSE2TagEvPKSt7variantIJSt9monostate10CubicState10BsincStateEEN2al4spanIKfLm18446744073709551615EEEjjNSA_IfLm18446744073709551615EEE(ptr noundef %0, ptr %1, i64 %2, i32 noundef %3, i32 noundef %4, ptr noundef byval(%"class.al::span.0") align 8 %5) #8 {
  %7 = alloca %"class.al::span", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"class.al::span.5", align 8
  %12 = alloca <2 x i64>, align 16
  %13 = alloca <2 x i64>, align 16
  %14 = alloca <4 x float>, align 16
  %15 = alloca <2 x i64>, align 16
  %16 = alloca %"struct.std::array", align 4
  %17 = alloca %"struct.std::array", align 4
  %18 = alloca %"class.al::span.1", align 8
  %19 = alloca %"class.al::span.1", align 8
  %20 = alloca <2 x i64>, align 16
  %21 = alloca <2 x i64>, align 16
  %22 = alloca %"class.al::span.2", align 8
  %23 = alloca %"class.al::ptr_wrapper", align 8
  %24 = alloca %"class.al::ptr_wrapper", align 8
  %25 = alloca %class.anon.11, align 16
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  %28 = alloca %"class.al::span.0", align 8
  %29 = alloca %"class.al::ptr_wrapper.3", align 8
  %30 = alloca %"class.al::ptr_wrapper.3", align 8
  %31 = alloca %class.anon.12, align 8
  %32 = getelementptr inbounds { ptr, i64 }, ptr %7, i32 0, i32 0
  store ptr %1, ptr %32, align 8
  %33 = getelementptr inbounds { ptr, i64 }, ptr %7, i32 0, i32 1
  store i64 %2, ptr %33, align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  store i32 %3, ptr %9, align 4, !tbaa !9
  store i32 %4, ptr %10, align 4, !tbaa !9
  %34 = load i32, ptr %9, align 4, !tbaa !9
  %35 = icmp ult i32 %34, 65536
  call void @llvm.assume(i1 %35)
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #9
  %36 = load ptr, ptr %8, align 8, !tbaa !5
  %37 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getI10CubicStateJSt9monostateS0_10BsincStateEERKT_RKSt7variantIJDpT0_EE(ptr noundef nonnull align 8 dereferenceable(33) %36)
  %38 = getelementptr inbounds %struct.CubicState, ptr %37, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %11, ptr align 8 %38, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #9
  %39 = load i32, ptr %10, align 4, !tbaa !9
  %40 = mul i32 %39, 4
  %41 = call noundef <2 x i64> @_ZL14_mm_set1_epi32i(i32 noundef %40)
  %42 = shufflevector <2 x i64> %41, <2 x i64> poison, <2 x i32> <i32 0, i32 1>
  %43 = shufflevector <2 x i64> %42, <2 x i64> poison, <2 x i32> <i32 0, i32 1>
  store <2 x i64> %43, ptr %12, align 16, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #9
  %44 = call noundef <2 x i64> @_ZL14_mm_set1_epi32i(i32 noundef 65535)
  %45 = shufflevector <2 x i64> %44, <2 x i64> poison, <2 x i32> <i32 0, i32 1>
  %46 = shufflevector <2 x i64> %45, <2 x i64> poison, <2 x i32> <i32 0, i32 1>
  store <2 x i64> %46, ptr %13, align 16, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #9
  %47 = call noundef <4 x float> @_ZL11_mm_set1_psf(float noundef 0x3F40000000000000)
  %48 = shufflevector <4 x float> %47, <4 x float> poison, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  %49 = shufflevector <4 x float> %48, <4 x float> poison, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  store <4 x float> %49, ptr %14, align 16, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #9
  %50 = call noundef <2 x i64> @_ZL14_mm_set1_epi32i(i32 noundef 2047)
  %51 = shufflevector <2 x i64> %50, <2 x i64> poison, <2 x i32> <i32 0, i32 1>
  %52 = shufflevector <2 x i64> %51, <2 x i64> poison, <2 x i32> <i32 0, i32 1>
  store <2 x i64> %52, ptr %15, align 16, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #9
  call void @llvm.memset.p0.i64(ptr align 4 %16, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #9
  call void @llvm.memset.p0.i64(ptr align 4 %17, i8 0, i64 16, i1 false)
  %53 = load i32, ptr %9, align 4, !tbaa !9
  %54 = load i32, ptr %10, align 4, !tbaa !9
  call void @_ZN2al4spanIjLm4EEC2ILm4EEERSt5arrayIjXT_EE(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(16) %17) #9
  call void @_ZN2al4spanIjLm4EEC2ILm4EEERSt5arrayIjXT_EE(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 4 dereferenceable(16) %16) #9
  %55 = getelementptr inbounds %"class.al::span.1", ptr %18, i32 0, i32 0
  %56 = load ptr, ptr %55, align 8
  %57 = getelementptr inbounds %"class.al::span.1", ptr %19, i32 0, i32 0
  %58 = load ptr, ptr %57, align 8
  call void @_Z13InitPosArraysILm4EEvjjjN2al4spanIjXT_EEES2_(i32 noundef 23, i32 noundef %53, i32 noundef %54, ptr %56, ptr %58)
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #9
  %59 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm4EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %17, i64 noundef 0) #9
  %60 = load i32, ptr %59, align 4, !tbaa !9
  %61 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm4EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %17, i64 noundef 1) #9
  %62 = load i32, ptr %61, align 4, !tbaa !9
  %63 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm4EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %17, i64 noundef 2) #9
  %64 = load i32, ptr %63, align 4, !tbaa !9
  %65 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm4EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %17, i64 noundef 3) #9
  %66 = load i32, ptr %65, align 4, !tbaa !9
  %67 = call noundef <2 x i64> @_ZL14_mm_setr_epi32iiii(i32 noundef %60, i32 noundef %62, i32 noundef %64, i32 noundef %66)
  %68 = shufflevector <2 x i64> %67, <2 x i64> poison, <2 x i32> <i32 0, i32 1>
  %69 = shufflevector <2 x i64> %68, <2 x i64> poison, <2 x i32> <i32 0, i32 1>
  store <2 x i64> %69, ptr %20, align 16, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #9
  %70 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm4EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %16, i64 noundef 0) #9
  %71 = load i32, ptr %70, align 4, !tbaa !9
  %72 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm4EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %16, i64 noundef 1) #9
  %73 = load i32, ptr %72, align 4, !tbaa !9
  %74 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm4EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %16, i64 noundef 2) #9
  %75 = load i32, ptr %74, align 4, !tbaa !9
  %76 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm4EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %16, i64 noundef 3) #9
  %77 = load i32, ptr %76, align 4, !tbaa !9
  %78 = call noundef <2 x i64> @_ZL14_mm_setr_epi32iiii(i32 noundef %71, i32 noundef %73, i32 noundef %75, i32 noundef %77)
  %79 = shufflevector <2 x i64> %78, <2 x i64> poison, <2 x i32> <i32 0, i32 1>
  %80 = shufflevector <2 x i64> %79, <2 x i64> poison, <2 x i32> <i32 0, i32 1>
  store <2 x i64> %80, ptr %21, align 16, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #9
  %81 = call noundef ptr @_ZNK2al4spanIfLm18446744073709551615EE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %5) #9
  %82 = call noundef i64 @_ZNK2al4spanIfLm18446744073709551615EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %5) #9
  %83 = udiv i64 %82, 4
  call void @_ZN2al4spanIDv4_fLm18446744073709551615EEC2IPS1_EET_m(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef %81, i64 noundef %83)
  %84 = call ptr @_ZNK2al4spanIDv4_fLm18446744073709551615EE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %22) #9
  %85 = getelementptr inbounds %"class.al::ptr_wrapper", ptr %23, i32 0, i32 0
  store ptr %84, ptr %85, align 8
  %86 = call ptr @_ZNK2al4spanIDv4_fLm18446744073709551615EE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %22) #9
  %87 = getelementptr inbounds %"class.al::ptr_wrapper", ptr %24, i32 0, i32 0
  store ptr %86, ptr %87, align 8
  %88 = getelementptr inbounds %class.anon.11, ptr %25, i32 0, i32 0
  store ptr %21, ptr %88, align 16, !tbaa !5
  %89 = getelementptr inbounds %class.anon.11, ptr %25, i32 0, i32 1
  store ptr %20, ptr %89, align 8, !tbaa !5
  %90 = getelementptr inbounds %class.anon.11, ptr %25, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %90, ptr align 8 %7, i64 16, i1 false), !tbaa.struct !13
  %91 = getelementptr inbounds %class.anon.11, ptr %25, i32 0, i32 3
  %92 = load <2 x i64>, ptr %15, align 16, !tbaa !12
  store <2 x i64> %92, ptr %91, align 16, !tbaa !12
  %93 = getelementptr inbounds %class.anon.11, ptr %25, i32 0, i32 4
  %94 = load <4 x float>, ptr %14, align 16, !tbaa !12
  store <4 x float> %94, ptr %93, align 16, !tbaa !12
  %95 = getelementptr inbounds %class.anon.11, ptr %25, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %95, ptr align 8 %11, i64 8, i1 false), !tbaa.struct !11
  %96 = getelementptr inbounds %class.anon.11, ptr %25, i32 0, i32 6
  %97 = load <2 x i64>, ptr %12, align 16, !tbaa !12
  store <2 x i64> %97, ptr %96, align 16, !tbaa !12
  %98 = getelementptr inbounds %class.anon.11, ptr %25, i32 0, i32 7
  %99 = load <2 x i64>, ptr %13, align 16, !tbaa !12
  store <2 x i64> %99, ptr %98, align 16, !tbaa !12
  %100 = getelementptr inbounds %"class.al::ptr_wrapper", ptr %23, i32 0, i32 0
  %101 = load ptr, ptr %100, align 8
  %102 = getelementptr inbounds %"class.al::ptr_wrapper", ptr %24, i32 0, i32 0
  %103 = load ptr, ptr %102, align 8
  call void @"_ZSt8generateIN2al11ptr_wrapperIPDv4_fEEZ9Resample_I8CubicTag7SSE2TagEvPKSt7variantIJSt9monostate10CubicState10BsincStateEENS0_4spanIKfLm18446744073709551615EEEjjNSF_IfLm18446744073709551615EEEE3$_0EvT_SK_T0_"(ptr %101, ptr %103, ptr noundef byval(%class.anon.11) align 16 %25)
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #9
  %104 = call noundef i64 @_ZNK2al4spanIfLm18446744073709551615EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %5) #9
  %105 = and i64 %104, 3
  store i64 %105, ptr %26, align 8, !tbaa !14
  %106 = load i64, ptr %26, align 8, !tbaa !14
  %107 = icmp ne i64 %106, 0
  br i1 %107, label %108, label %134

108:                                              ; preds = %6
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #9
  %109 = load <2 x i64>, ptr %21, align 16, !tbaa !12
  %110 = call noundef i32 @_ZL17_mm_cvtsi128_si32Dv2_x(<2 x i64> noundef %109)
  %111 = zext i32 %110 to i64
  store i64 %111, ptr %27, align 8, !tbaa !14
  %112 = load <2 x i64>, ptr %20, align 16, !tbaa !12
  %113 = call noundef i32 @_ZL17_mm_cvtsi128_si32Dv2_x(<2 x i64> noundef %112)
  store i32 %113, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #9
  %114 = load i64, ptr %26, align 8, !tbaa !14
  %115 = call { ptr, i64 } @_ZNK2al4spanIfLm18446744073709551615EE4lastEm(ptr noundef nonnull align 8 dereferenceable(16) %5, i64 noundef %114) #9
  %116 = getelementptr inbounds { ptr, i64 }, ptr %28, i32 0, i32 0
  %117 = extractvalue { ptr, i64 } %115, 0
  store ptr %117, ptr %116, align 8
  %118 = getelementptr inbounds { ptr, i64 }, ptr %28, i32 0, i32 1
  %119 = extractvalue { ptr, i64 } %115, 1
  store i64 %119, ptr %118, align 8
  %120 = call ptr @_ZNK2al4spanIfLm18446744073709551615EE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %28) #9
  %121 = getelementptr inbounds %"class.al::ptr_wrapper.3", ptr %29, i32 0, i32 0
  store ptr %120, ptr %121, align 8
  %122 = call ptr @_ZNK2al4spanIfLm18446744073709551615EE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %28) #9
  %123 = getelementptr inbounds %"class.al::ptr_wrapper.3", ptr %30, i32 0, i32 0
  store ptr %122, ptr %123, align 8
  %124 = getelementptr inbounds %class.anon.12, ptr %31, i32 0, i32 0
  store ptr %27, ptr %124, align 8, !tbaa !5
  %125 = getelementptr inbounds %class.anon.12, ptr %31, i32 0, i32 1
  store ptr %9, ptr %125, align 8, !tbaa !5
  %126 = getelementptr inbounds %class.anon.12, ptr %31, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %126, ptr align 8 %7, i64 16, i1 false), !tbaa.struct !13
  %127 = getelementptr inbounds %class.anon.12, ptr %31, i32 0, i32 3
  %128 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %128, ptr %127, align 8, !tbaa !16
  %129 = getelementptr inbounds %class.anon.12, ptr %31, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %129, ptr align 8 %11, i64 8, i1 false), !tbaa.struct !11
  %130 = getelementptr inbounds %"class.al::ptr_wrapper.3", ptr %29, i32 0, i32 0
  %131 = load ptr, ptr %130, align 8
  %132 = getelementptr inbounds %"class.al::ptr_wrapper.3", ptr %30, i32 0, i32 0
  %133 = load ptr, ptr %132, align 8
  call void @"_ZSt8generateIN2al11ptr_wrapperIPfEEZ9Resample_I8CubicTag7SSE2TagEvPKSt7variantIJSt9monostate10CubicState10BsincStateEENS0_4spanIKfLm18446744073709551615EEEjjNSE_IfLm18446744073709551615EEEE3$_1EvT_SJ_T0_"(ptr %131, ptr %133, ptr noundef byval(%class.anon.12) align 8 %31)
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  br label %134

134:                                              ; preds = %108, %6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getI10CubicStateJSt9monostateS0_10BsincStateEERKT_RKSt7variantIJDpT0_EE(ptr noundef nonnull align 8 dereferenceable(33)) #5

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZSt8generateIN2al11ptr_wrapperIPDv4_fEEZ9Resample_I8CubicTag7SSE2TagEvPKSt7variantIJSt9monostate10CubicState10BsincStateEENS0_4spanIKfLm18446744073709551615EEEjjNSF_IfLm18446744073709551615EEEE3$_0EvT_SK_T0_"(ptr, ptr, ptr noundef byval(%class.anon.11) align 16) #8

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZSt8generateIN2al11ptr_wrapperIPfEEZ9Resample_I8CubicTag7SSE2TagEvPKSt7variantIJSt9monostate10CubicState10BsincStateEENS0_4spanIKfLm18446744073709551615EEEjjNSE_IfLm18446744073709551615EEEE3$_1EvT_SJ_T0_"(ptr, ptr, ptr noundef byval(%class.anon.12) align 8) #5

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{i64 0, i64 8, !5}
!12 = !{!7, !7, i64 0}
!13 = !{i64 0, i64 8, !5, i64 8, i64 8, !14}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!17, !10, i64 32}
!17 = !{!"_ZTSZ9Resample_I8CubicTag7SSE2TagEvPKSt7variantIJSt9monostate10CubicState10BsincStateEEN2al4spanIKfLm18446744073709551615EEEjjNSA_IfLm18446744073709551615EEEE3$_1", !6, i64 0, !6, i64 8, !18, i64 16, !10, i64 32, !19, i64 40}
!18 = !{!"_ZTSN2al4spanIKfLm18446744073709551615EEE", !6, i64 0, !15, i64 8}
!19 = !{!"_ZTSN2al4spanIK17CubicCoefficientsLm32EEE", !6, i64 0}


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

%"class.al::span.0" = type { ptr, i64 }
%"struct.std::array" = type { [4 x i32] }
%"class.al::span.1" = type { ptr }
%"class.al::span.2" = type { ptr, i64 }
%class.anon.11 = type { ptr, ptr, %"class.al::span", <2 x i64>, <4 x float>, %"class.al::span.5", <2 x i64>, <2 x i64> }
%"class.al::span" = type { ptr, i64 }
%"class.al::span.5" = type { ptr }
%class.anon.12 = type { ptr, ptr, %"class.al::span", i32, %"class.al::span.5" }

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write)
declare void @llvm.assume(i1 noundef) #0

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

; Function Attrs: alwaysinline mustprogress uwtable
declare hidden noundef <2 x i64> @_ZL14_mm_set1_epi32i(i32 noundef) local_unnamed_addr #2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <4 x float> @_ZL11_mm_set1_psf(float noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z13InitPosArraysILm4EEvjjjN2al4spanIjXT_EEES2_(i32 noundef, i32 noundef, i32 noundef, ptr, ptr) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2al4spanIjLm4EEC2ILm4EEERSt5arrayIjXT_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #6 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <2 x i64> @_ZL14_mm_setr_epi32iiii(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2al4spanIDv4_fLm18446744073709551615EEC2IPS1_EET_m(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64 noundef) unnamed_addr #6 align 2

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL17_mm_cvtsi128_si32Dv2_x(<2 x i64> noundef) local_unnamed_addr #3

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z9Resample_I8CubicTag7SSE2TagEvPKSt7variantIJSt9monostate10CubicState10BsincStateEEN2al4spanIKfLm18446744073709551615EEEjjNSA_IfLm18446744073709551615EEE(ptr noundef nonnull %0, ptr %1, i64 %2, i32 noundef %3, i32 noundef %4, ptr noundef byval(%"class.al::span.0") align 8 %5) local_unnamed_addr #7 {
  %7 = alloca i32, align 4
  %8 = alloca %"struct.std::array", align 4
  %9 = alloca %"struct.std::array", align 4
  %10 = alloca %"class.al::span.1", align 8
  %11 = alloca %"class.al::span.1", align 8
  %12 = alloca <2 x i64>, align 16
  %13 = alloca <2 x i64>, align 16
  %14 = alloca %"class.al::span.2", align 8
  %15 = alloca %class.anon.11, align 16
  %16 = alloca i64, align 8
  %17 = alloca %"class.al::span.0", align 8
  %18 = alloca %class.anon.12, align 8
  store i32 %3, ptr %7, align 4, !tbaa !5
  %19 = icmp ult i32 %3, 65536
  tail call void @llvm.assume(i1 %19)
  %20 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getI10CubicStateJSt9monostateS0_10BsincStateEERKT_RKSt7variantIJDpT0_EE(ptr noundef nonnull align 8 dereferenceable(33) %0)
  %.sroa.09.0.copyload = load ptr, ptr %20, align 8, !tbaa !9
  %21 = shl i32 %4, 2
  %22 = tail call noundef <2 x i64> @_ZL14_mm_set1_epi32i(i32 noundef %21)
  %23 = tail call noundef <2 x i64> @_ZL14_mm_set1_epi32i(i32 noundef 65535)
  %24 = tail call noundef <4 x float> @_ZL11_mm_set1_psf(float noundef 0x3F40000000000000)
  %25 = tail call noundef <2 x i64> @_ZL14_mm_set1_epi32i(i32 noundef 2047)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %8, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %9, i8 0, i64 16, i1 false)
  call void @_ZN2al4spanIjLm4EEC2ILm4EEERSt5arrayIjXT_EE(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(16) %9) #8
  call void @_ZN2al4spanIjLm4EEC2ILm4EEERSt5arrayIjXT_EE(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 4 dereferenceable(16) %8) #8
  %26 = load ptr, ptr %10, align 8
  %27 = load ptr, ptr %11, align 8
  call void @_Z13InitPosArraysILm4EEvjjjN2al4spanIjXT_EEES2_(i32 noundef 23, i32 noundef %3, i32 noundef %4, ptr %26, ptr %27)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #8
  %28 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm4EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %9, i64 noundef 0) #8
  %29 = load i32, ptr %28, align 4, !tbaa !5
  %30 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm4EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %9, i64 noundef 1) #8
  %31 = load i32, ptr %30, align 4, !tbaa !5
  %32 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm4EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %9, i64 noundef 2) #8
  %33 = load i32, ptr %32, align 4, !tbaa !5
  %34 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm4EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %9, i64 noundef 3) #8
  %35 = load i32, ptr %34, align 4, !tbaa !5
  %36 = call noundef <2 x i64> @_ZL14_mm_setr_epi32iiii(i32 noundef %29, i32 noundef %31, i32 noundef %33, i32 noundef %35)
  store <2 x i64> %36, ptr %12, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #8
  %37 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm4EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %8, i64 noundef 0) #8
  %38 = load i32, ptr %37, align 4, !tbaa !5
  %39 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm4EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %8, i64 noundef 1) #8
  %40 = load i32, ptr %39, align 4, !tbaa !5
  %41 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm4EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %8, i64 noundef 2) #8
  %42 = load i32, ptr %41, align 4, !tbaa !5
  %43 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm4EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %8, i64 noundef 3) #8
  %44 = load i32, ptr %43, align 4, !tbaa !5
  %45 = call noundef <2 x i64> @_ZL14_mm_setr_epi32iiii(i32 noundef %38, i32 noundef %40, i32 noundef %42, i32 noundef %44)
  store <2 x i64> %45, ptr %13, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #8
  %46 = call noundef ptr @_ZNK2al4spanIfLm18446744073709551615EE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %5) #8
  %47 = call noundef i64 @_ZNK2al4spanIfLm18446744073709551615EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %5) #8
  %48 = lshr i64 %47, 2
  call void @_ZN2al4spanIDv4_fLm18446744073709551615EEC2IPS1_EET_m(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef %46, i64 noundef %48)
  %49 = call ptr @_ZNK2al4spanIDv4_fLm18446744073709551615EE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %14) #8
  %50 = call ptr @_ZNK2al4spanIDv4_fLm18446744073709551615EE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %14) #8
  store ptr %13, ptr %15, align 16, !tbaa !9
  %51 = getelementptr inbounds i8, ptr %15, i64 8
  store ptr %12, ptr %51, align 8, !tbaa !9
  %52 = getelementptr inbounds i8, ptr %15, i64 16
  store ptr %1, ptr %52, align 16, !tbaa !9
  %.sroa.3.0..sroa_idx = getelementptr inbounds i8, ptr %15, i64 24
  store i64 %2, ptr %.sroa.3.0..sroa_idx, align 8, !tbaa !12
  %53 = getelementptr inbounds i8, ptr %15, i64 32
  store <2 x i64> %25, ptr %53, align 16, !tbaa !11
  %54 = getelementptr inbounds i8, ptr %15, i64 48
  store <4 x float> %24, ptr %54, align 16, !tbaa !11
  %55 = getelementptr inbounds i8, ptr %15, i64 64
  store ptr %.sroa.09.0.copyload, ptr %55, align 16, !tbaa !9
  %56 = getelementptr inbounds i8, ptr %15, i64 80
  store <2 x i64> %22, ptr %56, align 16, !tbaa !11
  %57 = getelementptr inbounds i8, ptr %15, i64 96
  store <2 x i64> %23, ptr %57, align 16, !tbaa !11
  call void @"_ZSt8generateIN2al11ptr_wrapperIPDv4_fEEZ9Resample_I8CubicTag7SSE2TagEvPKSt7variantIJSt9monostate10CubicState10BsincStateEENS0_4spanIKfLm18446744073709551615EEEjjNSF_IfLm18446744073709551615EEEE3$_0EvT_SK_T0_"(ptr %49, ptr %50, ptr noundef nonnull byval(%class.anon.11) align 16 %15)
  %58 = call noundef i64 @_ZNK2al4spanIfLm18446744073709551615EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %5) #8
  %59 = and i64 %58, 3
  %.not = icmp eq i64 %59, 0
  br i1 %.not, label %76, label %60

60:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #8
  %61 = load <2 x i64>, ptr %13, align 16, !tbaa !11
  %62 = call noundef i32 @_ZL17_mm_cvtsi128_si32Dv2_x(<2 x i64> noundef %61)
  %63 = zext i32 %62 to i64
  store i64 %63, ptr %16, align 8, !tbaa !12
  %64 = load <2 x i64>, ptr %12, align 16, !tbaa !11
  %65 = call noundef i32 @_ZL17_mm_cvtsi128_si32Dv2_x(<2 x i64> noundef %64)
  store i32 %65, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #8
  %66 = call { ptr, i64 } @_ZNK2al4spanIfLm18446744073709551615EE4lastEm(ptr noundef nonnull align 8 dereferenceable(16) %5, i64 noundef %59) #8
  %67 = extractvalue { ptr, i64 } %66, 0
  store ptr %67, ptr %17, align 8
  %68 = getelementptr inbounds i8, ptr %17, i64 8
  %69 = extractvalue { ptr, i64 } %66, 1
  store i64 %69, ptr %68, align 8
  %70 = call ptr @_ZNK2al4spanIfLm18446744073709551615EE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %17) #8
  %71 = call ptr @_ZNK2al4spanIfLm18446744073709551615EE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %17) #8
  store ptr %16, ptr %18, align 8, !tbaa !9
  %72 = getelementptr inbounds i8, ptr %18, i64 8
  store ptr %7, ptr %72, align 8, !tbaa !9
  %73 = getelementptr inbounds i8, ptr %18, i64 16
  store ptr %1, ptr %73, align 8, !tbaa !9
  %.sroa.3.0..sroa_idx17 = getelementptr inbounds i8, ptr %18, i64 24
  store i64 %2, ptr %.sroa.3.0..sroa_idx17, align 8, !tbaa !12
  %74 = getelementptr inbounds i8, ptr %18, i64 32
  store i32 %4, ptr %74, align 8, !tbaa !14
  %75 = getelementptr inbounds i8, ptr %18, i64 40
  store ptr %.sroa.09.0.copyload, ptr %75, align 8, !tbaa !9
  call void @"_ZSt8generateIN2al11ptr_wrapperIPfEEZ9Resample_I8CubicTag7SSE2TagEvPKSt7variantIJSt9monostate10CubicState10BsincStateEENS0_4spanIKfLm18446744073709551615EEEjjNSE_IfLm18446744073709551615EEEE3$_1EvT_SJ_T0_"(ptr %70, ptr %71, ptr noundef nonnull byval(%class.anon.12) align 8 %18)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #8
  br label %76

76:                                               ; preds = %60, %6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #8
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getI10CubicStateJSt9monostateS0_10BsincStateEERKT_RKSt7variantIJDpT0_EE(ptr noundef nonnull align 8 dereferenceable(33)) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZSt8generateIN2al11ptr_wrapperIPDv4_fEEZ9Resample_I8CubicTag7SSE2TagEvPKSt7variantIJSt9monostate10CubicState10BsincStateEENS0_4spanIKfLm18446744073709551615EEEjjNSF_IfLm18446744073709551615EEEE3$_0EvT_SK_T0_"(ptr, ptr, ptr noundef byval(%class.anon.11) align 16) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZSt8generateIN2al11ptr_wrapperIPfEEZ9Resample_I8CubicTag7SSE2TagEvPKSt7variantIJSt9monostate10CubicState10BsincStateEENS0_4spanIKfLm18446744073709551615EEEjjNSE_IfLm18446744073709551615EEEE3$_1EvT_SJ_T0_"(ptr, ptr, ptr noundef byval(%class.anon.12) align 8) local_unnamed_addr #5

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!15, !6, i64 32}
!15 = !{!"_ZTSZ9Resample_I8CubicTag7SSE2TagEvPKSt7variantIJSt9monostate10CubicState10BsincStateEEN2al4spanIKfLm18446744073709551615EEEjjNSA_IfLm18446744073709551615EEEE3$_1", !10, i64 0, !10, i64 8, !16, i64 16, !6, i64 32, !17, i64 40}
!16 = !{!"_ZTSN2al4spanIKfLm18446744073709551615EEE", !10, i64 0, !13, i64 8}
!17 = !{!"_ZTSN2al4spanIK17CubicCoefficientsLm32EEE", !10, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,TailCallElimPass