	.file	"637322.c"
	.intel_syntax noprefix
	.text
	.globl	ATOM_DEVICE_CRT1_SUPPORT
	.bss
	.align 4
	.type	ATOM_DEVICE_CRT1_SUPPORT, @object
	.size	ATOM_DEVICE_CRT1_SUPPORT, 4
ATOM_DEVICE_CRT1_SUPPORT:
	.zero	4
	.globl	ATOM_DEVICE_CRT2_SUPPORT
	.align 4
	.type	ATOM_DEVICE_CRT2_SUPPORT, @object
	.size	ATOM_DEVICE_CRT2_SUPPORT, 4
ATOM_DEVICE_CRT2_SUPPORT:
	.zero	4
	.globl	ATOM_DEVICE_CRT_SUPPORT
	.align 4
	.type	ATOM_DEVICE_CRT_SUPPORT, @object
	.size	ATOM_DEVICE_CRT_SUPPORT, 4
ATOM_DEVICE_CRT_SUPPORT:
	.zero	4
	.globl	ATOM_DEVICE_CV_SUPPORT
	.align 4
	.type	ATOM_DEVICE_CV_SUPPORT, @object
	.size	ATOM_DEVICE_CV_SUPPORT, 4
ATOM_DEVICE_CV_SUPPORT:
	.zero	4
	.globl	ATOM_DEVICE_DFP1_SUPPORT
	.align 4
	.type	ATOM_DEVICE_DFP1_SUPPORT, @object
	.size	ATOM_DEVICE_DFP1_SUPPORT, 4
ATOM_DEVICE_DFP1_SUPPORT:
	.zero	4
	.globl	ATOM_DEVICE_DFP2_SUPPORT
	.align 4
	.type	ATOM_DEVICE_DFP2_SUPPORT, @object
	.size	ATOM_DEVICE_DFP2_SUPPORT, 4
ATOM_DEVICE_DFP2_SUPPORT:
	.zero	4
	.globl	ATOM_DEVICE_DFP3_SUPPORT
	.align 4
	.type	ATOM_DEVICE_DFP3_SUPPORT, @object
	.size	ATOM_DEVICE_DFP3_SUPPORT, 4
ATOM_DEVICE_DFP3_SUPPORT:
	.zero	4
	.globl	ATOM_DEVICE_TV1_SUPPORT
	.align 4
	.type	ATOM_DEVICE_TV1_SUPPORT, @object
	.size	ATOM_DEVICE_TV1_SUPPORT, 4
ATOM_DEVICE_TV1_SUPPORT:
	.zero	4
	.globl	ATOM_DEVICE_TV_SUPPORT
	.align 4
	.type	ATOM_DEVICE_TV_SUPPORT, @object
	.size	ATOM_DEVICE_TV_SUPPORT, 4
ATOM_DEVICE_TV_SUPPORT:
	.zero	4
	.globl	CONNECTOR_7PIN_DIN_ENUM_ID1
	.align 4
	.type	CONNECTOR_7PIN_DIN_ENUM_ID1, @object
	.size	CONNECTOR_7PIN_DIN_ENUM_ID1, 4
CONNECTOR_7PIN_DIN_ENUM_ID1:
	.zero	4
	.globl	DRM_MODE_CONNECTOR_9PinDIN
	.align 4
	.type	DRM_MODE_CONNECTOR_9PinDIN, @object
	.size	DRM_MODE_CONNECTOR_9PinDIN, 4
DRM_MODE_CONNECTOR_9PinDIN:
	.zero	4
	.globl	DRM_MODE_CONNECTOR_DVID
	.align 4
	.type	DRM_MODE_CONNECTOR_DVID, @object
	.size	DRM_MODE_CONNECTOR_DVID, 4
DRM_MODE_CONNECTOR_DVID:
	.zero	4
	.globl	DRM_MODE_CONNECTOR_DVII
	.align 4
	.type	DRM_MODE_CONNECTOR_DVII, @object
	.size	DRM_MODE_CONNECTOR_DVII, 4
DRM_MODE_CONNECTOR_DVII:
	.zero	4
	.globl	DRM_MODE_CONNECTOR_HDMIA
	.align 4
	.type	DRM_MODE_CONNECTOR_HDMIA, @object
	.size	DRM_MODE_CONNECTOR_HDMIA, 4
