	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_mdct_calcw_c                ## -- Begin function ff_mdct_calcw_c
	.p2align	4, 0x90
_ff_mdct_calcw_c:                       ## @ff_mdct_calcw_c
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movq	24(%rdi), %rsi
	movb	8(%rdi), %cl
	movl	$1, %ebx
	movl	$1, %r15d
	shll	%cl, %r15d
	cmpl	$7, %r15d
	jle	LBB0_6
## %bb.1:
	movq	(%rdi), %r9
	movq	40(%rdi), %r8
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	movq	32(%rdi), %rdx
	movl	%r15d, %eax
	sarl	$3, %eax
	movl	%r15d, %ecx
	shrl	$2, %ecx
	leal	(%rcx,%rcx,2), %r10d
	movl	%r15d, %edi
	shrl	%edi
	cltq
	cmpl	$2, %eax
	cmovgel	%eax, %ebx
	movq	%r9, -176(%rbp)                 ## 8-byte Spill
	leaq	(%r9,%rax,4), %rsi
	movq	%rsi, -168(%rbp)                ## 8-byte Spill
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	leaq	(%r8,%rax,4), %rsi
	movq	%rsi, -160(%rbp)                ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	(%rdx,%rax,4), %rax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	decl	%r15d
	leaq	-1(%rcx), %r14
	leaq	(%rcx,%rcx,2), %rax
	leaq	-4(,%rax,4), %rdx
	movq	-104(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%r10,4), %rsi
	movq	%rsi, -144(%rbp)                ## 8-byte Spill
	leaq	(%rax,%rcx,4), %rcx
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	leaq	(%rax,%rdi,4), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	decq	%rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	leaq	(,%rbx,4), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	-104(%rbp), %r12                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdx, -192(%rbp)                ## 8-byte Spill
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	movq	-144(%rbp), %rax                ## 8-byte Reload
	subl	(%rax,%rbx,2), %edi
	xorl	%esi, %esi
	subl	(%r12,%rdx), %esi
	callq	_RSCALE
	movq	%rax, %r13
	xorl	%edi, %edi
	movq	-136(%rbp), %rax                ## 8-byte Reload
	subl	(%rax,%rbx,2), %edi
	movl	(%r12,%r14,4), %esi
	callq	_RSCALE
	movq	-176(%rbp), %rcx                ## 8-byte Reload
	movslq	(%rcx,%rbx), %rcx
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14,%rcx,8), %esi
	movl	4(%r14,%rcx,8), %edi
	xorl	%r8d, %r8d
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	subl	(%rcx,%rbx), %r8d
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rbx), %r9d
	movq	%r13, %rdx
	movq	%rax, %rcx
	callq	_CMUL
	movl	(%r12,%rbx,2), %edi
	xorl	%esi, %esi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	subl	(%r12,%r13,4), %esi
	callq	_RSCALE
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	xorl	%edi, %edi
	movq	-128(%rbp), %rax                ## 8-byte Reload
	subl	(%rax,%rbx,2), %edi
	movslq	%r15d, %r15
	xorl	%esi, %esi
	subl	(%r12,%r15,4), %esi
	callq	_RSCALE
	movq	-168(%rbp), %rcx                ## 8-byte Reload
	movslq	(%rcx,%rbx), %rcx
	movl	(%r14,%rcx,8), %esi
	movl	4(%r14,%rcx,8), %edi
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	xorl	%r8d, %r8d
	movq	-160(%rbp), %rcx                ## 8-byte Reload
	subl	(%rcx,%rbx), %r8d
	movq	-152(%rbp), %rcx                ## 8-byte Reload
	movl	(%rcx,%rbx), %r9d
	movq	-184(%rbp), %rdx                ## 8-byte Reload
	movq	%rax, %rcx
	callq	_CMUL
	movq	-192(%rbp), %rdx                ## 8-byte Reload
	addq	$4, %rbx
	addl	$-2, %r15d
	addq	$-2, %r13
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	addq	$-2, %r14
	addq	$-8, %rdx
	cmpq	%rbx, -120(%rbp)                ## 8-byte Folded Reload
	jne	LBB0_2
## %bb.3:
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	*16(%rdi)
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rbx,%rdx,8), %r13
	addq	$4, %r13
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	-4(%rax), %rsi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	-4(%rax), %r12
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	negq	%rax
	xorl	%ebx, %ebx
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	-12(%rax,%rbx,8), %ecx
	xorl	%r8d, %r8d
	subl	(%rsi,%rdx,4), %r8d
	movl	-8(%rax,%rbx,8), %edx
	xorl	%r9d, %r9d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	subl	(%r12,%rax,4), %r9d
	callq	_CMULL
	movl	-4(%r13), %ecx
	xorl	%r8d, %r8d
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	subl	(%r15,%rax,4), %r8d
	movl	(%r13), %edx
	xorl	%r9d, %r9d
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	subl	(%r14,%rax,4), %r9d
	callq	_CMULL
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	addq	$4, %r15
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	addq	$4, %r14
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	addq	$8, %r13
	addq	$-4, %rsi
	addq	$-4, %r12
	decq	%rbx
	cmpq	%rbx, %rax
	jne	LBB0_4
## %bb.5:
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	16(%rdi), %rax
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_mdct_calcw_c                ; -- Begin function ff_mdct_calcw_c
	.p2align	2
