	.file	"extr_xenbus_comms.c_xb_data_to_write.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	xb_data_to_write, @function
xb_data_to_write:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rdx, QWORD PTR xen_store_interface[rip]
	mov	rax, QWORD PTR [rdx]
	sub	rax, QWORD PTR 8[rdx]
	cmp	rax, QWORD PTR XENSTORE_RING_SIZE[rip]
	jne	.L10
	xor	r8d, r8d
	mov	eax, r8d
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	lea	rdi, xb_write_list[rip]
	call	list_empty@PLT
	xor	r8d, r8d
	test	eax, eax
	sete	r8b
	add	rsp, 8
	.cfi_def_cfa_offset 8
	mov	eax, r8d
	ret
	.cfi_endproc
.LFE0:
	.size	xb_data_to_write, .-xb_data_to_write
	.comm	xen_store_interface,8,8
	.comm	xb_write_list,4,4
	.comm	XENSTORE_RING_SIZE,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_xenbus_comms.c_xb_data_to_write.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xb_data_to_write, %function
xb_data_to_write:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L10
	ldr	r3, .L10+4
	ldr	r2, [r2]
	ldr	r1, [r3]
	ldr	r3, [r2]
	ldr	r2, [r2, #4]
	sub	r3, r3, r2
	cmp	r3, r1
	bne	.L9
	mov	r0, #0
	bx	lr
.L9:
	push	{r4, lr}
	ldr	r0, .L10+8
	bl	list_empty
	clz	r0, r0
	lsr	r0, r0, #5
	pop	{r4, pc}
.L11:
	.align	2
.L10:
	.word	xen_store_interface
	.word	XENSTORE_RING_SIZE
	.word	xb_write_list
	.size	xb_data_to_write, .-xb_data_to_write
	.comm	xen_store_interface,4,4
	.comm	xb_write_list,4,4
	.comm	XENSTORE_RING_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