DRM_MODE_CONNECTOR_HDMIA:
	.zero	4
	.globl	DRM_MODE_CONNECTOR_LVDS
	.align 4
	.type	DRM_MODE_CONNECTOR_LVDS, @object
	.size	DRM_MODE_CONNECTOR_LVDS, 4
DRM_MODE_CONNECTOR_LVDS:
	.zero	4
	.globl	DRM_MODE_CONNECTOR_VGA
	.align 4
	.type	DRM_MODE_CONNECTOR_VGA, @object
	.size	DRM_MODE_CONNECTOR_VGA, 4
DRM_MODE_CONNECTOR_VGA:
	.zero	4
	.text
	.type	radeon_atom_apply_quirks, @function
radeon_atom_apply_quirks:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	mov	QWORD PTR -56[rbp], r8
	mov	QWORD PTR -64[rbp], r9
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 31006
	jne	.L2
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 4[rax]
	cmp	eax, 4163
	jne	.L2
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 33389
	jne	.L2
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR DRM_MODE_CONNECTOR_HDMIA[rip]
	cmp	edx, eax
	jne	.L2
	mov	eax, DWORD PTR ATOM_DEVICE_DFP3_SUPPORT[rip]
	cmp	DWORD PTR -28[rbp], eax
	jne	.L2
	mov	edx, DWORD PTR DRM_MODE_CONNECTOR_DVID[rip]
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
.L2:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 31041
	jne	.L3
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 4[rax]
	cmp	eax, 6217
	jne	.L3
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 31041
	jne	.L3
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR DRM_MODE_CONNECTOR_HDMIA[rip]
	cmp	edx, eax
	jne	.L3
	mov	eax, DWORD PTR ATOM_DEVICE_DFP3_SUPPORT[rip]
	cmp	DWORD PTR -28[rbp], eax
	jne	.L3
	mov	edx, DWORD PTR DRM_MODE_CONNECTOR_DVID[rip]
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
.L3:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 31086
	jne	.L4
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 4[rax]
	cmp	eax, 5218
	jne	.L4
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 29442
	jne	.L4
	mov	eax, DWORD PTR ATOM_DEVICE_DFP2_SUPPORT[rip]
	cmp	DWORD PTR -28[rbp], eax
	je	.L5
	mov	eax, DWORD PTR ATOM_DEVICE_DFP3_SUPPORT[rip]
	cmp	DWORD PTR -28[rbp], eax
	jne	.L4
.L5:
	mov	eax, 0
	jmp	.L6
.L4:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 31041
	jne	.L7
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 4[rax]
	cmp	eax, 5243
	jne	.L7
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 9234
	jne	.L7
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR DRM_MODE_CONNECTOR_DVII[rip]
	cmp	edx, eax
	jne	.L7
	mov	eax, 0
	jmp	.L6
.L7:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 22099
	jne	.L8
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 4[rax]
	cmp	eax, 5218
	jne	.L8
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 657
	jne	.L8
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR DRM_MODE_CONNECTOR_LVDS[rip]
	cmp	edx, eax
	jne	.L8
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -56[rbp]
	mov	DWORD PTR [rax], 53
.L8:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 28998
	jne	.L9
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 4[rax]
	cmp	eax, 6063
	jne	.L9
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 8280
	jne	.L9
	mov	eax, DWORD PTR ATOM_DEVICE_DFP1_SUPPORT[rip]
	cmp	DWORD PTR -28[rbp], eax
	jne	.L9
	mov	eax, 0
	jmp	.L6
.L9:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 28994
	jne	.L10
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 4[rax]
	cmp	eax, 5208
	jne	.L10
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 8500
	jne	.L10
	mov	eax, DWORD PTR ATOM_DEVICE_DFP1_SUPPORT[rip]
	cmp	DWORD PTR -28[rbp], eax
	jne	.L10
	mov	eax, 0
	jmp	.L6
.L10:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 29125
	jne	.L11
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 4[rax]
	cmp	eax, 4203
	jne	.L11
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 128
	jne	.L11
	mov	eax, DWORD PTR ATOM_DEVICE_CRT1_SUPPORT[rip]
	cmp	DWORD PTR -28[rbp], eax
	je	.L12
	mov	eax, DWORD PTR ATOM_DEVICE_DFP2_SUPPORT[rip]
	cmp	DWORD PTR -28[rbp], eax
	jne	.L13
.L12:
	mov	eax, 0
	jmp	.L6
