	.file	"extr_xenstore_dev.c_xs_queue_reply.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"xenstore reply too big"
	.text
	.p2align 4
	.type	xs_queue_reply, @function
xs_queue_reply:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR 16[rdi]
	test	edx, edx
	je	.L2
	lea	eax, -1[rdx]
	mov	rbx, rsi
	lea	r13, 1[rsi+rax]
	.p2align 4,,10
	.p2align 3
.L3:
	mov	r12, QWORD PTR 0[rbp]
	add	rbx, 1
	call	MASK_READ_IDX@PLT
	movzx	edx, BYTE PTR -1[rbx]
	mov	BYTE PTR [r12+rax], dl
	mov	eax, DWORD PTR 16[rbp]
	lea	edi, 1[rax]
	mov	DWORD PTR 16[rbp], edi
	cmp	r13, rbx
	jne	.L3
.L2:
	sub	edi, DWORD PTR 12[rbp]
	lea	rsi, .LC0[rip]
	cmp	edi, 8
	setbe	dil
	movzx	edi, dil
	call	KASSERT@PLT
	mov	rdi, rbp
	call	wakeup@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	lea	rdi, 8[rbp]
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	selwakeup@PLT
	.cfi_endproc
.LFE0:
	.size	xs_queue_reply, .-xs_queue_reply
	.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_xenstore_dev.c_xs_queue_reply.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"xenstore reply too big\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xs_queue_reply, %function
xs_queue_reply:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r2, #0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r0, [r0, #12]
	beq	.L2
	sub	r5, r1, #1
	add	r7, r5, r2
.L3:
	ldr	r6, [r4]
	bl	MASK_READ_IDX
	ldrb	r3, [r5, #1]!	@ zero_extendqisi2
	strb	r3, [r6, r0]
	ldr	r0, [r4, #12]
	cmp	r7, r5
	add	r0, r0, #1
	str	r0, [r4, #12]
	bne	.L3
.L2:
	ldr	r3, [r4, #8]
	ldr	r1, .L10
	sub	r0, r0, r3
	cmp	r0, #4
	movhi	r0, #0
	movls	r0, #1
	bl	KASSERT
	mov	r0, r4
	bl	wakeup
	add	r0, r4, #4
	pop	{r4, r5, r6, r7, r8, lr}
	b	selwakeup
.L11:
	.align	2
.L10:
	.word	.LC0
	.size	xs_queue_reply, .-xs_queue_reply
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
