	.file	"extr_vm_map.c_vm_map_wire_locked.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"vm_map_wire: lookup failed"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"vm_map_wire: !HOLESOK and new/changed entry"
	.text
	.p2align 4
	.globl	vm_map_wire_locked
	.type	vm_map_wire_locked, @function
vm_map_wire_locked:
.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
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, ecx
	sub	rsp, 104
	.cfi_def_cfa_offset 160
	mov	QWORD PTR 56[rsp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 88[rsp], rax
	xor	eax, eax
	call	VM_MAP_ASSERT_LOCKED@PLT
	mov	rdx, QWORD PTR 56[rsp]
	mov	r13d, DWORD PTR KERN_SUCCESS[rip]
	cmp	rdx, r12
	je	.L1
	mov	eax, ebx
	and	eax, DWORD PTR VM_MAP_WIRE_WRITE[rip]
	mov	rsi, r12
	mov	rdi, rbp
	cmovne	eax, DWORD PTR VM_PROT_WRITE[rip]
	mov	r14d, DWORD PTR VM_MAP_WIRE_HOLESOK[rip]
	mov	DWORD PTR 4[rsp], eax
	mov	eax, DWORD PTR VM_MAP_WIRE_USER[rip]
	and	r14d, ebx
	mov	DWORD PTR [rsp], eax
	call	VM_MAP_RANGE_CHECK@PLT
	lea	rax, 72[rsp]
	mov	rsi, r12
	mov	rdi, rbp
	mov	rdx, rax
	mov	QWORD PTR 8[rsp], rax
	call	vm_map_lookup_entry@PLT
	test	eax, eax
	je	.L93
	mov	r15, QWORD PTR 72[rsp]
.L7:
	mov	r13d, r14d
	xor	r14d, r14d
	mov	rax, QWORD PTR 56[rsp]
	test	r13d, r13d
	setne	r14b
	and	ebx, DWORD PTR [rsp]
	mov	DWORD PTR [rsp], ebx
	cmp	QWORD PTR [r15], rax
	jge	.L8
	mov	ebx, 1
.L30:
	mov	eax, DWORD PTR 8[r15]
	test	DWORD PTR MAP_ENTRY_IN_TRANSITION[rip], eax
	je	.L9
	mov	r8, r15
	lea	rdx, 56[rsp]
	mov	ecx, r14d
	mov	rsi, r12
	mov	rdi, rbp
	call	vm_map_entry_in_transition@PLT
	mov	r15, rax
	test	rax, rax
	je	.L94
	test	ebx, ebx
	mov	eax, 0
	cmovne	rax, r15
	mov	QWORD PTR 72[rsp], rax
.L13:
	mov	rax, QWORD PTR 56[rsp]
	cmp	QWORD PTR [r15], rax
	jl	.L30
	mov	r15, QWORD PTR 72[rsp]
.L8:
	mov	r13d, DWORD PTR KERN_SUCCESS[rip]
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L33:
	mov	rdi, r15
	call	vm_map_entry_pred@PLT
	mov	rdx, r15
	mov	rdi, rbp
	mov	esi, eax
	call	vm_map_try_merge_entries@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 88[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L95
	add	rsp, 104
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r13d
	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
.L93:
	.cfi_restore_state
	mov	r13d, DWORD PTR KERN_INVALID_ADDRESS[rip]
	test	r14d, r14d
	je	.L1
	mov	rdi, QWORD PTR 72[rsp]
	call	vm_map_entry_succ@PLT
	mov	QWORD PTR 72[rsp], rax
	mov	r15, rax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdx, r12
	mov	rsi, r15
	mov	rdi, rbp
	call	vm_map_clip_start@PLT
	mov	rdx, QWORD PTR 56[rsp]
	mov	rdi, rbp
	mov	rsi, r15
	call	vm_map_clip_end@PLT
	mov	eax, DWORD PTR 8[r15]
	xor	edi, edi
	test	DWORD PTR MAP_ENTRY_IN_TRANSITION[rip], eax
	jne	.L14
	xor	edi, edi
	cmp	QWORD PTR 32[r15], 0
	sete	dil
.L14:
	mov	rsi, r15
	call	KASSERT@PLT
	mov	rdx, QWORD PTR curthread[rip]
	mov	ecx, DWORD PTR 12[r15]
	mov	eax, DWORD PTR 8[r15]
	or	eax, DWORD PTR MAP_ENTRY_IN_TRANSITION[rip]
	mov	QWORD PTR 32[r15], rdx
	mov	edx, DWORD PTR VM_PROT_READ[rip]
	or	edx, DWORD PTR VM_PROT_EXECUTE[rip]
	mov	DWORD PTR 8[r15], eax
	test	edx, ecx
	je	.L15
	mov	ebx, DWORD PTR 4[rsp]
	and	ecx, ebx
	cmp	ecx, ebx
	je	.L16
.L15:
	or	eax, DWORD PTR MAP_ENTRY_WIRE_SKIPPED[rip]
	mov	DWORD PTR 8[r15], eax
	test	r13d, r13d
	je	.L96
.L17:
	mov	rdi, r15
	xor	ebx, ebx
	call	vm_map_entry_succ@PLT
	mov	r15, rax
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L94:
	mov	r13d, DWORD PTR KERN_INVALID_ADDRESS[rip]
	test	ebx, ebx
	jne	.L1
.L90:
	mov	r15, QWORD PTR 72[rsp]
.L11:
	test	r15, r15
	je	.L97
.L31:
	mov	rax, QWORD PTR 56[rsp]
	cmp	QWORD PTR [r15], rax
	jge	.L33
	mov	r12d, DWORD PTR [rsp]
	xor	ebx, ebx
	jmp	.L43
	.p2align 4,,10
	.p2align 3
.L34:
	lea	rsi, .LC1[rip]
	mov	edi, r14d
	call	KASSERT@PLT
.L36:
	mov	rdi, r15
	call	vm_map_entry_succ@PLT
	mov	r15, rax
	mov	rax, QWORD PTR 56[rsp]
	cmp	QWORD PTR [r15], rax
	jge	.L98
.L43:
	mov	eax, DWORD PTR 8[r15]
	mov	edx, DWORD PTR MAP_ENTRY_IN_TRANSITION[rip]
	mov	ecx, eax
	and	ecx, edx
	je	.L34
	mov	rsi, QWORD PTR curthread[rip]
	cmp	QWORD PTR 32[r15], rsi
	jne	.L34
	test	DWORD PTR MAP_ENTRY_WIRE_SKIPPED[rip], eax
	jne	.L37
	cmp	DWORD PTR KERN_SUCCESS[rip], r13d
	je	.L99
	mov	edx, DWORD PTR 24[r15]
	cmp	edx, -1
	je	.L100
	test	r12d, r12d
	jne	.L101
	cmp	edx, 1
	je	.L102
.L45:
	sub	edx, 1
	mov	DWORD PTR 24[r15], edx
	.p2align 4,,10
	.p2align 3
.L37:
	xor	edi, edi
	test	ecx, ecx
	mov	rsi, r15
	setne	dil
	call	KASSERT@PLT
	mov	rax, QWORD PTR curthread[rip]
	xor	edi, edi
	cmp	QWORD PTR 32[r15], rax
	sete	dil
	mov	rsi, r15
	call	KASSERT@PLT
	mov	eax, DWORD PTR MAP_ENTRY_IN_TRANSITION[rip]
	mov	edx, DWORD PTR MAP_ENTRY_NEEDS_WAKEUP[rip]
	mov	QWORD PTR 32[r15], 0
	or	eax, DWORD PTR MAP_ENTRY_WIRE_SKIPPED[rip]
	not	eax
	and	eax, DWORD PTR 8[r15]
	mov	DWORD PTR 8[r15], eax
	test	eax, edx
	je	.L42
	not	edx
	mov	ebx, 1
	and	eax, edx
	mov	DWORD PTR 8[r15], eax
.L42:
	mov	rdi, r15
	call	vm_map_entry_pred@PLT
	mov	rdx, r15
	mov	rdi, rbp
	mov	esi, eax
	call	vm_map_try_merge_entries@PLT
	jmp	.L36
	.p2align 4,,10
	.p2align 3
.L98:
	mov	rdi, r15
	call	vm_map_entry_pred@PLT
	mov	rdx, r15
	mov	rdi, rbp
	mov	esi, eax
	call	vm_map_try_merge_entries@PLT
	test	ebx, ebx
	je	.L1
	mov	rdi, rbp
	call	vm_map_wakeup@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L101:
	test	DWORD PTR MAP_ENTRY_USER_WIRED[rip], eax
	jne	.L37
	cmp	edx, 1
	jne	.L45
	mov	rsi, r15
	mov	rdi, rbp
	call	vm_map_entry_unwire@PLT
	mov	rdi, QWORD PTR 16[r15]
	sub	rdi, QWORD PTR [r15]
	call	atop@PLT
	mov	edi, eax
	call	vm_map_wire_user_count_sub@PLT
	mov	eax, DWORD PTR 8[r15]
	and	eax, DWORD PTR MAP_ENTRY_IN_TRANSITION[rip]
	mov	ecx, eax
	jmp	.L37
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edx, DWORD PTR 24[r15]
	test	edx, edx
	je	.L103
	mov	ecx, DWORD PTR [rsp]
	test	ecx, ecx
	je	.L29
	test	DWORD PTR MAP_ENTRY_USER_WIRED[rip], eax
	je	.L29
	.p2align 4,,10
	.p2align 3
.L27:
	test	r13d, r13d
	jne	.L17
	mov	rax, QWORD PTR 56[rsp]
	cmp	QWORD PTR 16[r15], rax
	jge	.L17
	mov	rdi, r15
	call	vm_map_entry_succ@PLT
	mov	r8, rax
	mov	rax, QWORD PTR 16[r15]
	cmp	QWORD PTR [r8], rax
	jle	.L17
.L91:
	mov	QWORD PTR 56[rsp], rax
	mov	r13d, DWORD PTR KERN_INVALID_ADDRESS[rip]
	jmp	.L90
	.p2align 4,,10
	.p2align 3
.L29:
	add	edx, 1
	mov	DWORD PTR 24[r15], edx
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L99:
	test	r12d, r12d
	je	.L37
	or	eax, DWORD PTR MAP_ENTRY_USER_WIRED[rip]
	mov	ecx, edx
	mov	DWORD PTR 8[r15], eax
	and	ecx, eax
	jmp	.L37
	.p2align 4,,10
	.p2align 3
.L100:
	mov	DWORD PTR 24[r15], 0
	jmp	.L37
	.p2align 4,,10
	.p2align 3
.L103:
	mov	DWORD PTR 24[r15], 1
	mov	rdi, QWORD PTR 16[r15]
	sub	rdi, QWORD PTR [r15]
	call	atop@PLT
	mov	edi, DWORD PTR [rsp]
	mov	DWORD PTR 52[rsp], eax
	test	edi, edi
	jne	.L104
.L19:
	mov	rbx, QWORD PTR [r15]
	mov	rcx, QWORD PTR 0[rbp]
	mov	rdi, rbp
	mov	rax, QWORD PTR 16[r15]
	mov	QWORD PTR 40[rsp], rbx
	mov	QWORD PTR 24[rsp], rcx
	mov	QWORD PTR 16[rsp], rax
	call	vm_map_busy@PLT
	mov	rdi, rbp
	call	vm_map_unlock@PLT
	mov	QWORD PTR 32[rsp], r12
	mov	r12, rbx
	mov	rbx, QWORD PTR 16[rsp]
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L105:
	add	r12, QWORD PTR PAGE_SIZE[rip]
	cmp	rbx, r12
	jle	.L20
.L21:
	mov	ecx, DWORD PTR VM_FAULT_WIRE[rip]
	xor	r8d, r8d
	mov	rsi, r12
	mov	rdi, rbp
	mov	edx, DWORD PTR VM_PROT_NONE[rip]
	call	vm_fault@PLT
	cmp	DWORD PTR KERN_SUCCESS[rip], eax
	je	.L105
.L20:
	mov	rdi, rbp
	mov	DWORD PTR 48[rsp], eax
	mov	rbx, r12
	mov	r12, QWORD PTR 32[rsp]
	call	vm_map_lock@PLT
	mov	rdi, rbp
	call	vm_map_unbusy@PLT
	mov	rax, QWORD PTR 24[rsp]
	add	rax, 1
	cmp	rax, QWORD PTR 0[rbp]
	jne	.L106
.L22:
	mov	eax, DWORD PTR 48[rsp]
	cmp	DWORD PTR KERN_SUCCESS[rip], eax
	je	.L27
	mov	rsi, r15
	mov	rdx, rbx
	mov	rdi, rbp
	mov	r13d, eax
	call	vm_map_wire_entry_failure@PLT
	mov	esi, DWORD PTR [rsp]
	test	esi, esi
	jne	.L107
.L28:
	mov	rax, QWORD PTR 16[r15]
	mov	r15, QWORD PTR 72[rsp]
	mov	QWORD PTR 56[rsp], rax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L97:
	mov	rdx, QWORD PTR 8[rsp]
	mov	rsi, r12
	mov	rdi, rbp
	call	vm_map_lookup_entry@PLT
	test	eax, eax
	je	.L32
	mov	r15, QWORD PTR 72[rsp]
	jmp	.L31
	.p2align 4,,10
	.p2align 3
.L104:
	mov	edi, eax
	call	vm_map_wire_user_count_add@PLT
	test	eax, eax
	jne	.L19
	mov	rdx, QWORD PTR [r15]
	mov	rsi, r15
	mov	rdi, rbp
	call	vm_map_wire_entry_failure@PLT
	mov	rax, QWORD PTR 16[r15]
	mov	r13d, DWORD PTR KERN_RESOURCE_SHORTAGE[rip]
	mov	r15, QWORD PTR 72[rsp]
	mov	QWORD PTR 56[rsp], rax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L32:
	lea	rsi, .LC0[rip]
	mov	edi, r14d
	call	KASSERT@PLT
	mov	rdi, QWORD PTR 72[rsp]
	call	vm_map_entry_succ@PLT
	mov	QWORD PTR 72[rsp], rax
	mov	r15, rax
	jmp	.L31
.L106:
	mov	rsi, QWORD PTR 40[rsp]
	lea	rdx, 80[rsp]
	mov	rdi, rbp
	call	vm_map_lookup_entry@PLT
	test	eax, eax
	je	.L108
.L23:
	mov	rdx, QWORD PTR 80[rsp]
	cmp	QWORD PTR 72[rsp], r15
	mov	eax, 0
	mov	rcx, QWORD PTR 16[rsp]
	cmove	rax, rdx
	mov	r15, rdx
	mov	QWORD PTR 72[rsp], rax
	mov	rax, QWORD PTR 16[rdx]
	cmp	rcx, rax
	jle	.L22
	mov	r15, r12
	mov	r12, rbp
	mov	rbp, rbx
	mov	ebx, DWORD PTR 48[rsp]
	mov	DWORD PTR 16[rsp], r13d
	mov	r13, rcx
	mov	DWORD PTR 24[rsp], r14d
	mov	r14, rdx
	.p2align 4,,10
	.p2align 3
.L26:
	cmp	DWORD PTR KERN_SUCCESS[rip], ebx
	je	.L25
	cmp	rbp, rax
	jge	.L25
	mov	rdx, rbp
	mov	rsi, r14
	mov	rdi, r12
	call	vm_map_wire_entry_failure@PLT
.L25:
	mov	rdi, r14
	call	vm_map_entry_succ@PLT
	mov	r14, rax
	mov	rax, QWORD PTR 16[rax]
	cmp	rax, r13
	jl	.L26
	mov	rbx, rbp
	mov	r13d, DWORD PTR 16[rsp]
	mov	rbp, r12
	mov	r12, r15
	mov	r15, r14
	mov	r14d, DWORD PTR 24[rsp]
	jmp	.L22
.L102:
	mov	rsi, r15
	mov	rdi, rbp
	call	vm_map_entry_unwire@PLT
	mov	eax, DWORD PTR MAP_ENTRY_IN_TRANSITION[rip]
	and	eax, DWORD PTR 8[r15]
	mov	ecx, eax
	jmp	.L37
.L96:
	mov	rax, QWORD PTR 16[r15]
	jmp	.L91
.L108:
	lea	rsi, .LC0[rip]
	xor	edi, edi
	call	KASSERT@PLT
	jmp	.L23
.L95:
	call	__stack_chk_fail@PLT
.L107:
	mov	edi, DWORD PTR 52[rsp]
	call	vm_map_wire_user_count_sub@PLT
	jmp	.L28
	.cfi_endproc
.LFE0:
	.size	vm_map_wire_locked, .-vm_map_wire_locked
	.comm	curthread,8,8
	.comm	VM_PROT_WRITE,4,4
	.comm	VM_PROT_READ,4,4
	.comm	VM_PROT_NONE,4,4
	.comm	VM_PROT_EXECUTE,4,4
	.comm	VM_MAP_WIRE_WRITE,4,4
	.comm	VM_MAP_WIRE_USER,4,4
	.comm	VM_MAP_WIRE_HOLESOK,4,4
	.comm	VM_FAULT_WIRE,4,4
	.comm	PAGE_SIZE,8,8
	.comm	MAP_ENTRY_WIRE_SKIPPED,4,4
	.comm	MAP_ENTRY_USER_WIRED,4,4
	.comm	MAP_ENTRY_NEEDS_WAKEUP,4,4
	.comm	MAP_ENTRY_IN_TRANSITION,4,4
	.comm	KERN_SUCCESS,4,4
	.comm	KERN_RESOURCE_SHORTAGE,4,4
	.comm	KERN_INVALID_ADDRESS,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_vm_map.c_vm_map_wire_locked.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"vm_map_wire: lookup failed\000"
	.align	2
.LC1:
	.ascii	"vm_map_wire: !HOLESOK and new/changed entry\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	vm_map_wire_locked
	.syntax unified
	.arm
	.fpu softvfp
	.type	vm_map_wire_locked, %function
vm_map_wire_locked:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r7, r1
	sub	sp, sp, #60
	mov	r5, r3
	ldr	r3, .L107
	str	r2, [sp, #36]
	ldr	r3, [r3]
	str	r3, [sp, #52]
	mov	r3,#0
	mov	r10, r0
	bl	VM_MAP_ASSERT_LOCKED
	ldr	r2, [sp, #36]
	cmp	r2, r7
	beq	.L89
	ldr	r3, .L107+4
	ldr	r1, .L107+8
	ldr	r3, [r3]
	ldr	ip, [r1]
	ands	r3, r5, r3
	str	r3, [sp, #8]
	ldrne	r3, .L107+12
	mov	r1, r7
	ldrne	r3, [r3]
	mov	r0, r10
	strne	r3, [sp, #8]
	ldr	r3, .L107+16
	and	r4, r5, ip
	ldr	r6, [r3]
	bl	VM_MAP_RANGE_CHECK
	mov	r1, r7
	mov	r0, r10
	add	r2, sp, #44
	bl	vm_map_lookup_entry
	cmp	r0, #0
	mov	r8, r4
	beq	.L90
	ldr	r4, [sp, #44]
.L7:
	ldr	r3, [sp, #36]
	ldr	r2, [r4]
	mov	fp, r8
	subs	r8, r8, #0
	movne	r8, #1
	cmp	r2, r3
	and	r3, r6, r5
	str	r3, [sp, #12]
	bge	.L8
	mov	r5, #1
	ldr	r9, .L107+20
.L30:
	ldr	r3, [r4, #4]
	ldr	r0, [r9]
	ands	r6, r3, r0
	beq	.L9
	str	r4, [sp]
	mov	r3, r8
	mov	r1, r7
	mov	r0, r10
	add	r2, sp, #36
	bl	vm_map_entry_in_transition
	subs	r4, r0, #0
	beq	.L91
	cmp	r5, #0
	movne	r3, r4
	moveq	r3, #0
	str	r3, [sp, #44]
.L13:
	ldr	r2, [r4]
	ldr	r3, [sp, #36]
	cmp	r2, r3
	blt	.L30
	ldr	r4, [sp, #44]
.L8:
	ldr	r3, .L107+24
	ldr	fp, [r3]
	b	.L11
.L90:
	cmp	r4, #0
	bne	.L92
	ldr	r3, .L107+28
	ldr	fp, [r3]
.L1:
	ldr	r3, .L107
	ldr	r2, [r3]
	ldr	r3, [sp, #52]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L93
	mov	r0, fp
	add	sp, sp, #60
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L9:
	mov	r2, r7
	mov	r1, r4
	mov	r0, r10
	bl	vm_map_clip_start
	mov	r1, r4
	ldr	r2, [sp, #36]
	mov	r0, r10
	bl	vm_map_clip_end
	ldr	r2, [r4, #4]
	ldr	r3, [r9]
	mov	r1, r4
	tst	r2, r3
	ldreq	r0, [r4, #20]
	movne	r0, r6
	clzeq	r0, r0
	lsreq	r0, r0, #5
	bl	KASSERT
	ldr	r3, .L107+32
	ldr	r1, [r4, #8]
	ldr	r2, [r3]
	ldr	r3, .L107+36
	ldr	r0, [r3]
	ldr	r3, [r4, #4]
	orr	r2, r2, r0
	tst	r2, r1
	ldr	r2, .L107+40
	ldr	r0, [r9]
	ldr	r2, [r2]
	orr	r3, r3, r0
	str	r3, [r4, #4]
	str	r2, [r4, #20]
	beq	.L15
	ldr	r2, [sp, #8]
	bics	r2, r2, r1
	beq	.L16
.L15:
	ldr	r2, .L107+44
	cmp	fp, #0
	ldr	r2, [r2]
	orr	r3, r2, r3
	str	r3, [r4, #4]
	beq	.L94
.L17:
	mov	r0, r4
	bl	vm_map_entry_succ
	mov	r5, #0
	mov	r4, r0
	b	.L13
.L91:
	ldr	r3, .L107+28
	cmp	r5, #0
	ldr	fp, [r3]
	bne	.L1
.L87:
	ldr	r4, [sp, #44]
.L11:
	cmp	r4, #0
	beq	.L95
.L31:
	ldr	r2, [r4]
	ldr	r3, [sp, #36]
	cmp	r2, r3
	bge	.L33
	mov	r3, #0
	ldr	r9, .L107+20
	ldr	r7, .L107+48
	ldr	r5, .L107+40
	ldr	r6, .L107+44
	str	r3, [sp, #8]
	b	.L43
.L34:
	mov	r1, r7
	mov	r0, r8
	bl	KASSERT
.L36:
	mov	r0, r4
	bl	vm_map_entry_succ
	ldr	r3, [sp, #36]
	ldr	r2, [r0]
	mov	r4, r0
	cmp	r2, r3
	bge	.L96
.L43:
	ldr	r3, [r4, #4]
	ldr	r2, [r9]
	ands	r0, r3, r2
	beq	.L34
	ldr	ip, [r4, #20]
	ldr	r1, [r5]
	cmp	ip, r1
	bne	.L34
	ldr	r1, [r6]
	ands	r1, r3, r1
	bne	.L37
	ldr	ip, .L107+24
	ldr	ip, [ip]
	cmp	ip, fp
	beq	.L97
	ldr	r2, [r4, #16]
	cmn	r2, #1
	streq	r1, [r4, #16]
	beq	.L37
	ldr	r1, [sp, #12]
	cmp	r1, #0
	bne	.L98
	cmp	r2, #1
	beq	.L99
.L45:
	sub	r2, r2, #1
	str	r2, [r4, #16]
.L37:
	subs	r0, r0, #0
	movne	r0, #1
	mov	r1, r4
	bl	KASSERT
	ldr	r3, [r5]
	ldr	r0, [r4, #20]
	mov	r1, r4
	sub	r0, r0, r3
	clz	r0, r0
	lsr	r0, r0, #5
	bl	KASSERT
	ldr	r0, [r6]
	ldr	r2, [r9]
	ldr	r3, [r4, #4]
	orr	r2, r2, r0
	ldr	r0, .L107+52
	bic	r3, r3, r2
	ldr	r0, [r0]
	mov	r1, #0
	tst	r3, r0
	movne	r2, #1
	str	r3, [r4, #4]
	bicne	r3, r3, r0
	str	r1, [r4, #20]
	mov	r0, r4
	strne	r3, [r4, #4]
	strne	r2, [sp, #8]
	bl	vm_map_entry_pred
	mov	r2, r4
	mov	r1, r0
	mov	r0, r10
	bl	vm_map_try_merge_entries
	b	.L36
.L96:
	bl	vm_map_entry_pred
	mov	r2, r4
	mov	r1, r0
	mov	r0, r10
	bl	vm_map_try_merge_entries
	ldr	r3, [sp, #8]
	cmp	r3, #0
	beq	.L1
	mov	r0, r10
	bl	vm_map_wakeup
	b	.L1
.L89:
	ldr	r3, .L107+24
	ldr	fp, [r3]
	b	.L1
.L98:
	ldr	r1, .L107+56
	ldr	r1, [r1]
	tst	r3, r1
	bne	.L37
	cmp	r2, #1
	bne	.L45
	mov	r1, r4
	mov	r0, r10
	bl	vm_map_entry_unwire
	ldr	r3, [r4]
	ldr	r0, [r4, #12]
	sub	r0, r0, r3
	bl	atop
	bl	vm_map_wire_user_count_sub
	ldr	r0, [r4, #4]
	ldr	r3, [r9]
	and	r0, r0, r3
	b	.L37
.L92:
	ldr	r0, [sp, #44]
	bl	vm_map_entry_succ
	mov	r4, r0
	str	r0, [sp, #44]
	b	.L7
.L16:
	ldr	r2, [r4, #16]
	cmp	r2, #0
	beq	.L100
	ldr	r1, [sp, #12]
	cmp	r1, #0
	beq	.L29
	ldr	r1, .L107+56
	ldr	r1, [r1]
	tst	r3, r1
	beq	.L29
.L27:
	cmp	fp, #0
	bne	.L17
	ldr	r2, [r4, #12]
	ldr	r3, [sp, #36]
	cmp	r2, r3
	bge	.L17
	mov	r0, r4
	bl	vm_map_entry_succ
	ldr	r3, [r4, #12]
	ldr	r2, [r0]
	cmp	r2, r3
	ble	.L17
	ldr	r2, .L107+28
	ldr	r4, [sp, #44]
	ldr	fp, [r2]
	str	r3, [sp, #36]
	b	.L11
.L29:
	add	r2, r2, #1
	str	r2, [r4, #16]
	b	.L27
.L97:
	ldr	r1, [sp, #12]
	cmp	r1, #0
	beq	.L37
	ldr	r1, .L107+56
	ldr	r0, [r1]
	orr	r3, r3, r0
	str	r3, [r4, #4]
	and	r0, r2, r3
	b	.L37
.L100:
	mov	r2, #1
	ldr	r3, [r4]
	ldr	r0, [r4, #12]
	str	r2, [r4, #16]
	sub	r0, r0, r3
	bl	atop
	ldr	r3, [sp, #12]
	str	r0, [sp, #32]
	cmp	r3, #0
	bne	.L101
.L19:
	ldr	r3, [r4, #12]
	ldr	r6, [r4]
	ldr	r2, [r10]
	mov	r0, r10
	str	r3, [sp, #16]
	str	r2, [sp, #24]
	str	r6, [sp, #28]
	bl	vm_map_busy
	mov	r0, r10
	bl	vm_map_unlock
	ldr	r5, .L107+24
	str	r4, [sp, #20]
	ldr	r4, [sp, #16]
	b	.L21
.L102:
	ldr	r3, .L107+60
	ldr	r3, [r3]
	add	r6, r6, r3
	cmp	r4, r6
	ble	.L20
.L21:
	mov	r3, #0
	ldr	r2, .L107+64
	str	r3, [sp]
	ldr	r3, .L107+68
	mov	r1, r6
	ldr	r3, [r3]
	mov	r0, r10
	ldr	r2, [r2]
	bl	vm_fault
	ldr	r3, [r5]
	cmp	r3, r0
	beq	.L102
.L20:
	ldr	r4, [sp, #20]
	str	r0, [sp, #20]
	mov	r0, r10
	bl	vm_map_lock
	mov	r0, r10
	bl	vm_map_unbusy
	ldr	r3, [sp, #24]
	ldr	r1, [r10]
	add	r2, r3, #1
	cmp	r2, r1
	bne	.L103
.L22:
	ldr	r2, [r5]
	ldr	r3, [sp, #20]
	cmp	r2, r3
	beq	.L27
	mov	r2, r6
	mov	r1, r4
	mov	r0, r10
	mov	fp, r3
	bl	vm_map_wire_entry_failure
	ldr	r3, [sp, #12]
	cmp	r3, #0
	bne	.L104
.L28:
	ldr	r3, [r4, #12]
	ldr	r4, [sp, #44]
	str	r3, [sp, #36]
	b	.L11
.L95:
	mov	r1, r7
	mov	r0, r10
	add	r2, sp, #44
	bl	vm_map_lookup_entry
	cmp	r0, #0
	beq	.L32
	ldr	r4, [sp, #44]
	b	.L31
.L101:
	bl	vm_map_wire_user_count_add
	cmp	r0, #0
	bne	.L19
	ldr	r2, [r4]
	mov	r1, r4
	mov	r0, r10
	bl	vm_map_wire_entry_failure
	ldr	r2, [r4, #12]
	ldr	r3, .L107+72
	ldr	r4, [sp, #44]
	ldr	fp, [r3]
	str	r2, [sp, #36]
	b	.L11
.L32:
	ldr	r1, .L107+76
	mov	r0, r8
	bl	KASSERT
	ldr	r0, [sp, #44]
	bl	vm_map_entry_succ
	mov	r4, r0
	str	r0, [sp, #44]
	b	.L31
.L103:
	mov	r0, r10
	ldr	r1, [sp, #28]
	add	r2, sp, #48
	bl	vm_map_lookup_entry
	cmp	r0, #0
	beq	.L105
.L23:
	ldr	r0, [sp, #44]
	ldr	r1, [sp, #48]
	cmp	r0, r4
	moveq	r4, r1
	movne	r4, #0
	ldr	r2, [r1, #12]
	ldr	r3, [sp, #16]
	str	r4, [sp, #44]
	cmp	r3, r2
	mov	r4, r1
	ble	.L22
	str	fp, [sp, #16]
	str	r9, [sp, #24]
	mov	fp, r3
	mov	r9, r7
	ldr	r7, [sp, #20]
	b	.L26
.L25:
	mov	r0, r4
	bl	vm_map_entry_succ
	ldr	r2, [r0, #12]
	mov	r4, r0
	cmp	r2, fp
	bge	.L106
.L26:
	ldr	r3, [r5]
	cmp	r3, r7
	cmpne	r6, r2
	bge	.L25
	mov	r2, r6
	mov	r1, r4
	mov	r0, r10
	bl	vm_map_wire_entry_failure
	b	.L25
.L33:
	mov	r0, r4
	bl	vm_map_entry_pred
	mov	r2, r4
	mov	r1, r0
	mov	r0, r10
	bl	vm_map_try_merge_entries
	b	.L1
.L99:
	mov	r1, r4
	mov	r0, r10
	bl	vm_map_entry_unwire
	ldr	r0, [r9]
	ldr	r3, [r4, #4]
	and	r0, r0, r3
	b	.L37
.L94:
	ldr	r2, [r4, #12]
	ldr	r3, .L107+28
	str	r2, [sp, #36]
	ldr	fp, [r3]
	b	.L87
.L106:
	mov	r7, r9
	ldr	fp, [sp, #16]
	ldr	r9, [sp, #24]
	b	.L22
.L105:
	ldr	r1, .L107+76
	bl	KASSERT
	b	.L23
.L104:
	ldr	r0, [sp, #32]
	bl	vm_map_wire_user_count_sub
	b	.L28
.L93:
	bl	__stack_chk_fail
.L108:
	.align	2
.L107:
	.word	.LC2
	.word	VM_MAP_WIRE_WRITE
	.word	VM_MAP_WIRE_HOLESOK
	.word	VM_PROT_WRITE
	.word	VM_MAP_WIRE_USER
	.word	MAP_ENTRY_IN_TRANSITION
	.word	KERN_SUCCESS
	.word	KERN_INVALID_ADDRESS
	.word	VM_PROT_READ
	.word	VM_PROT_EXECUTE
	.word	curthread
	.word	MAP_ENTRY_WIRE_SKIPPED
	.word	.LC1
	.word	MAP_ENTRY_NEEDS_WAKEUP
	.word	MAP_ENTRY_USER_WIRED
	.word	PAGE_SIZE
	.word	VM_PROT_NONE
	.word	VM_FAULT_WIRE
	.word	KERN_RESOURCE_SHORTAGE
	.word	.LC0
	.size	vm_map_wire_locked, .-vm_map_wire_locked
	.comm	curthread,4,4
	.comm	VM_PROT_WRITE,4,4
	.comm	VM_PROT_READ,4,4
	.comm	VM_PROT_NONE,4,4
	.comm	VM_PROT_EXECUTE,4,4
	.comm	VM_MAP_WIRE_WRITE,4,4
	.comm	VM_MAP_WIRE_USER,4,4
	.comm	VM_MAP_WIRE_HOLESOK,4,4
	.comm	VM_FAULT_WIRE,4,4
	.comm	PAGE_SIZE,4,4
	.comm	MAP_ENTRY_WIRE_SKIPPED,4,4
	.comm	MAP_ENTRY_USER_WIRED,4,4
	.comm	MAP_ENTRY_NEEDS_WAKEUP,4,4
	.comm	MAP_ENTRY_IN_TRANSITION,4,4
	.comm	KERN_SUCCESS,4,4
	.comm	KERN_RESOURCE_SHORTAGE,4,4
	.comm	KERN_INVALID_ADDRESS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
