	.file	"extr_atombios_encoders.c_amdgpu_atombios_encoder_set_crtc_source.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Unknown table version: %d, %d\n"
	.text
	.p2align 4
	.globl	amdgpu_atombios_encoder_set_crtc_source
	.type	amdgpu_atombios_encoder_set_crtc_source, @function
amdgpu_atombios_encoder_set_crtc_source:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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
	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
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 8[rdi]
	lea	r15, 16[rsp]
	mov	r14, QWORD PTR [rax]
	call	to_amdgpu_encoder@PLT
	mov	edi, DWORD PTR 0[rbp]
	mov	rbx, rax
	call	to_amdgpu_crtc@PLT
	mov	esi, DWORD PTR SelectCRTC_Source[rip]
	mov	edi, DWORD PTR COMMAND[rip]
	mov	r13, rax
	call	GetIndexIntoMasterTable@PLT
	xor	esi, esi
	mov	edx, 24
	mov	rdi, r15
	mov	r12d, eax
	call	memset@PLT
	mov	edi, DWORD PTR [r14]
	lea	rcx, 12[rsp]
	mov	esi, r12d
	lea	rdx, 8[rsp]
	call	amdgpu_atom_parse_cmd_header@PLT
	test	eax, eax
	je	.L1
	mov	esi, DWORD PTR 8[rsp]
	mov	edx, DWORD PTR 12[rsp]
	cmp	esi, 1
	jne	.L3
	mov	eax, DWORD PTR 0[r13]
	cmp	edx, 2
	je	.L4
	cmp	edx, 3
	je	.L5
	mov	DWORD PTR 24[rsp], eax
	mov	eax, DWORD PTR 16[rbx]
	sub	eax, 132
	cmp	eax, 11
	ja	.L13
	lea	rdx, .L8[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L8:
	.long	.L11-.L8
	.long	.L12-.L8
	.long	.L12-.L8
	.long	.L11-.L8
	.long	.L13-.L8
	.long	.L10-.L8
	.long	.L9-.L8
	.long	.L7-.L8
	.long	.L10-.L8
	.long	.L10-.L8
	.long	.L9-.L8
	.long	.L7-.L8
	.text
	.p2align 4,,10
	.p2align 3
.L9:
	mov	eax, DWORD PTR 4[rbx]
	test	DWORD PTR ATOM_DEVICE_TV_SUPPORT[rip], eax
	jne	.L17
	test	DWORD PTR ATOM_DEVICE_CV_SUPPORT[rip], eax
	jne	.L18
	mov	rax, QWORD PTR ATOM_DEVICE_CRT2_INDEX[rip]
	mov	QWORD PTR 16[rsp], rax
	.p2align 4,,10
	.p2align 3
.L13:
	mov	edi, DWORD PTR [r14]
	mov	rdx, r15
	mov	esi, r12d
	call	amdgpu_atom_execute_table@PLT
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L68
	add	rsp, 56
	.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
.L3:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	DRM_ERROR@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, rbp
	mov	DWORD PTR 28[rsp], eax
	call	amdgpu_encoder_get_dp_bridge_encoder_id@PLT
	cmp	eax, DWORD PTR ENCODER_OBJECT_ID_NONE[rip]
	je	.L39
	mov	rdi, rbp
	call	amdgpu_get_connector_for_encoder@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, DWORD PTR DRM_MODE_CONNECTOR_LVDS[rip]
	je	.L66
	cmp	eax, DWORD PTR DRM_MODE_CONNECTOR_VGA[rip]
	jne	.L43
	mov	rax, QWORD PTR ATOM_ENCODER_MODE_CRT[rip]
	mov	QWORD PTR 16[rsp], rax
	jmp	.L41
	.p2align 4,,10
	.p2align 3
.L39:
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR ATOM_DEVICE_LCD_SUPPORT[rip], eax
	je	.L43
.L66:
	mov	rax, QWORD PTR ATOM_ENCODER_MODE_LVDS[rip]
	mov	QWORD PTR 16[rsp], rax
.L41:
	mov	rdi, rbp
	call	amdgpu_atombios_encoder_get_bpc@PLT
	mov	DWORD PTR 24[rsp], eax
	mov	eax, DWORD PTR 16[rbx]
	add	eax, -128
	cmp	eax, 11
	ja	.L13
	lea	rdx, .L45[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L45:
	.long	.L48-.L45
	.long	.L48-.L45
	.long	.L48-.L45
	.long	.L48-.L45
	.long	.L13-.L45
	.long	.L13-.L45
	.long	.L13-.L45
	.long	.L13-.L45
	.long	.L48-.L45
	.long	.L47-.L45
	.long	.L46-.L45
	.long	.L44-.L45
	.text
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, rbp
	mov	DWORD PTR 32[rsp], eax
	call	amdgpu_encoder_get_dp_bridge_encoder_id@PLT
	cmp	eax, DWORD PTR ENCODER_OBJECT_ID_NONE[rip]
	je	.L19
	mov	rdi, rbp
	call	amdgpu_get_connector_for_encoder@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, DWORD PTR DRM_MODE_CONNECTOR_LVDS[rip]
	je	.L65
	cmp	eax, DWORD PTR DRM_MODE_CONNECTOR_VGA[rip]
	jne	.L23
	mov	rax, QWORD PTR ATOM_ENCODER_MODE_CRT[rip]
	mov	QWORD PTR 16[rsp], rax
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L19:
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR ATOM_DEVICE_LCD_SUPPORT[rip], eax
	je	.L23
.L65:
	mov	rax, QWORD PTR ATOM_ENCODER_MODE_LVDS[rip]
	mov	QWORD PTR 16[rsp], rax
.L21:
	mov	eax, DWORD PTR 16[rbx]
	add	eax, -128
	cmp	eax, 11
	ja	.L13
	lea	rdx, .L25[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L25:
	.long	.L28-.L25
	.long	.L28-.L25
	.long	.L28-.L25
	.long	.L28-.L25
	.long	.L13-.L25
	.long	.L13-.L25
	.long	.L13-.L25
	.long	.L13-.L25
	.long	.L28-.L25
	.long	.L27-.L25
	.long	.L26-.L25
	.long	.L24-.L25
	.text
	.p2align 4,,10
	.p2align 3
.L28:
	mov	rax, QWORD PTR 8[rbx]
	cmp	DWORD PTR [rax], 6
	ja	.L13
	mov	eax, DWORD PTR [rax]
	lea	rdx, .L30[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L30:
	.long	.L36-.L30
	.long	.L35-.L30
	.long	.L34-.L30
	.long	.L33-.L30
	.long	.L32-.L30
	.long	.L31-.L30
	.long	.L29-.L30
	.text
	.p2align 4,,10
	.p2align 3
.L48:
	mov	rax, QWORD PTR 8[rbx]
	cmp	DWORD PTR [rax], 6
	ja	.L13
	mov	eax, DWORD PTR [rax]
	lea	rdx, .L50[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L50:
	.long	.L56-.L50
	.long	.L55-.L50
	.long	.L54-.L50
	.long	.L53-.L50
	.long	.L52-.L50
	.long	.L51-.L50
	.long	.L49-.L50
	.text
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rax, QWORD PTR ATOM_DEVICE_DFP2_INDEX[rip]
	mov	QWORD PTR 16[rsp], rax
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L43:
	mov	rdi, rbp
	call	amdgpu_atombios_encoder_get_encoder_mode@PLT
	mov	QWORD PTR 16[rsp], rax
	jmp	.L41
	.p2align 4,,10
	.p2align 3
.L23:
	mov	rdi, rbp
	call	amdgpu_atombios_encoder_get_encoder_mode@PLT
	mov	QWORD PTR 16[rsp], rax
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L7:
	mov	eax, DWORD PTR 4[rbx]
	test	DWORD PTR ATOM_DEVICE_TV_SUPPORT[rip], eax
	jne	.L17
	test	DWORD PTR ATOM_DEVICE_CV_SUPPORT[rip], eax
	jne	.L18
	mov	rax, QWORD PTR ATOM_DEVICE_CRT1_INDEX[rip]
	mov	QWORD PTR 16[rsp], rax
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L12:
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR ATOM_DEVICE_LCD1_SUPPORT[rip], eax
	je	.L14
	mov	rax, QWORD PTR ATOM_DEVICE_LCD1_INDEX[rip]
	mov	QWORD PTR 16[rsp], rax
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rax, QWORD PTR ATOM_DEVICE_DFP1_INDEX[rip]
	mov	QWORD PTR 16[rsp], rax
	jmp	.L13
.L44:
	mov	eax, DWORD PTR ATOM_DEVICE_TV_SUPPORT[rip]
	or	eax, DWORD PTR ATOM_DEVICE_CV_SUPPORT[rip]
	test	DWORD PTR 4[rbx], eax
	jne	.L58
	mov	rax, QWORD PTR ASIC_INT_DAC1_ENCODER_ID[rip]
	mov	QWORD PTR 16[rsp], rax
	jmp	.L13
.L46:
	mov	eax, DWORD PTR ATOM_DEVICE_TV_SUPPORT[rip]
	or	eax, DWORD PTR ATOM_DEVICE_CV_SUPPORT[rip]
	test	DWORD PTR 4[rbx], eax
	jne	.L58
	mov	rax, QWORD PTR ASIC_INT_DAC2_ENCODER_ID[rip]
	mov	QWORD PTR 16[rsp], rax
	jmp	.L13
.L47:
	mov	rax, QWORD PTR ASIC_INT_DVO_ENCODER_ID[rip]
	mov	QWORD PTR 16[rsp], rax
	jmp	.L13
.L26:
	mov	eax, DWORD PTR ATOM_DEVICE_TV_SUPPORT[rip]
	or	eax, DWORD PTR ATOM_DEVICE_CV_SUPPORT[rip]
	test	DWORD PTR 4[rbx], eax
	jne	.L38
	mov	rax, QWORD PTR ASIC_INT_DAC2_ENCODER_ID[rip]
	mov	QWORD PTR 24[rsp], rax
	jmp	.L13
.L27:
	mov	rax, QWORD PTR ASIC_INT_DVO_ENCODER_ID[rip]
	mov	QWORD PTR 24[rsp], rax
	jmp	.L13
.L24:
	mov	eax, DWORD PTR ATOM_DEVICE_TV_SUPPORT[rip]
	or	eax, DWORD PTR ATOM_DEVICE_CV_SUPPORT[rip]
	test	DWORD PTR 4[rbx], eax
	jne	.L38
	mov	rax, QWORD PTR ASIC_INT_DAC1_ENCODER_ID[rip]
	mov	QWORD PTR 24[rsp], rax
	jmp	.L13
.L52:
	mov	rax, QWORD PTR ASIC_INT_DIG5_ENCODER_ID[rip]
	mov	QWORD PTR 16[rsp], rax
	jmp	.L13
.L53:
	mov	rax, QWORD PTR ASIC_INT_DIG4_ENCODER_ID[rip]
	mov	QWORD PTR 16[rsp], rax
	jmp	.L13
.L54:
	mov	rax, QWORD PTR ASIC_INT_DIG3_ENCODER_ID[rip]
	mov	QWORD PTR 16[rsp], rax
	jmp	.L13
.L55:
	mov	rax, QWORD PTR ASIC_INT_DIG2_ENCODER_ID[rip]
	mov	QWORD PTR 16[rsp], rax
	jmp	.L13
.L51:
	mov	rax, QWORD PTR ASIC_INT_DIG6_ENCODER_ID[rip]
	mov	QWORD PTR 16[rsp], rax
	jmp	.L13
.L56:
	mov	rax, QWORD PTR ASIC_INT_DIG1_ENCODER_ID[rip]
	mov	QWORD PTR 16[rsp], rax
	jmp	.L13
.L49:
	mov	rax, QWORD PTR ASIC_INT_DIG7_ENCODER_ID[rip]
	mov	QWORD PTR 16[rsp], rax
	jmp	.L13
.L31:
	mov	rax, QWORD PTR ASIC_INT_DIG6_ENCODER_ID[rip]
	mov	QWORD PTR 24[rsp], rax
	jmp	.L13
.L32:
	mov	rax, QWORD PTR ASIC_INT_DIG5_ENCODER_ID[rip]
	mov	QWORD PTR 24[rsp], rax
	jmp	.L13
.L33:
	mov	rax, QWORD PTR ASIC_INT_DIG4_ENCODER_ID[rip]
	mov	QWORD PTR 24[rsp], rax
	jmp	.L13
.L34:
	mov	rax, QWORD PTR ASIC_INT_DIG3_ENCODER_ID[rip]
	mov	QWORD PTR 24[rsp], rax
	jmp	.L13
.L35:
	mov	rax, QWORD PTR ASIC_INT_DIG2_ENCODER_ID[rip]
	mov	QWORD PTR 24[rsp], rax
	jmp	.L13
.L36:
	mov	rax, QWORD PTR ASIC_INT_DIG1_ENCODER_ID[rip]
	mov	QWORD PTR 24[rsp], rax
	jmp	.L13
.L29:
	mov	rax, QWORD PTR ASIC_INT_DIG7_ENCODER_ID[rip]
	mov	QWORD PTR 24[rsp], rax
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L58:
	mov	rax, QWORD PTR ASIC_INT_TV_ENCODER_ID[rip]
	mov	QWORD PTR 16[rsp], rax
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L38:
	mov	rax, QWORD PTR ASIC_INT_TV_ENCODER_ID[rip]
	mov	QWORD PTR 24[rsp], rax
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rax, QWORD PTR ATOM_DEVICE_TV1_INDEX[rip]
	mov	QWORD PTR 16[rsp], rax
	jmp	.L13
.L18:
	mov	rax, QWORD PTR ATOM_DEVICE_CV_INDEX[rip]
	mov	QWORD PTR 16[rsp], rax
	jmp	.L13
.L14:
	mov	rax, QWORD PTR ATOM_DEVICE_DFP3_INDEX[rip]
	mov	QWORD PTR 16[rsp], rax
	jmp	.L13
.L68:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	amdgpu_atombios_encoder_set_crtc_source, .-amdgpu_atombios_encoder_set_crtc_source
	.comm	SelectCRTC_Source,4,4
	.comm	ENCODER_OBJECT_ID_NONE,4,4
	.comm	DRM_MODE_CONNECTOR_VGA,4,4
	.comm	DRM_MODE_CONNECTOR_LVDS,4,4
	.comm	COMMAND,4,4
	.comm	ATOM_ENCODER_MODE_LVDS,8,8
	.comm	ATOM_ENCODER_MODE_CRT,8,8
	.comm	ATOM_DEVICE_TV_SUPPORT,4,4
	.comm	ATOM_DEVICE_TV1_INDEX,8,8
	.comm	ATOM_DEVICE_LCD_SUPPORT,4,4
	.comm	ATOM_DEVICE_LCD1_SUPPORT,4,4
	.comm	ATOM_DEVICE_LCD1_INDEX,8,8
	.comm	ATOM_DEVICE_DFP3_INDEX,8,8
	.comm	ATOM_DEVICE_DFP2_INDEX,8,8
	.comm	ATOM_DEVICE_DFP1_INDEX,8,8
	.comm	ATOM_DEVICE_CV_SUPPORT,4,4
	.comm	ATOM_DEVICE_CV_INDEX,8,8
	.comm	ATOM_DEVICE_CRT2_INDEX,8,8
	.comm	ATOM_DEVICE_CRT1_INDEX,8,8
	.comm	ASIC_INT_TV_ENCODER_ID,8,8
	.comm	ASIC_INT_DVO_ENCODER_ID,8,8
	.comm	ASIC_INT_DIG7_ENCODER_ID,8,8
	.comm	ASIC_INT_DIG6_ENCODER_ID,8,8
	.comm	ASIC_INT_DIG5_ENCODER_ID,8,8
	.comm	ASIC_INT_DIG4_ENCODER_ID,8,8
	.comm	ASIC_INT_DIG3_ENCODER_ID,8,8
	.comm	ASIC_INT_DIG2_ENCODER_ID,8,8
	.comm	ASIC_INT_DIG1_ENCODER_ID,8,8
	.comm	ASIC_INT_DAC2_ENCODER_ID,8,8
	.comm	ASIC_INT_DAC1_ENCODER_ID,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_atombios_encoders.c_amdgpu_atombios_encoder_set_crtc_source.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unknown table version: %d, %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	amdgpu_atombios_encoder_set_crtc_source
	.syntax unified
	.arm
	.fpu softvfp
	.type	amdgpu_atombios_encoder_set_crtc_source, %function
amdgpu_atombios_encoder_set_crtc_source:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, [r0, #4]
	ldr	r2, .L70
	sub	sp, sp, #24
	ldr	r7, [r3]
	ldr	r2, [r2]
	str	r2, [sp, #20]
	mov	r2,#0
	mov	r4, r0
	bl	to_amdgpu_encoder
	mov	r6, r0
	ldr	r0, [r4]
	bl	to_amdgpu_crtc
	ldr	r2, .L70+4
	ldr	r1, .L70+8
	mov	r8, r0
	ldr	r1, [r1]
	ldr	r0, [r2]
	bl	GetIndexIntoMasterTable
	mov	r3, #0
	mov	r5, r0
	str	r3, [sp, #8]
	str	r3, [sp, #12]
	str	r3, [sp, #16]
	mov	r1, r5
	mov	r2, sp
	ldr	r0, [r7]
	add	r3, sp, #4
	bl	amdgpu_atom_parse_cmd_header
	cmp	r0, #0
	beq	.L1
	ldm	sp, {r1, r2}
	cmp	r1, #1
	bne	.L3
	cmp	r2, #2
	ldr	r3, [r8]
	beq	.L4
	cmp	r2, #3
	bne	.L68
	mov	r0, r4
	str	r3, [sp, #16]
	bl	amdgpu_encoder_get_dp_bridge_encoder_id
	ldr	r3, .L70+12
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L39
	mov	r0, r4
	bl	amdgpu_get_connector_for_encoder
	ldr	r2, .L70+16
	ldr	r3, [r0]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L66
	ldr	r2, .L70+20
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L43
	ldr	r3, .L70+24
	ldr	r3, [r3]
	str	r3, [sp, #8]
	b	.L41
.L9:
	ldr	r2, .L70+28
	ldr	r3, [r6, #4]
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L17
	ldr	r2, .L70+32
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L18
	ldr	r3, .L70+36
	ldr	r3, [r3]
	str	r3, [sp, #8]
.L13:
	mov	r1, r5
	ldr	r0, [r7]
	add	r2, sp, #8
	bl	amdgpu_atom_execute_table
.L1:
	ldr	r3, .L70
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L69
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	ldr	r0, .L70+40
	bl	DRM_ERROR
	b	.L1
.L68:
	ldr	r2, [r6, #12]
	str	r3, [sp, #12]
	sub	r3, r2, #132
	cmp	r3, #11
	ldrls	pc, [pc, r3, asl #2]
	b	.L13
.L8:
	.word	.L11
	.word	.L12
	.word	.L12
	.word	.L11
	.word	.L13
	.word	.L10
	.word	.L9
	.word	.L7
	.word	.L10
	.word	.L10
	.word	.L9
	.word	.L7
.L39:
	ldr	r3, .L70+44
	ldr	r2, [r6]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L43
.L66:
	ldr	r3, .L70+48
	ldr	r3, [r3]
	str	r3, [sp, #8]
.L41:
	mov	r0, r4
	bl	amdgpu_atombios_encoder_get_bpc
	ldr	r3, [r6, #12]
	str	r0, [sp, #12]
	sub	r3, r3, #128
	cmp	r3, #11
	ldrls	pc, [pc, r3, asl #2]
	b	.L13
.L45:
	.word	.L48
	.word	.L48
	.word	.L48
	.word	.L48
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L48
	.word	.L47
	.word	.L46
	.word	.L44
.L4:
	mov	r0, r4
	str	r3, [sp, #16]
	bl	amdgpu_encoder_get_dp_bridge_encoder_id
	ldr	r3, .L70+12
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L19
	mov	r0, r4
	bl	amdgpu_get_connector_for_encoder
	ldr	r2, .L70+16
	ldr	r3, [r0]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L65
	ldr	r2, .L70+20
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L23
	ldr	r3, .L70+24
	ldr	r3, [r3]
	str	r3, [sp, #8]
	b	.L21
.L19:
	ldr	r3, .L70+44
	ldr	r2, [r6]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L23
.L65:
	ldr	r3, .L70+48
	ldr	r3, [r3]
	str	r3, [sp, #8]
.L21:
	ldr	r3, [r6, #12]
	sub	r3, r3, #128
	cmp	r3, #11
	ldrls	pc, [pc, r3, asl #2]
	b	.L13
.L25:
	.word	.L28
	.word	.L28
	.word	.L28
	.word	.L28
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L28
	.word	.L27
	.word	.L26
	.word	.L24
.L28:
	ldr	r3, [r6, #8]
	ldr	r3, [r3]
	cmp	r3, #6
	ldrls	pc, [pc, r3, asl #2]
	b	.L13
.L30:
	.word	.L36
	.word	.L35
	.word	.L34
	.word	.L33
	.word	.L32
	.word	.L31
	.word	.L29
.L48:
	ldr	r3, [r6, #8]
	ldr	r3, [r3]
	cmp	r3, #6
	ldrls	pc, [pc, r3, asl #2]
	b	.L13
.L50:
	.word	.L56
	.word	.L55
	.word	.L54
	.word	.L53
	.word	.L52
	.word	.L51
	.word	.L49
.L10:
	ldr	r3, .L70+52
	ldr	r3, [r3]
	str	r3, [sp, #8]
	b	.L13
.L12:
	ldr	r3, .L70+56
	ldr	r2, [r6]
	ldr	r3, [r3]
	tst	r2, r3
	ldrne	r3, .L70+60
	ldreq	r3, .L70+64
	ldr	r3, [r3]
	str	r3, [sp, #8]
	b	.L13
.L7:
	ldr	r2, .L70+28
	ldr	r3, [r6, #4]
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L17
	ldr	r2, .L70+32
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L18
	ldr	r3, .L70+68
	ldr	r3, [r3]
	str	r3, [sp, #8]
	b	.L13
.L11:
	ldr	r3, .L70+72
	ldr	r3, [r3]
	str	r3, [sp, #8]
	b	.L13
.L43:
	mov	r0, r4
	bl	amdgpu_atombios_encoder_get_encoder_mode
	str	r0, [sp, #8]
	b	.L41
.L23:
	mov	r0, r4
	bl	amdgpu_atombios_encoder_get_encoder_mode
	str	r0, [sp, #8]
	b	.L21
.L24:
	ldr	r2, .L70+32
	ldr	r3, .L70+28
	ldr	r1, [r2]
	ldr	r3, [r3]
	ldr	r2, [r6, #4]
	orr	r3, r3, r1
	tst	r3, r2
	bne	.L38
	ldr	r3, .L70+76
	ldr	r3, [r3]
	str	r3, [sp, #12]
	b	.L13
.L26:
	ldr	r2, .L70+32
	ldr	r3, .L70+28
	ldr	r1, [r2]
	ldr	r3, [r3]
	ldr	r2, [r6, #4]
	orr	r3, r3, r1
	tst	r3, r2
	bne	.L38
	ldr	r3, .L70+80
	ldr	r3, [r3]
	str	r3, [sp, #12]
	b	.L13
.L27:
	ldr	r3, .L70+84
	ldr	r3, [r3]
	str	r3, [sp, #12]
	b	.L13
.L44:
	ldr	r2, .L70+32
	ldr	r3, .L70+28
	ldr	r1, [r2]
	ldr	r3, [r3]
	ldr	r2, [r6, #4]
	orr	r3, r3, r1
	tst	r3, r2
	bne	.L58
	ldr	r3, .L70+76
	ldr	r3, [r3]
	str	r3, [sp, #8]
	b	.L13
.L46:
	ldr	r2, .L70+32
	ldr	r3, .L70+28
	ldr	r1, [r2]
	ldr	r3, [r3]
	ldr	r2, [r6, #4]
	orr	r3, r3, r1
	tst	r3, r2
	bne	.L58
	ldr	r3, .L70+80
	ldr	r3, [r3]
	str	r3, [sp, #8]
	b	.L13
.L47:
	ldr	r3, .L70+84
	ldr	r3, [r3]
	str	r3, [sp, #8]
	b	.L13
.L29:
	ldr	r3, .L70+88
	ldr	r3, [r3]
	str	r3, [sp, #12]
	b	.L13
.L31:
	ldr	r3, .L70+92
	ldr	r3, [r3]
	str	r3, [sp, #12]
	b	.L13
.L32:
	ldr	r3, .L70+96
	ldr	r3, [r3]
	str	r3, [sp, #12]
	b	.L13
.L49:
	ldr	r3, .L70+88
	ldr	r3, [r3]
	str	r3, [sp, #8]
	b	.L13
.L33:
	ldr	r3, .L70+100
	ldr	r3, [r3]
	str	r3, [sp, #12]
	b	.L13
.L34:
	ldr	r3, .L70+104
	ldr	r3, [r3]
	str	r3, [sp, #12]
	b	.L13
.L35:
	ldr	r3, .L70+108
	ldr	r3, [r3]
	str	r3, [sp, #12]
	b	.L13
.L36:
	ldr	r3, .L70+112
	ldr	r3, [r3]
	str	r3, [sp, #12]
	b	.L13
.L51:
	ldr	r3, .L70+92
	ldr	r3, [r3]
	str	r3, [sp, #8]
	b	.L13
.L52:
	ldr	r3, .L70+96
	ldr	r3, [r3]
	str	r3, [sp, #8]
	b	.L13
.L53:
	ldr	r3, .L70+100
	ldr	r3, [r3]
	str	r3, [sp, #8]
	b	.L13
.L54:
	ldr	r3, .L70+104
	ldr	r3, [r3]
	str	r3, [sp, #8]
	b	.L13
.L55:
	ldr	r3, .L70+108
	ldr	r3, [r3]
	str	r3, [sp, #8]
	b	.L13
.L56:
	ldr	r3, .L70+112
	ldr	r3, [r3]
	str	r3, [sp, #8]
	b	.L13
.L38:
	ldr	r3, .L70+116
	ldr	r3, [r3]
	str	r3, [sp, #12]
	b	.L13
.L58:
	ldr	r3, .L70+116
	ldr	r3, [r3]
	str	r3, [sp, #8]
	b	.L13
.L17:
	ldr	r3, .L70+120
	ldr	r3, [r3]
	str	r3, [sp, #8]
	b	.L13
.L18:
	ldr	r3, .L70+124
	ldr	r3, [r3]
	str	r3, [sp, #8]
	b	.L13
.L69:
	bl	__stack_chk_fail
.L71:
	.align	2
.L70:
	.word	.LC1
	.word	COMMAND
	.word	SelectCRTC_Source
	.word	ENCODER_OBJECT_ID_NONE
	.word	DRM_MODE_CONNECTOR_LVDS
	.word	DRM_MODE_CONNECTOR_VGA
	.word	ATOM_ENCODER_MODE_CRT
	.word	ATOM_DEVICE_TV_SUPPORT
	.word	ATOM_DEVICE_CV_SUPPORT
	.word	ATOM_DEVICE_CRT2_INDEX
	.word	.LC0
	.word	ATOM_DEVICE_LCD_SUPPORT
	.word	ATOM_ENCODER_MODE_LVDS
	.word	ATOM_DEVICE_DFP2_INDEX
	.word	ATOM_DEVICE_LCD1_SUPPORT
	.word	ATOM_DEVICE_LCD1_INDEX
	.word	ATOM_DEVICE_DFP3_INDEX
	.word	ATOM_DEVICE_CRT1_INDEX
	.word	ATOM_DEVICE_DFP1_INDEX
	.word	ASIC_INT_DAC1_ENCODER_ID
	.word	ASIC_INT_DAC2_ENCODER_ID
	.word	ASIC_INT_DVO_ENCODER_ID
	.word	ASIC_INT_DIG7_ENCODER_ID
	.word	ASIC_INT_DIG6_ENCODER_ID
	.word	ASIC_INT_DIG5_ENCODER_ID
	.word	ASIC_INT_DIG4_ENCODER_ID
	.word	ASIC_INT_DIG3_ENCODER_ID
	.word	ASIC_INT_DIG2_ENCODER_ID
	.word	ASIC_INT_DIG1_ENCODER_ID
	.word	ASIC_INT_TV_ENCODER_ID
	.word	ATOM_DEVICE_TV1_INDEX
	.word	ATOM_DEVICE_CV_INDEX
	.size	amdgpu_atombios_encoder_set_crtc_source, .-amdgpu_atombios_encoder_set_crtc_source
	.comm	SelectCRTC_Source,4,4
	.comm	ENCODER_OBJECT_ID_NONE,4,4
	.comm	DRM_MODE_CONNECTOR_VGA,4,4
	.comm	DRM_MODE_CONNECTOR_LVDS,4,4
	.comm	COMMAND,4,4
	.comm	ATOM_ENCODER_MODE_LVDS,4,4
	.comm	ATOM_ENCODER_MODE_CRT,4,4
	.comm	ATOM_DEVICE_TV_SUPPORT,4,4
	.comm	ATOM_DEVICE_TV1_INDEX,4,4
	.comm	ATOM_DEVICE_LCD_SUPPORT,4,4
	.comm	ATOM_DEVICE_LCD1_SUPPORT,4,4
	.comm	ATOM_DEVICE_LCD1_INDEX,4,4
	.comm	ATOM_DEVICE_DFP3_INDEX,4,4
	.comm	ATOM_DEVICE_DFP2_INDEX,4,4
	.comm	ATOM_DEVICE_DFP1_INDEX,4,4
	.comm	ATOM_DEVICE_CV_SUPPORT,4,4
	.comm	ATOM_DEVICE_CV_INDEX,4,4
	.comm	ATOM_DEVICE_CRT2_INDEX,4,4
	.comm	ATOM_DEVICE_CRT1_INDEX,4,4
	.comm	ASIC_INT_TV_ENCODER_ID,4,4
	.comm	ASIC_INT_DVO_ENCODER_ID,4,4
	.comm	ASIC_INT_DIG7_ENCODER_ID,4,4
	.comm	ASIC_INT_DIG6_ENCODER_ID,4,4
	.comm	ASIC_INT_DIG5_ENCODER_ID,4,4
	.comm	ASIC_INT_DIG4_ENCODER_ID,4,4
	.comm	ASIC_INT_DIG3_ENCODER_ID,4,4
	.comm	ASIC_INT_DIG2_ENCODER_ID,4,4
	.comm	ASIC_INT_DIG1_ENCODER_ID,4,4
	.comm	ASIC_INT_DAC2_ENCODER_ID,4,4
	.comm	ASIC_INT_DAC1_ENCODER_ID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
