	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmspace_fork                   ## -- Begin function vmspace_fork
	.p2align	4, 0x90
_vmspace_fork:                          ## @vmspace_fork
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r13
	callq	_vm_map_min
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_vm_map_max
	movq	_pmap_pinit@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_vmspace_alloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r12
	movl	112(%r13), %eax
	movl	%eax, 112(%r12)
	movl	108(%r13), %eax
	movl	%eax, 108(%r12)
	movl	104(%r13), %eax
	movl	%eax, 104(%r12)
	movq	%r13, %rdi
	callq	_vm_map_lock
	cmpq	$0, 96(%r13)
	je	LBB0_3
## %bb.2:
	movq	%r13, %rdi
	callq	_vm_map_wait_busy
LBB0_3:
	movq	%r12, %rdi
	callq	_vm_map_trylock
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	callq	_KASSERT
	movl	4(%r12), %edi
	movl	4(%r13), %esi
	callq	_pmap_vmspace_copy
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	movq	%r13, %rdi
	callq	_sx_xunlock
	movq	%r12, %rdi
	callq	_sx_xunlock
	xorl	%eax, %eax
	callq	_vm_map_process_deferred
	movq	%r12, %rdi
	callq	_vmspace_free
LBB0_5:
	xorl	%r12d, %r12d
	jmp	LBB0_29
LBB0_6:
	movl	88(%r13), %eax
	movl	%eax, 88(%r12)
	leaq	8(%r13), %rax
	movq	80(%r13), %r14
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	cmpq	%rax, %r14
	je	LBB0_28
## %bb.7:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_10 Depth=1
	movq	%r12, %rdi
	callq	_vm_map_entry_create
	movq	%rax, %rbx
	movups	64(%r14), %xmm0
	movups	%xmm0, 64(%rax)
	movups	(%r14), %xmm0
	movups	16(%r14), %xmm1
	movups	32(%r14), %xmm2
	movups	48(%r14), %xmm3
	movups	%xmm3, 48(%rax)
	movups	%xmm2, 32(%rax)
	movups	%xmm1, 16(%rax)
	movups	%xmm0, (%rax)
	movq	_MAP_ENTRY_IN_TRANSITION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_MAP_ENTRY_USER_WIRED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_MAP_ENTRY_WRITECNT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	notl	%eax
	andl	%eax, (%rbx)
	movq	$0, 56(%rbx)
	movl	$0, 48(%rbx)
	movq	$0, 40(%rbx)
	movq	$0, 24(%rbx)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_vm_map_entry_link
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_vmspace_map_entry_forked
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	movq	%r15, %r8
	callq	_vm_map_copy_entry
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_vm_map_entry_set_vnode_text
LBB0_9:                                 ##   in Loop: Header=BB0_10 Depth=1
	movq	%r14, %rdi
	callq	_vm_map_entry_succ
	movq	%rax, %r14
	cmpq	-56(%rbp), %rax                 ## 8-byte Folded Reload
	je	LBB0_28
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %ecx
	movq	_MAP_ENTRY_IS_SUB_MAP@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	leaq	L_.str.1(%rip), %rdi
	callq	_panic
	movl	(%r14), %ecx
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	4(%r14), %edx
	cmpl	$130, %edx
	movl	%edx, %eax
	movl	$131, %esi
	cmovnel	%esi, %eax
	movq	_MAP_ENTRY_GUARD@GOTPCREL(%rip), %rsi
	testl	%ecx, (%rsi)
	cmovel	%edx, %eax
	cmpl	$128, %eax
	je	LBB0_27
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpl	$131, %eax
	je	LBB0_8
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpl	$129, %eax
	jne	LBB0_9
## %bb.15:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	40(%r14), %r13
	testq	%r13, %r13
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r14, %rdi
	callq	_vm_map_entry_back
	movq	40(%r14), %r13
LBB0_17:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r13, %rdi
	callq	_vm_object_reference
	movq	_MAP_ENTRY_NEEDS_COPY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	testl	%eax, (%r14)
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_10 Depth=1
	leaq	40(%r14), %rdi
	leaq	64(%r14), %rsi
	movq	16(%r14), %rdx
	subq	8(%r14), %rdx
	movq	%rcx, %rbx
	callq	_vm_object_shadow
	movl	(%rbx), %eax
	notl	%eax
	andl	%eax, (%r14)
	movq	40(%r14), %rdi
	callq	_vm_object_reference
	movq	%r13, %rdi
	callq	_vm_object_deallocate
	movq	40(%r14), %r13
