	.file	"extr_blkback.c_xen_vbd_translate.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	xen_vbd_translate, @function
xen_vbd_translate:
.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, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	r12d, DWORD PTR EACCES[rip]
	neg	r12d
	cmp	DWORD PTR REQ_OP_READ[rip], edx
	je	.L2
	cmp	QWORD PTR 8[rsi], 0
	jne	.L1
.L2:
	mov	rdi, QWORD PTR [rbx]
	call	likely@PLT
	test	rax, rax
	jne	.L4
.L5:
	mov	eax, DWORD PTR 4[rbp]
	xor	r12d, r12d
	mov	DWORD PTR 20[rbx], eax
	mov	eax, DWORD PTR 0[rbp]
	mov	DWORD PTR 16[rbx], eax
.L3:
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	rax, QWORD PTR 8[rbx]
	mov	r13, QWORD PTR [rbx]
	xor	edi, edi
	add	r13, rax
	cmp	rax, r13
	setg	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L1
	mov	rdi, rbp
	call	vbd_sz@PLT
	xor	edi, edi
	cmp	rax, r13
	setl	dil
	call	unlikely@PLT
	test	rax, rax
	je	.L5
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	xen_vbd_translate, .-xen_vbd_translate
	.comm	REQ_OP_READ,4,4
	.comm	EACCES,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_blkback.c_xen_vbd_translate.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xen_vbd_translate, %function
xen_vbd_translate:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L11
	ldr	ip, .L11+4
	ldr	r3, [r3]
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r6, [ip]
	cmp	r3, r2
	mov	r4, r0
	mov	r5, r1
	rsb	r6, r6, #0
	beq	.L2
	ldr	r3, [r1, #8]
	cmp	r3, #0
	bne	.L1
.L2:
	ldr	r0, [r4]
	bl	likely
	cmp	r0, #0
	bne	.L4
.L5:
	mov	r6, #0
	ldr	r2, [r5, #4]
	ldr	r3, [r5]
	str	r2, [r4, #12]
	str	r3, [r4, #8]
.L3:
.L1:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	ldr	r0, [r4, #4]
	ldr	r7, [r4]
	add	r7, r0, r7
	cmp	r0, r7
	movle	r0, #0
	movgt	r0, #1
	bl	unlikely
	cmp	r0, #0
	bne	.L1
	mov	r0, r5
	bl	vbd_sz
	cmp	r0, r7
	movge	r0, #0
	movlt	r0, #1
	bl	unlikely
	cmp	r0, #0
	beq	.L5
	b	.L1
.L12:
	.align	2
.L11:
	.word	REQ_OP_READ
	.word	EACCES
	.size	xen_vbd_translate, .-xen_vbd_translate
	.comm	REQ_OP_READ,4,4
	.comm	EACCES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
