	.file	"extr_ingenic-drm.c_ingenic_drm_encoder_atomic_check.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ingenic_drm_encoder_atomic_check, @function
ingenic_drm_encoder_atomic_check:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rdx, QWORD PTR [rdx]
	cmp	DWORD PTR 8[rdx], 1
	jne	.L6
	mov	rcx, QWORD PTR DRM_MODE_CONNECTOR_TV[rip]
	xor	eax, eax
	cmp	QWORD PTR [rdx], rcx
	je	.L1
	mov	rdx, QWORD PTR 16[rdx]
	mov	edx, DWORD PTR [rdx]
	add	edx, -128
	cmp	edx, 3
	jbe	.L1
.L6:
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	ingenic_drm_encoder_atomic_check, .-ingenic_drm_encoder_atomic_check
	.comm	EINVAL,4,4
	.comm	DRM_MODE_CONNECTOR_TV,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_ingenic-drm.c_ingenic_drm_encoder_atomic_check.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ingenic_drm_encoder_atomic_check, %function
ingenic_drm_encoder_atomic_check:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r3, [r2]
	ldr	r2, [r3, #4]
	cmp	r2, #1
	bne	.L6
	ldr	r2, .L8
	ldr	r1, [r3]
	ldr	r2, [r2]
	cmp	r1, r2
	beq	.L5
	ldr	r3, [r3, #8]
	ldr	r3, [r3]
	sub	r3, r3, #128
	cmp	r3, #3
	bls	.L5
.L6:
	ldr	r3, .L8+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bx	lr
.L5:
	mov	r0, #0
	bx	lr
.L9:
	.align	2
.L8:
	.word	DRM_MODE_CONNECTOR_TV
	.word	EINVAL
	.size	ingenic_drm_encoder_atomic_check, .-ingenic_drm_encoder_atomic_check
	.comm	EINVAL,4,4
	.comm	DRM_MODE_CONNECTOR_TV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
