	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fft_channel
_fft_channel:                           ## @fft_channel
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r15
	movslq	%edx, %r14
	movq	(%r15), %rax
	movq	24(%r15), %rcx
	movss	(%rax,%r14,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movaps	%xmm0, -48(%rbp)                ## 16-byte Spill
	movq	(%rcx), %rax
	movslq	8(%r15), %rdx
	shlq	$2, %rdx
	movq	(%rax,%r14,8), %rdi
	addq	%rdx, %rdi
	xorl	%esi, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memset
	movaps	-48(%rbp), %xmm5                ## 16-byte Reload
	movq	24(%r15), %rax
	movq	(%rax), %rax
	movq	(%rax,%r14,8), %rsi
	movl	8(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_16
## %bb.1:
	movq	16(%r15), %rcx
	cmpl	$8, %eax
	jb	LBB0_2
## %bb.3:
	leaq	(%rcx,%rax,4), %rdx
	cmpq	%rdx, %rsi
	jae	LBB0_6
## %bb.4:
	leaq	(%rsi,%rax,4), %rdx
	cmpq	%rdx, %rcx
	jae	LBB0_6
LBB0_2:
	xorl	%edx, %edx
LBB0_12:
	movq	%rdx, %rdi
	notq	%rdi
	testb	$1, %al
	je	LBB0_14
## %bb.13:
	movss	(%rcx,%rdx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm5, %xmm0
	mulss	(%rsi,%rdx,4), %xmm0
	movss	%xmm0, (%rsi,%rdx,4)
	orq	$1, %rdx
LBB0_14:
	addq	%rax, %rdi
	je	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movss	(%rcx,%rdx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm5, %xmm0
	mulss	(%rsi,%rdx,4), %xmm0
	movss	%xmm0, (%rsi,%rdx,4)
	movss	4(%rcx,%rdx,4), %xmm0           ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm5, %xmm0
	mulss	4(%rsi,%rdx,4), %xmm0
	movss	%xmm0, 4(%rsi,%rdx,4)
	addq	$2, %rdx
	cmpq	%rdx, %rax
	jne	LBB0_15
	jmp	LBB0_16
LBB0_6:
	movl	%eax, %edx
	andl	$-8, %edx
	movaps	%xmm5, %xmm0
	shufps	$0, %xmm5, %xmm0                ## xmm0 = xmm0[0,0],xmm5[0,0]
	leaq	-8(%rdx), %rdi
	movq	%rdi, %r8
	shrq	$3, %r8
	incq	%r8
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.7:
	movq	%r8, %rbx
	andq	$-2, %rbx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%rcx,%rdi,4), %xmm1
	movups	16(%rcx,%rdi,4), %xmm2
	mulps	%xmm0, %xmm1
	mulps	%xmm0, %xmm2
	movups	(%rsi,%rdi,4), %xmm3
	mulps	%xmm1, %xmm3
	movups	16(%rsi,%rdi,4), %xmm1
	mulps	%xmm2, %xmm1
	movups	32(%rsi,%rdi,4), %xmm2
	movups	48(%rsi,%rdi,4), %xmm4
	movups	%xmm3, (%rsi,%rdi,4)
	movups	%xmm1, 16(%rsi,%rdi,4)
	movups	32(%rcx,%rdi,4), %xmm1
	movups	48(%rcx,%rdi,4), %xmm3
	mulps	%xmm0, %xmm1
	mulps	%xmm2, %xmm1
	mulps	%xmm0, %xmm3
	mulps	%xmm4, %xmm3
	movups	%xmm1, 32(%rsi,%rdi,4)
	movups	%xmm3, 48(%rsi,%rdi,4)
	addq	$16, %rdi
	addq	$-2, %rbx
	jne	LBB0_8
## %bb.9:
	testb	$1, %r8b
	je	LBB0_11
LBB0_10:
	movups	(%rcx,%rdi,4), %xmm1
	movups	16(%rcx,%rdi,4), %xmm2
	mulps	%xmm0, %xmm1
	mulps	%xmm0, %xmm2
	movups	(%rsi,%rdi,4), %xmm0
	mulps	%xmm1, %xmm0
	movups	16(%rsi,%rdi,4), %xmm1
	mulps	%xmm2, %xmm1
	movups	%xmm0, (%rsi,%rdi,4)
	movups	%xmm1, 16(%rsi,%rdi,4)
LBB0_11:
	cmpq	%rax, %rdx
	jne	LBB0_12
LBB0_16:
	movq	32(%r15), %rax
	movl	(%rax,%r14,4), %edi
	callq	_av_rdft_calc
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	xorl	%edi, %edi
	testb	$1, %r8b
	jne	LBB0_10
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_fft_channel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fft_channel
_fft_channel:                           ; @fft_channel
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
                                        ; kill: def $w2 killed $w2 def $x2
	ldr	x19, [x0]
	ldr	x8, [x19]
	sxtw	x20, w2
	ldr	s0, [x8, w2, sxtw #2]
	str	q0, [sp]                        ; 16-byte Folded Spill
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	sbfiz	x21, x2, #3, #32
	ldr	x8, [x8, x21]
	ldrsw	x9, [x19, #8]
	lsl	x2, x9, #2
	add	x0, x2, x8
	mov	w1, #0
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_memset
	ldr	q17, [sp]                       ; 16-byte Folded Reload
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	ldr	x1, [x8, x21]
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.1:
	ldr	x9, [x19, #16]
	cmp	w8, #16
	b.lo	LBB0_6
; %bb.2:
	lsl	x10, x8, #2
	add	x11, x1, x10
	add	x10, x9, x10
	cmp	x1, x10
	ccmp	x9, x11, #2, lo
	b.lo	LBB0_6
; %bb.3:
	and	x10, x8, #0xfffffff0
	dup.4s	v0, v17[0]
	add	x11, x1, #32
	add	x12, x9, #32
	mov	x13, x10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x12, #-32]
	ldp	q3, q4, [x12], #64
	fmul.4s	v1, v0, v1
	fmul.4s	v2, v0, v2
	fmul.4s	v3, v0, v3
	fmul.4s	v4, v4, v17[0]
	ldp	q5, q6, [x11, #-32]
	ldp	q7, q16, [x11]
	fmul.4s	v1, v5, v1
	fmul.4s	v2, v6, v2
	fmul.4s	v3, v7, v3
	fmul.4s	v4, v16, v4
	stp	q1, q2, [x11, #-32]
	stp	q3, q4, [x11], #64
	subs	x13, x13, #16
	b.ne	LBB0_4
; %bb.5:
	cmp	x10, x8
	b.ne	LBB0_7
	b	LBB0_9
LBB0_6:
	mov	x10, #0
LBB0_7:
	lsl	x12, x10, #2
	add	x11, x1, x12
	add	x9, x9, x12
	sub	x8, x8, x10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	s0, [x9], #4
	fmul	s0, s17, s0
	ldr	s1, [x11]
	fmul	s0, s1, s0
	str	s0, [x11], #4
	subs	x8, x8, #1
	b.ne	LBB0_8
LBB0_9:
	ldr	x8, [x19, #32]
	ldr	w0, [x8, x20, lsl #2]
	bl	_av_rdft_calc
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_fft_channel
.subsections_via_symbols
