	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mdct_forward                   ## -- Begin function mdct_forward
	.p2align	4, 0x90
_mdct_forward:                          ## @mdct_forward
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -144(%rbp)                ## 8-byte Spill
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movslq	(%rdi), %rbx
	movl	%ebx, %r13d
	sarl	%r13d
	movl	%ebx, %r14d
	sarl	$2, %r14d
	movl	%ebx, %r15d
	sarl	$3, %r15d
	leal	(,%rbx,4), %edi
	callq	_alloca
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	movl	%r13d, -68(%rbp)                ## 4-byte Spill
	movslq	%r13d, %rdi
	leaq	(%r8,%rdi,4), %rcx
	movl	%r14d, -116(%rbp)               ## 4-byte Spill
	movslq	%r14d, %rdx
	leaq	(%rcx,%rdx,4), %rsi
	movq	8(%r12), %r14
	movq	%rbx, -128(%rbp)                ## 8-byte Spill
	cmpq	$8, %rbx
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	movl	%r15d, -104(%rbp)               ## 4-byte Spill
	jl	LBB0_1
## %bb.2:
	addq	$4, %rsi
	movslq	%r15d, %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	leaq	4(%rax), %r13
	leaq	(%r8,%rdx,4), %rax
	addq	$4, %rax
	leaq	(%r8,%rdx,4), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	(%rax,%rdi,4), %r15d
	addl	-8(%r12,%rdi,4), %r15d
	movl	8(%rsi), %ebx
	addl	-16(%r12,%rdi,4), %ebx
	movl	-4(%r14,%rdi,4), %eax
	imull	%ebx, %eax
	movl	-8(%r14,%rdi,4), %edi
	imull	%r15d, %edi
	addl	%eax, %edi
	callq	_MULT_NORM
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, -4(%r13,%rcx,4)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	imull	-8(%r14,%rax,4), %ebx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	imull	-4(%r14,%rax,4), %r15d
	subl	%r15d, %ebx
	movl	%ebx, %edi
	callq	_MULT_NORM
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, (%r13,%rdi,4)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addq	$16, %rsi
	addq	$2, %rbx
	addq	$8, %r13
	addq	$-8, %r14
	addq	$16, %rax
	addq	$-16, %r12
	cmpq	-80(%rbp), %rbx                 ## 8-byte Folded Reload
	jl	LBB0_3
## %bb.4:
	leaq	(%r14,%rdi,4), %r14
	leaq	(%r12,%rdi,4), %rsi
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	jmp	LBB0_5
LBB0_1:
	xorl	%ebx, %ebx
	leaq	(%r14,%rdi,4), %r14
LBB0_5:
	leaq	(%rax,%rdi,4), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	leaq	4(%r8), %rdx
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	subl	-104(%rbp), %ecx                ## 4-byte Folded Reload
	cmpl	%ecx, %ebx
	jge	LBB0_6
## %bb.7:
	movl	%ebx, %ebx
	movslq	%ecx, %rcx
	movq	%rcx, -160(%rbp)                ## 8-byte Spill
	leaq	(%rdi,%rbx), %rcx
	leaq	(%rax,%rcx,4), %rax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	xorl	%ecx, %ecx
	xorl	%r13d, %r13d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	leal	(%rbx,%r13), %r12d
	leaq	-8(%r14), %rax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movl	-8(%rsi,%rcx), %r15d
	subl	(%rdx,%r13,8), %r15d
	movl	-16(%rsi,%rcx), %ebx
	subl	8(%rdx,%r13,8), %ebx
	movl	-4(%r14), %eax
	imull	%ebx, %eax
	movl	-8(%r14), %edi
	imull	%r15d, %edi
	addl	%eax, %edi
	callq	_MULT_NORM
	movq	-152(%rbp), %rcx                ## 8-byte Reload
	movl	%eax, (%rcx,%r13,4)
	imull	-8(%r14), %ebx
	imull	-4(%r14), %r15d
	movq	-168(%rbp), %r14                ## 8-byte Reload
	subl	%r15d, %ebx
	movl	%ebx, %edi
	callq	_MULT_NORM
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	shlq	$2, %r12
	orq	$4, %r12
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx,%r12)
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rbx,%r13), %rax
	addq	$2, %rax
	addq	$2, %r13
	addq	$-16, %rcx
	cmpq	-160(%rbp), %rax                ## 8-byte Folded Reload
	jl	LBB0_8
## %bb.9:
	movq	%r14, %r15
	addl	%r13d, %ebx
	subq	%rcx, %rdx
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	jmp	LBB0_10
LBB0_6:
	movq	%r14, %r15
LBB0_10:
	cmpl	-68(%rbp), %ebx                 ## 4-byte Folded Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	jge	LBB0_13
