	.file	"extr_virtio_uml.c_vu_interrupt.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"read returned %d\n"
	.text
	.p2align 4
	.type	vu_interrupt, @function
vu_interrupt:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, edi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rbp, QWORD PTR [rsi]
	mov	r12d, DWORD PTR IRQ_NONE[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	rbx, 4[rsp]
	.p2align 4,,10
	.p2align 3
.L2:
	mov	edi, DWORD PTR 0[rbp]
	mov	edx, 4
	mov	rsi, rbx
	call	os_read_file@PLT
	cmp	eax, 4
	je	.L11
	mov	ecx, eax
	add	ecx, DWORD PTR EINTR[rip]
	je	.L2
	mov	edx, eax
	xor	edi, edi
	add	edx, DWORD PTR EAGAIN[rip]
	mov	edx, eax
	setne	dil
	lea	rsi, .LC0[rip]
	call	WARN@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rsi, r13
	mov	edi, r14d
	call	vring_interrupt@PLT
	or	r12d, eax
	jmp	.L2
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	vu_interrupt, .-vu_interrupt
	.comm	IRQ_NONE,4,4
	.comm	EINTR,4,4
	.comm	EAGAIN,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_virtio_uml.c_vu_interrupt.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"read returned %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vu_interrupt, %function
vu_interrupt:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r1
	mov	r8, r0
	ldr	r3, .L13
	sub	sp, sp, #8
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	ldr	r3, .L13+4
	ldr	r4, [r1]
	ldr	r6, [r3]
	ldr	r5, .L13+8
.L2:
	mov	r2, #4
	mov	r1, sp
	ldr	r0, [r4]
	bl	os_read_file
	cmp	r0, #4
	beq	.L11
	ldr	r3, [r5]
	cmn	r0, r3
	beq	.L2
	ldr	r3, .L13+12
	mov	r2, r0
	ldr	r3, [r3]
	ldr	r1, .L13+16
	cmn	r0, r3
	movne	r0, #1
	moveq	r0, #0
	bl	WARN
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	mov	r0, r6
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	mov	r1, r7
	mov	r0, r8
	bl	vring_interrupt
	orr	r6, r6, r0
	b	.L2
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC1
	.word	IRQ_NONE
	.word	EINTR
	.word	EAGAIN
	.word	.LC0
	.size	vu_interrupt, .-vu_interrupt
	.comm	IRQ_NONE,4,4
	.comm	EINTR,4,4
	.comm	EAGAIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