LBB0_19:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r13, %rdi
	callq	_VM_OBJECT_WLOCK
	movq	_OBJ_ONEMAPPING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_vm_object_clear_flag
	cmpq	$0, 24(%r14)
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_10 Depth=1
	xorl	%edi, %edi
	cmpq	$0, 32(%r13)
	sete	%dil
	leaq	L_.str.2(%rip), %rsi
	callq	_KASSERT
	movq	24(%r14), %rax
	movq	%rax, 32(%r13)
	movq	16(%r14), %rax
	subq	8(%r14), %rax
	movq	%rax, 24(%r13)
	movq	$0, 24(%r14)
LBB0_21:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r15, %rbx
	movq	_MAP_ENTRY_WRITECNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	16(%r13), %eax
	movq	_OBJT_VNODE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	8(%r13), %rax
	xorl	%edi, %edi
	cmpl	$0, (%rax)
	setg	%dil
	movq	%r13, %rsi
	callq	_KASSERT
	xorl	%edi, %edi
	cmpl	$0, (%r13)
	setg	%dil
	movq	%r13, %rsi
	callq	_KASSERT
LBB0_24:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r13, %rdi
	callq	_VM_OBJECT_WUNLOCK
	movq	%r12, %rdi
	callq	_vm_map_entry_create
	movq	%rax, %r15
	movups	64(%r14), %xmm0
	movups	%xmm0, 64(%rax)
	movups	(%r14), %xmm0
	movups	16(%r14), %xmm1
	movups	32(%r14), %xmm2
	movups	48(%r14), %xmm3
	movups	%xmm3, 48(%rax)
	movups	%xmm2, 32(%rax)
	movups	%xmm1, 16(%rax)
	movups	%xmm0, (%rax)
	movq	_MAP_ENTRY_IN_TRANSITION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_MAP_ENTRY_USER_WIRED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	notl	%eax
	andl	(%r15), %eax
	movl	%eax, (%r15)
	movq	$0, 56(%r15)
	movl	$0, 48(%r15)
	movq	_MAP_ENTRY_WRITECNT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	8(%r15), %rsi
	movq	16(%r15), %rdx
	movq	%r13, %rdi
	callq	_vm_pager_update_writecount
LBB0_26:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_vm_map_entry_set_vnode_text
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_vm_map_entry_link
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_vmspace_map_entry_forked
	movl	4(%r12), %edi
	movl	4(%r13), %esi
	movq	8(%r15), %rdx
	movq	8(%r14), %r8
	movq	16(%r14), %rcx
	subq	%r8, %rcx
	callq	_pmap_copy
	movq	%rbx, %r15
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r12, %rdi
	callq	_vm_map_entry_create
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$80, %edx
	callq	_memset
	movups	8(%r14), %xmm0
	movups	%xmm0, 8(%rbx)
	movq	_MAP_ENTRY_IN_TRANSITION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_MAP_ENTRY_USER_WIRED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_MAP_ENTRY_WRITECNT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_MAP_ENTRY_VN_EXEC@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	notl	%eax
	andl	(%r14), %eax
	movl	%eax, (%rbx)
	movl	36(%r14), %eax
	movl	%eax, 36(%rbx)
	movl	32(%r14), %eax
	movl	%eax, 32(%rbx)
	movl	$128, 4(%rbx)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_vm_map_entry_link
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_vmspace_map_entry_forked
	movq	_curthread@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	movq	%rdi, 24(%rbx)
	callq	_crhold
	movq	16(%rbx), %rax
	subq	8(%rbx), %rax
	addq	%rax, (%r15)
	jmp	LBB0_9
LBB0_28:
	movq	%r13, %rdi
	callq	_sx_xunlock
	movq	%r12, %rdi
	callq	_sx_xunlock
	xorl	%eax, %eax
	callq	_vm_map_process_deferred
LBB0_29:
	movq	%r12, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pmap_pinit,4,2                 ## @pmap_pinit
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vmspace_fork: lock failed"

	.comm	_MAP_ENTRY_IS_SUB_MAP,4,2       ## @MAP_ENTRY_IS_SUB_MAP
