	.file	"extr_drm_modes.c_drm_mode_match.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	drm_mode_match
	.type	drm_mode_match, @function
drm_mode_match:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, rdi
	or	rax, rsi
	je	.L33
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	test	rdi, rdi
	je	.L9
	mov	r12, rsi
	test	rsi, rsi
	je	.L9
	mov	ebx, edx
	test	DWORD PTR DRM_MODE_MATCH_TIMINGS[rip], edx
	jne	.L6
.L10:
	test	DWORD PTR DRM_MODE_MATCH_CLOCK[rip], ebx
	jne	.L34
.L8:
	test	DWORD PTR DRM_MODE_MATCH_FLAGS[rip], ebx
	jne	.L35
.L12:
	test	DWORD PTR DRM_MODE_MATCH_3D_FLAGS[rip], ebx
	jne	.L36
.L14:
	mov	eax, 1
	test	DWORD PTR DRM_MODE_MATCH_ASPECT_RATIO[rip], ebx
	jne	.L37
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	call	drm_mode_match_timings@PLT
	test	eax, eax
	jne	.L10
	.p2align 4,,10
	.p2align 3
.L9:
	xor	eax, eax
.L38:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L37:
	.cfi_restore_state
	mov	rsi, r12
	mov	rdi, rbp
	call	drm_mode_match_aspect_ratio@PLT
	test	eax, eax
	setne	al
	movzx	eax, al
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L33:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	mov	eax, 1
	ret
	.p2align 4,,10
	.p2align 3
.L34:
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	.cfi_offset 6, -24
	.cfi_offset 12, -16
	mov	rsi, r12
	mov	rdi, rbp
	call	drm_mode_match_clock@PLT
	test	eax, eax
	jne	.L8
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L35:
	mov	rsi, r12
	mov	rdi, rbp
	call	drm_mode_match_flags@PLT
	test	eax, eax
	jne	.L12
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L36:
	mov	rsi, r12
	mov	rdi, rbp
	call	drm_mode_match_3d_flags@PLT
	test	eax, eax
	jne	.L14
	xor	eax, eax
	jmp	.L38
	.cfi_endproc
.LFE0:
	.size	drm_mode_match, .-drm_mode_match
	.comm	DRM_MODE_MATCH_TIMINGS,4,4
	.comm	DRM_MODE_MATCH_FLAGS,4,4
	.comm	DRM_MODE_MATCH_CLOCK,4,4
	.comm	DRM_MODE_MATCH_ASPECT_RATIO,4,4
	.comm	DRM_MODE_MATCH_3D_FLAGS,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_drm_modes.c_drm_mode_match.c"
	.text
	.align	2
	.global	drm_mode_match
	.syntax unified
	.arm
	.fpu softvfp
	.type	drm_mode_match, %function
drm_mode_match:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	orrs	r3, r0, r1
	beq	.L32
	cmp	r1, #0
	cmpne	r0, #0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r5, r1
	beq	.L8
	ldr	r3, .L37
	mov	r6, r2
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L5
.L9:
	ldr	r3, .L37+4
	ldr	r3, [r3]
	tst	r6, r3
	bne	.L33
.L7:
	ldr	r3, .L37+8
	ldr	r3, [r3]
	tst	r6, r3
	bne	.L34
.L11:
	ldr	r3, .L37+12
	ldr	r3, [r3]
	tst	r6, r3
	bne	.L35
.L13:
	ldr	r3, .L37+16
	ldr	r3, [r3]
	tst	r6, r3
	bne	.L36
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L5:
	bl	drm_mode_match_timings
	cmp	r0, #0
	bne	.L9
.L8:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L36:
	mov	r1, r5
	mov	r0, r4
	bl	drm_mode_match_aspect_ratio
	subs	r0, r0, #0
	movne	r0, #1
	pop	{r4, r5, r6, pc}
.L32:
	mov	r0, #1
	bx	lr
.L33:
	mov	r1, r5
	mov	r0, r4
	bl	drm_mode_match_clock
	cmp	r0, #0
	bne	.L7
	b	.L8
.L34:
	mov	r1, r5
	mov	r0, r4
	bl	drm_mode_match_flags
	cmp	r0, #0
	bne	.L11
	b	.L8
.L35:
	mov	r1, r5
	mov	r0, r4
	bl	drm_mode_match_3d_flags
	cmp	r0, #0
	bne	.L13
	b	.L8
.L38:
	.align	2
.L37:
	.word	DRM_MODE_MATCH_TIMINGS
	.word	DRM_MODE_MATCH_CLOCK
	.word	DRM_MODE_MATCH_FLAGS
	.word	DRM_MODE_MATCH_3D_FLAGS
	.word	DRM_MODE_MATCH_ASPECT_RATIO
	.size	drm_mode_match, .-drm_mode_match
	.comm	DRM_MODE_MATCH_TIMINGS,4,4
	.comm	DRM_MODE_MATCH_FLAGS,4,4
	.comm	DRM_MODE_MATCH_CLOCK,4,4
	.comm	DRM_MODE_MATCH_ASPECT_RATIO,4,4
	.comm	DRM_MODE_MATCH_3D_FLAGS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
