	.file	"extr_hugetlbpage.c_hugetlb_free_pgd_range.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	hugetlb_free_pgd_range
	.type	hugetlb_free_pgd_range, @function
hugetlb_free_pgd_range:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	QWORD PTR 8[rsp], r8
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdi, r13
	call	pgd_none_or_clear_bad@PLT
	test	rax, rax
	jne	.L5
	mov	r9, QWORD PTR 8[rsp]
	mov	rdx, r15
	mov	r8, r14
	mov	rcx, rbx
	mov	rsi, r13
	mov	rdi, r12
	mov	r15, rbx
	call	hugetlb_free_pud_range@PLT
.L3:
	cmp	r15, rbp
	je	.L9
.L4:
	mov	rsi, rbp
	mov	rdi, r15
	call	pgd_addr_end@PLT
	mov	edi, DWORD PTR [r12]
	mov	rsi, r15
	mov	rbx, rax
	call	pgd_offset@PLT
	mov	edi, DWORD PTR [rax]
	mov	r13, rax
	call	pgd_val@PLT
	mov	edi, eax
	call	__hugepd@PLT
	mov	edi, eax
	call	is_hugepd@PLT
	test	eax, eax
	je	.L10
	mov	edi, DWORD PTR 0[r13]
	call	hugepd_shift@PLT
	mov	r9, r14
	mov	rsi, r13
	mov	rdi, r12
	mov	ecx, eax
	mov	r8d, 1
	mov	edx, DWORD PTR PGDIR_SHIFT[rip]
	sal	r8d, cl
	mov	rcx, r15
	movsx	r8, r8d
	add	r8, r15
	cmp	r8, rbx
	cmovnb	rbx, r8
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	push	QWORD PTR 16[rsp]
	.cfi_def_cfa_offset 96
	mov	r8, rbx
	mov	r15, rbx
	call	free_hugepd_range@PLT
	pop	rax
	.cfi_def_cfa_offset 88
	pop	rdx
	.cfi_def_cfa_offset 80
	cmp	r15, rbp
	jne	.L4
.L9:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L5:
	.cfi_restore_state
	mov	r15, rbx
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	hugetlb_free_pgd_range, .-hugetlb_free_pgd_range
	.comm	PGDIR_SHIFT,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_hugetlbpage.c_hugetlb_free_pgd_range.c"
	.text
	.align	2
	.global	hugetlb_free_pgd_range
	.syntax unified
	.arm
	.fpu softvfp
	.type	hugetlb_free_pgd_range, %function
hugetlb_free_pgd_range:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #20
	mov	r7, r0
	mov	r4, r1
	mov	r6, r2
	mov	r8, r3
	mov	fp, #1
	ldr	r9, [sp, #56]
	b	.L4
.L10:
	mov	r0, r10
	bl	pgd_none_or_clear_bad
	cmp	r0, #0
	movne	r4, r5
	bne	.L3
	mov	r2, r4
	mov	r1, r10
	mov	r3, r5
	mov	r0, r7
	stm	sp, {r8, r9}
	mov	r4, r5
	bl	hugetlb_free_pud_range
.L3:
	cmp	r4, r6
	beq	.L9
.L4:
	mov	r1, r6
	mov	r0, r4
	bl	pgd_addr_end
	mov	r1, r4
	mov	r5, r0
	ldr	r0, [r7]
	bl	pgd_offset
	mov	r10, r0
	ldr	r0, [r0]
	bl	pgd_val
	bl	__hugepd
	bl	is_hugepd
	cmp	r0, #0
	beq	.L10
	ldr	r0, [r10]
	bl	hugepd_shift
	add	r0, r4, fp, lsl r0
	cmp	r0, r5
	movcs	r5, r0
	mov	r3, r4
	mov	r4, r5
	stm	sp, {r5, r8, r9}
	ldr	r2, .L11
	mov	r1, r10
	mov	r0, r7
	ldr	r2, [r2]
	bl	free_hugepd_range
	cmp	r4, r6
	bne	.L4
.L9:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L12:
	.align	2
.L11:
	.word	PGDIR_SHIFT
	.size	hugetlb_free_pgd_range, .-hugetlb_free_pgd_range
	.comm	PGDIR_SHIFT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
