	.file	"extr_extent_map.c_ocfs2_read_virt_blocks.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"(inode = %p, v_block = %llu, nr = %d, bhs = %p, flags = %x, validate = %p)\n"
	.align 8
.LC1:
	.string	"Inode #%llu contains a hole at offset %llu\n"
	.text
	.p2align 4
	.globl	ocfs2_read_virt_blocks
	.type	ocfs2_read_virt_blocks, @function
ocfs2_read_virt_blocks:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, edx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, esi
	lea	ebx, -1[rbx+r15]
	sub	rsp, 96
	.cfi_def_cfa_offset 152
	mov	DWORD PTR 40[rsp], esi
	mov	QWORD PTR 16[rsp], rcx
	mov	DWORD PTR 44[rsp], r8d
	mov	QWORD PTR 64[rsp], r9
	mov	DWORD PTR 24[rsp], edx
	mov	rdx, QWORD PTR fs:40
	mov	QWORD PTR 80[rsp], rdx
	xor	edx, edx
	push	r9
	.cfi_def_cfa_offset 160
	movsx	rdx, esi
	mov	r9d, r8d
	mov	rsi, rdi
	mov	r8, rcx
	lea	rdi, .LC0[rip]
	mov	ecx, r15d
	call	mlog_entry@PLT
	mov	rax, QWORD PTR [r14]
	mov	rdi, r14
	mov	ecx, DWORD PTR [rax]
	sal	ebx, cl
	call	i_size_read@PLT
	pop	rdx
	.cfi_def_cfa_offset 152
	pop	rcx
	.cfi_def_cfa_offset 144
	cmp	ebx, eax
	jge	.L2
	lea	rax, 68[rsp]
	xor	r13d, r13d
	mov	QWORD PTR 48[rsp], rax
	lea	rax, 64[rsp]
	mov	QWORD PTR 40[rsp], rax
	test	r15d, r15d
	jle	.L24
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, r14
	call	OCFS2_I@PLT
	lea	rdi, 8[rax]
	call	down_read@PLT
	mov	eax, DWORD PTR 32[rsp]
	xor	r8d, r8d
	mov	rdi, r14
	mov	rcx, QWORD PTR 48[rsp]
	mov	rdx, QWORD PTR 40[rsp]
	lea	r12d, 0[r13+rax]
	mov	esi, r12d
	call	ocfs2_extent_map_get_blocks@PLT
	mov	rdi, r14
	mov	r15d, eax
	call	OCFS2_I@PLT
	lea	rdi, 8[rax]
	call	up_read@PLT
	test	r15d, r15d
	jne	.L25
	mov	esi, DWORD PTR 64[rsp]
	test	esi, esi
	je	.L27
	mov	r12d, DWORD PTR 16[rsp]
	sub	r12d, r13d
	cmp	DWORD PTR 68[rsp], r12d
	cmovle	r12d, DWORD PTR 68[rsp]
	test	r12d, r12d
	jle	.L28
	mov	rcx, QWORD PTR 8[rsp]
	movsx	rax, r13d
	lea	ebp, -1[r12]
	xor	r15d, r15d
	mov	QWORD PTR 24[rsp], rax
	lea	rbx, [rcx+rax*8]
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L14:
	mov	r15, rax
.L9:
	mov	rax, QWORD PTR [rbx+r15*8]
	test	rax, rax
	je	.L8
	add	esi, r15d
	xor	edi, edi
	cmp	DWORD PTR [rax], esi
	setne	dil
	call	BUG_ON@PLT
	mov	esi, DWORD PTR 64[rsp]
.L8:
	lea	rax, 1[r15]
	cmp	rbp, r15
	jne	.L14
.L7:
	mov	rdx, QWORD PTR 24[rsp]
	mov	rax, QWORD PTR 8[rsp]
	mov	rdi, r14
	mov	DWORD PTR 20[rsp], esi
	lea	r15, [rax+rdx*8]
	call	INODE_CACHE@PLT
	mov	r9, QWORD PTR 56[rsp]
	mov	rcx, r15
	mov	edx, r12d
	mov	r8d, DWORD PTR 36[rsp]
	mov	esi, DWORD PTR 20[rsp]
	mov	edi, eax
	call	ocfs2_read_blocks@PLT
	mov	r15d, eax
	test	eax, eax
	jne	.L25
	add	r13d, r12d
	cmp	DWORD PTR 16[rsp], r13d
	jg	.L3
.L24:
	xor	r15d, r15d
