; LLVM IR from Try/Tempest :: Engine/thirdparty/openal-soft/common (pffft)

; 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.PFFFT_Setup = type <{ i32, i32, %"struct.std::array", i32, ptr, %"class.al::span.2", [32 x i8], i8, [63 x i8] }>
%"struct.std::array" = type { [15 x i32] }
%"class.al::span.2" = type { ptr, i64 }

; 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_18vcplxmulERDv4_fS1_S0_S0_(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(16), <4 x float> noundef, <4 x float> noundef) #1

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

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_Z26pffft_zconvolve_accumulatePK11PFFFT_SetupPKfS3_Pf(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #3 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %19 = alloca i64, align 8
  %20 = alloca <4 x float>, align 16
  %21 = alloca <4 x float>, align 16
  %22 = alloca <4 x float>, align 16
  %23 = alloca <4 x float>, align 16
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.PFFFT_Setup, ptr %24, i32 0, i32 1
  %26 = load i32, ptr %25, align 4, !tbaa !9
  %27 = zext i32 %26 to i64
  store i64 %27, ptr %9, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %28, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %29 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %29, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %30 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %30, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %31 = load ptr, ptr %10, align 8, !tbaa !5
  %32 = getelementptr inbounds <4 x float>, ptr %31, i64 0
  %33 = load <4 x float>, ptr %32, align 16, !tbaa !17
  %34 = call noundef float @_ZN12_GLOBAL__N_19vextract0EDv4_f(<4 x float> noundef %33) #4
  store float %34, ptr %13, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  %35 = load ptr, ptr %10, align 8, !tbaa !5
  %36 = getelementptr inbounds <4 x float>, ptr %35, i64 1
  %37 = load <4 x float>, ptr %36, align 16, !tbaa !17
  %38 = call noundef float @_ZN12_GLOBAL__N_19vextract0EDv4_f(<4 x float> noundef %37) #4
  store float %38, ptr %14, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  %39 = load ptr, ptr %11, align 8, !tbaa !5
  %40 = getelementptr inbounds <4 x float>, ptr %39, i64 0
  %41 = load <4 x float>, ptr %40, align 16, !tbaa !17
  %42 = call noundef float @_ZN12_GLOBAL__N_19vextract0EDv4_f(<4 x float> noundef %41) #4
  store float %42, ptr %15, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  %43 = load ptr, ptr %11, align 8, !tbaa !5
  %44 = getelementptr inbounds <4 x float>, ptr %43, i64 1
  %45 = load <4 x float>, ptr %44, align 16, !tbaa !17
  %46 = call noundef float @_ZN12_GLOBAL__N_19vextract0EDv4_f(<4 x float> noundef %45) #4
  store float %46, ptr %16, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  %47 = load ptr, ptr %12, align 8, !tbaa !5
  %48 = getelementptr inbounds <4 x float>, ptr %47, i64 0
  %49 = load <4 x float>, ptr %48, align 16, !tbaa !17
  %50 = call noundef float @_ZN12_GLOBAL__N_19vextract0EDv4_f(<4 x float> noundef %49) #4
  store float %50, ptr %17, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  %51 = load ptr, ptr %12, align 8, !tbaa !5
  %52 = getelementptr inbounds <4 x float>, ptr %51, i64 1
  %53 = load <4 x float>, ptr %52, align 16, !tbaa !17
  %54 = call noundef float @_ZN12_GLOBAL__N_19vextract0EDv4_f(<4 x float> noundef %53) #4
  store float %54, ptr %18, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  store i64 0, ptr %19, align 8, !tbaa !16
  br label %55

55:                                               ; preds = %173, %4
  %56 = load i64, ptr %19, align 8, !tbaa !16
  %57 = load i64, ptr %9, align 8, !tbaa !16
  %58 = icmp ult i64 %56, %57
  br i1 %58, label %60, label %59

59:                                               ; preds = %55
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  br label %176

60:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #4
  %61 = load ptr, ptr %10, align 8, !tbaa !5
  %62 = load i64, ptr %19, align 8, !tbaa !16
  %63 = mul i64 2, %62
  %64 = add i64 %63, 0
  %65 = getelementptr inbounds <4 x float>, ptr %61, i64 %64
  %66 = load <4 x float>, ptr %65, align 16, !tbaa !17
  %67 = shufflevector <4 x float> %66, <4 x float> poison, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  %68 = shufflevector <4 x float> %67, <4 x float> poison, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  store <4 x float> %68, ptr %20, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #4
  %69 = load ptr, ptr %10, align 8, !tbaa !5
  %70 = load i64, ptr %19, align 8, !tbaa !16
  %71 = mul i64 2, %70
  %72 = add i64 %71, 1
  %73 = getelementptr inbounds <4 x float>, ptr %69, i64 %72
  %74 = load <4 x float>, ptr %73, align 16, !tbaa !17
  %75 = shufflevector <4 x float> %74, <4 x float> poison, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  %76 = shufflevector <4 x float> %75, <4 x float> poison, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  store <4 x float> %76, ptr %21, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #4
  %77 = load ptr, ptr %11, align 8, !tbaa !5
  %78 = load i64, ptr %19, align 8, !tbaa !16
  %79 = mul i64 2, %78
  %80 = add i64 %79, 0
  %81 = getelementptr inbounds <4 x float>, ptr %77, i64 %80
  %82 = load <4 x float>, ptr %81, align 16, !tbaa !17
  %83 = shufflevector <4 x float> %82, <4 x float> poison, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  %84 = shufflevector <4 x float> %83, <4 x float> poison, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  store <4 x float> %84, ptr %22, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #4
  %85 = load ptr, ptr %11, align 8, !tbaa !5
  %86 = load i64, ptr %19, align 8, !tbaa !16
  %87 = mul i64 2, %86
  %88 = add i64 %87, 1
  %89 = getelementptr inbounds <4 x float>, ptr %85, i64 %88
  %90 = load <4 x float>, ptr %89, align 16, !tbaa !17
  %91 = shufflevector <4 x float> %90, <4 x float> poison, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  %92 = shufflevector <4 x float> %91, <4 x float> poison, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  store <4 x float> %92, ptr %23, align 16, !tbaa !17
  %93 = load <4 x float>, ptr %22, align 16, !tbaa !17
  %94 = load <4 x float>, ptr %23, align 16, !tbaa !17
  call void @_ZN12_GLOBAL__N_18vcplxmulERDv4_fS1_S0_S0_(ptr noundef nonnull align 16 dereferenceable(16) %20, ptr noundef nonnull align 16 dereferenceable(16) %21, <4 x float> noundef %93, <4 x float> noundef %94) #4
  %95 = load <4 x float>, ptr %20, align 16, !tbaa !17
  %96 = load ptr, ptr %12, align 8, !tbaa !5
  %97 = load i64, ptr %19, align 8, !tbaa !16
  %98 = mul i64 2, %97
  %99 = add i64 %98, 0
  %100 = getelementptr inbounds <4 x float>, ptr %96, i64 %99
  %101 = load <4 x float>, ptr %100, align 16, !tbaa !17
  %102 = call noundef <4 x float> @_ZN12_GLOBAL__N_14vaddEDv4_fS0_(<4 x float> noundef %95, <4 x float> noundef %101) #4
  %103 = load ptr, ptr %12, align 8, !tbaa !5
  %104 = load i64, ptr %19, align 8, !tbaa !16
  %105 = mul i64 2, %104
  %106 = add i64 %105, 0
  %107 = getelementptr inbounds <4 x float>, ptr %103, i64 %106
  store <4 x float> %102, ptr %107, align 16, !tbaa !17
  %108 = load <4 x float>, ptr %21, align 16, !tbaa !17
  %109 = load ptr, ptr %12, align 8, !tbaa !5
  %110 = load i64, ptr %19, align 8, !tbaa !16
  %111 = mul i64 2, %110
  %112 = add i64 %111, 1
  %113 = getelementptr inbounds <4 x float>, ptr %109, i64 %112
  %114 = load <4 x float>, ptr %113, align 16, !tbaa !17
  %115 = call noundef <4 x float> @_ZN12_GLOBAL__N_14vaddEDv4_fS0_(<4 x float> noundef %108, <4 x float> noundef %114) #4
  %116 = load ptr, ptr %12, align 8, !tbaa !5
  %117 = load i64, ptr %19, align 8, !tbaa !16
  %118 = mul i64 2, %117
  %119 = add i64 %118, 1
  %120 = getelementptr inbounds <4 x float>, ptr %116, i64 %119
  store <4 x float> %115, ptr %120, align 16, !tbaa !17
  %121 = load ptr, ptr %10, align 8, !tbaa !5
  %122 = load i64, ptr %19, align 8, !tbaa !16
  %123 = mul i64 2, %122
  %124 = add i64 %123, 2
  %125 = getelementptr inbounds <4 x float>, ptr %121, i64 %124
  %126 = load <4 x float>, ptr %125, align 16, !tbaa !17
  store <4 x float> %126, ptr %20, align 16, !tbaa !17
  %127 = load ptr, ptr %10, align 8, !tbaa !5
  %128 = load i64, ptr %19, align 8, !tbaa !16
  %129 = mul i64 2, %128
  %130 = add i64 %129, 3
  %131 = getelementptr inbounds <4 x float>, ptr %127, i64 %130
  %132 = load <4 x float>, ptr %131, align 16, !tbaa !17
  store <4 x float> %132, ptr %21, align 16, !tbaa !17
  %133 = load ptr, ptr %11, align 8, !tbaa !5
  %134 = load i64, ptr %19, align 8, !tbaa !16
  %135 = mul i64 2, %134
  %136 = add i64 %135, 2
  %137 = getelementptr inbounds <4 x float>, ptr %133, i64 %136
  %138 = load <4 x float>, ptr %137, align 16, !tbaa !17
  store <4 x float> %138, ptr %22, align 16, !tbaa !17
  %139 = load ptr, ptr %11, align 8, !tbaa !5
  %140 = load i64, ptr %19, align 8, !tbaa !16
  %141 = mul i64 2, %140
  %142 = add i64 %141, 3
  %143 = getelementptr inbounds <4 x float>, ptr %139, i64 %142
  %144 = load <4 x float>, ptr %143, align 16, !tbaa !17
  store <4 x float> %144, ptr %23, align 16, !tbaa !17
  %145 = load <4 x float>, ptr %22, align 16, !tbaa !17
  %146 = load <4 x float>, ptr %23, align 16, !tbaa !17
  call void @_ZN12_GLOBAL__N_18vcplxmulERDv4_fS1_S0_S0_(ptr noundef nonnull align 16 dereferenceable(16) %20, ptr noundef nonnull align 16 dereferenceable(16) %21, <4 x float> noundef %145, <4 x float> noundef %146) #4
  %147 = load <4 x float>, ptr %20, align 16, !tbaa !17
  %148 = load ptr, ptr %12, align 8, !tbaa !5
  %149 = load i64, ptr %19, align 8, !tbaa !16
  %150 = mul i64 2, %149
  %151 = add i64 %150, 2
  %152 = getelementptr inbounds <4 x float>, ptr %148, i64 %151
  %153 = load <4 x float>, ptr %152, align 16, !tbaa !17
  %154 = call noundef <4 x float> @_ZN12_GLOBAL__N_14vaddEDv4_fS0_(<4 x float> noundef %147, <4 x float> noundef %153) #4
  %155 = load ptr, ptr %12, align 8, !tbaa !5
  %156 = load i64, ptr %19, align 8, !tbaa !16
  %157 = mul i64 2, %156
  %158 = add i64 %157, 2
  %159 = getelementptr inbounds <4 x float>, ptr %155, i64 %158
  store <4 x float> %154, ptr %159, align 16, !tbaa !17
  %160 = load <4 x float>, ptr %21, align 16, !tbaa !17
  %161 = load ptr, ptr %12, align 8, !tbaa !5
  %162 = load i64, ptr %19, align 8, !tbaa !16
  %163 = mul i64 2, %162
  %164 = add i64 %163, 3
  %165 = getelementptr inbounds <4 x float>, ptr %161, i64 %164
  %166 = load <4 x float>, ptr %165, align 16, !tbaa !17
  %167 = call noundef <4 x float> @_ZN12_GLOBAL__N_14vaddEDv4_fS0_(<4 x float> noundef %160, <4 x float> noundef %166) #4
  %168 = load ptr, ptr %12, align 8, !tbaa !5
  %169 = load i64, ptr %19, align 8, !tbaa !16
  %170 = mul i64 2, %169
  %171 = add i64 %170, 3
  %172 = getelementptr inbounds <4 x float>, ptr %168, i64 %171
  store <4 x float> %167, ptr %172, align 16, !tbaa !17
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #4
  br label %173

173:                                              ; preds = %60
  %174 = load i64, ptr %19, align 8, !tbaa !16
  %175 = add i64 %174, 2
  store i64 %175, ptr %19, align 8, !tbaa !16
  br label %55, !llvm.loop !20

176:                                              ; preds = %59
  %177 = load ptr, ptr %5, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.PFFFT_Setup, ptr %177, i32 0, i32 3
  %179 = load i32, ptr %178, align 4, !tbaa !22
  %180 = icmp eq i32 %179, 0
  br i1 %180, label %181, label %202

181:                                              ; preds = %176
  %182 = load ptr, ptr %12, align 8, !tbaa !5
  %183 = getelementptr inbounds <4 x float>, ptr %182, i64 0
  %184 = load <4 x float>, ptr %183, align 16, !tbaa !17
  %185 = load float, ptr %17, align 4, !tbaa !18
  %186 = load float, ptr %13, align 4, !tbaa !18
  %187 = load float, ptr %15, align 4, !tbaa !18
  %188 = call float @llvm.fmuladd.f32(float %186, float %187, float %185)
  %189 = call noundef <4 x float> @_ZN12_GLOBAL__N_18vinsert0EDv4_ff(<4 x float> noundef %184, float noundef %188) #4
  %190 = load ptr, ptr %12, align 8, !tbaa !5
  %191 = getelementptr inbounds <4 x float>, ptr %190, i64 0
  store <4 x float> %189, ptr %191, align 16, !tbaa !17
  %192 = load ptr, ptr %12, align 8, !tbaa !5
  %193 = getelementptr inbounds <4 x float>, ptr %192, i64 1
  %194 = load <4 x float>, ptr %193, align 16, !tbaa !17
  %195 = load float, ptr %18, align 4, !tbaa !18
  %196 = load float, ptr %14, align 4, !tbaa !18
  %197 = load float, ptr %16, align 4, !tbaa !18
  %198 = call float @llvm.fmuladd.f32(float %196, float %197, float %195)
  %199 = call noundef <4 x float> @_ZN12_GLOBAL__N_18vinsert0EDv4_ff(<4 x float> noundef %194, float noundef %198) #4
  %200 = load ptr, ptr %12, align 8, !tbaa !5
  %201 = getelementptr inbounds <4 x float>, ptr %200, i64 1
  store <4 x float> %199, ptr %201, align 16, !tbaa !17
  br label %202

202:                                              ; preds = %181, %176
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  ret void
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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 = { 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, !11, i64 4}
!10 = !{!"_ZTS11PFFFT_Setup", !11, i64 0, !11, i64 4, !12, i64 8, !13, i64 68, !6, i64 72, !14, i64 80, !7, i64 128}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTSSt5arrayIjLm15EE", !7, i64 0}
!13 = !{!"_ZTS17pffft_transform_t", !7, i64 0}
!14 = !{!"_ZTSN2al4spanIDv4_fLm18446744073709551615EEE", !6, i64 0, !15, i64 8}
!15 = !{!"long", !7, i64 0}
!16 = !{!15, !15, i64 0}
!17 = !{!7, !7, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"float", !7, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!10, !13, i64 68}


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

; 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_18vcplxmulERDv4_fS1_S0_S0_(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(16), <4 x float> noundef, <4 x float> noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_Z26pffft_zconvolve_accumulatePK11PFFFT_SetupPKfS3_Pf(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef %3) local_unnamed_addr #3 {
  %5 = alloca <4 x float>, align 16
  %6 = alloca <4 x float>, align 16
  %7 = getelementptr inbounds i8, ptr %0, i64 4
  %8 = load i32, ptr %7, align 4, !tbaa !5
  %9 = zext i32 %8 to i64
  %10 = load <4 x float>, ptr %1, align 16, !tbaa !15
  %11 = tail call noundef float @_ZN12_GLOBAL__N_19vextract0EDv4_f(<4 x float> noundef %10) #4
  %12 = getelementptr inbounds i8, ptr %1, i64 16
  %13 = load <4 x float>, ptr %12, align 16, !tbaa !15
  %14 = tail call noundef float @_ZN12_GLOBAL__N_19vextract0EDv4_f(<4 x float> noundef %13) #4
  %15 = load <4 x float>, ptr %2, align 16, !tbaa !15
  %16 = tail call noundef float @_ZN12_GLOBAL__N_19vextract0EDv4_f(<4 x float> noundef %15) #4
  %17 = getelementptr inbounds i8, ptr %2, i64 16
  %18 = load <4 x float>, ptr %17, align 16, !tbaa !15
  %19 = tail call noundef float @_ZN12_GLOBAL__N_19vextract0EDv4_f(<4 x float> noundef %18) #4
  %20 = load <4 x float>, ptr %3, align 16, !tbaa !15
  %21 = tail call noundef float @_ZN12_GLOBAL__N_19vextract0EDv4_f(<4 x float> noundef %20) #4
  %22 = getelementptr inbounds i8, ptr %3, i64 16
  %23 = load <4 x float>, ptr %22, align 16, !tbaa !15
  %24 = tail call noundef float @_ZN12_GLOBAL__N_19vextract0EDv4_f(<4 x float> noundef %23) #4
  %.not = icmp eq i32 %8, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %4
  %25 = getelementptr inbounds i8, ptr %0, i64 68
  %26 = load i32, ptr %25, align 4, !tbaa !16
  %27 = icmp eq i32 %26, 0
  br i1 %27, label %66, label %73

.lr.ph:                                           ; preds = %4, %.lr.ph
  %.059 = phi i64 [ %64, %.lr.ph ], [ 0, %4 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4
  %28 = shl nuw nsw i64 %.059, 1
  %29 = getelementptr inbounds <4 x float>, ptr %1, i64 %28
  %30 = load <4 x float>, ptr %29, align 16, !tbaa !15
  store <4 x float> %30, ptr %5, align 16, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #4
  %31 = or disjoint i64 %28, 1
  %32 = getelementptr inbounds <4 x float>, ptr %1, i64 %31
  %33 = load <4 x float>, ptr %32, align 16, !tbaa !15
  store <4 x float> %33, ptr %6, align 16, !tbaa !15
  %34 = getelementptr inbounds <4 x float>, ptr %2, i64 %28
  %35 = load <4 x float>, ptr %34, align 16, !tbaa !15
  %36 = getelementptr inbounds <4 x float>, ptr %2, i64 %31
  %37 = load <4 x float>, ptr %36, align 16, !tbaa !15
  call void @_ZN12_GLOBAL__N_18vcplxmulERDv4_fS1_S0_S0_(ptr noundef nonnull align 16 dereferenceable(16) %5, ptr noundef nonnull align 16 dereferenceable(16) %6, <4 x float> noundef %35, <4 x float> noundef %37) #4
  %38 = load <4 x float>, ptr %5, align 16, !tbaa !15
  %39 = getelementptr inbounds <4 x float>, ptr %3, i64 %28
  %40 = load <4 x float>, ptr %39, align 16, !tbaa !15
  %41 = call noundef <4 x float> @_ZN12_GLOBAL__N_14vaddEDv4_fS0_(<4 x float> noundef %38, <4 x float> noundef %40) #4
  store <4 x float> %41, ptr %39, align 16, !tbaa !15
  %42 = load <4 x float>, ptr %6, align 16, !tbaa !15
  %43 = getelementptr inbounds <4 x float>, ptr %3, i64 %31
  %44 = load <4 x float>, ptr %43, align 16, !tbaa !15
  %45 = call noundef <4 x float> @_ZN12_GLOBAL__N_14vaddEDv4_fS0_(<4 x float> noundef %42, <4 x float> noundef %44) #4
  store <4 x float> %45, ptr %43, align 16, !tbaa !15
  %46 = or disjoint i64 %28, 2
  %47 = getelementptr inbounds <4 x float>, ptr %1, i64 %46
  %48 = load <4 x float>, ptr %47, align 16, !tbaa !15
  store <4 x float> %48, ptr %5, align 16, !tbaa !15
  %49 = or disjoint i64 %28, 3
  %50 = getelementptr inbounds <4 x float>, ptr %1, i64 %49
  %51 = load <4 x float>, ptr %50, align 16, !tbaa !15
  store <4 x float> %51, ptr %6, align 16, !tbaa !15
  %52 = getelementptr inbounds <4 x float>, ptr %2, i64 %46
  %53 = load <4 x float>, ptr %52, align 16, !tbaa !15
  %54 = getelementptr inbounds <4 x float>, ptr %2, i64 %49
  %55 = load <4 x float>, ptr %54, align 16, !tbaa !15
  call void @_ZN12_GLOBAL__N_18vcplxmulERDv4_fS1_S0_S0_(ptr noundef nonnull align 16 dereferenceable(16) %5, ptr noundef nonnull align 16 dereferenceable(16) %6, <4 x float> noundef %53, <4 x float> noundef %55) #4
  %56 = load <4 x float>, ptr %5, align 16, !tbaa !15
  %57 = getelementptr inbounds <4 x float>, ptr %3, i64 %46
  %58 = load <4 x float>, ptr %57, align 16, !tbaa !15
  %59 = call noundef <4 x float> @_ZN12_GLOBAL__N_14vaddEDv4_fS0_(<4 x float> noundef %56, <4 x float> noundef %58) #4
  store <4 x float> %59, ptr %57, align 16, !tbaa !15
  %60 = load <4 x float>, ptr %6, align 16, !tbaa !15
  %61 = getelementptr inbounds <4 x float>, ptr %3, i64 %49
  %62 = load <4 x float>, ptr %61, align 16, !tbaa !15
  %63 = call noundef <4 x float> @_ZN12_GLOBAL__N_14vaddEDv4_fS0_(<4 x float> noundef %60, <4 x float> noundef %62) #4
  store <4 x float> %63, ptr %61, align 16, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4
  %64 = add nuw nsw i64 %.059, 2
  %65 = icmp ult i64 %64, %9
  br i1 %65, label %.lr.ph, label %._crit_edge, !llvm.loop !17

66:                                               ; preds = %._crit_edge
  %67 = load <4 x float>, ptr %3, align 16, !tbaa !15
  %68 = call float @llvm.fmuladd.f32(float %11, float %16, float %21)
  %69 = call noundef <4 x float> @_ZN12_GLOBAL__N_18vinsert0EDv4_ff(<4 x float> noundef %67, float noundef %68) #4
  store <4 x float> %69, ptr %3, align 16, !tbaa !15
  %70 = load <4 x float>, ptr %22, align 16, !tbaa !15
  %71 = call float @llvm.fmuladd.f32(float %14, float %19, float %24)
  %72 = call noundef <4 x float> @_ZN12_GLOBAL__N_18vinsert0EDv4_ff(<4 x float> noundef %70, float noundef %71) #4
  store <4 x float> %72, ptr %22, align 16, !tbaa !15
  br label %73

73:                                               ; preds = %66, %._crit_edge
  ret void
}

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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 = { 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, !7, i64 4}
!6 = !{!"_ZTS11PFFFT_Setup", !7, i64 0, !7, i64 4, !10, i64 8, !11, i64 68, !12, i64 72, !13, i64 80, !8, i64 128}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSSt5arrayIjLm15EE", !8, i64 0}
!11 = !{!"_ZTS17pffft_transform_t", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"_ZTSN2al4spanIDv4_fLm18446744073709551615EEE", !12, i64 0, !14, i64 8}
!14 = !{!"long", !8, i64 0}
!15 = !{!8, !8, i64 0}
!16 = !{!6, !11, i64 68}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}


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