	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function quantize_adpcm_subband
_quantize_adpcm_subband:                ## @quantize_adpcm_subband
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movslq	%esi, %r15
	movq	(%rdi), %rax
	movq	48(%rdi), %rsi
	movq	(%rax,%r15,8), %rax
	movslq	%edx, %r12
	movq	(%rax,%r12,8), %r14
	movq	64(%rdi), %rax
	movq	(%rax,%r15,8), %rax
	leaq	(,%r12,4), %rcx
	movl	(%rax,%r12,4), %edx
	addq	(%rsi,%r15,8), %rcx
	movq	%r14, %rsi
	callq	_calc_one_scale
	movq	8(%rbx), %rcx
	movq	(%rcx,%r15,8), %rcx
	movq	%rax, (%rcx,%r12,8)
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	callq	_get_step_size
	movq	56(%rbx), %rcx
	movq	(%rcx,%r15,8), %rcx
	movl	(%rcx,%r12,4), %edi
	movq	48(%rbx), %rcx
	movq	(%rcx,%r15,8), %rcx
	movl	(%rcx,%r12,4), %esi
	movq	_ff_dca_scale_factor_quant7@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	8(%rbx), %rdx
	movq	16(%rbx), %r10
	movq	(%rdx,%r15,8), %rdx
	movq	(%rdx,%r12,8), %rdx
	movl	(%rcx,%rdx,4), %edx
	movq	32(%rbx), %rcx
	movq	(%rcx,%r15,8), %rcx
	movq	(%rcx,%r12,8), %r8
	movq	40(%rbx), %rcx
	movq	(%rcx,%r15,8), %rcx
	movl	(%rcx,%r12,4), %r9d
	leaq	4(%r8), %r11
	movq	24(%rbx), %rcx
	movq	(%rcx,%r15,8), %rcx
	movl	(%rcx,%r12,4), %r15d
	movq	_SUBBAND_SAMPLES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	shlq	$2, %r14
	negq	%r14
	movl	(%r10,%r14), %ebx
	movq	%rax, %rcx
	pushq	%rbx
	pushq	%r12
	pushq	%r15
	pushq	%r11
	callq	_ff_dcaadpcm_do_real
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_dca_scale_factor_quant7,8,3 ## @ff_dca_scale_factor_quant7
	.comm	_SUBBAND_SAMPLES,4,2            ## @SUBBAND_SAMPLES
	.no_dead_strip	_quantize_adpcm_subband
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function quantize_adpcm_subband
_quantize_adpcm_subband:                ; @quantize_adpcm_subband
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x0]
	sbfiz	x23, x21, #3, #32
	ldr	x8, [x8, x23]
	sbfiz	x24, x20, #3, #32
	ldr	x22, [x8, x24]
	ldr	x8, [x0, #64]
	ldr	x8, [x8, x23]
	sbfiz	x25, x20, #2, #32
	ldr	w2, [x8, x25]
	ldr	x8, [x0, #48]
	ldr	x8, [x8, x23]
	add	x3, x8, x25
	mov	x1, x22
	bl	_calc_one_scale
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x23]
	str	x0, [x8, x24]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_get_step_size
	mov	x3, x0
	ldr	x8, [x19, #56]
	ldr	x8, [x8, x23]
	ldr	w0, [x8, x25]
	ldp	x9, x8, [x19, #40]
	ldr	x8, [x8, x23]
	ldr	w1, [x8, x25]
Lloh0:
	adrp	x8, _ff_dca_scale_factor_quant7@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ff_dca_scale_factor_quant7@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldp	x10, x11, [x19, #8]
	ldr	x10, [x10, x23]
	ldr	x10, [x10, x24]
	ldr	w2, [x8, x10, lsl #2]
	ldp	x10, x8, [x19, #24]
	ldr	x8, [x8, x23]
	ldr	x4, [x8, x24]
	ldr	x8, [x9, x23]
	ldr	w5, [x8, x25]
	ldr	x8, [x10, x23]
	ldr	w7, [x8, x25]
	add	x6, x4, #4
Lloh3:
	adrp	x8, _SUBBAND_SAMPLES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SUBBAND_SAMPLES@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	sub	x9, x11, x22, lsl #2
	ldr	w9, [x9]
	stp	w8, w9, [sp]
	bl	_ff_dcaadpcm_do_real
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_dca_scale_factor_quant7,8,3 ; @ff_dca_scale_factor_quant7
	.comm	_SUBBAND_SAMPLES,4,2            ; @SUBBAND_SAMPLES
	.no_dead_strip	_quantize_adpcm_subband
.subsections_via_symbols
