	.file	"extr_mmap.c_detach_vmas_to_be_unmapped.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	detach_vmas_to_be_unmapped, @function
detach_vmas_to_be_unmapped:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	lea	rax, 8[rdx]
	lea	r15, 16[rdi]
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	lea	r13, 8[rdi]
	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, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	test	rdx, rdx
	mov	QWORD PTR 16[rsi], 0
	cmovne	r15, rax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L15:
	cmp	QWORD PTR 0[rbp], rbx
	jnb	.L14
.L5:
	mov	rdi, rbp
	mov	rsi, r13
	call	vma_rb_erase@PLT
	mov	rdx, rbp
	mov	rbp, QWORD PTR 8[rbp]
	sub	DWORD PTR 4[r12], 1
	test	rbp, rbp
	jne	.L15
	mov	QWORD PTR [r15], 0
	xor	eax, eax
	test	r14, r14
	je	.L9
	mov	rdi, r14
	mov	QWORD PTR 8[rsp], rdx
	call	vm_end_gap@PLT
	mov	rdx, QWORD PTR 8[rsp]
.L9:
	mov	DWORD PTR [r12], eax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L14:
	mov	QWORD PTR [r15], rbp
	mov	rdi, rbp
	mov	QWORD PTR 16[rbp], r14
	mov	QWORD PTR 8[rsp], rdx
	call	vma_gap_update@PLT
	mov	rdx, QWORD PTR 8[rsp]
.L7:
	mov	QWORD PTR 8[rdx], 0
	add	rsp, 24
	.cfi_def_cfa_offset 56
	mov	rdi, 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
	jmp	vmacache_invalidate@PLT
	.cfi_endproc
.LFE0:
	.size	detach_vmas_to_be_unmapped, .-detach_vmas_to_be_unmapped
	.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_mmap.c_detach_vmas_to_be_unmapped.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	detach_vmas_to_be_unmapped, %function
detach_vmas_to_be_unmapped:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r3
	mov	r3, #0
	subs	r7, r2, #0
	mov	r5, r0
	mov	r4, r1
	addne	r8, r7, #4
	addeq	r8, r0, #12
	str	r3, [r1, #8]
	add	r9, r0, #8
	b	.L5
.L15:
	ldr	r0, [r4]
	cmp	r0, r6
	bcs	.L14
.L5:
	mov	r0, r4
	mov	r1, r9
	bl	vma_rb_erase
	mov	r10, r4
	ldr	ip, [r5, #4]
	ldr	r4, [r4, #4]
	sub	ip, ip, #1
	cmp	r4, #0
	str	ip, [r5, #4]
	bne	.L15
	cmp	r7, #0
	str	r4, [r8]
	beq	.L9
	mov	r0, r7
	bl	vm_end_gap
	mov	r7, r0
.L9:
	str	r7, [r5]
	b	.L7
.L14:
	str	r4, [r8]
	mov	r0, r4
	str	r7, [r4, #8]
	bl	vma_gap_update
.L7:
	mov	r3, #0
	mov	r0, r5
	str	r3, [r10, #4]
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	vmacache_invalidate
	.size	detach_vmas_to_be_unmapped, .-detach_vmas_to_be_unmapped
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
