	.file	"extr_pagevec.c_ceph_alloc_page_vector.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ceph_alloc_page_vector
	.type	ceph_alloc_page_vector, @function
ceph_alloc_page_vector:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	edx, esi
	mov	r14d, edi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, esi
	mov	esi, 8
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	kmalloc_array@PLT
	test	rax, rax
	je	.L10
	mov	r12, rax
	lea	r13d, -1[r14]
	xor	ebx, ebx
	test	r14d, r14d
	jg	.L6
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	lea	rax, 1[rbx]
	cmp	rbx, r13
	je	.L1
	mov	rbx, rax
.L6:
	mov	edi, ebp
	call	__page_cache_alloc@PLT
	mov	QWORD PTR [r12+rbx*8], rax
	test	rax, rax
	jne	.L5
	mov	esi, ebx
	mov	rdi, r12
	call	ceph_release_page_vector@PLT
.L10:
	mov	edi, DWORD PTR ENOMEM[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	neg	edi
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	ERR_PTR@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	rax, r12
	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	ceph_alloc_page_vector, .-ceph_alloc_page_vector
	.comm	ENOMEM,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_pagevec.c_ceph_alloc_page_vector.c"
	.text
	.align	2
	.global	ceph_alloc_page_vector
	.syntax unified
	.arm
	.fpu softvfp
	.type	ceph_alloc_page_vector, %function
ceph_alloc_page_vector:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r2, r1
	mov	r6, r1
	mov	r1, #4
	mov	r7, r0
	bl	kmalloc_array
	subs	r8, r0, #0
	beq	.L9
	cmp	r7, #0
	movgt	r4, #0
	subgt	r5, r8, #4
	bgt	.L6
	b	.L1
.L5:
	add	r4, r4, #1
	cmp	r7, r4
	beq	.L1
.L6:
	mov	r0, r6
	bl	__page_cache_alloc
	cmp	r0, #0
	str	r0, [r5, #4]!
	bne	.L5
	mov	r1, r4
	mov	r0, r8
	bl	ceph_release_page_vector
.L9:
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L11
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	ERR_PTR
.L1:
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	.align	2
.L11:
	.word	ENOMEM
	.size	ceph_alloc_page_vector, .-ceph_alloc_page_vector
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
