	.file	"extr_memory.c_zap_pud_range.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	zap_pud_range, @function
zap_pud_range:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	mov	rdi, rdx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	mov	rsi, rcx
	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
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	QWORD PTR 8[rsp], r9
	call	pud_offset@PLT
	mov	rbx, rax
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L20:
	mov	r9, QWORD PTR 8[rsp]
	mov	rcx, r12
	mov	r8, rbp
	mov	rdx, rbx
	mov	rsi, r14
	mov	rdi, r15
	call	zap_pmd_range@PLT
	mov	r12, rax
.L7:
	xor	eax, eax
	add	rbx, 4
	call	cond_resched@PLT
	cmp	r12, r13
	je	.L18
.L10:
	mov	rdi, r12
	mov	rsi, r13
	call	pud_addr_end@PLT
	mov	edi, DWORD PTR [rbx]
	mov	rbp, rax
	call	pud_trans_huge@PLT
	test	rax, rax
	je	.L2
	mov	rax, rbp
	sub	rax, r12
	cmp	rax, QWORD PTR HPAGE_PUD_SIZE[rip]
	je	.L19
.L3:
	mov	rdi, QWORD PTR [r15]
	call	rwsem_is_locked@PLT
	xor	edi, edi
	mov	rsi, r14
	test	eax, eax
	sete	dil
	call	VM_BUG_ON_VMA@PLT
	mov	rdx, r12
	mov	rsi, rbx
	mov	rdi, r14
	call	split_huge_pud@PLT
.L6:
	mov	rdi, rbx
	call	pud_none_or_clear_bad@PLT
	test	rax, rax
	je	.L20
	mov	r12, rbp
	add	rbx, 4
	cmp	r12, r13
	jne	.L10
.L18:
	add	rsp, 24
	.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
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	call	pud_devmap@PLT
	test	rax, rax
	je	.L6
	mov	rax, rbp
	sub	rax, r12
	cmp	rax, QWORD PTR HPAGE_PUD_SIZE[rip]
	jne	.L3
	.p2align 4,,10
	.p2align 3
.L19:
	mov	rcx, r12
	mov	rdx, rbx
	mov	rsi, r14
	mov	rdi, r15
	call	zap_huge_pud@PLT
	test	rax, rax
	je	.L6
	mov	r12, rbp
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	zap_pud_range, .-zap_pud_range
	.comm	HPAGE_PUD_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_memory.c_zap_pud_range.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	zap_pud_range, %function
zap_pud_range:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r10, r0
	sub	sp, sp, #12
	mov	r8, r1
	mov	r0, r2
	mov	r1, r3
	mov	r4, r3
	ldr	r9, [sp, #48]
	bl	pud_offset
	ldr	fp, .L21
	mov	r7, r0
	b	.L10
.L20:
	ldr	r3, [fp]
	sub	r2, r5, r4
	cmp	r2, r3
	beq	.L18
.L3:
	ldr	r0, [r10]
	bl	rwsem_is_locked
	clz	r0, r0
	mov	r1, r8
	lsr	r0, r0, #5
	bl	VM_BUG_ON_VMA
	mov	r2, r4
	mov	r1, r6
	mov	r0, r8
	bl	split_huge_pud
.L6:
	mov	r0, r6
	bl	pud_none_or_clear_bad
	cmp	r0, #0
	movne	r4, r5
	bne	.L9
	ldr	r3, [sp, #52]
	mov	r2, r6
	str	r3, [sp, #4]
	mov	r1, r8
	mov	r3, r4
	mov	r0, r10
	str	r5, [sp]
	bl	zap_pmd_range
	mov	r4, r0
.L7:
	bl	cond_resched
.L9:
	cmp	r4, r9
	beq	.L19
.L10:
	mov	r1, r9
	mov	r0, r4
	bl	pud_addr_end
	mov	r5, r0
	ldr	r0, [r7]
	bl	pud_trans_huge
	cmp	r0, #0
	mov	r6, r7
	add	r7, r7, #4
	bne	.L20
	ldr	r0, [r7, #-4]
	bl	pud_devmap
	cmp	r0, #0
	beq	.L6
	ldr	r3, [fp]
	sub	r2, r5, r4
	cmp	r2, r3
	bne	.L3
.L18:
	mov	r3, r4
	mov	r2, r6
	mov	r1, r8
	mov	r0, r10
	bl	zap_huge_pud
	cmp	r0, #0
	beq	.L6
	mov	r4, r5
	b	.L7
.L19:
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L22:
	.align	2
.L21:
	.word	HPAGE_PUD_SIZE
	.size	zap_pud_range, .-zap_pud_range
	.comm	HPAGE_PUD_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
