	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rdft_horizontal16
_rdft_horizontal16:                     ## @rdft_horizontal16
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%ecx, %ecx
	jle	LBB0_11
## %bb.1:
	movl	%edx, %ebx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rsi), %rax
	movslq	%r8d, %r12
	movq	(%rax,%r12,8), %rdi
	movq	(%rsi), %rax
	movl	(%rax,%r12,4), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%eax, %edx
	sarl	%edx
	movslq	%edx, %rax
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	%ecx, %ecx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movl	%ebx, %r14d
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
                                        ## kill: def $r14d killed $r14d killed $r14 def $r14
	andl	$-2, %r14d
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	leaq	4(%rdi), %r13
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	(,%rax,4), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rax
	movq	8(%rcx), %rcx
	movq	(%rcx,%r12,8), %rcx
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%rax,%r12,4), %rdx
	movq	%rdx, %rax
	imulq	%r15, %rax
	leaq	(%rcx,%rax,4), %rdi
	movl	%ebx, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_copy_rev
	incq	%r15
	addq	-88(%rbp), %r13                 ## 8-byte Folded Reload
	cmpq	-96(%rbp), %r15                 ## 8-byte Folded Reload
	je	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	testl	%ebx, %ebx
	jle	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rax
	movq	8(%rcx), %rcx
	movq	(%rcx,%r12,8), %rcx
	xorl	%edx, %edx
	cmpl	$1, %ebx
	je	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-4(%r13,%rdx,4), %esi
	movl	(%rax,%r12,4), %edi
	imull	%r15d, %edi
	addl	%edx, %edi
	movslq	%edi, %rdi
	movl	%esi, (%rcx,%rdi,4)
	movl	(%r13,%rdx,4), %esi
	movl	(%rax,%r12,4), %edi
	imull	%r15d, %edi
	addl	%edx, %edi
	incl	%edi
	movslq	%edi, %rdi
	movl	%esi, (%rcx,%rdi,4)
	addq	$2, %rdx
	cmpq	%rdx, %r14
	jne	LBB0_5
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	testb	$1, -80(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rsi
	imulq	-64(%rbp), %rsi                 ## 8-byte Folded Reload
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	leaq	(%rdi,%rsi,4), %rsi
	movl	(%rsi,%rdx,4), %esi
	movl	(%rax,%r12,4), %edi
	imull	%r15d, %edi
	addl	%edi, %edx
	movslq	%edx, %rdx
	movl	%esi, (%rcx,%rdx,4)
	jmp	LBB0_8
LBB0_9:
	xorl	%ebx, %ebx
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	movl	(%rax,%r12,4), %edi
	movq	(%r15), %rax
	movq	8(%r15), %rcx
	movslq	(%rax,%r12,4), %rsi
	movslq	%ebx, %rbx
	imulq	%rbx, %rsi
	shlq	$2, %rsi
	addq	(%rcx,%r12,8), %rsi
	callq	_av_rdft_calc
	incl	%ebx
	cmpl	%ebx, %r14d
	jne	LBB0_10
LBB0_11:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rdft_horizontal16
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rdft_horizontal16
_rdft_horizontal16:                     ; @rdft_horizontal16
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
                                        ; kill: def $w4 killed $w4 def $x4
	cmp	w3, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x19, x3
	mov	x21, x2
	mov	x20, x0
	mov	x23, #0
	sxtw	x22, w4
	ldp	x9, x8, [x1]
	ldr	x24, [x8, w4, sxtw #3]
	ldr	w8, [x9, x22, lsl #2]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	mov	w25, w3
	mov	w26, w2
	sbfiz	x27, x8, #2, #32
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldp	x9, x8, [x20]
	ldr	x8, [x8, x22, lsl #3]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrsw	x2, [x9, x22, lsl #2]
	mul	x9, x23, x2
	add	x0, x8, x9, lsl #2
	mov	x1, x21
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_copy_rev
	add	x23, x23, #1
	add	x24, x24, x27
	cmp	x23, x25
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	cmp	w21, #0
	b.le	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x10, #0
	mov	x11, x23
	ldp	x9, x8, [x20]
	ldr	x8, [x8, x22, lsl #3]
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w12, [x24, x10, lsl #2]
	ldrsw	x13, [x9, x22, lsl #2]
	sxtw	x14, w11
	madd	x13, x14, x13, x10
	str	w12, [x8, x13, lsl #2]
	add	x10, x10, #1
	cmp	x26, x10
	b.ne	LBB0_6
	b	LBB0_3
LBB0_7:
	mov	w21, #0
	lsl	x23, x22, #2
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	ldr	w0, [x8, x23]
	ldp	x9, x8, [x20]
	ldr	x8, [x8, x22, lsl #3]
	ldr	w9, [x9, x23]
	mul	w9, w9, w21
	add	x1, x8, w9, sxtw #2
	bl	_av_rdft_calc
	add	w21, w21, #1
	cmp	w19, w21
	b.ne	LBB0_8
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rdft_horizontal16
.subsections_via_symbols