.L4:
	mov	edi, r15d
	call	mlog_exit@PLT
	mov	rax, QWORD PTR 72[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L29
	add	rsp, 88
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r15d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	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
.L28:
	.cfi_restore_state
	movsx	rax, r13d
	mov	QWORD PTR 24[rsp], rax
	jmp	.L7
.L25:
	mov	edi, r15d
	call	mlog_errno@PLT
	jmp	.L4
.L2:
	mov	eax, DWORD PTR 36[rsp]
	xor	edi, edi
	test	DWORD PTR OCFS2_BH_READAHEAD[rip], eax
	sete	dil
	call	BUG_ON@PLT
	jmp	.L24
.L27:
	mov	rax, QWORD PTR [r14]
	mov	rdi, r14
	movsx	r12, r12d
	mov	r15d, DWORD PTR EIO[rip]
	mov	ecx, DWORD PTR [rax]
	neg	r15d
	sal	r12, cl
	call	OCFS2_I@PLT
	mov	edi, DWORD PTR ML_ERROR[rip]
	mov	rcx, r12
	lea	rsi, .LC1[rip]
	mov	rdx, QWORD PTR [rax]
	call	mlog@PLT
	jmp	.L4
.L29:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ocfs2_read_virt_blocks, .-ocfs2_read_virt_blocks
	.comm	OCFS2_BH_READAHEAD,4,4
	.comm	ML_ERROR,4,4
	.comm	EIO,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_extent_map.c_ocfs2_read_virt_blocks.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"(inode = %p, v_block = %llu, nr = %d, bhs = %p, fla"
	.ascii	"gs = %x, validate = %p)\012\000"
	.align	2
.LC1:
	.ascii	"Inode #%llu contains a hole at offset %llu\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ocfs2_read_virt_blocks
	.syntax unified
	.arm
	.fpu softvfp
	.type	ocfs2_read_virt_blocks, %function
ocfs2_read_virt_blocks:
	@ args = 8, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r8, r0
	mov	r4, r1
	mov	r10, r2
	sub	sp, sp, #52
	ldr	ip, [sp, #88]
	stm	sp, {r2, r3}
	ldr	r0, [sp, #92]
	str	ip, [sp, #8]
	ldr	ip, .L27
	mov	r2, r1
	str	r1, [sp, #24]
	str	r0, [sp, #28]
	str	r0, [sp, #12]
	mov	r9, r3
	ldr	r0, .L27+4
	asr	r3, r1, #31
	mov	r1, r8
	ldr	ip, [ip]
	str	ip, [sp, #44]
	mov	ip,#0
	bl	mlog_entry
	ldr	r3, [r8]
	add	r4, r4, r10
	ldr	r3, [r3]
	mov	r0, r8
	sub	r4, r4, #1
	lsl	r4, r4, r3
	bl	i_size_read
	cmp	r4, r0
	bge	.L2
	cmp	r10, #0
	movgt	r6, #0
	ble	.L4
.L3:
	mov	r0, r8
	bl	OCFS2_I
	ldr	r3, [sp, #24]
	add	r0, r0, #4
	add	r5, r6, r3
	bl	down_read
	mov	r3, #0
	mov	r1, r5
	add	r2, sp, #36
	str	r3, [sp]
	mov	r0, r8
	add	r3, sp, #40
	bl	ocfs2_extent_map_get_blocks
	mov	r4, r0
	mov	r0, r8
	bl	OCFS2_I
	add	r0, r0, #4
	bl	up_read
	cmp	r4, #0
	bne	.L23
	ldr	r2, [sp, #36]
	cmp	r2, #0
	beq	.L24
	ldr	r2, [sp, #40]
	sub	r7, r10, r6
	cmp	r7, r2
	movge	r7, r2
	cmp	r7, #0
	lslle	r3, r6, #2
	strle	r3, [sp, #20]
	ble	.L8
	add	r5, r7, r6
	lsl	r3, r6, #2
	add	r5, r9, r5, lsl #2
	str	r3, [sp, #20]
	add	fp, r9, r6, lsl #2
.L10:
	ldr	r2, [fp], #4
	cmp	r2, #0
	beq	.L9
	ldr	r3, [sp, #36]
	ldr	r0, [r2]
	add	r3, r4, r3
	subs	r0, r3, r0
	movne	r0, #1
	bl	BUG_ON
.L9:
	cmp	fp, r5
	add	r4, r4, #1
	bne	.L10
.L8:
	mov	r0, r8
	bl	INODE_CACHE
	ldr	r3, [sp, #28]
	mov	r2, r7
	str	r3, [sp, #4]
	ldr	r3, [sp, #88]
	ldr	r1, [sp, #36]
	str	r3, [sp]
	ldr	r3, [sp, #20]
	add	r3, r9, r3
	bl	ocfs2_read_blocks
	subs	r4, r0, #0
	bne	.L25
	add	r6, r6, r7
	cmp	r10, r6
	bgt	.L3
.L4:
	mov	r4, #0
.L5:
	mov	r0, r4
	bl	mlog_exit
	ldr	r3, .L27
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L26
	mov	r0, r4
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	mov	r4, #0
	ldr	r3, .L27+8
	ldr	r2, [sp, #88]
	ldr	r3, [r3]
	tst	r2, r3
	moveq	r0, #1
	movne	r0, r4
	bl	BUG_ON
	b	.L5
.L23:
	mov	r0, r4
	bl	mlog_errno
	b	.L5
.L24:
	ldr	r2, .L27+12
	ldr	r3, .L27+16
	mov	r0, r8
	ldr	r6, [r3]
	ldr	r4, [r2]
	bl	OCFS2_I
	ldr	r1, [r8]
	asr	r3, r5, #31
	ldr	r1, [r1]
	ldr	lr, [r0]
	sub	ip, r1, #32
	lsl	r3, r3, r1
	orr	r3, r3, r5, lsl ip
	rsb	ip, r1, #32
	orr	r3, r3, r5, lsr ip
	lsl	r5, r5, r1
	str	r3, [sp, #4]
	mov	r0, r6
	mov	r2, lr
	ldr	r1, .L27+20
	str	r5, [sp]
	asr	r3, lr, #31
	rsb	r4, r4, #0
	bl	mlog
	b	.L5
.L25:
	bl	mlog_errno
	b	.L5
.L26:
	bl	__stack_chk_fail
.L28:
	.align	2
.L27:
	.word	.LC2
	.word	.LC0
	.word	OCFS2_BH_READAHEAD
	.word	EIO
	.word	ML_ERROR
	.word	.LC1
	.size	ocfs2_read_virt_blocks, .-ocfs2_read_virt_blocks
	.comm	OCFS2_BH_READAHEAD,4,4
	.comm	ML_ERROR,4,4
	.comm	EIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
