	.file	"extr_aops.c_ocfs2_direct_IO.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ocfs2_direct_IO, @function
ocfs2_direct_IO:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	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
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rax, QWORD PTR 8[rdi]
	mov	rax, QWORD PTR [rax]
	mov	r12, QWORD PTR [rax]
	mov	rdi, QWORD PTR [r12]
	call	OCFS2_SB@PLT
	mov	rdi, r12
	mov	r14, rax
	call	OCFS2_I@PLT
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR OCFS2_INLINE_DATA_FL[rip], eax
	je	.L2
.L7:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	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
.L2:
	.cfi_restore_state
	mov	rdi, r12
	mov	rbx, QWORD PTR 0[r13]
	add	rbx, QWORD PTR 0[rbp]
	call	i_size_read@PLT
	cmp	rbx, rax
	jle	.L8
	mov	rdi, r14
	call	ocfs2_supports_append_dio@PLT
	test	eax, eax
	je	.L7
.L8:
	mov	rdi, r13
	call	iov_iter_rw@PLT
	cmp	rax, QWORD PTR READ[rip]
	mov	r8, QWORD PTR ocfs2_lock_get_block[rip]
	je	.L9
	mov	r8, QWORD PTR ocfs2_dio_wr_get_block[rip]
.L9:
	mov	rax, QWORD PTR [r12]
	push	0
	.cfi_def_cfa_offset 56
	mov	rcx, r13
	mov	rsi, r12
	push	0
	.cfi_def_cfa_offset 64
	mov	r9d, DWORD PTR ocfs2_dio_end_io[rip]
	mov	rdi, rbp
	mov	edx, DWORD PTR [rax]
	call	__blockdev_direct_IO@PLT
	pop	rdx
	.cfi_def_cfa_offset 56
	pop	rcx
	.cfi_def_cfa_offset 48
	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
	.cfi_endproc
.LFE0:
	.size	ocfs2_direct_IO, .-ocfs2_direct_IO
	.comm	ocfs2_lock_get_block,8,8
	.comm	ocfs2_dio_wr_get_block,8,8
	.comm	ocfs2_dio_end_io,4,4
	.comm	READ,8,8
	.comm	OCFS2_INLINE_DATA_FL,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_aops.c_ocfs2_direct_IO.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ocfs2_direct_IO, %function
ocfs2_direct_IO:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #4]
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, [r3]
	sub	sp, sp, #16
	ldr	r5, [r3]
	mov	r4, r0
	ldr	r0, [r5]
	mov	r6, r1
	bl	OCFS2_SB
	mov	r7, r0
	mov	r0, r5
	bl	OCFS2_I
	ldr	r3, .L17
	ldr	r2, [r0]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L2
.L7:
	mov	r0, #0
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r8, [r4]
	ldr	r3, [r6]
	mov	r0, r5
	add	r8, r8, r3
	bl	i_size_read
	cmp	r8, r0
	ble	.L8
	mov	r0, r7
	bl	ocfs2_supports_append_dio
	cmp	r0, #0
	beq	.L7
.L8:
	mov	r0, r6
	bl	iov_iter_rw
	ldr	r3, .L17+4
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L16
	ldr	r3, .L17+8
	ldr	r1, [r3]
.L9:
	mov	ip, #0
	ldr	r3, .L17+12
	ldr	r2, [r5]
	ldr	lr, [r3]
	ldr	r2, [r2]
	mov	r3, r6
	str	r1, [sp]
	mov	r0, r4
	mov	r1, r5
	str	lr, [sp, #4]
	str	ip, [sp, #12]
	str	ip, [sp, #8]
	bl	__blockdev_direct_IO
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	ldr	r3, .L17+16
	ldr	r1, [r3]
	b	.L9
.L18:
	.align	2
.L17:
	.word	OCFS2_INLINE_DATA_FL
	.word	READ
	.word	ocfs2_dio_wr_get_block
	.word	ocfs2_dio_end_io
	.word	ocfs2_lock_get_block
	.size	ocfs2_direct_IO, .-ocfs2_direct_IO
	.comm	ocfs2_lock_get_block,4,4
	.comm	ocfs2_dio_wr_get_block,4,4
	.comm	ocfs2_dio_end_io,4,4
	.comm	READ,4,4
	.comm	OCFS2_INLINE_DATA_FL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