## %bb.11:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	leaq	(%r8,%rax,4), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	%ebx, %r13d
	movq	$-2, %r14
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movl	(%rdx), %r12d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	addl	(%rax,%r14,4), %r12d
	movl	-8(%rax,%r14,4), %ebx
	addl	8(%rdx), %ebx
	negl	%ebx
	movl	(%r15,%r14,2), %edi
	imull	%ebx, %edi
	movl	-4(%r15,%r14,2), %eax
	imull	%r12d, %eax
	subl	%eax, %edi
	callq	_MULT_NORM
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx,%r13,4)
	imull	-4(%r15,%r14,2), %ebx
	imull	(%r15,%r14,2), %r12d
	addl	%ebx, %r12d
	movl	%r12d, %edi
	callq	_MULT_NORM
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movl	%r13d, %ecx
	shlq	$2, %rcx
	orq	$4, %rcx
	movl	%eax, (%rsi,%rcx)
	addq	$2, %r13
	addq	$-4, %r14
	addq	$16, %rdx
	cmpq	-48(%rbp), %r13                 ## 8-byte Folded Reload
	jl	LBB0_12
LBB0_13:
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	callq	_mdct_butterflies
	movq	%rbx, %rdi
	movq	-136(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rsi
	callq	_mdct_bitreverse
	cmpl	$4, -128(%rbp)                  ## 4-byte Folded Reload
	movq	-144(%rbp), %r13                ## 8-byte Reload
	jl	LBB0_16
## %bb.14:
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	leaq	(,%rsi,4), %rdx
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	addq	8(%rax), %rdx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	-116(%rbp), %eax                ## 4-byte Reload
	cmpl	$2, %eax
	movl	$1, %edx
	cmovgel	%eax, %edx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	decq	%rsi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%rbx,8), %eax
	movl	4(%r15,%rbx,8), %edi
	imull	(%r14,%rbx,8), %eax
	imull	4(%r14,%rbx,8), %edi
	addl	%eax, %edi
	imull	16(%r12), %edi
	callq	_MULT_NORM
	movl	%eax, (%r13,%rbx,4)
	movl	(%r15,%rbx,8), %eax
	movl	4(%r15,%rbx,8), %edi
	imull	(%r14,%rbx,8), %edi
	imull	4(%r14,%rbx,8), %eax
	subl	%eax, %edi
	imull	16(%r12), %edi
	callq	_MULT_NORM
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, (%r13,%rdx,4)
	incq	%rbx
	decq	%rdx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	cmpq	%rbx, -64(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_15
LBB0_16:
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mdct_forward                   ; -- Begin function mdct_forward
	.p2align	2
_mdct_forward:                          ; @mdct_forward
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	mov	x25, x2
	mov	x19, x1
	mov	x27, x0
	ldrsw	x21, [x0]
	asr	w20, w21, #1
	asr	w22, w21, #2
	mov	x24, x21
	asr	w23, w21, #3
	lsl	w0, w21, #2
	bl	_alloca
	sbfx	x2, x24, #1, #31
	sbfiz	x9, x20, #2, #32
	add	x8, x0, x9
	stp	x0, x8, [sp, #48]               ; 16-byte Folded Spill
	add	x8, x19, x9
	sbfx	x10, x24, #2, #30
	add	x8, x8, w22, sxtw #2
	ldr	x24, [x27, #8]
	lsl	x11, x2, #2
	cmp	w21, #8
	stp	x2, x11, [sp, #80]              ; 16-byte Folded Spill
	str	x21, [sp, #64]                  ; 8-byte Folded Spill
	stp	x10, x19, [sp, #32]             ; 16-byte Folded Spill
	b.lt	LBB0_4
; %bb.1:
	stp	x27, x25, [sp, #16]             ; 16-byte Folded Spill
	mov	x26, #0
	add	x28, x8, #4
	str	x23, [sp, #8]                   ; 8-byte Folded Spill
	sxtw	x8, w23
	str	x8, [sp, #72]                   ; 8-byte Folded Spill
	add	x25, x19, x10, lsl #2
	add	x20, x0, #4
	add	x22, x25, #4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x25, x11
	add	x27, x24, x11
	ldur	w9, [x8, #-8]
	ldr	w10, [x22, x11]
	add	w23, w10, w9
	ldur	w8, [x8, #-16]
	ldr	w9, [x28, #8]
	add	w19, w9, w8
	ldp	w9, w8, [x27, #-8]
	mul	w8, w19, w8
	madd	w0, w9, w23, w8
	bl	_MULT_NORM
	ldr	x8, [sp, #88]                   ; 8-byte Folded Reload
	add	x21, x20, x8
	stur	w0, [x21, #-4]
	ldp	w8, w9, [x27, #-8]
	mul	w9, w9, w23
	neg	w9, w9
	madd	w0, w8, w19, w9
	bl	_MULT_NORM
	str	w0, [x21]
	ldr	x11, [sp, #88]                  ; 8-byte Folded Reload
	add	x28, x28, #16
	add	x26, x26, #2
	sub	x25, x25, #16
	add	x20, x20, #8
	sub	x24, x24, #8
	add	x22, x22, #16
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	cmp	x26, x8
	b.lt	LBB0_2
; %bb.3:
	add	x24, x24, x11
	add	x8, x25, x11
	ldp	x27, x25, [sp, #16]             ; 16-byte Folded Reload
	ldr	x2, [sp, #80]                   ; 8-byte Folded Reload
	ldr	x19, [sp, #40]                  ; 8-byte Folded Reload
	ldr	x23, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_5
LBB0_4:
	mov	w26, #0
	add	x24, x24, x9
LBB0_5:
	add	x28, x19, #4
	sub	w9, w2, w23
	cmp	w26, w9
	b.ge	LBB0_9
; %bb.6:
	sxtw	x20, w9
	sub	x22, x8, #8
	mov	w26, w26
	ldr	x23, [sp, #56]                  ; 8-byte Folded Reload
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x22]
	ldr	w10, [x28]
	sub	w19, w9, w10
	ldur	w9, [x22, #-8]
	ldr	w10, [x28, #8]
	sub	w21, w9, w10
	ldp	w8, w9, [x24, #-8]!
	mul	w9, w21, w9
	madd	w0, w8, w19, w9
	bl	_MULT_NORM
	str	w0, [x23, x26, lsl #2]
	ldp	w8, w9, [x24]
	mul	w9, w9, w19
	neg	w9, w9
	madd	w0, w8, w21, w9
	bl	_MULT_NORM
	and	x8, x26, #0xfffffffe
	add	x8, x23, x8, lsl #2
	str	w0, [x8, #4]
	add	x28, x28, #16
	add	x26, x26, #2
	sub	x22, x22, #16
	cmp	x26, x20
	b.lt	LBB0_7
; %bb.8:
                                        ; kill: def $w26 killed $w26 killed $x26 def $x26
	ldr	x2, [sp, #80]                   ; 8-byte Folded Reload
	ldr	x19, [sp, #40]                  ; 8-byte Folded Reload
LBB0_9:
	cmp	w26, w2
	ldr	x23, [sp, #56]                  ; 8-byte Folded Reload
	b.ge	LBB0_12
; %bb.10:
	mov	w20, w26
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	add	x8, x19, x8, lsl #2
	sub	x22, x8, #8
	sub	x24, x24, #4
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	ldr	w9, [x28]
	add	w19, w9, w8
	ldur	w8, [x22, #-8]
	ldr	w9, [x28, #8]
	add	w21, w8, w9
	ldp	w9, w8, [x24, #-4]
	mneg	w8, w21, w8
	msub	w0, w9, w19, w8
	bl	_MULT_NORM
	str	w0, [x23, x20, lsl #2]
	ldp	w8, w9, [x24, #-4]
	mneg	w8, w21, w8
	madd	w0, w9, w19, w8
	bl	_MULT_NORM
	ldr	x2, [sp, #80]                   ; 8-byte Folded Reload
	and	x8, x20, #0xfffffffe
	add	x8, x23, x8, lsl #2
	str	w0, [x8, #4]
	add	x20, x20, #2
	sub	x22, x22, #16
	sub	x24, x24, #8
	add	x28, x28, #16
	cmp	x20, x2
	b.lt	LBB0_11
LBB0_12:
	mov	x0, x27
	mov	x1, x23
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_mdct_butterflies
	mov	x0, x27
	ldr	x19, [sp, #48]                  ; 8-byte Folded Reload
	mov	x1, x19
	bl	_mdct_bitreverse
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	cmp	w8, #4
	b.lt	LBB0_15
; %bb.13:
	ldr	x8, [x27, #8]
	ldr	x9, [sp, #88]                   ; 8-byte Folded Reload
	add	x20, x8, x9
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	cmp	w8, #1
	csinc	w22, w8, wzr, gt
	add	x8, x9, x25
	sub	x23, x8, #4
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldp	w8, w9, [x19]
	ldp	w10, w11, [x20]
	mul	w8, w10, w8
	madd	w8, w11, w9, w8
	ldr	w9, [x27, #16]
	mul	w0, w8, w9
	bl	_MULT_NORM
	str	w0, [x25], #4
	ldp	w8, w9, [x19], #8
	ldp	w11, w10, [x20], #8
	mul	w9, w11, w9
	neg	w9, w9
	madd	w8, w10, w8, w9
	ldr	w9, [x27, #16]
	mul	w0, w8, w9
	bl	_MULT_NORM
	str	w0, [x23], #-4
	subs	x22, x22, #1
	b.ne	LBB0_14
LBB0_15:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
