	.file	"extr_file.c_gfs2_allocate_page_backing.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	gfs2_allocate_page_backing, @function
gfs2_allocate_page_backing:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	ebp, DWORD PTR [rdi]
	mov	ecx, DWORD PTR PAGE_CACHE_SHIFT[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 8[rdi]
	mov	rbx, QWORD PTR PAGE_CACHE_SIZE[rip]
	mov	r13, rsp
	mov	r12, QWORD PTR [rax]
	sub	ecx, DWORD PTR [r12]
	sal	ebp, cl
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rax, QWORD PTR [rsp]
	mov	ecx, DWORD PTR [r12]
	mov	rdx, rax
	shr	rdx, cl
	add	ebp, edx
	sub	rbx, rax
	je	.L9
.L4:
	mov	rdi, r12
	mov	ecx, 1
	mov	rdx, r13
	mov	esi, ebp
	mov	QWORD PTR 8[rsp], 0
	mov	QWORD PTR [rsp], rbx
	call	gfs2_block_map@PLT
	mov	rdi, r13
	call	buffer_mapped@PLT
	test	eax, eax
	jne	.L2
	mov	eax, DWORD PTR EIO[rip]
	neg	eax
.L1:
	mov	rsi, QWORD PTR 24[rsp]
	xor	rsi, QWORD PTR fs:40
	jne	.L10
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	xor	eax, eax
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	gfs2_allocate_page_backing, .-gfs2_allocate_page_backing
	.comm	PAGE_CACHE_SIZE,8,8
	.comm	PAGE_CACHE_SHIFT,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_file.c_gfs2_allocate_page_backing.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gfs2_allocate_page_backing, %function
gfs2_allocate_page_backing:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L11
	ldr	r2, [r0, #4]
	sub	sp, sp, #20
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	ldr	r6, [r2]
	ldr	r3, .L11+4
	ldr	r2, [r6]
	ldr	r1, [r3]
	ldr	r5, [r0]
	ldr	r3, .L11+8
	sub	r1, r1, r2
	mov	r7, #0
	ldr	r4, [r3]
	lsl	r5, r5, r1
	b	.L4
.L2:
	ldr	r3, [sp, #4]
	ldr	r2, [r6]
	subs	r4, r4, r3
	add	r5, r5, r3, lsr r2
	beq	.L9
.L4:
	mov	r3, #1
	mov	r1, r5
	add	r2, sp, #4
	mov	r0, r6
	stmib	sp, {r4, r7}
	bl	gfs2_block_map
	add	r0, sp, #4
	bl	buffer_mapped
	cmp	r0, #0
	bne	.L2
	ldr	r3, .L11+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
.L1:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L9:
	mov	r0, r4
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	PAGE_CACHE_SHIFT
	.word	PAGE_CACHE_SIZE
	.word	EIO
	.size	gfs2_allocate_page_backing, .-gfs2_allocate_page_backing
	.comm	PAGE_CACHE_SIZE,4,4
	.comm	PAGE_CACHE_SHIFT,4,4
	.comm	EIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