.L13:
	mov	eax, DWORD PTR ATOM_DEVICE_CRT2_SUPPORT[rip]
	cmp	DWORD PTR -28[rbp], eax
	jne	.L11
	mov	rax, QWORD PTR -56[rbp]
	mov	DWORD PTR [rax], 144
.L11:
	mov	eax, DWORD PTR ATOM_DEVICE_TV1_SUPPORT[rip]
	cmp	DWORD PTR -28[rbp], eax
	jne	.L14
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR DRM_MODE_CONNECTOR_DVII[rip]
	cmp	edx, eax
	jne	.L14
	mov	edx, DWORD PTR DRM_MODE_CONNECTOR_9PinDIN[rip]
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
	mov	edx, DWORD PTR CONNECTOR_7PIN_DIN_ENUM_ID1[rip]
	mov	rax, QWORD PTR -56[rbp]
	mov	DWORD PTR [rax], edx
.L14:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 38296
	jne	.L15
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 4[rax]
	cmp	eax, 4163
	jne	.L15
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 474
	jne	.L15
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR DRM_MODE_CONNECTOR_HDMIA[rip]
	cmp	edx, eax
	jne	.L15
	mov	edx, DWORD PTR DRM_MODE_CONNECTOR_DVII[rip]
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
.L15:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 38296
	jne	.L16
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 4[rax]
	cmp	eax, 4163
	jne	.L16
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 484
	jne	.L16
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR DRM_MODE_CONNECTOR_HDMIA[rip]
	cmp	edx, eax
	jne	.L16
	mov	edx, DWORD PTR DRM_MODE_CONNECTOR_DVII[rip]
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
.L16:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 38341
	jne	.L17
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 4[rax]
	cmp	eax, 4163
	jne	.L17
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 482
	jne	.L17
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR DRM_MODE_CONNECTOR_HDMIA[rip]
	cmp	edx, eax
	jne	.L17
	mov	edx, DWORD PTR DRM_MODE_CONNECTOR_DVII[rip]
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
.L17:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR DRM_MODE_CONNECTOR_HDMIA[rip]
	cmp	edx, eax
	jne	.L18
	mov	eax, DWORD PTR ATOM_DEVICE_CRT_SUPPORT[rip]
	and	eax, DWORD PTR -28[rbp]
	test	eax, eax
	je	.L18
	mov	edx, DWORD PTR DRM_MODE_CONNECTOR_VGA[rip]
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -56[rbp]
	mov	DWORD PTR [rax], 0
.L18:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 38340
	je	.L19
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 38289
	jne	.L20
.L19:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 4[rax]
	cmp	eax, 4133
	jne	.L20
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 316
	jne	.L20
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR DRM_MODE_CONNECTOR_DVII[rip]
	cmp	edx, eax
	jne	.L20
	mov	eax, DWORD PTR ATOM_DEVICE_DFP1_SUPPORT[rip]
	cmp	DWORD PTR -28[rbp], eax
	jne	.L20
	mov	edx, DWORD PTR DRM_MODE_CONNECTOR_DVID[rip]
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, 0
	jmp	.L6
.L20:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 38040
	jne	.L21
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 4[rax]
	cmp	eax, 5762
	jne	.L21
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 9298
	jne	.L21
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L21
	mov	edx, DWORD PTR ATOM_DEVICE_TV_SUPPORT[rip]
	mov	eax, DWORD PTR ATOM_DEVICE_CV_SUPPORT[rip]
	or	eax, edx
	and	eax, DWORD PTR -28[rbp]
	test	eax, eax
	jne	.L21
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 147
	mov	rdi, rax
	call	radeon_lookup_i2c_gpio@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], edx
.L21:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 38914
	je	.L22
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 38917
	je	.L22
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 38918
	jne	.L23
.L22:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 4[rax]
	cmp	eax, 5940
	jne	.L23
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 4541
	jne	.L23
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR DRM_MODE_CONNECTOR_VGA[rip]
	cmp	edx, eax
	jne	.L24
	mov	edx, DWORD PTR DRM_MODE_CONNECTOR_DVII[rip]
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -56[rbp]
	mov	DWORD PTR [rax], 12547
	jmp	.L23
