	.file	"extr_exynos_hdmi.c_hdmi_mode_valid.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"xres=%d, yres=%d, refresh=%d, intl=%d clock=%d\n"
	.text
	.p2align 4
	.type	hdmi_mode_valid, @function
hdmi_mode_valid:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	connector_to_hdmi@PLT
	xor	r9d, r9d
	mov	ecx, DWORD PTR 12[rbx]
	mov	edx, DWORD PTR 16[rbx]
	mov	rbp, rax
	mov	eax, DWORD PTR [rbx]
	mov	r8d, DWORD PTR 8[rbx]
	lea	rsi, .LC0[rip]
	test	DWORD PTR DRM_MODE_FLAG_INTERLACE[rip], eax
	setne	r9b
	imul	eax, DWORD PTR 4[rbx], 1000
	sub	rsp, 8
	.cfi_def_cfa_offset 40
	push	rax
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR 0[rbp]
	call	DRM_DEV_DEBUG_KMS@PLT
	imul	esi, DWORD PTR 4[rbx], 1000
	mov	rdi, rbp
	call	hdmi_find_phy_conf@PLT
	test	eax, eax
	mov	eax, DWORD PTR MODE_BAD[rip]
	cmovns	eax, DWORD PTR MODE_OK[rip]
	add	rsp, 24
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	hdmi_mode_valid, .-hdmi_mode_valid
	.comm	MODE_OK,4,4
	.comm	MODE_BAD,4,4
	.comm	DRM_MODE_FLAG_INTERLACE,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_exynos_hdmi.c_hdmi_mode_valid.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"xres=%d, yres=%d, refresh=%d, intl=%d clock=%d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hdmi_mode_valid, %function
hdmi_mode_valid:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, r1
	sub	sp, sp, #20
	bl	connector_to_hdmi
	ldr	r3, .L6
	ldr	r2, [r4]
	ldr	r3, [r3]
	mov	r5, r0
	tst	r2, r3
	movne	r1, #1
	moveq	r1, #0
	ldr	r3, [r4, #4]
	ldr	r0, [r0]
	rsb	r2, r3, r3, lsl #5
	add	r3, r3, r2, lsl #2
	lsl	r3, r3, #3
	ldr	r2, [r4, #8]
	stmib	sp, {r1, r3}
	str	r2, [sp]
	ldr	r3, [r4, #12]
	ldr	r2, [r4, #16]
	ldr	r1, .L6+4
	bl	DRM_DEV_DEBUG_KMS
	ldr	r1, [r4, #4]
	mov	r0, r5
	rsb	r3, r1, r1, lsl #5
	add	r1, r1, r3, lsl #2
	lsl	r1, r1, #3
	bl	hdmi_find_phy_conf
	cmp	r0, #0
	ldrlt	r3, .L6+8
	ldrge	r3, .L6+12
	ldr	r0, [r3]
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L7:
	.align	2
.L6:
	.word	DRM_MODE_FLAG_INTERLACE
	.word	.LC0
	.word	MODE_BAD
	.word	MODE_OK
	.size	hdmi_mode_valid, .-hdmi_mode_valid
	.comm	MODE_OK,4,4
	.comm	MODE_BAD,4,4
	.comm	DRM_MODE_FLAG_INTERLACE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
