	.file	"extr_adpcm.c_adpcm_ima_qt_expand_nibble.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	adpcm_ima_qt_expand_nibble, @function
adpcm_ima_qt_expand_nibble:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	movsx	rdx, esi
	xor	esi, esi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rdi, QWORD PTR [rdi]
	mov	rax, QWORD PTR ff_adpcm_step_table[rip]
	mov	ebx, DWORD PTR [rax+rdi*4]
	mov	rax, QWORD PTR ff_adpcm_index_table[rip]
	add	edi, DWORD PTR [rax+rdx*4]
	mov	edx, 88
	call	av_clip@PLT
	mov	edi, DWORD PTR 8[r13]
	movsx	rbp, eax
	mov	eax, ebx
	sar	eax, 3
	test	r12b, 4
	lea	edx, [rax+rbx]
	cmovne	eax, edx
	mov	edx, ebx
	sar	edx
	add	edx, eax
	test	r12b, 2
	cmovne	eax, edx
	sar	ebx, 2
	mov	edx, edi
	add	ebx, eax
	test	r12b, 1
	cmovne	eax, ebx
	sub	edx, eax
	add	eax, edi
	and	r12d, 8
	mov	edi, edx
	cmove	edi, eax
	call	av_clip_int16@PLT
	mov	QWORD PTR 0[r13], rbp
	mov	DWORD PTR 8[r13], eax
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	adpcm_ima_qt_expand_nibble, .-adpcm_ima_qt_expand_nibble
	.comm	ff_adpcm_step_table,8,8
	.comm	ff_adpcm_index_table,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_adpcm.c_adpcm_ima_qt_expand_nibble.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	adpcm_ima_qt_expand_nibble, %function
adpcm_ima_qt_expand_nibble:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	ldr	r3, .L18
	ldr	r2, .L18+4
	ldr	r1, [r3]
	mov	r5, r0
	ldr	r3, [r0]
	ldr	r0, [r1, r4, lsl #2]
	ldr	ip, [r2]
	mov	r1, #0
	mov	r2, #88
	add	r0, r3, r0
	ldr	r7, [ip, r3, lsl #2]
	bl	av_clip
	asr	r3, r7, #3
	tst	r4, #4
	addne	r3, r3, r7
	tst	r4, #2
	addne	r3, r3, r7, asr #1
	mov	r6, r0
	tst	r4, #1
	ldr	r0, [r5, #4]
	addne	r3, r3, r7, asr #2
	tst	r4, #8
	subne	r0, r0, r3
	addeq	r0, r3, r0
	bl	av_clip_int16
	str	r6, [r5]
	str	r0, [r5, #4]
	pop	{r4, r5, r6, r7, r8, pc}
.L19:
	.align	2
.L18:
	.word	ff_adpcm_index_table
	.word	ff_adpcm_step_table
	.size	adpcm_ima_qt_expand_nibble, .-adpcm_ima_qt_expand_nibble
	.comm	ff_adpcm_step_table,4,4
	.comm	ff_adpcm_index_table,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
