	.file	"extr_radeon_uvd.c_radeon_uvd_validate_codec.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"UVD codec not supported by hardware %d!\n"
	.text
	.p2align 4
	.type	radeon_uvd_validate_codec, @function
radeon_uvd_validate_codec:
.LFB0:
	.cfi_startproc
	endbr64
	xor	eax, eax
	cmp	esi, 1
	jbe	.L7
	lea	edx, -3[rsi]
	cmp	edx, 1
	ja	.L3
	mov	rdx, QWORD PTR [rdi]
	mov	ecx, DWORD PTR CHIP_PALM[rip]
	cmp	DWORD PTR [rdx], ecx
	jge	.L7
.L3:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	lea	rdi, .LC0[rip]
	call	DRM_ERROR@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	ret
	.cfi_endproc
.LFE0:
	.size	radeon_uvd_validate_codec, .-radeon_uvd_validate_codec
	.comm	EINVAL,4,4
	.comm	CHIP_PALM,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_radeon_uvd.c_radeon_uvd_validate_codec.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"UVD codec not supported by hardware %d!\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	radeon_uvd_validate_codec, %function
radeon_uvd_validate_codec:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #1
	bls	.L5
	sub	r3, r1, #3
	cmp	r3, #1
	bhi	.L3
	ldr	r2, [r0]
	ldr	r3, .L10
	ldr	r2, [r2]
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L5
.L3:
	push	{r4, lr}
	ldr	r0, .L10+4
	bl	DRM_ERROR
	ldr	r3, .L10+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L5:
	mov	r0, #0
	bx	lr
.L11:
	.align	2
.L10:
	.word	CHIP_PALM
	.word	.LC0
	.word	EINVAL
	.size	radeon_uvd_validate_codec, .-radeon_uvd_validate_codec
	.comm	EINVAL,4,4
	.comm	CHIP_PALM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
