	.file	"extr_radeon_combios.c_radeon_apply_legacy_quirks.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	radeon_apply_legacy_quirks, @function
radeon_apply_legacy_quirks:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR [rdi]
	mov	r8d, 1
	mov	edi, DWORD PTR [rax]
	cmp	edi, 20830
	je	.L16
	cmp	edi, 23392
	jne	.L1
	cmp	DWORD PTR 4[rax], 6063
	je	.L17
.L1:
	mov	eax, r8d
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	cmp	DWORD PTR 4[rax], 4116
	jne	.L1
	mov	eax, DWORD PTR CONNECTOR_CRT_LEGACY[rip]
	cmp	DWORD PTR [rdx], eax
	jne	.L1
	xor	r8d, r8d
	mov	rax, QWORD PTR RADEON_GPIO_CRT2_DDC[rip]
	cmp	QWORD PTR [rcx], rax
	setne	r8b
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	cmp	DWORD PTR 8[rax], 8222
	jne	.L8
	cmp	esi, 2
	je	.L18
.L8:
	mov	r8d, 1
	mov	eax, r8d
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	xor	r8d, r8d
	mov	eax, DWORD PTR CONNECTOR_DVI_I_LEGACY[rip]
	cmp	DWORD PTR [rdx], eax
	setne	r8b
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	radeon_apply_legacy_quirks, .-radeon_apply_legacy_quirks
	.comm	RADEON_GPIO_CRT2_DDC,8,8
	.comm	CONNECTOR_DVI_I_LEGACY,4,4
	.comm	CONNECTOR_CRT_LEGACY,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_combios.c_radeon_apply_legacy_quirks.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	radeon_apply_legacy_quirks, %function
radeon_apply_legacy_quirks:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r0, [r0]
	str	lr, [sp, #-4]!
	ldr	ip, [r0]
	ldr	lr, .L13
	cmp	ip, lr
	beq	.L11
	ldr	r3, .L13+4
	cmp	ip, r3
	bne	.L8
	ldr	r3, .L13+8
	ldr	ip, [r0, #4]
	cmp	ip, r3
	beq	.L12
.L8:
	mov	r0, #1
	ldr	pc, [sp], #4
.L11:
	ldr	r0, [r0, #4]
	ldr	r1, .L13+12
	cmp	r0, r1
	bne	.L8
	ldr	r0, .L13+16
	ldr	r1, [r2]
	ldr	r2, [r0]
	cmp	r1, r2
	bne	.L8
	ldr	r2, .L13+20
	ldr	r0, [r3]
	ldr	r3, [r2]
	subs	r0, r0, r3
	movne	r0, #1
	ldr	pc, [sp], #4
.L12:
	ldr	r0, [r0, #8]
	ldr	r3, .L13+24
	cmp	r0, r3
	cmpeq	r1, #2
	bne	.L8
	ldr	r3, .L13+28
	ldr	r0, [r2]
	ldr	r3, [r3]
	subs	r0, r0, r3
	movne	r0, #1
	ldr	pc, [sp], #4
.L14:
	.align	2
.L13:
	.word	20830
	.word	23392
	.word	6063
	.word	4116
	.word	CONNECTOR_CRT_LEGACY
	.word	RADEON_GPIO_CRT2_DDC
	.word	8222
	.word	CONNECTOR_DVI_I_LEGACY
	.size	radeon_apply_legacy_quirks, .-radeon_apply_legacy_quirks
	.comm	RADEON_GPIO_CRT2_DDC,4,4
	.comm	CONNECTOR_DVI_I_LEGACY,4,4
	.comm	CONNECTOR_CRT_LEGACY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