L_.str.1:                               ## @.str.1
	.asciz	"vm_map_fork: encountered a submap"

	.comm	_MAP_ENTRY_GUARD,4,2            ## @MAP_ENTRY_GUARD
	.comm	_MAP_ENTRY_NEEDS_COPY,4,2       ## @MAP_ENTRY_NEEDS_COPY
	.comm	_OBJ_ONEMAPPING,4,2             ## @OBJ_ONEMAPPING
L_.str.2:                               ## @.str.2
	.asciz	"vmspace_fork both cred"

	.comm	_MAP_ENTRY_WRITECNT,4,2         ## @MAP_ENTRY_WRITECNT
	.comm	_OBJT_VNODE,4,2                 ## @OBJT_VNODE
	.comm	_MAP_ENTRY_USER_WIRED,4,2       ## @MAP_ENTRY_USER_WIRED
	.comm	_MAP_ENTRY_IN_TRANSITION,4,2    ## @MAP_ENTRY_IN_TRANSITION
	.comm	_MAP_ENTRY_VN_EXEC,4,2          ## @MAP_ENTRY_VN_EXEC
	.comm	_curthread,8,3                  ## @curthread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmspace_fork                   ; -- Begin function vmspace_fork
	.p2align	2
_vmspace_fork:                          ; @vmspace_fork
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x1
	mov	x20, x0
	bl	_vm_map_min
	mov	x19, x0
	mov	x0, x20
	bl	_vm_map_max
	mov	x1, x0
Lloh0:
	adrp	x8, _pmap_pinit@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pmap_pinit@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_vmspace_alloc
	mov	x19, x0
	cbz	x0, LBB0_28
