	.file	"extr_qxl_object.c_qxl_bo_check_id.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	qxl_bo_check_id
	.type	qxl_bo_check_id, @function
qxl_bo_check_id:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rdx, QWORD PTR QXL_GEM_DOMAIN_SURFACE[rip]
	xor	eax, eax
	cmp	QWORD PTR [rsi], rdx
	je	.L10
.L6:
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	cmp	QWORD PTR 8[rsi], 0
	jne	.L6
	sub	rsp, 24
	.cfi_def_cfa_offset 32
	mov	QWORD PTR 8[rsp], rsi
	mov	QWORD PTR [rsp], rdi
	call	qxl_surface_id_alloc@PLT
	test	eax, eax
	jne	.L1
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, QWORD PTR [rsp]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	qxl_hw_surface_alloc@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	add	rsp, 24
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	qxl_bo_check_id, .-qxl_bo_check_id
	.comm	QXL_GEM_DOMAIN_SURFACE,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_qxl_object.c_qxl_bo_check_id.c"
	.text
	.align	2
	.global	qxl_bo_check_id
	.syntax unified
	.arm
	.fpu softvfp
	.type	qxl_bo_check_id, %function
qxl_bo_check_id:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L12
	ldr	r2, [r1]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L10
	mov	r0, #0
	bx	lr
.L10:
	ldr	r3, [r1, #4]
	push	{r4, r5, r6, lr}
	cmp	r3, #0
	mov	r4, r1
	beq	.L11
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L11:
	mov	r5, r0
	bl	qxl_surface_id_alloc
	cmp	r0, #0
	popne	{r4, r5, r6, pc}
	mov	r1, r4
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	qxl_hw_surface_alloc
.L13:
	.align	2
.L12:
	.word	QXL_GEM_DOMAIN_SURFACE
	.size	qxl_bo_check_id, .-qxl_bo_check_id
	.comm	QXL_GEM_DOMAIN_SURFACE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
