	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vm_fault_soft_fast
_vm_fault_soft_fast:                    ## @vm_fault_soft_fast
	.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	%r9, -56(%rbp)                  ## 8-byte Spill
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r13d
	movl	%edx, %r12d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	xorl	%edi, %edi
	cmpq	$0, 32(%rbx)
	sete	%dil
	callq	_MPASS
	movq	(%rbx), %rdi
	callq	_vm_object_busy
	movq	(%rbx), %rdi
	movl	24(%rbx), %esi
	callq	_vm_page_lookup
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %r14
	movq	_VM_PROT_WRITE@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	callq	_vm_page_busied
	testq	%rax, %rax
	jne	LBB0_4
LBB0_3:
	movq	%r14, %rdi
	callq	_vm_page_all_valid
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	movq	_PMAP_ENTER_NOSLEEP@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	orl	%r13d, %r8d
	xorl	%eax, %eax
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_7
## %bb.6:
	movq	_PMAP_ENTER_WIRED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:
	orl	%eax, %r8d
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movl	%r15d, %esi
	movq	%r14, %rdx
	movl	%r12d, %ecx
	xorl	%r9d, %r9d
	callq	_pmap_enter
	movl	%eax, %r15d
	movq	_KERN_SUCCESS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jne	LBB0_13
## %bb.8:
	movq	16(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	%r14, (%rax)
	movq	%r14, %rdi
	callq	_vm_page_wire
LBB0_10:
	movq	8(%rbx), %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	xorl	%r9d, %r9d
	callq	_vm_fault_dirty
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_12
## %bb.11:
	movq	_PFBAK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PFFOR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	$1, %r8d
	callq	_vm_fault_prefault
LBB0_12:
	movq	(%rbx), %rdi
	callq	_VM_OBJECT_RUNLOCK
	movq	8(%rbx), %rsi
	movq	16(%rbx), %rdi
	callq	_vm_map_lookup_done
	movq	_curthread@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	incl	(%rax)
	jmp	LBB0_13
LBB0_4:
	movq	_KERN_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_13:
	movq	(%rbx), %rdi
	callq	_vm_object_unbusy
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VM_PROT_WRITE,4,2              ## @VM_PROT_WRITE
	.comm	_KERN_FAILURE,4,2               ## @KERN_FAILURE
	.comm	_PMAP_ENTER_NOSLEEP,4,2         ## @PMAP_ENTER_NOSLEEP
	.comm	_PMAP_ENTER_WIRED,4,2           ## @PMAP_ENTER_WIRED
	.comm	_KERN_SUCCESS,4,2               ## @KERN_SUCCESS
	.comm	_PFBAK,4,2                      ## @PFBAK
	.comm	_PFFOR,4,2                      ## @PFFOR
	.comm	_curthread,8,3                  ## @curthread
	.comm	_OBJ_UNMANAGED,4,2              ## @OBJ_UNMANAGED
	.comm	_PG_FICTITIOUS,4,2              ## @PG_FICTITIOUS
	.comm	_PS_ALL_DIRTY,4,2               ## @PS_ALL_DIRTY
	.comm	_PS_ALL_VALID,4,2               ## @PS_ALL_VALID
	.comm	_PS_NONE_BUSY,4,2               ## @PS_NONE_BUSY
	.comm	_pagesizes,8,3                  ## @pagesizes
	.no_dead_strip	_vm_fault_soft_fast
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vm_fault_soft_fast
_vm_fault_soft_fast:                    ; @vm_fault_soft_fast
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x25, x6
	mov	x21, x5
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #32]
	cmp	x8, #0
	cset	w0, eq
	bl	_MPASS
	ldr	x0, [x19]
	bl	_vm_object_busy
	ldr	x0, [x19]
	ldr	w1, [x19, #24]
	bl	_vm_page_lookup
	cbz	x0, LBB0_10
; %bb.1:
	mov	x27, x0
Lloh0:
	adrp	x8, _VM_PROT_WRITE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VM_PROT_WRITE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x27
	bl	_vm_page_busied
	cbnz	x0, LBB0_10
LBB0_3:
	mov	x0, x27
	bl	_vm_page_all_valid
	cbz	w0, LBB0_10
; %bb.4:
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _PMAP_ENTER_NOSLEEP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PMAP_ENTER_NOSLEEP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	orr	w8, w8, w23
Lloh6:
	adrp	x9, _PMAP_ENTER_WIRED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PMAP_ENTER_WIRED@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	x21, #0
	csel	w9, wzr, w9, eq
	orr	w4, w8, w9
	mov	x1, x20
	mov	x2, x27
	mov	x3, x24
	mov	w5, #0
	bl	_pmap_enter
	mov	x26, x0
Lloh9:
	adrp	x8, _KERN_SUCCESS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _KERN_SUCCESS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_11
; %bb.5:
	cbz	x25, LBB0_7
; %bb.6:
	str	x27, [x25]
	mov	x0, x27
	bl	_vm_page_wire
LBB0_7:
	ldr	x0, [x19, #8]
	mov	x1, x27
	mov	x2, x24
	mov	x3, x23
	mov	x4, x22
	mov	w5, #0
	bl	_vm_fault_dirty
	cbnz	x21, LBB0_9
; %bb.8:
Lloh12:
	adrp	x8, _PFBAK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PFBAK@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _PFFOR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PFFOR@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w4, #1
	bl	_vm_fault_prefault
LBB0_9:
	ldr	x0, [x19]
	bl	_VM_OBJECT_RUNLOCK
	ldp	x1, x0, [x19, #8]
	bl	_vm_map_lookup_done
Lloh18:
	adrp	x8, _curthread@GOTPAGE
Lloh19:
	ldr	x8, [x8, _curthread@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	b	LBB0_11
LBB0_10:
Lloh21:
	adrp	x8, _KERN_FAILURE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _KERN_FAILURE@GOTPAGEOFF]
Lloh23:
	ldr	w26, [x8]
LBB0_11:
	ldr	x0, [x19]
	bl	_vm_object_unbusy
	mov	x0, x26
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_VM_PROT_WRITE,4,2              ; @VM_PROT_WRITE
	.comm	_KERN_FAILURE,4,2               ; @KERN_FAILURE
	.comm	_PMAP_ENTER_NOSLEEP,4,2         ; @PMAP_ENTER_NOSLEEP
	.comm	_PMAP_ENTER_WIRED,4,2           ; @PMAP_ENTER_WIRED
	.comm	_KERN_SUCCESS,4,2               ; @KERN_SUCCESS
	.comm	_PFBAK,4,2                      ; @PFBAK
	.comm	_PFFOR,4,2                      ; @PFFOR
	.comm	_curthread,8,3                  ; @curthread
	.comm	_OBJ_UNMANAGED,4,2              ; @OBJ_UNMANAGED
	.comm	_PG_FICTITIOUS,4,2              ; @PG_FICTITIOUS
	.comm	_PS_ALL_DIRTY,4,2               ; @PS_ALL_DIRTY
	.comm	_PS_ALL_VALID,4,2               ; @PS_ALL_VALID
	.comm	_PS_NONE_BUSY,4,2               ; @PS_NONE_BUSY
	.comm	_pagesizes,8,3                  ; @pagesizes
	.no_dead_strip	_vm_fault_soft_fast
.subsections_via_symbols