; %bb.1:
	ldr	w8, [x20, #112]
	str	w8, [x19, #112]
	ldr	d0, [x20, #104]
	str	d0, [x19, #104]
	mov	x0, x20
	bl	_vm_map_lock
	ldr	x8, [x20, #96]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_vm_map_wait_busy
LBB0_3:
	mov	x0, x19
	bl	_vm_map_trylock
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_KASSERT
	ldr	w0, [x19, #4]
	ldr	w1, [x20, #4]
	bl	_pmap_vmspace_copy
	cbz	w0, LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_sx_xunlock
	mov	x0, x19
	bl	_sx_xunlock
	bl	_vm_map_process_deferred
	mov	x0, x19
	bl	_vmspace_free
	mov	x19, #0
	b	LBB0_28
LBB0_5:
	ldr	w8, [x20, #88]
	str	w8, [x19, #88]
	add	x27, x20, #8
	ldr	x22, [x20, #80]
	cmp	x22, x27
	b.eq	LBB0_27
; %bb.6:
Lloh5:
	adrp	x23, _MAP_ENTRY_IS_SUB_MAP@GOTPAGE
Lloh6:
	ldr	x23, [x23, _MAP_ENTRY_IS_SUB_MAP@GOTPAGEOFF]
Lloh7:
	adrp	x28, _MAP_ENTRY_GUARD@GOTPAGE
Lloh8:
	ldr	x28, [x28, _MAP_ENTRY_GUARD@GOTPAGEOFF]
	mov	w26, #131
Lloh9:
	adrp	x24, _MAP_ENTRY_NEEDS_COPY@GOTPAGE
Lloh10:
	ldr	x24, [x24, _MAP_ENTRY_NEEDS_COPY@GOTPAGEOFF]
	str	x21, [sp, #8]                   ; 8-byte Folded Spill
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x19
	bl	_vm_map_entry_create
	mov	x25, x0
	ldp	q0, q1, [x22, #16]
	ldp	q2, q3, [x22, #48]
	str	q3, [x0, #64]
	ldr	q3, [x22]
	stp	q1, q2, [x0, #32]
	stp	q3, q0, [x0]
Lloh11:
	adrp	x8, _MAP_ENTRY_USER_WIRED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MAP_ENTRY_USER_WIRED@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _MAP_ENTRY_IN_TRANSITION@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MAP_ENTRY_IN_TRANSITION@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh17:
	adrp	x9, _MAP_ENTRY_WRITECNT@GOTPAGE
Lloh18:
	ldr	x9, [x9, _MAP_ENTRY_WRITECNT@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [x0]
	bic	w8, w9, w8
	str	w8, [x0]
	str	xzr, [x0, #56]
	str	wzr, [x0, #48]
	str	xzr, [x0, #40]
	str	xzr, [x0, #24]
	mov	x0, x19
	mov	x1, x25
	bl	_vm_map_entry_link
	mov	x0, x20
	mov	x1, x19
	mov	x2, x25
	bl	_vmspace_map_entry_forked
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	mov	x3, x25
	mov	x4, x21
	bl	_vm_map_copy_entry
	mov	x0, x25
	mov	w1, #1
	bl	_vm_map_entry_set_vnode_text
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x22
	bl	_vm_map_entry_succ
	mov	x22, x0
	cmp	x0, x27
	b.eq	LBB0_27
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_panic
	ldr	w8, [x22]
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w9, [x22, #4]
	ldr	w10, [x28]
	and	w8, w10, w8
	cmp	w9, #130
	ccmp	w8, #0, #4, ne
	csel	w8, w26, w9, ne
	cmp	w8, #128
	b.eq	LBB0_26
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	w8, #131
	b.eq	LBB0_7
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	w8, #129
	b.ne	LBB0_8
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x21, x24
	mov	x26, x22
	ldr	x25, [x26, #40]!
	cbnz	x25, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x22
	bl	_vm_map_entry_back
	ldr	x25, [x22, #40]
LBB0_16:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x25
	bl	_vm_object_reference
	ldr	w8, [x22]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x24, x21
	add	x1, x22, #64
	ldp	x9, x8, [x22, #8]
	sub	x2, x8, x9
	mov	x0, x26
	bl	_vm_object_shadow
	ldr	w8, [x21]
	ldr	w9, [x22]
	bic	w8, w9, w8
	str	w8, [x22]
	ldr	x0, [x22, #40]
	bl	_vm_object_reference
	mov	x0, x25
	bl	_vm_object_deallocate
	ldr	x25, [x22, #40]
LBB0_18:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x25
	bl	_VM_OBJECT_WLOCK
Lloh22:
	adrp	x8, _OBJ_ONEMAPPING@GOTPAGE
Lloh23:
	ldr	x8, [x8, _OBJ_ONEMAPPING@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x25
	bl	_vm_object_clear_flag
	ldr	x8, [x22, #24]
	cbz	x8, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x25, #32]
	cmp	x8, #0
	cset	w0, eq
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_KASSERT
	ldp	x9, x8, [x22, #16]
	ldr	x10, [x22, #8]
	sub	x9, x9, x10
	stp	x9, x8, [x25, #24]
	str	xzr, [x22, #24]
LBB0_20:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x22]
Lloh27:
	adrp	x9, _MAP_ENTRY_WRITECNT@GOTPAGE
Lloh28:
	ldr	x9, [x9, _MAP_ENTRY_WRITECNT@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x25, #16]
Lloh30:
	adrp	x9, _OBJT_VNODE@GOTPAGE
Lloh31:
	ldr	x9, [x9, _OBJT_VNODE@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x25, #8]
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w0, gt
	mov	x1, x25
	bl	_KASSERT
	ldr	w8, [x25]
	cmp	w8, #0
	cset	w0, gt
	mov	x1, x25
	bl	_KASSERT
LBB0_23:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x25
	bl	_VM_OBJECT_WUNLOCK
	mov	x0, x19
	bl	_vm_map_entry_create
	mov	x26, x0
	ldp	q0, q1, [x22, #48]
	ldp	q3, q2, [x22, #16]
	str	q1, [x0, #64]
	stp	q3, q2, [x0, #16]
	ldr	q1, [x22]
	str	q1, [x0]
	str	q0, [x0, #48]
Lloh33:
	adrp	x8, _MAP_ENTRY_USER_WIRED@GOTPAGE
Lloh34:
	ldr	x8, [x8, _MAP_ENTRY_USER_WIRED@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
Lloh36:
	adrp	x9, _MAP_ENTRY_IN_TRANSITION@GOTPAGE
Lloh37:
	ldr	x9, [x9, _MAP_ENTRY_IN_TRANSITION@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x0]
	bic	w8, w9, w8
	str	w8, [x0]
	str	xzr, [x0, #56]
	str	wzr, [x0, #48]
Lloh39:
	adrp	x9, _MAP_ENTRY_WRITECNT@GOTPAGE
Lloh40:
	ldr	x9, [x9, _MAP_ENTRY_WRITECNT@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_9 Depth=1
	ldp	x1, x2, [x26, #8]
	mov	x0, x25
	bl	_vm_pager_update_writecount
LBB0_25:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x26
	mov	w1, #1
	bl	_vm_map_entry_set_vnode_text
	mov	x0, x19
	mov	x1, x26
	bl	_vm_map_entry_link
	mov	x0, x20
	mov	x1, x19
	mov	x2, x26
	bl	_vmspace_map_entry_forked
	ldr	w0, [x19, #4]
	ldr	w1, [x20, #4]
	ldr	x2, [x26, #8]
	ldp	x4, x8, [x22, #8]
	sub	x3, x8, x4
	bl	_pmap_copy
	mov	x24, x21
	ldr	x21, [sp, #8]                   ; 8-byte Folded Reload
	mov	w26, #131
	b	LBB0_8
LBB0_26:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x19
	bl	_vm_map_entry_create
	mov	x25, x0
	mov	w1, #0
	mov	w2, #80
	bl	_memset
	ldur	q0, [x22, #8]
	stur	q0, [x25, #8]
	ldr	w8, [x22]
Lloh42:
	adrp	x9, _MAP_ENTRY_USER_WIRED@GOTPAGE
Lloh43:
	ldr	x9, [x9, _MAP_ENTRY_USER_WIRED@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
Lloh45:
	adrp	x10, _MAP_ENTRY_IN_TRANSITION@GOTPAGE
Lloh46:
	ldr	x10, [x10, _MAP_ENTRY_IN_TRANSITION@GOTPAGEOFF]
Lloh47:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh48:
	adrp	x10, _MAP_ENTRY_WRITECNT@GOTPAGE
Lloh49:
	ldr	x10, [x10, _MAP_ENTRY_WRITECNT@GOTPAGEOFF]
Lloh50:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh51:
	adrp	x10, _MAP_ENTRY_VN_EXEC@GOTPAGE
Lloh52:
	ldr	x10, [x10, _MAP_ENTRY_VN_EXEC@GOTPAGEOFF]
Lloh53:
	ldr	w10, [x10]
	orr	w9, w9, w10
	bic	w8, w8, w9
	str	w8, [x25]
	ldr	d0, [x22, #32]
	str	d0, [x25, #32]
	mov	w8, #128
	str	w8, [x25, #4]
	mov	x0, x19
	mov	x1, x25
	bl	_vm_map_entry_link
	mov	x0, x20
	mov	x1, x19
	mov	x2, x25
	bl	_vmspace_map_entry_forked
Lloh54:
	adrp	x8, _curthread@GOTPAGE
Lloh55:
	ldr	x8, [x8, _curthread@GOTPAGEOFF]
Lloh56:
	ldr	x8, [x8]
	ldr	x0, [x8]
	str	x0, [x25, #24]
	bl	_crhold
	ldp	x9, x8, [x25, #8]
	ldr	x10, [x21]
	sub	x8, x8, x9
	add	x8, x8, x10
	str	x8, [x21]
	b	LBB0_8
LBB0_27:
	mov	x0, x20
	bl	_sx_xunlock
	mov	x0, x19
	bl	_sx_xunlock
	bl	_vm_map_process_deferred
LBB0_28:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_pmap_pinit,4,2                 ; @pmap_pinit
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vmspace_fork: lock failed"

	.comm	_MAP_ENTRY_IS_SUB_MAP,4,2       ; @MAP_ENTRY_IS_SUB_MAP
l_.str.1:                               ; @.str.1
	.asciz	"vm_map_fork: encountered a submap"

	.comm	_MAP_ENTRY_GUARD,4,2            ; @MAP_ENTRY_GUARD
	.comm	_MAP_ENTRY_NEEDS_COPY,4,2       ; @MAP_ENTRY_NEEDS_COPY
	.comm	_OBJ_ONEMAPPING,4,2             ; @OBJ_ONEMAPPING
l_.str.2:                               ; @.str.2
	.asciz	"vmspace_fork both cred"

	.comm	_MAP_ENTRY_WRITECNT,4,2         ; @MAP_ENTRY_WRITECNT
	.comm	_OBJT_VNODE,4,2                 ; @OBJT_VNODE
	.comm	_MAP_ENTRY_USER_WIRED,4,2       ; @MAP_ENTRY_USER_WIRED
	.comm	_MAP_ENTRY_IN_TRANSITION,4,2    ; @MAP_ENTRY_IN_TRANSITION
	.comm	_MAP_ENTRY_VN_EXEC,4,2          ; @MAP_ENTRY_VN_EXEC
	.comm	_curthread,8,3                  ; @curthread
.subsections_via_symbols
