	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adpcm_ct_expand_nibble
_adpcm_ct_expand_nibble:                ## @adpcm_ct_expand_nibble
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	%esi, %r14d
	andl	$7, %r14d
	leal	(%r14,%r14), %eax
	incl	%eax
	imull	(%rdi), %eax
	sarl	$3, %eax
	movl	4(%rdi), %ecx
	movl	%ecx, %edx
	shll	$8, %edx
	subl	%ecx, %edx
	subl	%ecx, %edx
	sarl	$8, %edx
	movl	%eax, %edi
	negl	%edi
	testb	$8, %sil
	cmovel	%eax, %edi
	addl	%edx, %edi
	movl	%edi, 4(%rbx)
	callq	_av_clip_int16
	movl	%eax, 4(%rbx)
	movq	_ff_adpcm_AdaptationTable@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rbx), %edi
	imull	(%rax,%r14,4), %edi
	sarl	$8, %edi
	movl	$511, %esi                      ## imm = 0x1FF
	movl	$32767, %edx                    ## imm = 0x7FFF
	callq	_av_clip
	movl	%eax, (%rbx)
	movl	4(%rbx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_adpcm_AdaptationTable,8,3   ## @ff_adpcm_AdaptationTable
	.no_dead_strip	_adpcm_ct_expand_nibble
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adpcm_ct_expand_nibble
_adpcm_ct_expand_nibble:                ; @adpcm_ct_expand_nibble
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	and	w20, w1, #0x7
	mov	w8, #1
	bfi	w8, w20, #1, #3
	ldp	w9, w10, [x0]
	mul	w8, w9, w8
	asr	w8, w8, #3
	mov	w9, #254
	mul	w9, w10, w9
	tst	w1, #0x8
	cneg	w8, w8, ne
	add	w0, w8, w9, asr #8
	str	w0, [x19, #4]
	bl	_av_clip_int16
	str	w0, [x19, #4]
Lloh0:
	adrp	x8, _ff_adpcm_AdaptationTable@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ff_adpcm_AdaptationTable@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8, w20, uxtw #2]
	ldr	w9, [x19]
	mul	w8, w9, w8
	asr	w0, w8, #8
	mov	w1, #511
	mov	w2, #32767
	bl	_av_clip
	str	w0, [x19]
	ldr	w0, [x19, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_adpcm_AdaptationTable,8,3   ; @ff_adpcm_AdaptationTable
	.no_dead_strip	_adpcm_ct_expand_nibble
.subsections_via_symbols
