	.file	"extr_subpage_prot.c_subpage_prot_free.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	subpage_prot_free
	.type	subpage_prot_free, @function
subpage_prot_free:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	mm_ctx_subpage_prot@PLT
	test	rax, rax
	je	.L1
	mov	r13, rax
	mov	rax, QWORD PTR 16[rax]
	xor	ebx, ebx
.L4:
	mov	rdi, QWORD PTR [rax+rbx]
	test	rdi, rdi
	je	.L3
	call	free_page@PLT
	mov	rax, QWORD PTR 16[r13]
	mov	QWORD PTR [rax+rbx], 0
.L3:
	add	rbx, 8
	cmp	rbx, 32
	jne	.L4
	mov	edx, DWORD PTR TASK_SIZE_USER64[rip]
	mov	ecx, 43
	mov	eax, edx
	sar	eax, cl
	test	eax, eax
	je	.L5
	xor	ebp, ebp
	xor	r14d, r14d
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rax, QWORD PTR 8[r13]
	lea	rax, [rax+r14*8]
	mov	r12, QWORD PTR [rax]
	test	r12, r12
	je	.L6
	xor	ebx, ebx
	cmp	QWORD PTR SBP_L2_COUNT[rip], 0
	mov	QWORD PTR [rax], 0
	jne	.L7
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdi, QWORD PTR [r12+rbx*8]
	test	rdi, rdi
	je	.L9
	call	free_page@PLT
.L9:
	add	rbx, 1
	add	rbp, QWORD PTR PAGE_SIZE[rip]
	cmp	QWORD PTR SBP_L2_COUNT[rip], rbx
	jbe	.L8
.L7:
	cmp	QWORD PTR 0[r13], rbp
	ja	.L10
.L8:
	mov	rdi, r12
	call	free_page@PLT
	mov	edx, DWORD PTR TASK_SIZE_USER64[rip]
.L6:
	mov	eax, edx
	mov	ecx, 43
	add	r14, 1
	sar	eax, cl
	cdqe
	cmp	rax, r14
	ja	.L11
.L5:
	mov	QWORD PTR 0[r13], 0
	mov	rdi, r13
	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
	jmp	kfree@PLT
.L1:
	.cfi_restore_state
	pop	rbx
	.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
	.cfi_endproc
.LFE0:
	.size	subpage_prot_free, .-subpage_prot_free
	.comm	TASK_SIZE_USER64,4,4
	.comm	SBP_L2_COUNT,8,8
	.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_subpage_prot.c_subpage_prot_free.c"
	.text
	.align	2
	.global	subpage_prot_free
	.syntax unified
	.arm
	.fpu softvfp
	.type	subpage_prot_free, %function
subpage_prot_free:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bl	mm_ctx_subpage_prot
	subs	r10, r0, #0
	popeq	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	mov	r4, #0
	mov	r5, r4
	ldr	r3, [r10, #8]
.L4:
	ldr	r0, [r3, r4]
	cmp	r0, #0
	beq	.L3
	bl	free_page
	ldr	r3, [r10, #8]
	str	r5, [r3, r4]
.L3:
	add	r4, r4, #4
	cmp	r4, #16
	bne	.L4
	mov	r3, #43
	ldr	r2, .L31
	ldr	r2, [r2]
	asrs	r3, r2, r3
	beq	.L5
	mov	r5, #0
	mov	r7, r5
	ldr	fp, .L31+4
	ldr	r9, .L31+8
.L11:
	ldr	r3, [r10, #4]
	ldr	r8, [r3, r7, lsl #2]
	cmp	r8, #0
	beq	.L6
	mov	r4, #0
	ldr	r1, [fp]
	str	r4, [r3, r7, lsl #2]
	cmp	r1, r4
	beq	.L7
	sub	r6, r8, #4
	b	.L8
.L10:
	ldr	r0, [r6, #4]!
	cmp	r0, #0
	beq	.L9
	bl	free_page
.L9:
	ldr	r1, [fp]
	ldr	r3, [r9]
	cmp	r1, r4
	add	r5, r5, r3
	bls	.L7
.L8:
	ldr	r3, [r10]
	add	r4, r4, #1
	cmp	r3, r5
	bhi	.L10
.L7:
	mov	r0, r8
	bl	free_page
.L6:
	mov	r3, #43
	ldr	r2, .L31
	add	r7, r7, #1
	ldr	r1, [r2]
	cmp	r7, r1, asr r3
	bcc	.L11
.L5:
	mov	r3, #0
	mov	r0, r10
	str	r3, [r10]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	kfree
.L32:
	.align	2
.L31:
	.word	TASK_SIZE_USER64
	.word	SBP_L2_COUNT
	.word	PAGE_SIZE
	.size	subpage_prot_free, .-subpage_prot_free
	.comm	TASK_SIZE_USER64,4,4
	.comm	SBP_L2_COUNT,4,4
	.comm	PAGE_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