.L24:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR DRM_MODE_CONNECTOR_DVID[rip]
	cmp	edx, eax
	jne	.L23
	mov	edx, DWORD PTR DRM_MODE_CONNECTOR_DVII[rip]
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
.L23:
	mov	eax, 1
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	radeon_atom_apply_quirks, .-radeon_atom_apply_quirks
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"637322.c"
	.text
	.comm	ATOM_DEVICE_CRT1_SUPPORT,4,4
	.comm	ATOM_DEVICE_CRT2_SUPPORT,4,4
	.comm	ATOM_DEVICE_CRT_SUPPORT,4,4
	.comm	ATOM_DEVICE_CV_SUPPORT,4,4
	.comm	ATOM_DEVICE_DFP1_SUPPORT,4,4
	.comm	ATOM_DEVICE_DFP2_SUPPORT,4,4
	.comm	ATOM_DEVICE_DFP3_SUPPORT,4,4
	.comm	ATOM_DEVICE_TV1_SUPPORT,4,4
	.comm	ATOM_DEVICE_TV_SUPPORT,4,4
	.comm	CONNECTOR_7PIN_DIN_ENUM_ID1,4,4
	.comm	DRM_MODE_CONNECTOR_9PinDIN,4,4
	.comm	DRM_MODE_CONNECTOR_DVID,4,4
	.comm	DRM_MODE_CONNECTOR_DVII,4,4
	.comm	DRM_MODE_CONNECTOR_HDMIA,4,4
	.comm	DRM_MODE_CONNECTOR_LVDS,4,4
	.comm	DRM_MODE_CONNECTOR_VGA,4,4
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	radeon_atom_apply_quirks, %function
radeon_atom_apply_quirks:
	@ args = 8, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, .L25
	cmp	r3, r2
	bne	.L2
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L25+4
	cmp	r3, r2
	bne	.L2
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, .L25+8
	cmp	r3, r2
	bne	.L2
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, .L25+12
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L2
	ldr	r3, .L25+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L2
	ldr	r3, .L25+20
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	str	r2, [r3]
.L2:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, .L25+24
	cmp	r3, r2
	bne	.L3
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L25+28
	cmp	r3, r2
	bne	.L3
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, .L25+24
	cmp	r3, r2
	bne	.L3
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, .L25+12
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L3
	ldr	r3, .L25+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L3
	ldr	r3, .L25+20
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	str	r2, [r3]
.L3:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, .L25+32
	cmp	r3, r2
	bne	.L4
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L25+36
	cmp	r3, r2
	bne	.L4
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, .L25+40
	cmp	r3, r2
	bne	.L4
	ldr	r3, .L25+44
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	beq	.L5
	ldr	r3, .L25+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L4
.L5:
	mov	r3, #0
	b	.L6
.L4:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, .L25+24
	cmp	r3, r2
	bne	.L7
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L25+48
	cmp	r3, r2
	bne	.L7
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, .L25+52
	cmp	r3, r2
	bne	.L7
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, .L25+56
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L7
	mov	r3, #0
	b	.L6
