	.file	"extr_qdm2.c_qdm2_get_vlc.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"value %d in qdm2_get_vlc too large\n"
	.text
	.p2align 4
	.type	qdm2_get_vlc, @function
qdm2_get_vlc:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, edx
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	r8d, DWORD PTR 4[rsi]
	mov	edx, DWORD PTR [rsi]
	mov	esi, r8d
	call	get_vlc2@PLT
	test	eax, eax
	je	.L2
	sub	eax, 1
.L3:
	test	ebx, ebx
	je	.L1
	cmp	eax, 59
	jg	.L12
	mov	rcx, QWORD PTR vlc_stage3_values[rip]
	movsx	rdx, eax
	mov	ebx, DWORD PTR [rcx+rdx*4]
	test	eax, -4
	jg	.L13
	mov	eax, ebx
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, rbp
	mov	esi, 3
	call	get_bits@PLT
	mov	rdi, rbp
	lea	esi, 1[rax]
	call	get_bits@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L12:
	mov	esi, DWORD PTR AV_LOG_ERROR[rip]
	mov	ecx, eax
	lea	rdx, .LC0[rip]
	xor	edi, edi
	call	av_log@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	sar	eax, 2
	mov	rdi, rbp
	mov	esi, eax
	call	get_bits@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	add	eax, ebx
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	qdm2_get_vlc, .-qdm2_get_vlc
	.comm	vlc_stage3_values,8,8
	.comm	AV_LOG_ERROR,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_qdm2.c_qdm2_get_vlc.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"value %d in qdm2_get_vlc too large\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qdm2_get_vlc, %function
qdm2_get_vlc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r2
	ldr	r2, [r1]
	ldr	r1, [r1, #4]
	mov	r5, r0
	bl	get_vlc2
	cmp	r0, #0
	subne	r0, r0, #1
	beq	.L12
	cmp	r4, #0
	popeq	{r4, r5, r6, pc}
.L15:
	cmp	r0, #59
	bgt	.L13
	ldr	r2, .L16
	bic	r3, r0, #3
	ldr	r2, [r2]
	cmp	r3, #0
	ldr	r4, [r2, r0, lsl #2]
	bgt	.L14
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L12:
	mov	r1, #3
	mov	r0, r5
	bl	get_bits
	mov	r1, r0
	mov	r0, r5
	add	r1, r1, #1
	bl	get_bits
	cmp	r4, #0
	popeq	{r4, r5, r6, pc}
	b	.L15
.L13:
	ldr	r2, .L16+4
	mov	r3, r0
	ldr	r1, [r2]
	mov	r0, #0
	ldr	r2, .L16+8
	bl	av_log
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L14:
	asr	r1, r0, #2
	mov	r0, r5
	bl	get_bits
	add	r0, r4, r0
	pop	{r4, r5, r6, pc}
.L17:
	.align	2
.L16:
	.word	vlc_stage3_values
	.word	AV_LOG_ERROR
	.word	.LC0
	.size	qdm2_get_vlc, .-qdm2_get_vlc
	.comm	vlc_stage3_values,4,4
	.comm	AV_LOG_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
