	.file	"extr_qxl_kms.c_qxl_check_device.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"bad rom signature %x\n"
.LC1:
	.string	"Device Version %d.%d\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"Compression level %d log level %d\n"
	.section	.rodata.str1.1
.LC3:
	.string	"%d io pages at offset 0x%x\n"
	.section	.rodata.str1.8
	.align 8
.LC4:
	.string	"%d byte draw area at offset 0x%x\n"
	.section	.rodata.str1.1
.LC5:
	.string	"RAM header offset: 0x%x\n"
	.text
	.p2align 4
	.type	qxl_check_device, @function
qxl_check_device:
.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
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbx, QWORD PTR 8[rdi]
	mov	esi, DWORD PTR [rbx]
	cmp	esi, 1330796625
	je	.L2
	lea	rdi, .LC0[rip]
	call	DRM_ERROR@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edx, DWORD PTR 32[rbx]
	mov	esi, DWORD PTR 36[rbx]
	mov	rbp, rdi
	xor	eax, eax
	lea	rdi, .LC1[rip]
	call	DRM_INFO@PLT
	mov	edx, DWORD PTR 24[rbx]
	mov	esi, DWORD PTR 28[rbx]
	xor	eax, eax
	lea	rdi, .LC2[rip]
	call	DRM_INFO@PLT
	mov	edx, DWORD PTR 16[rbx]
	mov	esi, DWORD PTR 20[rbx]
	xor	eax, eax
	lea	rdi, .LC3[rip]
	call	DRM_INFO@PLT
	mov	edx, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR 8[rbx]
	xor	eax, eax
	lea	rdi, .LC4[rip]
	call	DRM_INFO@PLT
	mov	eax, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR 4[rbx]
	lea	rdi, .LC5[rip]
	mov	DWORD PTR 0[rbp], eax
	xor	eax, eax
	call	DRM_INFO@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	eax, 1
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	qxl_check_device, .-qxl_check_device
	.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_qxl_kms.c_qxl_check_device.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"bad rom signature %x\012\000"
	.align	2
.LC1:
	.ascii	"Device Version %d.%d\012\000"
	.align	2
.LC2:
	.ascii	"Compression level %d log level %d\012\000"
	.align	2
.LC3:
	.ascii	"%d io pages at offset 0x%x\012\000"
	.align	2
.LC4:
	.ascii	"%d byte draw area at offset 0x%x\012\000"
	.align	2
.LC5:
	.ascii	"RAM header offset: 0x%x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qxl_check_device, %function
qxl_check_device:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r4, [r0, #4]
	ldr	r3, .L6
	ldr	r1, [r4]
	cmp	r1, r3
	beq	.L2
	ldr	r0, .L6+4
	bl	DRM_ERROR
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L2:
	mov	r5, r0
	ldr	r2, [r4, #32]
	ldr	r1, [r4, #36]
	ldr	r0, .L6+8
	bl	DRM_INFO
	ldr	r2, [r4, #24]
	ldr	r1, [r4, #28]
	ldr	r0, .L6+12
	bl	DRM_INFO
	ldr	r2, [r4, #16]
	ldr	r1, [r4, #20]
	ldr	r0, .L6+16
	bl	DRM_INFO
	ldr	r2, [r4, #12]
	ldr	r1, [r4, #8]
	ldr	r0, .L6+20
	bl	DRM_INFO
	ldmib	r4, {r1, r3}
	ldr	r0, .L6+24
	str	r3, [r5]
	bl	DRM_INFO
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L7:
	.align	2
.L6:
	.word	1330796625
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	qxl_check_device, .-qxl_check_device
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
