	.file	"extr_block_dev.c_blkdev_aio_write.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	blkdev_aio_write
	.type	blkdev_aio_write, @function
blkdev_aio_write:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	cmp	DWORD PTR [rdi], ecx
	mov	ebp, ecx
	mov	r15, QWORD PTR 8[rdi]
	setne	dil
	movzx	edi, dil
	call	BUG_ON@PLT
	mov	rcx, r12
	mov	rdi, r12
	mov	rdx, r14
	mov	rsi, r13
	call	__generic_file_aio_write@PLT
	mov	r12, rax
	test	rax, rax
	jg	.L2
	add	rax, QWORD PTR EIOCBQUEUED[rip]
	je	.L8
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, ebp
	mov	rdi, r15
	mov	rdx, rax
	call	generic_write_sync@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	test	rax, rax
	cmovs	r12, rax
	mov	rax, r12
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdx, r12
	mov	esi, ebp
	mov	rdi, r15
	call	generic_write_sync@PLT
	pop	rbp
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	blkdev_aio_write, .-blkdev_aio_write
	.comm	EIOCBQUEUED,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_block_dev.c_blkdev_aio_write.c"
	.text
	.align	2
	.global	blkdev_aio_write
	.syntax unified
	.arm
	.fpu softvfp
	.type	blkdev_aio_write, %function
blkdev_aio_write:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	r6, r1
	mov	r7, r2
	ldr	r0, [r0]
	mov	r5, r3
	subs	r0, r0, r3
	movne	r0, #1
	ldr	r8, [r4, #4]
	bl	BUG_ON
	mov	r3, r4
	mov	r0, r4
	mov	r2, r7
	mov	r1, r6
	bl	__generic_file_aio_write
	subs	r4, r0, #0
	bgt	.L2
	ldr	r3, .L9
	ldr	r3, [r3]
	cmn	r4, r3
	beq	.L8
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r2, r4
	mov	r1, r5
	mov	r0, r8
	bl	generic_write_sync
	cmp	r0, #0
	movlt	r4, r0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	mov	r1, r5
	mov	r0, r8
	mov	r2, r4
	bl	generic_write_sync
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	EIOCBQUEUED
	.size	blkdev_aio_write, .-blkdev_aio_write
	.comm	EIOCBQUEUED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
