	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function chs_assemble_freq_bands
_chs_assemble_freq_bands:               ## @chs_assemble_freq_bands
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	movslq	(%rdi), %rbx
	xorl	%edi, %edi
	cmpl	$2, (%rsi)
	setge	%dil
	callq	_av_assert1
	movq	32(%r12), %rdi
	movq	40(%r12), %rsi
	addq	$16, %rdi
	addq	$8, %rsi
	movl	4(%r12), %edx
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	imull	%ebx, %edx
	shll	$3, %edx
	callq	_av_fast_malloc
	movq	32(%r12), %rax
	movq	16(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	cmpl	$0, 4(%r12)
	jle	LBB0_4
## %bb.2:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	%rax, %rax
	shlq	$2, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rax
	movq	24(%r12), %rcx
	movq	(%rcx), %rdx
	movq	8(%rcx), %rcx
	movq	(%rdx,%r14,8), %r13
	movq	(%rcx,%r14,8), %r12
	movq	_DCA_XLL_DECI_HISTORY_MAX@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	shlq	$2, %rcx
	movq	%r13, %rdi
	subq	%rcx, %rdi
	movl	(%rax,%r14,4), %esi
	movl	$4, %edx
	callq	_memcpy
	movq	16(%r15), %rax
	movq	_ff_dca_xll_band_coeff@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	movq	-64(%rbp), %r12                 ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	*(%rax)
	movq	8(%r15), %rax
	movq	8(%r12), %rcx
	movq	(%rcx,%r14,8), %rcx
	movq	%rbx, (%rax,%rcx,8)
	incq	%r14
	movslq	4(%r12), %rax
	addq	-56(%rbp), %rbx                 ## 8-byte Folded Reload
	cmpq	%rax, %r14
	jl	LBB0_3
LBB0_4:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_DCA_XLL_DECI_HISTORY_MAX,4,2   ## @DCA_XLL_DECI_HISTORY_MAX
	.comm	_ff_dca_xll_band_coeff,4,2      ## @ff_dca_xll_band_coeff
	.no_dead_strip	_chs_assemble_freq_bands
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chs_assemble_freq_bands
_chs_assemble_freq_bands:               ; @chs_assemble_freq_bands
	.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
	mov	x19, x1
	mov	x20, x0
	ldrsw	x21, [x0]
	ldr	w8, [x1]
	cmp	w8, #1
	cset	w0, gt
	bl	_av_assert1
	ldp	x8, x9, [x19, #32]
	add	x0, x8, #16
	add	x1, x9, #8
	ldr	w8, [x19, #4]
	mul	w8, w21, w8
	lsl	w2, w8, #3
	bl	_av_fast_malloc
	ldr	x8, [x19, #32]
	ldr	x22, [x8, #16]
	cbz	x22, LBB0_5
; %bb.1:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x25, #0
	lsl	x8, x21, #1
	lsl	x26, x8, #2
Lloh0:
	adrp	x28, _ff_dca_xll_band_coeff@GOTPAGE
Lloh1:
	ldr	x28, [x28, _ff_dca_xll_band_coeff@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x27, x25, #3
	ldp	x9, x8, [x19, #16]
	ldp	x10, x8, [x8]
	ldr	x23, [x10, x27]
	ldr	x24, [x8, x27]
Lloh2:
	adrp	x8, _DCA_XLL_DECI_HISTORY_MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DCA_XLL_DECI_HISTORY_MAX@GOTPAGEOFF]
Lloh4:
	ldrsw	x8, [x8]
	sub	x0, x23, x8, lsl #2
	ldr	w1, [x9, x25, lsl #2]
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x20, #16]
	ldr	x8, [x8]
	ldr	w3, [x28]
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	mov	x4, x21
	blr	x8
	ldr	x8, [x20, #8]
	ldr	x9, [x19, #8]
	ldr	x9, [x9, x27]
	str	x22, [x8, x9, lsl #3]
	add	x25, x25, #1
	ldrsw	x8, [x19, #4]
	add	x22, x22, x26
	cmp	x25, x8
	b.lt	LBB0_3
LBB0_4:
	mov	w0, #0
	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_5:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	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
	b	_AVERROR
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_DCA_XLL_DECI_HISTORY_MAX,4,2   ; @DCA_XLL_DECI_HISTORY_MAX
	.comm	_ff_dca_xll_band_coeff,4,2      ; @ff_dca_xll_band_coeff
	.no_dead_strip	_chs_assemble_freq_bands
.subsections_via_symbols
