	.file	"extr_mlock.c___munlock_pagevec_fill.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	__munlock_pagevec_fill, @function
__munlock_pagevec_fill:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, r8
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	mov	rsi, rcx
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	edi, DWORD PTR [rbx]
	mov	QWORD PTR 8[rsp], rdx
	lea	rdx, 16[rsp]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	get_locked_pte@PLT
	mov	rsi, r13
	mov	rdi, r12
	mov	rbp, rax
	call	pgd_addr_end@PLT
	mov	rdi, r12
	mov	rsi, rax
	call	p4d_addr_end@PLT
	mov	rdi, r12
	mov	rsi, rax
	call	pud_addr_end@PLT
	mov	rdi, r12
	mov	rsi, rax
	call	pmd_addr_end@PLT
	add	r12, QWORD PTR PAGE_SIZE[rip]
	mov	r13, rax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edi, DWORD PTR 4[rbp]
	add	rbp, 4
	call	pte_present@PLT
	test	rax, rax
	je	.L3
	mov	edx, DWORD PTR 0[rbp]
	mov	rsi, r12
	mov	rdi, rbx
	call	vm_normal_page@PLT
	mov	r14, rax
	test	rax, rax
	je	.L3
	mov	rdi, rax
	call	page_zone@PLT
	cmp	QWORD PTR 8[rsp], rax
	jne	.L3
	mov	rdi, r14
	call	PageTransCompound@PLT
	test	rax, rax
	jne	.L3
	mov	rdi, r14
	call	get_page@PLT
	mov	rsi, r14
	mov	rdi, r15
	add	r12, QWORD PTR PAGE_SIZE[rip]
	call	pagevec_add@PLT
	test	rax, rax
	je	.L3
.L2:
	cmp	r12, r13
	jb	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rsi, QWORD PTR 16[rsp]
	mov	rdi, rbp
	call	pte_unmap_unlock@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L17
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	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
.L17:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	__munlock_pagevec_fill, .-__munlock_pagevec_fill
	.comm	PAGE_SIZE,8,8
	.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_mlock.c___munlock_pagevec_fill.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__munlock_pagevec_fill, %function
__munlock_pagevec_fill:
	@ args = 4, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r7, r1
	sub	sp, sp, #12
	mov	r5, r3
	mov	r1, r3
	ldr	r3, .L18
	mov	r10, r0
	mov	r9, r2
	ldr	r0, [r7]
	mov	r2, sp
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	get_locked_pte
	ldr	r1, [sp, #48]
	mov	r6, r0
	mov	r0, r5
	bl	pgd_addr_end
	mov	r1, r0
	mov	r0, r5
	bl	p4d_addr_end
	mov	r1, r0
	mov	r0, r5
	bl	pud_addr_end
	mov	r1, r0
	mov	r0, r5
	bl	pmd_addr_end
	ldr	fp, .L18+4
	mov	r8, r0
	ldr	r3, [fp]
	add	r5, r5, r3
	b	.L2
.L4:
	ldr	r0, [r6, #4]!
	bl	pte_present
	cmp	r0, #0
	beq	.L3
	mov	r1, r5
	mov	r0, r7
	ldr	r2, [r6]
	bl	vm_normal_page
	subs	r4, r0, #0
	beq	.L3
	bl	page_zone
	cmp	r9, r0
	bne	.L3
	mov	r0, r4
	bl	PageTransCompound
	cmp	r0, #0
	bne	.L3
	mov	r0, r4
	bl	get_page
	ldr	r3, [fp]
	mov	r1, r4
	mov	r0, r10
	add	r5, r5, r3
	bl	pagevec_add
	cmp	r0, #0
	beq	.L3
.L2:
	cmp	r5, r8
	bcc	.L4
.L3:
	mov	r0, r6
	ldr	r1, [sp]
	bl	pte_unmap_unlock
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC0
	.word	PAGE_SIZE
	.size	__munlock_pagevec_fill, .-__munlock_pagevec_fill
	.comm	PAGE_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
