	.file	"extr_dca_core.c_parse_scale.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Invalid scale factor index\n"
	.text
	.p2align 4
	.type	parse_scale, @function
parse_scale:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	lea	r15, 4[rdi]
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	cmp	edx, 5
	jle	.L2
	mov	r14, QWORD PTR ff_dca_scale_factor_quant7[rip]
	mov	rdi, r14
	call	FF_ARRAY_ELEMS@PLT
	mov	r13d, eax
.L3:
	lea	esi, 1[r12]
	mov	rdi, r15
	call	get_bits@PLT
	mov	edx, eax
	mov	DWORD PTR [rbx], eax
	cmp	edx, r13d
	jnb	.L12
.L5:
	cdqe
	mov	eax, DWORD PTR [r14+rax*4]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	r14, QWORD PTR ff_dca_scale_factor_quant6[rip]
	mov	rdi, r14
	call	FF_ARRAY_ELEMS@PLT
	mov	r13d, eax
	cmp	r12d, 5
	je	.L3
	mov	edx, r12d
	lea	rsi, ff_dca_vlc_scale_factor[rip]
	mov	rdi, r15
	call	dca_get_vlc@PLT
	mov	edx, DWORD PTR [rbx]
	add	edx, eax
	mov	DWORD PTR [rbx], edx
	mov	eax, edx
	cmp	edx, r13d
	jb	.L5
.L12:
	mov	edi, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR AV_LOG_ERROR[rip]
	lea	rdx, .LC0[rip]
	call	av_log@PLT
	mov	eax, DWORD PTR AVERROR_INVALIDDATA[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	parse_scale, .-parse_scale
	.comm	ff_dca_vlc_scale_factor,4,4
	.comm	ff_dca_scale_factor_quant7,8,8
	.comm	ff_dca_scale_factor_quant6,8,8
	.comm	AV_LOG_ERROR,4,4
	.comm	AVERROR_INVALIDDATA,4,4
	.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_dca_core.c_parse_scale.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Invalid scale factor index\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_scale, %function
parse_scale:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r2, #5
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r2
	mov	r7, r0
	mov	r6, r1
	add	r5, r0, #4
	ble	.L2
	ldr	r3, .L13
	ldr	r8, [r3]
	mov	r0, r8
	bl	FF_ARRAY_ELEMS
	mov	r9, r0
.L3:
	mov	r0, r5
	add	r1, r4, #1
	bl	get_bits
	mov	r3, r0
	cmp	r3, r9
	str	r0, [r6]
	bcs	.L12
.L5:
	ldr	r0, [r8, r3, lsl #2]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	ldr	r3, .L13+4
	ldr	r8, [r3]
	mov	r0, r8
	bl	FF_ARRAY_ELEMS
	cmp	r4, #5
	mov	r9, r0
	beq	.L3
	mov	r2, r4
	mov	r0, r5
	ldr	r1, .L13+8
	bl	dca_get_vlc
	ldr	r3, [r6]
	add	r3, r0, r3
	cmp	r3, r9
	str	r3, [r6]
	bcc	.L5
.L12:
	ldr	r3, .L13+12
	ldr	r0, [r7]
	ldr	r1, [r3]
	ldr	r2, .L13+16
	bl	av_log
	ldr	r3, .L13+20
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L14:
	.align	2
.L13:
	.word	ff_dca_scale_factor_quant7
	.word	ff_dca_scale_factor_quant6
	.word	ff_dca_vlc_scale_factor
	.word	AV_LOG_ERROR
	.word	.LC0
	.word	AVERROR_INVALIDDATA
	.size	parse_scale, .-parse_scale
	.comm	ff_dca_vlc_scale_factor,4,4
	.comm	ff_dca_scale_factor_quant7,4,4
	.comm	ff_dca_scale_factor_quant6,4,4
	.comm	AV_LOG_ERROR,4,4
	.comm	AVERROR_INVALIDDATA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
