	.file	"extr_dce_v11_0.c_dce_v11_0_pick_dig_encoder.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"invalid encoder_id: 0x%x\n"
	.text
	.p2align 4
	.type	dce_v11_0_pick_dig_encoder, @function
dce_v11_0_pick_dig_encoder:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	call	to_amdgpu_encoder@PLT
	mov	esi, DWORD PTR [rax]
	mov	rdx, QWORD PTR 8[rax]
	cmp	esi, 130
	je	.L2
	jg	.L3
	mov	eax, 6
	cmp	esi, 128
	je	.L1
	cmp	esi, 129
	jne	.L6
	mov	edx, DWORD PTR [rdx]
	xor	eax, eax
	test	edx, edx
	setne	al
	add	eax, 4
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	cmp	esi, 131
	jne	.L6
	mov	esi, DWORD PTR [rdx]
	xor	eax, eax
	test	esi, esi
	setne	al
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	ecx, DWORD PTR [rdx]
	xor	eax, eax
	test	ecx, ecx
	setne	al
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	add	eax, 2
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	DRM_ERROR@PLT
	xor	eax, eax
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	dce_v11_0_pick_dig_encoder, .-dce_v11_0_pick_dig_encoder
	.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_dce_v11_0.c_dce_v11_0_pick_dig_encoder.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"invalid encoder_id: 0x%x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dce_v11_0_pick_dig_encoder, %function
dce_v11_0_pick_dig_encoder:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	bl	to_amdgpu_encoder
	ldm	r0, {r1, r2}
	sub	r3, r1, #128
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L8
	.word	.L6
	.word	.L5
	.word	.L3
.L8:
	mov	r0, #6
	pop	{r4, pc}
.L3:
	ldr	r0, [r2]
	subs	r0, r0, #0
	movne	r0, #1
	pop	{r4, pc}
.L6:
	ldr	r3, [r2]
	cmp	r3, #0
	movne	r0, #5
	moveq	r0, #4
	pop	{r4, pc}
.L5:
	ldr	r3, [r2]
	cmp	r3, #0
	movne	r0, #3
	moveq	r0, #2
	pop	{r4, pc}
.L2:
	ldr	r0, .L13
	bl	DRM_ERROR
	mov	r0, #0
	pop	{r4, pc}
.L14:
	.align	2
.L13:
	.word	.LC0
	.size	dce_v11_0_pick_dig_encoder, .-dce_v11_0_pick_dig_encoder
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
