	.file	"extr_mmu.c_unmap_stage2_range.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	unmap_stage2_range, @function
unmap_stage2_range:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movsx	r14, edx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, r14
	add	r14, rsi
	call	assert_spin_locked@PLT
	mov	edi, DWORD PTR PAGE_MASK[rip]
	not	edi
	and	edi, ebx
	call	WARN_ON@PLT
	mov	rsi, r13
	mov	rdi, rbp
	mov	rbx, QWORD PTR 8[rbp]
	call	stage2_pgd_index@PLT
	cdqe
	lea	r12, [rbx+rax*4]
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, QWORD PTR 8[rbp]
	call	READ_ONCE@PLT
	test	eax, eax
	je	.L1
	mov	rsi, r13
	mov	rdi, rbp
	mov	rdx, r14
	call	stage2_pgd_addr_end@PLT
	mov	esi, DWORD PTR [r12]
	mov	rdi, rbp
	mov	rbx, rax
	call	stage2_pgd_none@PLT
	test	eax, eax
	je	.L10
.L3:
	cmp	r14, rbx
	jne	.L11
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rdi, rbp
	add	r12, 4
	mov	r13, rbx
	call	cond_resched_lock@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rcx, rbx
	mov	rdx, r13
	mov	rsi, r12
	mov	rdi, rbp
	call	unmap_stage2_puds@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	unmap_stage2_range, .-unmap_stage2_range
	.comm	PAGE_MASK,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_mmu.c_unmap_stage2_range.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	unmap_stage2_range, %function
unmap_stage2_range:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r2
	mov	r8, r1
	mov	r5, r0
	bl	assert_spin_locked
	ldr	r3, .L12
	add	r9, r8, r4
	ldr	r0, [r3]
	bic	r0, r4, r0
	bl	WARN_ON
	mov	r1, r8
	mov	r0, r5
	ldr	r6, [r5, #4]
	bl	stage2_pgd_index
	add	r6, r6, r0, lsl #2
.L4:
	ldr	r0, [r5, #4]
	bl	READ_ONCE
	cmp	r0, #0
	mov	r7, r6
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	mov	r2, r9
	mov	r1, r8
	mov	r0, r5
	bl	stage2_pgd_addr_end
	ldr	r1, [r6]
	mov	r4, r0
	mov	r0, r5
	bl	stage2_pgd_none
	cmp	r0, #0
	add	r6, r6, #4
	beq	.L10
	cmp	r9, r4
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
	mov	r0, r5
	mov	r8, r4
	bl	cond_resched_lock
	b	.L4
.L10:
	mov	r2, r8
	mov	r1, r7
	mov	r3, r4
	mov	r0, r5
	bl	unmap_stage2_puds
	cmp	r9, r4
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	b	.L11
.L13:
	.align	2
.L12:
	.word	PAGE_MASK
	.size	unmap_stage2_range, .-unmap_stage2_range
	.comm	PAGE_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
