	.file	"extr_mga_state.c_mga_verify_blit.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"*** bad blit: src=0x%x dst=0x%x\n"
	.text
	.p2align 4
	.type	mga_verify_blit, @function
mga_verify_blit:
.LFB0:
	.cfi_startproc
	endbr64
	mov	ecx, esi
	mov	eax, DWORD PTR MGA_SRCACC_PCI[rip]
	or	eax, DWORD PTR MGA_SRCMAP_SYSMEM[rip]
	and	ecx, 3
	cmp	ecx, eax
	je	.L2
	mov	ecx, edx
	xor	r8d, r8d
	and	ecx, 3
	cmp	eax, ecx
	je	.L2
	mov	eax, r8d
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	lea	rdi, .LC0[rip]
	call	DRM_ERROR@PLT
	mov	r8d, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 8
	neg	r8d
	mov	eax, r8d
	ret
	.cfi_endproc
.LFE0:
	.size	mga_verify_blit, .-mga_verify_blit
	.comm	MGA_SRCMAP_SYSMEM,4,4
	.comm	MGA_SRCACC_PCI,4,4
	.comm	EINVAL,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_mga_state.c_mga_verify_blit.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"*** bad blit: src=0x%x dst=0x%x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mga_verify_blit, %function
mga_verify_blit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r0, .L9
	ldr	r3, .L9+4
	ldr	ip, [r0]
	ldr	r3, [r3]
	and	r0, r1, #3
	orr	r3, r3, ip
	cmp	r0, r3
	beq	.L2
	and	r0, r2, #3
	cmp	r3, r0
	beq	.L2
	mov	r0, #0
	bx	lr
.L2:
	push	{r4, lr}
	ldr	r0, .L9+8
	bl	DRM_ERROR
	ldr	r3, .L9+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L10:
	.align	2
.L9:
	.word	MGA_SRCMAP_SYSMEM
	.word	MGA_SRCACC_PCI
	.word	.LC0
	.word	EINVAL
	.size	mga_verify_blit, .-mga_verify_blit
	.comm	MGA_SRCMAP_SYSMEM,4,4
	.comm	MGA_SRCACC_PCI,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
