	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function adpcm_ima_qt_expand_nibble
LCPI0_0:
	.long	8                               ## 0x8
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	4                               ## 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_adpcm_ima_qt_expand_nibble:            ## @adpcm_ima_qt_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	%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, %r15
	movq	_ff_adpcm_step_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rdi), %rdi
	movl	(%rax,%rdi,4), %ebx
	movq	_ff_adpcm_index_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%esi, %r12
	addl	(%rax,%r12,4), %edi
	xorl	%r14d, %r14d
                                        ## kill: def $edi killed $edi killed $rdi
	xorl	%esi, %esi
	movl	$88, %edx
	callq	_av_clip
	movl	%ebx, %edi
	sarl	$3, %edi
	movd	%r12d, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	pand	LCPI0_0(%rip), %xmm0
	movl	%ebx, %edx
	sarl	%edx
	movl	%ebx, %esi
	sarl	$2, %esi
	pxor	%xmm1, %xmm1
	pcmpeqd	%xmm0, %xmm1
	movmskps	%xmm1, %ecx
	testb	$8, %cl
	cmovnel	%r14d, %ebx
	addl	%edi, %ebx
	testb	$4, %cl
	cmovnel	%r14d, %edx
	addl	%ebx, %edx
	testb	$2, %cl
	cmovnel	%r14d, %esi
	movl	%eax, %r14d
	addl	%edx, %esi
	movl	%esi, %edi
	negl	%edi
	testb	$1, %cl
	cmovnel	%esi, %edi
	addl	8(%r15), %edi
	callq	_av_clip_int16
	movl	%eax, 8(%r15)
	movslq	%r14d, %rcx
	movq	%rcx, (%r15)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_adpcm_step_table,8,3        ## @ff_adpcm_step_table
	.comm	_ff_adpcm_index_table,8,3       ## @ff_adpcm_index_table
	.no_dead_strip	_adpcm_ima_qt_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_ima_qt_expand_nibble
_adpcm_ima_qt_expand_nibble:            ; @adpcm_ima_qt_expand_nibble
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _ff_adpcm_step_table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ff_adpcm_step_table@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x0]
	ldr	w22, [x8, x9, lsl #2]
Lloh3:
	adrp	x8, _ff_adpcm_index_table@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ff_adpcm_index_table@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	w8, [x8, w1, sxtw #2]
	add	w0, w8, w9
	mov	w1, #0
	mov	w2, #88
	bl	_av_clip
	mov	x21, x0
	lsl	w8, w19, #29
	and	w8, w22, w8, asr #31
	add	w8, w8, w22, asr #3
	sbfx	w9, w19, #1, #1
	and	w9, w9, w22, asr #1
	sbfx	w10, w19, #0, #1
	and	w10, w10, w22, asr #2
	add	w8, w8, w9
	add	w8, w8, w10
	ldr	w9, [x20, #8]
	tst	w19, #0x8
	cneg	w8, w8, ne
	add	w0, w9, w8
	bl	_av_clip_int16
	str	w0, [x20, #8]
	sxtw	x8, w21
	str	x8, [x20]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_adpcm_step_table,8,3        ; @ff_adpcm_step_table
	.comm	_ff_adpcm_index_table,8,3       ; @ff_adpcm_index_table
	.no_dead_strip	_adpcm_ima_qt_expand_nibble
.subsections_via_symbols