_ff_mdct_calcw_c:                       ; @ff_mdct_calcw_c
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x28, x27, [sp, #144]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #160]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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
	ldr	x1, [x0, #24]
	ldr	w8, [x0, #8]
	mov	w9, #1
	lsl	w8, w9, w8
	cmp	w8, #7
	b.le	LBB0_6
; %bb.1:
	stur	xzr, [x29, #-88]                ; 8-byte Folded Spill
	mov	x28, #0
	asr	w9, w8, #3
	ldr	x15, [x0]
	lsr	w10, w8, #2
	lsr	w11, w8, #1
	sbfx	x12, x8, #3, #29
	str	x12, [sp, #24]                  ; 8-byte Folded Spill
	ldp	x13, x12, [x0, #32]
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	cmp	w9, #1
	csinc	w14, w9, wzr, gt
	sbfiz	x9, x9, #2, #32
	str	x15, [sp, #64]                  ; 8-byte Folded Spill
	add	x15, x15, x9
	stp	x13, x12, [sp, #80]             ; 16-byte Folded Spill
	add	x12, x12, x9
	stp	x12, x15, [sp, #48]             ; 16-byte Folded Spill
	add	x9, x13, x9
	str	x9, [sp, #40]                   ; 8-byte Folded Spill
	sub	w8, w8, #1
	stur	w8, [x29, #-92]                 ; 4-byte Folded Spill
	lsl	x8, x11, #2
	str	x1, [sp, #72]                   ; 8-byte Folded Spill
	mov	x20, x2
	stur	x8, [x29, #-104]                ; 8-byte Folded Spill
	sub	x8, x8, #4
	str	x8, [sp, #112]                  ; 8-byte Folded Spill
	lsl	x21, x10, #2
	sub	x24, x21, #4
	add	x8, x10, w10, uxtw #1
	lsl	x25, x8, #2
	sub	x27, x25, #4
	str	x14, [sp, #16]                  ; 8-byte Folded Spill
	lsl	x8, x14, #2
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
	ldr	x23, [sp, #72]                  ; 8-byte Folded Reload
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	str	x21, [sp, #104]                 ; 8-byte Folded Spill
	ldr	w8, [x20, x25]
	neg	w0, w8
	ldr	w8, [x20, x27]
	neg	w1, w8
	bl	_RSCALE
	mov	x22, x0
	ldr	w8, [x20, x21]
	neg	w0, w8
	ldr	w1, [x20, x24]
	bl	_RSCALE
	mov	x3, x0
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	ldrsw	x8, [x8, x28]
	add	x8, x23, x8, lsl #3
	ldp	w1, w0, [x8]
	ldr	x8, [sp, #88]                   ; 8-byte Folded Reload
	ldr	w8, [x8, x28]
	neg	w4, w8
	ldr	x8, [sp, #80]                   ; 8-byte Folded Reload
	ldr	w5, [x8, x28]
	mov	x2, x22
	bl	_CMUL
	ldur	x21, [x29, #-88]                ; 8-byte Folded Reload
	ldr	w0, [x20, x21]
	ldr	x26, [sp, #112]                 ; 8-byte Folded Reload
	ldr	w8, [x20, x26]
	neg	w1, w8
	bl	_RSCALE
	str	x0, [sp, #96]                   ; 8-byte Folded Spill
	ldur	x19, [x29, #-104]               ; 8-byte Folded Reload
	ldr	w8, [x20, x19]
	neg	w0, w8
	ldur	w22, [x29, #-92]                ; 4-byte Folded Reload
	ldr	w8, [x20, w22, sxtw #2]
	neg	w1, w8
	bl	_RSCALE
	mov	x3, x0
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	ldrsw	x8, [x8, x28]
	add	x8, x23, x8, lsl #3
	ldp	w1, w0, [x8]
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	ldr	w8, [x8, x28]
	neg	w4, w8
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	ldr	w5, [x8, x28]
	ldr	x2, [sp, #96]                   ; 8-byte Folded Reload
	bl	_CMUL
	add	x28, x28, #4
	add	x21, x21, #8
	stur	x21, [x29, #-88]                ; 8-byte Folded Spill
	ldr	x21, [sp, #104]                 ; 8-byte Folded Reload
	sub	w22, w22, #2
	stur	w22, [x29, #-92]                ; 4-byte Folded Spill
	sub	x26, x26, #8
	str	x26, [sp, #112]                 ; 8-byte Folded Spill
	sub	x24, x24, #8
	sub	x27, x27, #8
	add	x25, x25, #8
	add	x21, x21, #8
	add	x19, x19, #8
	stur	x19, [x29, #-104]               ; 8-byte Folded Spill
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	cmp	x8, x28
	b.ne	LBB0_2
; %bb.3:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x8, [x0, #16]
	ldr	x19, [sp, #72]                  ; 8-byte Folded Reload
	mov	x1, x19
	blr	x8
	ldp	x27, x24, [sp, #16]             ; 16-byte Folded Reload
	add	x8, x19, x24, lsl #3
	add	x19, x8, #4
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	sub	x20, x26, #4
	sub	x21, x25, #4
	sub	x22, x8, #4
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w3, w2, [x22, #-4]
	lsl	x23, x24, #2
	ldr	w8, [x20, x23]
	neg	w4, w8
	ldr	w8, [x21, x23]
	neg	w5, w8
	bl	_CMULL
	ldp	w3, w2, [x19, #-4]
	ldr	w8, [x26, x23]
	neg	w4, w8
	ldr	w8, [x25, x23]
	neg	w5, w8
	bl	_CMULL
	add	x26, x26, #4
	add	x25, x25, #4
	add	x19, x19, #8
	sub	x20, x20, #4
	sub	x21, x21, #4
	sub	x22, x22, #8
	sub	x27, x27, #1
	cbnz	x27, LBB0_4
; %bb.5:
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #160]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
LBB0_6:
	ldr	x2, [x0, #16]
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #160]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #240
	br	x2
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
