	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_dcaadpcm_subband_analysis   ## -- Begin function ff_dcaadpcm_subband_analysis
	.p2align	4, 0x90
_ff_dcaadpcm_subband_analysis:          ## @ff_dcaadpcm_subband_analysis
	.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
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	%edx, %r13d
	movq	%rsi, %r12
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_DCA_ADPCM_COEFFS@GOTPCREL(%rip), %r15
	movl	(%r15), %r14d
	leal	16(%r14), %ebx
	shlq	$2, %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rax
	movl	%r13d, %ecx
	movslq	%r13d, %r13
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	addl	%ecx, %r14d
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	jle	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%rbx,4), %edi
	callq	_FFABS
	orl	%eax, %r14d
	incq	%rbx
	movslq	(%r15), %rax
	addq	%r13, %rax
	cmpq	%rax, %rbx
	jl	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorl	%r14d, %r14d
LBB0_4:
	movl	%r14d, %edi
	callq	_av_log2
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	(%r15), %eax
	addl	-52(%rbp), %eax                 ## 4-byte Folded Reload
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	jle	LBB0_7
## %bb.5:
	addl	$-11, -56(%rbp)                 ## 4-byte Folded Spill
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%rbx,4), %edi
	movl	$7, %esi
	callq	_norm__
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx,%rbx,4)
	movl	(%r12,%rbx,4), %edi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	callq	_norm__
	movl	%eax, (%r14,%rbx,4)
	incq	%rbx
	movslq	(%r15), %rax
	addq	%r13, %rax
	cmpq	%rax, %rbx
	jl	LBB0_6
LBB0_7:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %edx
	callq	_find_best_filter
	movl	$-1, %r14d
	testl	%eax, %eax
	js	LBB0_21
## %bb.8:
	movl	%eax, %r15d
	movl	%eax, %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	movl	%r12d, %ecx
	callq	_calc_prediction_gain
	cmpl	$10, %eax
	jl	LBB0_21
## %bb.9:
	testl	%r12d, %r12d
	jle	LBB0_20
## %bb.10:
	movl	%r12d, %eax
	cmpl	$8, %r12d
	jae	LBB0_12
## %bb.11:
	xorl	%ecx, %ecx
	jmp	LBB0_19
LBB0_12:
	movl	%eax, %ecx
	andl	$-8, %ecx
	leaq	-8(%rcx), %rdx
	movq	%rdx, %rsi
	shrq	$3, %rsi
	incq	%rsi
	testq	%rdx, %rdx
	je	LBB0_13
## %bb.14:
	movq	%rsi, %rdi
	andq	$-2, %rdi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%rbx,%rdx,4), %xmm0
	movdqu	16(%rbx,%rdx,4), %xmm1
	movdqu	32(%rbx,%rdx,4), %xmm2
	movdqu	48(%rbx,%rdx,4), %xmm3
	pslld	$7, %xmm0
	pslld	$7, %xmm1
	movdqu	%xmm0, (%rbx,%rdx,4)
	movdqu	%xmm1, 16(%rbx,%rdx,4)
	pslld	$7, %xmm2
	pslld	$7, %xmm3
	movdqu	%xmm2, 32(%rbx,%rdx,4)
	movdqu	%xmm3, 48(%rbx,%rdx,4)
	addq	$16, %rdx
	addq	$-2, %rdi
	jne	LBB0_15
## %bb.16:
	testb	$1, %sil
	je	LBB0_18
LBB0_17:
	movdqu	(%rbx,%rdx,4), %xmm0
	movdqu	16(%rbx,%rdx,4), %xmm1
	pslld	$7, %xmm0
	pslld	$7, %xmm1
	movdqu	%xmm0, (%rbx,%rdx,4)
	movdqu	%xmm1, 16(%rbx,%rdx,4)
LBB0_18:
	cmpq	%rax, %rcx
	je	LBB0_20
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	shll	$7, (%rbx,%rcx,4)
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_19
LBB0_20:
	movl	%r15d, %r14d
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.22:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	xorl	%edx, %edx
	testb	$1, %sil
	jne	LBB0_17
	jmp	LBB0_18
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DCA_ADPCM_COEFFS,4,2           ## @DCA_ADPCM_COEFFS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_dcaadpcm_subband_analysis   ; -- Begin function ff_dcaadpcm_subband_analysis
	.p2align	2
_ff_dcaadpcm_subband_analysis:          ; @ff_dcaadpcm_subband_analysis
	.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
	sub	sp, sp, #16
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x26, _DCA_ADPCM_COEFFS@GOTPAGE
Lloh4:
	ldr	x26, [x26, _DCA_ADPCM_COEFFS@GOTPAGEOFF]
	ldr	w12, [x26]
	add	w8, w12, #16
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x13, x10, #0x7fffffff0
	sub	x23, x9, x13
	mov	sp, x23
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x24, x8, x13
	mov	sp, x24
	add	w8, w12, w2
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x27, #0
	mov	w25, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22, x27, lsl #2]
	bl	_FFABS
	orr	w25, w0, w25
	add	x27, x27, #1
	ldrsw	x8, [x26]
	add	x8, x8, w20, sxtw
	cmp	x27, x8
	b.lt	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w25, #0
LBB0_4:
	mov	x0, x25
	bl	_av_log2
	ldr	w8, [x26]
	add	w8, w8, w20
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x27, #0
	sub	w25, w0, #11
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x28, x27, #2
	ldr	w0, [x22, x28]
	mov	w1, #7
	bl	_norm__
	str	w0, [x23, x28]
	ldr	w0, [x22, x28]
	mov	x1, x25
	bl	_norm__
	str	w0, [x24, x28]
	add	x27, x27, #1
	ldrsw	x8, [x26]
	add	x8, x8, w20, sxtw
	cmp	x27, x8
	b.lt	LBB0_6
LBB0_7:
	mov	x0, x21
	mov	x1, x24
	mov	x2, x20
	bl	_find_best_filter
	tbnz	w0, #31, LBB0_9
; %bb.8:
	mov	x21, x0
	mov	x1, x23
	mov	x2, x19
	mov	x3, x20
	bl	_calc_prediction_gain
	cmp	w0, #10
	b.ge	LBB0_12
LBB0_9:
	mov	w21, #-1
LBB0_10:
	ldur	x8, [x29, #-88]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.11:
	mov	x0, x21
	sub	sp, x29, #80
	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
LBB0_12:
	cmp	w20, #1
	b.lt	LBB0_10
; %bb.13:
	mov	w8, w20
	cmp	w20, #16
	b.hs	LBB0_15
; %bb.14:
	mov	x9, #0
	b	LBB0_18
LBB0_15:
	and	x9, x8, #0xfffffff0
	add	x10, x19, #32
	mov	x11, x9
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x10, #-32]
	ldp	q2, q3, [x10]
	shl.4s	v0, v0, #7
	shl.4s	v1, v1, #7
	shl.4s	v2, v2, #7
	shl.4s	v3, v3, #7
	stp	q0, q1, [x10, #-32]
	stp	q2, q3, [x10], #64
	subs	x11, x11, #16
	b.ne	LBB0_16
; %bb.17:
	cmp	x9, x8
	b.eq	LBB0_10
LBB0_18:
	add	x10, x19, x9, lsl #2
	sub	x8, x8, x9
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x10]
	lsl	w9, w9, #7
	str	w9, [x10], #4
	subs	x8, x8, #1
	b.ne	LBB0_19
	b	LBB0_10
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_DCA_ADPCM_COEFFS,4,2           ; @DCA_ADPCM_COEFFS
.subsections_via_symbols
