	.file	"extr_hugetlbpage.c_hugetlb_free_pmd_range.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	hugetlb_free_pmd_range, @function
hugetlb_free_pmd_range:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	mov	rdi, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rcx
	mov	r15, r12
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	QWORD PTR 24[rsp], rsi
	mov	rsi, rdx
	mov	r14d, DWORD PTR 96[rsp]
	mov	QWORD PTR 8[rsp], r8
	mov	QWORD PTR 16[rsp], r9
	call	pmd_offset@PLT
	mov	rbx, rax
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, r15
	mov	rsi, rbp
	call	pmd_addr_end@PLT
	mov	edi, DWORD PTR [rbx]
	mov	r15, rax
	call	pmd_none@PLT
	test	rax, rax
	jne	.L2
	mov	edx, r14d
	mov	rsi, rbx
	mov	rdi, r13
	call	free_hugepte_range@PLT
.L2:
	add	rbx, 4
	cmp	rbp, r15
	jne	.L3
	mov	r9, QWORD PTR PUD_MASK[rip]
	and	r12, r9
	cmp	r12, QWORD PTR 8[rsp]
	jb	.L1
	mov	rax, QWORD PTR 16[rsp]
	test	rax, rax
	je	.L5
	and	r9, rax
	je	.L1
	sub	rbp, 1
	sub	r9, 1
	cmp	rbp, r9
	jbe	.L5
.L1:
	add	rsp, 40
	.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	rbx, QWORD PTR 24[rsp]
	mov	rsi, r12
	mov	rdi, rbx
	call	pmd_offset@PLT
	mov	rdi, rbx
	mov	rbp, rax
	call	pud_clear@PLT
	add	rsp, 40
	.cfi_def_cfa_offset 56
	mov	rdx, r12
	mov	rsi, rbp
	pop	rbx
	.cfi_def_cfa_offset 48
	mov	rdi, r13
	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
	jmp	pmd_free_tlb@PLT
	.cfi_endproc
.LFE0:
	.size	hugetlb_free_pmd_range, .-hugetlb_free_pmd_range
	.comm	PUD_MASK,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_hugetlbpage.c_hugetlb_free_pmd_range.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hugetlb_free_pmd_range, %function
hugetlb_free_pmd_range:
	@ args = 12, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r10, r1
	sub	sp, sp, #12
	mov	r6, r3
	ldr	r3, [sp, #48]
	mov	r8, r0
	str	r3, [sp]
	ldr	r3, [sp, #52]
	mov	r1, r2
	mov	r0, r10
	mov	r7, r2
	ldr	r9, [sp, #56]
	str	r3, [sp, #4]
	bl	pmd_offset
	mov	r4, r7
	mov	fp, r0
.L3:
	mov	r0, r4
	mov	r1, r6
	bl	pmd_addr_end
	mov	r4, r0
	ldr	r0, [fp]
	bl	pmd_none
	cmp	r0, #0
	mov	r5, fp
	add	fp, fp, #4
	bne	.L2
	mov	r1, r5
	mov	r2, r9
	mov	r0, r8
	bl	free_hugepte_range
.L2:
	cmp	r6, r4
	bne	.L3
	ldr	r3, .L15
	ldr	r2, [sp]
	ldr	r3, [r3]
	and	r7, r7, r3
	cmp	r7, r2
	bcc	.L1
	ldr	r2, [sp, #4]
	cmp	r2, #0
	beq	.L5
	ands	r3, r3, r2
	beq	.L1
	sub	r6, r6, #1
	sub	r3, r3, #1
	cmp	r6, r3
	bls	.L5
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	mov	r1, r7
	mov	r0, r10
	bl	pmd_offset
	mov	r4, r0
	mov	r0, r10
	bl	pud_clear
	mov	r2, r7
	mov	r1, r4
	mov	r0, r8
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	pmd_free_tlb
.L16:
	.align	2
.L15:
	.word	PUD_MASK
	.size	hugetlb_free_pmd_range, .-hugetlb_free_pmd_range
	.comm	PUD_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