.L7:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, .L25+60
	cmp	r3, r2
	bne	.L8
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L25+36
	cmp	r3, r2
	bne	.L8
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, .L25+64
	cmp	r3, r2
	bne	.L8
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, .L25+68
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L8
	ldr	r3, [fp, #-28]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #4]
	mov	r2, #53
	str	r2, [r3]
.L8:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, .L25+72
	cmp	r3, r2
	bne	.L9
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L25+76
	cmp	r3, r2
	bne	.L9
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, .L25+80
	cmp	r3, r2
	bne	.L9
	ldr	r3, .L25+84
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L9
	mov	r3, #0
	b	.L6
.L9:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, .L25+88
	cmp	r3, r2
	bne	.L10
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L25+92
	cmp	r3, r2
	bne	.L10
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, .L25+96
	cmp	r3, r2
	bne	.L10
	ldr	r3, .L25+84
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L10
	mov	r3, #0
	b	.L6
.L10:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, .L25+100
	cmp	r3, r2
	bne	.L11
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L25+104
	cmp	r3, r2
	bne	.L11
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	cmp	r3, #128
	bne	.L11
	ldr	r3, .L25+108
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	beq	.L12
	ldr	r3, .L25+44
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L13
.L12:
	mov	r3, #0
	b	.L6
.L13:
	ldr	r3, .L25+112
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L11
	ldr	r3, [fp, #4]
	mov	r2, #144
	str	r2, [r3]
.L11:
	ldr	r3, .L25+116
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L14
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, .L25+56
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L14
	ldr	r3, .L25+120
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	str	r2, [r3]
	ldr	r3, .L25+124
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	str	r2, [r3]
.L14:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, .L25+128
	cmp	r3, r2
	bne	.L15
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L25+4
	cmp	r3, r2
	bne	.L15
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, .L25+132
	cmp	r3, r2
	bne	.L15
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, .L25+12
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L15
	ldr	r3, .L25+56
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	str	r2, [r3]
.L15:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, .L25+128
	cmp	r3, r2
	bne	.L16
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L25+4
	cmp	r3, r2
	bne	.L16
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	cmp	r3, #484
	bne	.L16
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, .L25+12
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L16
	ldr	r3, .L25+56
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	str	r2, [r3]
.L16:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, .L25+136
	cmp	r3, r2
	bne	.L17
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L25+4
	cmp	r3, r2
	bne	.L17
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, .L25+140
	cmp	r3, r2
	bne	.L17
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, .L25+12
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L17
	ldr	r3, .L25+56
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	str	r2, [r3]
.L17:
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, .L25+12
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L18
	ldr	r3, .L25+144
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L18
	ldr	r3, .L25+148
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #4]
	mov	r2, #0
	str	r2, [r3]
.L18:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, .L25+152
	cmp	r3, r2
	beq	.L19
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, .L25+156
	cmp	r3, r2
	bne	.L20
.L19:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L25+160
	cmp	r3, r2
	bne	.L20
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	cmp	r3, #316
	bne	.L20
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, .L25+56
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L20
	ldr	r3, .L25+84
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L20
	ldr	r3, .L25+20
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	str	r2, [r3]
	mov	r3, #0
	b	.L6
.L20:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, .L25+164
	cmp	r3, r2
	bne	.L21
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L25+168
	cmp	r3, r2
	bne	.L21
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, .L25+172
	cmp	r3, r2
	bne	.L21
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L21
	ldr	r3, .L25+176
	ldr	r2, [r3]
	ldr	r3, .L25+180
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, [fp, #-20]
	and	r3, r3, r2
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
	mov	r1, #147
	ldr	r0, [fp, #-8]
	bl	radeon_lookup_i2c_gpio
	mov	r2, r0
	ldr	r3, [fp, #-28]
	str	r2, [r3]
.L21:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, .L25+184
	cmp	r3, r2
	beq	.L22
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, .L25+188
	cmp	r3, r2
	beq	.L22
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, .L25+192
	cmp	r3, r2
	bne	.L23
.L22:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L25+196
	cmp	r3, r2
	bne	.L23
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, .L25+200
	cmp	r3, r2
	bne	.L23
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, .L25+148
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L24
	ldr	r3, .L25+56
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #4]
	ldr	r2, .L25+204
	str	r2, [r3]
	b	.L23
.L24:
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, .L25+20
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L23
	ldr	r3, .L25+56
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	str	r2, [r3]
.L23:
	mov	r3, #1
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	31006
	.word	4163
	.word	33389
	.word	DRM_MODE_CONNECTOR_HDMIA
	.word	ATOM_DEVICE_DFP3_SUPPORT
	.word	DRM_MODE_CONNECTOR_DVID
	.word	31041
	.word	6217
	.word	31086
	.word	5218
	.word	29442
	.word	ATOM_DEVICE_DFP2_SUPPORT
	.word	5243
	.word	9234
	.word	DRM_MODE_CONNECTOR_DVII
	.word	22099
	.word	657
	.word	DRM_MODE_CONNECTOR_LVDS
	.word	28998
	.word	6063
	.word	8280
	.word	ATOM_DEVICE_DFP1_SUPPORT
	.word	28994
	.word	5208
	.word	8500
	.word	29125
	.word	4203
	.word	ATOM_DEVICE_CRT1_SUPPORT
	.word	ATOM_DEVICE_CRT2_SUPPORT
	.word	ATOM_DEVICE_TV1_SUPPORT
	.word	DRM_MODE_CONNECTOR_9PinDIN
	.word	CONNECTOR_7PIN_DIN_ENUM_ID1
	.word	38296
	.word	474
	.word	38341
	.word	482
	.word	ATOM_DEVICE_CRT_SUPPORT
	.word	DRM_MODE_CONNECTOR_VGA
	.word	38340
	.word	38289
	.word	4133
	.word	38040
	.word	5762
	.word	9298
	.word	ATOM_DEVICE_TV_SUPPORT
	.word	ATOM_DEVICE_CV_SUPPORT
	.word	38914
	.word	38917
	.word	38918
	.word	5940
	.word	4541
	.word	12547
	.size	radeon_atom_apply_quirks, .-radeon_atom_apply_quirks
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
