	.file	"extr_alloc.c_ocfs2_zero_cluster_pages.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ocfs2_zero_cluster_pages, @function
ocfs2_zero_cluster_pages:
.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, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	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
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, r8d
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rdi, QWORD PTR [rdi]
	mov	DWORD PTR 12[rsp], esi
	mov	QWORD PTR 32[rsp], rcx
	mov	DWORD PTR 40[rsp], r8d
	mov	DWORD PTR 44[rsp], r9d
	call	OCFS2_SB@PLT
	mov	edi, eax
	call	ocfs2_sparse_alloc@PLT
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	BUG_ON@PLT
	test	ebx, ebx
	je	.L2
	mov	edi, DWORD PTR PAGE_CACHE_SIZE[rip]
	mov	eax, ebx
	mov	ebx, edi
	jle	.L2
	sub	eax, 1
	mov	esi, DWORD PTR 12[rsp]
	mov	r13, r14
	mov	ecx, DWORD PTR PAGE_CACHE_SHIFT[rip]
	lea	rax, 8[r14+rax*8]
	mov	r14, QWORD PTR 112[rsp]
	mov	QWORD PTR 16[rsp], rax
	lea	rax, 44[rsp]
	mov	edx, esi
	mov	QWORD PTR 24[rsp], rax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L14:
	mov	edi, DWORD PTR PAGE_CACHE_SIZE[rip]
.L4:
	mov	r15, QWORD PTR 0[r13]
	lea	eax, -1[rdi]
	mov	esi, ebp
	and	edx, eax
	sar	esi, cl
	and	eax, ebp
	cmp	esi, DWORD PTR [r15]
	mov	DWORD PTR 12[rsp], edx
	cmove	ebx, eax
	cmp	edi, edx
	setb	dil
	movzx	edi, dil
	call	BUG_ON@PLT
	xor	edi, edi
	cmp	DWORD PTR PAGE_CACHE_SIZE[rip], ebx
	setb	dil
	add	r13, 8
	call	BUG_ON@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 120
	mov	ecx, ebx
	mov	rsi, r14
	push	QWORD PTR 32[rsp]
	.cfi_def_cfa_offset 128
	mov	edx, DWORD PTR 28[rsp]
	mov	r8, r15
	mov	rdi, r12
	mov	r9d, 1
	call	ocfs2_map_and_dirty_page@PLT
	mov	edx, DWORD PTR [r15]
	mov	ecx, DWORD PTR PAGE_CACHE_SHIFT[rip]
	pop	rax
	.cfi_def_cfa_offset 120
	pop	rsi
	.cfi_def_cfa_offset 112
	add	edx, 1
	sal	edx, cl
	cmp	QWORD PTR 16[rsp], r13
	jne	.L14
.L2:
	mov	rax, QWORD PTR 32[rsp]
	test	rax, rax
	je	.L1
	mov	esi, DWORD PTR 40[rsp]
	mov	rdi, rax
	call	ocfs2_unlock_and_free_pages@PLT
.L1:
	add	rsp, 56
	.cfi_def_cfa_offset 56
	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
	.cfi_endproc
.LFE0:
	.size	ocfs2_zero_cluster_pages, .-ocfs2_zero_cluster_pages
	.comm	PAGE_CACHE_SIZE,4,4
	.comm	PAGE_CACHE_SHIFT,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_alloc.c_ocfs2_zero_cluster_pages.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ocfs2_zero_cluster_pages, %function
ocfs2_zero_cluster_pages:
	@ args = 12, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r9, r0
	sub	sp, sp, #36
	ldr	r0, [r0]
	mov	r4, r3
	str	r3, [sp, #24]
	mov	r8, r2
	str	r1, [sp, #28]
	ldr	fp, [sp, #80]
	bl	OCFS2_SB
	bl	ocfs2_sparse_alloc
	clz	r0, r0
	lsr	r0, r0, #5
	bl	BUG_ON
	ldr	r3, [sp, #72]
	cmp	r3, #0
	beq	.L2
	ldr	r7, .L15
	ldr	r0, [r7]
	mov	r6, r0
	ble	.L2
	ldr	r2, [sp, #72]
	ldr	r3, .L15+4
	ldr	r1, [sp, #28]
	sub	r5, r4, #4
	add	r2, r5, r2, lsl #2
	str	r2, [sp, #20]
	ldr	r3, [r3]
	mov	r2, r1
	b	.L4
.L14:
	ldr	r0, [r7]
.L4:
	ldr	r4, [r5, #4]!
	sub	r1, r0, #1
	ldr	ip, [r4]
	and	r10, r1, r2
	cmp	ip, r8, asr r3
	andeq	r6, r1, r8
	cmp	r0, r10
	movcs	r0, #0
	movcc	r0, #1
	bl	BUG_ON
	ldr	r0, [r7]
	cmp	r0, r6
	movcs	r0, #0
	movcc	r0, #1
	bl	BUG_ON
	add	r3, sp, #76
	str	r3, [sp, #8]
	mov	r3, #1
	mov	r2, r10
	mov	r1, fp
	str	r3, [sp, #4]
	mov	r0, r9
	mov	r3, r6
	str	r4, [sp]
	bl	ocfs2_map_and_dirty_page
	ldr	r3, .L15+4
	ldr	r2, [r4]
	ldr	r1, [sp, #20]
	ldr	r3, [r3]
	add	r2, r2, #1
	cmp	r1, r5
	lsl	r2, r2, r3
	bne	.L14
.L2:
	ldr	r3, [sp, #24]
	cmp	r3, #0
	beq	.L1
	mov	r0, r3
	ldr	r1, [sp, #72]
	bl	ocfs2_unlock_and_free_pages
.L1:
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L16:
	.align	2
.L15:
	.word	PAGE_CACHE_SIZE
	.word	PAGE_CACHE_SHIFT
	.size	ocfs2_zero_cluster_pages, .-ocfs2_zero_cluster_pages
	.comm	PAGE_CACHE_SIZE,4,4
	.comm	PAGE_CACHE_SHIFT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
