	.file	"extr_vm_map_store_rb.c_update_holes_on_entry_deletion.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Hole hint failed: Hole entry start: 0x%llx, entry start: 0x%llx, map hole start: 0x%llx, map hint start: 0x%llx\n"
	.align 8
.LC1:
	.string	"Hole hint failed: Hole entry end: 0x%llx, entry start: 0x%llx, map hole start: 0x%llx, map hint start: 0x%llx\n"
	.text
	.p2align 4
	.globl	update_holes_on_entry_deletion
	.type	update_holes_on_entry_deletion, @function
update_holes_on_entry_deletion:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, QWORD PTR TRUE[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rdi, QWORD PTR 8[rdi]
	call	CAST_TO_VM_MAP_ENTRY@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L2
	mov	rdi, QWORD PTR 0[r13]
	mov	rax, QWORD PTR 8[r12]
	cmp	QWORD PTR 0[rbp], rax
	je	.L3
	mov	rax, QWORD PTR [r12]
	cmp	QWORD PTR 8[rbp], rax
	je	.L35
	jg	.L36
.L3:
	call	CAST_TO_VM_MAP_ENTRY@PLT
	cmp	rbp, rax
	je	.L32
.L6:
	mov	rsi, QWORD PTR 8[rbp]
	mov	rdx, QWORD PTR 8[r12]
	cmp	rsi, rdx
	jg	.L37
.L8:
	mov	rsi, QWORD PTR 0[rbp]
	cmp	rsi, rdx
	jle	.L15
	jmp	.L38
	.p2align 4,,10
	.p2align 3
.L9:
	cmp	QWORD PTR 8[rbp], rax
	je	.L39
	mov	rdi, QWORD PTR 0[r13]
	jg	.L40
	call	CAST_TO_VM_MAP_ENTRY@PLT
	cmp	rax, rbx
	je	.L14
	mov	rsi, QWORD PTR [rbx]
	mov	rdx, QWORD PTR 8[r12]
	mov	rbp, rbx
.L15:
	mov	rbx, QWORD PTR 24[rbp]
	mov	rax, QWORD PTR [r12]
	cmp	rdx, rsi
	jne	.L9
	cmp	QWORD PTR 8[rbx], rax
	je	.L41
	mov	QWORD PTR 0[rbp], rax
.L33:
	mov	r14, QWORD PTR FALSE[rip]
.L2:
	test	r14, r14
	jne	.L42
.L16:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rsi, rbp
	mov	rdi, r13
	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	SAVE_HINT_HOLE_WRITE@PLT
	.p2align 4,,10
	.p2align 3
.L38:
	.cfi_restore_state
	mov	rcx, QWORD PTR 8[r13]
	mov	rax, QWORD PTR 0[r13]
	lea	rdi, .LC1[rip]
	mov	r8, QWORD PTR [rcx]
	mov	rcx, QWORD PTR [rax]
	call	panic@PLT
.L32:
	mov	rsi, QWORD PTR 0[rbp]
	mov	rdx, QWORD PTR 8[r12]
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L42:
	mov	edi, DWORD PTR vm_map_holes_zone[rip]
	call	zalloc@PLT
	mov	rdi, QWORD PTR 0[r13]
	mov	rbx, rax
	test	rdi, rdi
	je	.L20
	call	CAST_TO_VM_MAP_ENTRY@PLT
	cmp	rbp, rax
	je	.L43
.L19:
	mov	r14, QWORD PTR 24[rbp]
	mov	QWORD PTR 24[rbx], rbp
	mov	rdi, rbx
	mov	QWORD PTR 16[rbx], r14
	call	CAST_TO_VM_MAP_ENTRY@PLT
	mov	rdi, rbx
	mov	QWORD PTR 24[rbp], rax
	call	CAST_TO_VM_MAP_ENTRY@PLT
	mov	QWORD PTR 16[r14], rax
.L18:
	mov	rax, QWORD PTR 8[r12]
	mov	rdi, rbx
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR [r12]
	mov	QWORD PTR 8[rbx], rax
	call	CAST_TO_VM_MAP_ENTRY@PLT
	xor	edi, edi
	mov	rbp, rax
	mov	rax, QWORD PTR 8[rbx]
	cmp	QWORD PTR [rbx], rax
	setl	dil
	call	assert@PLT
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L20:
	mov	QWORD PTR 0[r13], rbx
	mov	rdi, rbx
	call	CAST_TO_VM_MAP_ENTRY@PLT
	mov	QWORD PTR 16[rbx], rax
	mov	QWORD PTR 24[rbx], rax
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L36:
	call	CAST_TO_VM_MAP_ENTRY@PLT
	mov	rbp, rax
.L31:
	mov	rdi, QWORD PTR 0[r13]
	call	CAST_TO_VM_MAP_ENTRY@PLT
	cmp	rbp, rax
	jne	.L6
	jmp	.L32
	.p2align 4,,10
	.p2align 3
.L39:
	mov	QWORD PTR 8[rbp], rdx
	jmp	.L33
	.p2align 4,,10
	.p2align 3
.L40:
	call	CAST_TO_VM_MAP_ENTRY@PLT
	cmp	rbp, rax
	je	.L2
	mov	rax, QWORD PTR 8[r12]
	xor	edi, edi
	cmp	QWORD PTR 8[rbp], rax
	setne	dil
	call	assert@PLT
	mov	rbp, QWORD PTR 16[rbp]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rbp, QWORD PTR 16[rax]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L37:
	mov	rcx, QWORD PTR 8[r13]
	mov	rax, QWORD PTR 0[r13]
	lea	rdi, .LC0[rip]
	mov	r8, QWORD PTR [rcx]
	mov	rcx, QWORD PTR [rax]
	call	panic@PLT
	mov	rdx, QWORD PTR 8[r12]
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L35:
	call	CAST_TO_VM_MAP_ENTRY@PLT
	cmp	rbp, rax
	je	.L31
	mov	rbp, QWORD PTR 16[rbp]
	mov	rdi, QWORD PTR 0[r13]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L43:
	mov	rax, QWORD PTR 8[r12]
	cmp	QWORD PTR 8[rbp], rax
	jle	.L19
	mov	rdi, QWORD PTR 0[r13]
	test	rdi, rdi
	je	.L20
	call	CAST_TO_VM_MAP_ENTRY@PLT
	mov	rdi, rbx
	mov	rbp, rax
	mov	rax, QWORD PTR 0[r13]
	mov	r14, QWORD PTR 24[rax]
	mov	QWORD PTR 0[r13], rbx
	mov	QWORD PTR 16[rbx], rbp
	mov	QWORD PTR 24[rbx], r14
	call	CAST_TO_VM_MAP_ENTRY@PLT
	mov	QWORD PTR 16[rbp], rax
	mov	QWORD PTR 24[r14], rax
	jmp	.L18
.L41:
	mov	rsi, rbp
	mov	rdi, r13
	call	vm_map_combine_hole@PLT
	jmp	.L33
	.cfi_endproc
.LFE0:
	.size	update_holes_on_entry_deletion, .-update_holes_on_entry_deletion
	.comm	vm_map_holes_zone,4,4
	.comm	TRUE,8,8
	.comm	FALSE,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_vm_map_store_rb.c_update_holes_on_entry_deletion.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Hole hint failed: Hole entry start: 0x%llx, entry s"
	.ascii	"tart: 0x%llx, map hole start: 0x%llx, map hint star"
	.ascii	"t: 0x%llx\012\000"
	.align	2
.LC1:
	.ascii	"Hole hint failed: Hole entry end: 0x%llx, entry sta"
	.ascii	"rt: 0x%llx, map hole start: 0x%llx, map hint start:"
	.ascii	" 0x%llx\012\000"
	.text
	.align	2
	.global	update_holes_on_entry_deletion
	.syntax unified
	.arm
	.fpu softvfp
	.type	update_holes_on_entry_deletion, %function
update_holes_on_entry_deletion:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r10, fp, lr}
	ldr	r3, .L43
	mov	r7, r0
	sub	sp, sp, #24
	ldr	r0, [r0, #4]
	mov	r6, r1
	ldr	r8, [r3]
	bl	CAST_TO_VM_MAP_ENTRY
	subs	r4, r0, #0
	beq	.L2
	ldr	r2, [r4]
	ldr	r3, [r6, #4]
	ldr	r0, [r7]
	cmp	r2, r3
	beq	.L3
	ldr	r2, [r4, #4]
	ldr	r3, [r6]
	cmp	r2, r3
	beq	.L34
	bgt	.L35
.L3:
	bl	CAST_TO_VM_MAP_ENTRY
	cmp	r4, r0
	beq	.L32
.L6:
	ldr	r2, [r4, #4]
	ldr	r0, [r6, #4]
	cmp	r2, r0
	bgt	.L36
.L8:
	ldr	r2, [r4]
	cmp	r2, r0
	ble	.L15
	b	.L37
.L9:
	ldr	r2, [r4, #4]
	cmp	r2, r3
	beq	.L38
	ldr	r0, [r7]
	bgt	.L39
	bl	CAST_TO_VM_MAP_ENTRY
	cmp	r0, r5
	beq	.L14
	mov	r4, r5
	ldr	r2, [r5]
	ldr	r0, [r6, #4]
.L15:
	cmp	r0, r2
	ldr	r5, [r4, #12]
	ldr	r3, [r6]
	bne	.L9
	ldr	r2, [r5, #4]
	cmp	r2, r3
	strne	r3, [r4]
	beq	.L40
.L11:
	ldr	r3, .L43+4
	ldr	r8, [r3]
.L2:
	cmp	r8, #0
	bne	.L41
.L16:
	mov	r1, r4
	mov	r0, r7
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r10, fp, lr}
	b	SAVE_HINT_HOLE_WRITE
.L37:
	ldr	r1, [r7, #4]
	ldr	r3, [r7]
	ldr	r10, [r1]
	asr	r1, r0, #31
	asr	fp, r10, #31
	str	r10, [sp, #16]
	str	fp, [sp, #20]
	ldr	r10, [r3]
	stm	sp, {r0-r1}
	asr	fp, r10, #31
	str	r10, [sp, #8]
	str	fp, [sp, #12]
	ldr	r0, .L43+8
	asr	r3, r2, #31
	bl	panic
.L32:
	ldr	r2, [r4]
	ldr	r0, [r6, #4]
	b	.L15
.L41:
	ldr	r3, .L43+12
	ldr	r0, [r3]
	bl	zalloc
	ldr	r3, [r7]
	mov	r5, r0
	cmp	r3, #0
	beq	.L20
	mov	r0, r3
	bl	CAST_TO_VM_MAP_ENTRY
	cmp	r4, r0
	beq	.L42
.L19:
	ldr	r8, [r4, #12]
	mov	r0, r5
	str	r8, [r5, #8]
	str	r4, [r5, #12]
	bl	CAST_TO_VM_MAP_ENTRY
	str	r0, [r4, #12]
	mov	r0, r5
	bl	CAST_TO_VM_MAP_ENTRY
	str	r0, [r8, #8]
.L18:
	ldr	r2, [r6, #4]
	ldr	r3, [r6]
	mov	r0, r5
	stm	r5, {r2, r3}
	bl	CAST_TO_VM_MAP_ENTRY
	ldm	r5, {r2, r3}
	cmp	r2, r3
	mov	r4, r0
	movge	r0, #0
	movlt	r0, #1
	bl	assert
	b	.L16
.L20:
	mov	r0, r5
	str	r5, [r7]
	bl	CAST_TO_VM_MAP_ENTRY
	str	r0, [r5, #8]
	str	r0, [r5, #12]
	b	.L18
.L35:
	bl	CAST_TO_VM_MAP_ENTRY
	mov	r4, r0
.L31:
	ldr	r0, [r7]
	bl	CAST_TO_VM_MAP_ENTRY
	cmp	r4, r0
	bne	.L6
	b	.L32
.L38:
	ldr	r3, .L43+4
	str	r0, [r4, #4]
	ldr	r8, [r3]
	b	.L2
.L39:
	bl	CAST_TO_VM_MAP_ENTRY
	cmp	r4, r0
	beq	.L2
	ldr	r0, [r4, #4]
	ldr	r3, [r6, #4]
	subs	r0, r0, r3
	movne	r0, #1
	bl	assert
	ldr	r4, [r4, #8]
	b	.L2
.L14:
	ldr	r4, [r0, #8]
	b	.L2
.L36:
	ldr	r1, [r7, #4]
	ldr	r3, [r7]
	ldr	r10, [r1]
	asr	r1, r0, #31
	asr	fp, r10, #31
	str	r10, [sp, #16]
	str	fp, [sp, #20]
	ldr	r10, [r3]
	stm	sp, {r0-r1}
	asr	fp, r10, #31
	str	r10, [sp, #8]
	str	fp, [sp, #12]
	ldr	r0, .L43+16
	asr	r3, r2, #31
	bl	panic
	ldr	r0, [r6, #4]
	b	.L8
.L34:
	bl	CAST_TO_VM_MAP_ENTRY
	cmp	r4, r0
	beq	.L31
	ldr	r4, [r4, #8]
	ldr	r0, [r7]
	b	.L3
.L42:
	ldr	r2, [r4, #4]
	ldr	r3, [r6, #4]
	cmp	r2, r3
	ble	.L19
	ldr	r0, [r7]
	cmp	r0, #0
	beq	.L20
	bl	CAST_TO_VM_MAP_ENTRY
	mov	r4, r0
	ldr	r3, [r7]
	mov	r0, r5
	ldr	r8, [r3, #12]
	str	r5, [r7]
	str	r4, [r5, #8]
	str	r8, [r5, #12]
	bl	CAST_TO_VM_MAP_ENTRY
	str	r0, [r4, #8]
	str	r0, [r8, #12]
	b	.L18
.L40:
	mov	r1, r4
	mov	r0, r7
	bl	vm_map_combine_hole
	b	.L11
.L44:
	.align	2
.L43:
	.word	TRUE
	.word	FALSE
	.word	.LC1
	.word	vm_map_holes_zone
	.word	.LC0
	.size	update_holes_on_entry_deletion, .-update_holes_on_entry_deletion
	.comm	vm_map_holes_zone,4,4
	.comm	TRUE,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
