	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vm_fault_populate
_vm_fault_populate:                     ## @vm_fault_populate
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -112(%rbp)                 ## 8-byte Spill
	movq	%r8, -96(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r14d
	movl	%edx, %r13d
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	48(%rdi), %rax
	xorl	%edi, %edi
	cmpq	24(%r12), %rax
	sete	%dil
	callq	_MPASS
	movq	24(%r12), %rdi
	callq	_VM_OBJECT_ASSERT_WLOCKED
	movq	24(%r12), %rax
	movl	16(%rax), %edi
	callq	_REFCOUNT_COUNT
	xorl	%edi, %edi
	testq	%rax, %rax
	setg	%dil
	callq	_MPASS
	movq	24(%r12), %rax
	xorl	%edi, %edi
	cmpq	$0, 8(%rax)
	sete	%dil
	callq	_MPASS
	movl	(%r12), %edi
	callq	_MPASS
	movq	40(%r12), %rax
	movl	(%rax), %edi
	callq	_OFF_TO_IDX
	movq	%rax, %rbx
	movq	%rax, -64(%rbp)
	movq	40(%r12), %rax
	movl	4(%rax), %edi
	subl	8(%rax), %edi
	callq	_atop
	cltq
	addq	%rbx, %rax
	decq	%rax
	movq	%rax, -48(%rbp)
	movq	%r12, %rdi
	callq	_unlock_map
	movq	%r12, %rdi
	callq	_unlock_vp
	movq	8(%r12), %rsi
	movq	24(%r12), %rdi
	movq	40(%r12), %rax
	movl	12(%rax), %ecx
	leaq	-64(%rbp), %r8
	leaq	-48(%rbp), %r9
	movl	%r13d, %edx
	callq	_vm_pager_populate
	movl	%eax, %ebx
	movq	24(%r12), %rdi
	callq	_VM_OBJECT_ASSERT_WLOCKED
	movq	_VM_PAGER_BAD@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_3
## %bb.1:
	movq	%r12, %rdi
	callq	_vm_fault_restore_map_lock
	movq	32(%r12), %rax
	movq	(%rax), %rax
	cmpq	16(%r12), %rax
	jne	LBB0_14
## %bb.2:
	movq	_KERN_NOT_RECEIVER@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_3:
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	movl	%r13d, -56(%rbp)                ## 4-byte Spill
	movl	%r14d, -84(%rbp)                ## 4-byte Spill
	movq	_VM_PAGER_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_12
## %bb.4:
	movq	-64(%rbp), %rax
	xorl	%edi, %edi
	cmpq	-48(%rbp), %rax
	setle	%dil
	callq	_MPASS
	movq	8(%r12), %rax
	xorl	%edi, %edi
	cmpq	-48(%rbp), %rax
	setle	%dil
	callq	_MPASS
	movq	8(%r12), %rax
	xorl	%edi, %edi
	cmpq	-64(%rbp), %rax
	setge	%dil
	callq	_MPASS
	movq	-48(%rbp), %rax
	movq	24(%r12), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setl	%dil
	callq	_MPASS
	movq	%r12, %rdi
	callq	_vm_fault_restore_map_lock
	movq	32(%r12), %rax
	movq	(%rax), %rax
	cmpq	16(%r12), %rax
	jne	LBB0_13
## %bb.5:
	movq	40(%r12), %rax
	movl	(%rax), %edi
	callq	_OFF_TO_IDX
	movq	%rax, %rbx
	movq	-64(%rbp), %rsi
	cmpq	%rsi, %rax
	jle	LBB0_7
## %bb.6:
	movq	24(%r12), %rdi
	leaq	-1(%rbx), %rdx
	callq	_vm_fault_populate_cleanup
	movq	%rbx, -64(%rbp)
LBB0_7:
	movq	40(%r12), %rax
	movl	4(%rax), %edi
	subl	8(%rax), %edi
	callq	_atop
	cltq
	addq	%rax, %rbx
	movq	-48(%rbp), %rdx
	cmpq	%rdx, %rbx
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	jg	LBB0_9
## %bb.8:
	leaq	-1(%rbx), %r14
	movq	24(%r12), %rdi
	movq	%rbx, %rsi
	callq	_vm_fault_populate_cleanup
	movq	%r14, -48(%rbp)
LBB0_9:
	movq	-64(%rbp), %rbx
	movq	24(%r12), %rdi
	movq	%rbx, %rsi
	callq	_vm_page_lookup
	cmpq	-48(%rbp), %rbx
	jle	LBB0_16
LBB0_10:
	movq	_curthread@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	incl	(%rax)
	movq	_KERN_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_12:
	movq	_KERN_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_13:
	movq	24(%r12), %rdi
	movq	-64(%rbp), %rsi
	movq	-48(%rbp), %rdx
	callq	_vm_fault_populate_cleanup
LBB0_14:
	movq	_KERN_RESOURCE_SHORTAGE@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	%rax, %r15
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_18 Depth=1
	movslq	-68(%rbp), %rax                 ## 4-byte Folded Reload
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	addq	%rax, %rbx
	shlq	$4, %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rax,%rcx), %rdi
	addq	$-16, %rdi
	callq	_vm_page_next
	movq	%rax, %r15
	cmpq	-48(%rbp), %rbx
	jg	LBB0_10
LBB0_18:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_26 Depth 2
                                        ##     Child Loop BB0_35 Depth 2
                                        ##     Child Loop BB0_40 Depth 2
	movq	40(%r12), %rax
	movl	8(%rax), %r14d
	movq	%rbx, %rdi
	callq	_IDX_TO_OFF
	movl	%eax, %ecx
	addl	%r14d, %ecx
	movq	40(%r12), %rax
	subl	(%rax), %ecx
	movl	(%r15), %r14d
	testl	%r14d, %r14d
	movl	%ecx, -72(%rbp)                 ## 4-byte Spill
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	jle	LBB0_24
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	_pagesizes@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r14,4), %edi
	leal	-1(%rdi), %eax
	testl	%ecx, %eax
	jne	LBB0_23
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=1
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_OFF_TO_IDX
	addq	%rbx, %rax
	decq	%rax
	cmpq	-48(%rbp), %rax
	jg	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	32(%r12), %rax
	movl	8(%rax), %edi
	callq	_pmap_ps_enabled
	testq	%r13, %r13
	jne	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_18 Depth=1
	testl	%eax, %eax
	jne	LBB0_24
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_18 Depth=1
	xorl	%r14d, %r14d
LBB0_24:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	%rbx, -128(%rbp)                ## 8-byte Spill
	movq	_pagesizes@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%r14, -120(%rbp)                ## 8-byte Spill
	movslq	%r14d, %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_atop
	movl	%eax, %r14d
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	jle	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	%r14, %r15
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_26:                                ##   Parent Loop BB0_18 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	callq	_vm_fault_populate_check_page
	movq	40(%r12), %rdi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movl	-84(%rbp), %r8d                 ## 4-byte Reload
	movl	$1, %r9d
	callq	_vm_fault_dirty
	addq	$16, %rbx
	decq	%r15
	jne	LBB0_26
LBB0_27:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	24(%r12), %rdi
	callq	_VM_OBJECT_WUNLOCK
	movq	32(%r12), %rax
	movl	8(%rax), %edi
	cmpq	$0, -96(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	_PMAP_ENTER_WIRED@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_18 Depth=1
	xorl	%r8d, %r8d
LBB0_30:                                ##   in Loop: Header=BB0_18 Depth=1
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movl	-72(%rbp), %esi                 ## 4-byte Reload
	orl	%eax, %r8d
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movl	%ebx, %r9d
	callq	_pmap_enter
	testl	%ebx, %ebx
	jle	LBB0_37
## %bb.31:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	_KERN_FAILURE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_37
## %bb.32:                              ##   in Loop: Header=BB0_18 Depth=1
	cmpl	$0, -68(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_37
## %bb.33:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	xorl	%r13d, %r13d
	jmp	LBB0_35
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_35 Depth=2
	orl	-56(%rbp), %r8d                 ## 4-byte Folded Reload
	movl	%ebx, %edi
	movl	%eax, %esi
	movq	%r15, %rdx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	xorl	%r9d, %r9d
	callq	_pmap_enter
	xorl	%edi, %edi
	movq	_KERN_SUCCESS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	sete	%dil
	callq	_MPASS
	incq	%r13
	addq	$16, %r15
	cmpq	%r13, %r14
	je	LBB0_37
LBB0_35:                                ##   Parent Loop BB0_18 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	32(%r12), %rax
	movl	8(%rax), %ebx
	movl	%r13d, %edi
	callq	_ptoa
	addl	-72(%rbp), %eax                 ## 4-byte Folded Reload
	movl	$0, %r8d
	cmpq	$0, -96(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_34
## %bb.36:                              ##   in Loop: Header=BB0_35 Depth=2
	movq	_PMAP_ENTER_WIRED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	24(%r12), %rdi
	callq	_VM_OBJECT_WLOCK
	movq	$0, -104(%rbp)
	cmpl	$0, -68(%rbp)                   ## 4-byte Folded Reload
	movq	-112(%rbp), %r15                ## 8-byte Reload
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	jle	LBB0_17
## %bb.38:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_40
	.p2align	4, 0x90
LBB0_39:                                ##   in Loop: Header=BB0_40 Depth=2
	movq	%rbx, %rdi
	callq	_vm_page_xunbusy
	addq	$16, %rbx
	decq	%r14
	je	LBB0_45
LBB0_40:                                ##   Parent Loop BB0_18 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-84(%rbp), %eax                 ## 4-byte Reload
	movq	_VM_FAULT_WIRE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_42
## %bb.41:                              ##   in Loop: Header=BB0_40 Depth=2
	movq	%rbx, %rdi
	callq	_vm_page_wire
	testq	%r15, %r15
	jne	LBB0_43
	jmp	LBB0_39
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_40 Depth=2
	movq	%rbx, %rdi
	leaq	-104(%rbp), %rsi
	callq	_vm_page_change_lock
	movq	%rbx, %rdi
	callq	_vm_page_activate
	testq	%r15, %r15
	je	LBB0_39
LBB0_43:                                ##   in Loop: Header=BB0_40 Depth=2
	movq	8(%rbx), %rax
	cmpq	8(%r12), %rax
	jne	LBB0_39
## %bb.44:                              ##   in Loop: Header=BB0_40 Depth=2
	movq	%rbx, (%r15)
	movq	%rbx, %rdi
	callq	_vm_page_wire
	jmp	LBB0_39
	.p2align	4, 0x90
LBB0_45:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	-104(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.46:                              ##   in Loop: Header=BB0_18 Depth=1
	callq	_mtx_unlock
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_VM_PAGER_BAD,4,2               ## @VM_PAGER_BAD
	.comm	_KERN_RESOURCE_SHORTAGE,4,2     ## @KERN_RESOURCE_SHORTAGE
	.comm	_KERN_NOT_RECEIVER,4,2          ## @KERN_NOT_RECEIVER
	.comm	_VM_PAGER_OK,4,2                ## @VM_PAGER_OK
	.comm	_KERN_FAILURE,4,2               ## @KERN_FAILURE
	.comm	_pagesizes,8,3                  ## @pagesizes
	.comm	_PMAP_ENTER_WIRED,4,2           ## @PMAP_ENTER_WIRED
	.comm	_KERN_SUCCESS,4,2               ## @KERN_SUCCESS
	.comm	_VM_FAULT_WIRE,4,2              ## @VM_FAULT_WIRE
	.comm	_curthread,8,3                  ## @curthread
	.no_dead_strip	_vm_fault_populate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vm_fault_populate
_vm_fault_populate:                     ; @vm_fault_populate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x20, x5
	mov	x27, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x19, x0
	ldr	x8, [x0, #48]
	ldr	x9, [x0, #24]
	cmp	x8, x9
	cset	w0, eq
	bl	_MPASS
	ldr	x0, [x19, #24]
	bl	_VM_OBJECT_ASSERT_WLOCKED
	ldr	x8, [x19, #24]
	ldr	w0, [x8, #16]
	bl	_REFCOUNT_COUNT
	cmp	x0, #0
	cset	w0, gt
	bl	_MPASS
	ldr	x8, [x19, #24]
	ldr	x8, [x8, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_MPASS
	ldr	w0, [x19]
	bl	_MPASS
	ldr	x8, [x19, #40]
	ldr	w0, [x8]
	bl	_OFF_TO_IDX
	mov	x21, x0
	str	x0, [sp, #48]
	ldr	x8, [x19, #40]
	ldp	w9, w8, [x8, #4]
	sub	w0, w9, w8
	bl	_atop
	add	x8, x21, w0, sxtw
	sub	x8, x8, #1
	str	x8, [sp, #40]
	mov	x0, x19
	bl	_unlock_map
	mov	x0, x19
	bl	_unlock_vp
	ldr	x0, [x19, #24]
	ldr	x1, [x19, #8]
	ldr	x8, [x19, #40]
	ldr	w3, [x8, #12]
	add	x4, sp, #48
	add	x5, sp, #40
	mov	x2, x23
	bl	_vm_pager_populate
	mov	x21, x0
	ldr	x0, [x19, #24]
	bl	_VM_OBJECT_ASSERT_WLOCKED
Lloh0:
	adrp	x8, _VM_PAGER_BAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VM_PAGER_BAD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w21, w8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_vm_fault_restore_map_lock
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
	ldr	x9, [x19, #16]
Lloh3:
	adrp	x10, _KERN_RESOURCE_SHORTAGE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _KERN_RESOURCE_SHORTAGE@GOTPAGEOFF]
Lloh5:
	adrp	x11, _KERN_NOT_RECEIVER@GOTPAGE
Lloh6:
	ldr	x11, [x11, _KERN_NOT_RECEIVER@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x11, x10, eq
	b	LBB0_12
LBB0_2:
Lloh7:
	adrp	x8, _VM_PAGER_OK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _VM_PAGER_OK@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w21, w8
	b.ne	LBB0_10
; %bb.3:
	ldp	x9, x8, [sp, #40]
	cmp	x8, x9
	cset	w0, le
	bl	_MPASS
	ldr	x8, [x19, #8]
	ldr	x9, [sp, #40]
	cmp	x8, x9
	cset	w0, le
	bl	_MPASS
	ldr	x8, [x19, #8]
	ldr	x9, [sp, #48]
	cmp	x8, x9
	cset	w0, ge
	bl	_MPASS
	ldr	x8, [sp, #40]
	ldr	x9, [x19, #24]
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, lt
	bl	_MPASS
	mov	x0, x19
	bl	_vm_fault_restore_map_lock
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
	ldr	x9, [x19, #16]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.4:
	ldr	x8, [x19, #40]
	ldr	w0, [x8]
	bl	_OFF_TO_IDX
	mov	x21, x0
	ldr	x1, [sp, #48]
	cmp	x0, x1
	b.le	LBB0_6
; %bb.5:
	ldr	x0, [x19, #24]
	sub	x2, x21, #1
	bl	_vm_fault_populate_cleanup
	str	x21, [sp, #48]
LBB0_6:
	ldr	x8, [x19, #40]
	ldp	w9, w8, [x8, #4]
	sub	w0, w9, w8
	bl	_atop
	add	x1, x21, w0, sxtw
	ldr	x2, [sp, #40]
	cmp	x1, x2
	b.gt	LBB0_8
; %bb.7:
	sub	x21, x1, #1
	ldr	x0, [x19, #24]
	bl	_vm_fault_populate_cleanup
	str	x21, [sp, #40]
LBB0_8:
	ldr	x25, [sp, #48]
	ldr	x0, [x19, #24]
	mov	x1, x25
	bl	_vm_page_lookup
	ldr	x8, [sp, #40]
	cmp	x25, x8
	b.le	LBB0_13
LBB0_9:
Lloh10:
	adrp	x8, _curthread@GOTPAGE
Lloh11:
	ldr	x8, [x8, _curthread@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
Lloh13:
	adrp	x8, _KERN_SUCCESS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _KERN_SUCCESS@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
Lloh15:
	adrp	x8, _KERN_FAILURE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _KERN_FAILURE@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
	ldr	x0, [x19, #24]
	ldp	x2, x1, [sp, #40]
	bl	_vm_fault_populate_cleanup
Lloh17:
	adrp	x8, _KERN_RESOURCE_SHORTAGE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _KERN_RESOURCE_SHORTAGE@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_13:
	mov	x26, x0
Lloh19:
	adrp	x28, _VM_FAULT_WIRE@GOTPAGE
Lloh20:
	ldr	x28, [x28, _VM_FAULT_WIRE@GOTPAGEOFF]
	str	x27, [sp]                       ; 8-byte Folded Spill
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x25, [sp, #16]                  ; 8-byte Folded Reload
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	add	x25, x25, w8, sxtw
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	add	x0, x8, w26, sxtw #4
	bl	_vm_page_next
	mov	x26, x0
	ldr	x8, [sp, #40]
	cmp	x25, x8
	b.gt	LBB0_9
LBB0_15:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_23 Depth 2
                                        ;     Child Loop BB0_27 Depth 2
	ldr	x8, [x19, #40]
	ldr	w21, [x8, #8]
	mov	x0, x25
	bl	_IDX_TO_OFF
	ldr	x8, [x19, #40]
	ldr	w8, [x8]
	add	w9, w0, w21
	sub	w9, w9, w8
	ldr	w21, [x26]
	cmp	w21, #1
	str	x26, [sp, #32]                  ; 8-byte Folded Spill
	str	w9, [sp, #12]                   ; 4-byte Folded Spill
	b.lt	LBB0_21
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
Lloh21:
	adrp	x8, _pagesizes@GOTPAGE
Lloh22:
	ldr	x8, [x8, _pagesizes@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	ldr	w0, [x8, x21, lsl #2]
	sub	w8, w0, #1
	tst	w8, w9
	b.ne	LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	bl	_OFF_TO_IDX
	add	x8, x25, x0
	sub	x8, x8, #1
	ldr	x9, [sp, #40]
	cmp	x8, x9
	b.gt	LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [x19, #32]
	ldr	w0, [x8, #8]
	bl	_pmap_ps_enabled
	cbnz	x27, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=1
	cbnz	w0, LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	w21, #0
LBB0_21:                                ;   in Loop: Header=BB0_15 Depth=1
	str	x25, [sp, #16]                  ; 8-byte Folded Spill
Lloh24:
	adrp	x8, _pagesizes@GOTPAGE
Lloh25:
	ldr	x8, [x8, _pagesizes@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	ldr	w0, [x8, w21, sxtw #2]
	bl	_atop
	mov	w25, w0
	str	w0, [sp, #28]                   ; 4-byte Folded Spill
	cmp	w0, #1
	b.lt	LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x27, x25
	ldr	x26, [sp, #32]                  ; 8-byte Folded Reload
LBB0_23:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x26
	bl	_vm_fault_populate_check_page
	ldr	x0, [x19, #40]
	mov	x1, x26
	mov	x2, x24
	mov	x3, x23
	mov	x4, x22
	mov	w5, #1
	bl	_vm_fault_dirty
	add	x26, x26, #16
	subs	x27, x27, #1
	b.ne	LBB0_23
LBB0_24:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x0, [x19, #24]
	bl	_VM_OBJECT_WUNLOCK
	ldr	x8, [x19, #32]
	ldr	w0, [x8, #8]
Lloh27:
	adrp	x8, _PMAP_ENTER_WIRED@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PMAP_ENTER_WIRED@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	ldr	x27, [sp]                       ; 8-byte Folded Reload
	cmp	x27, #0
	csel	w8, wzr, w8, eq
	orr	w4, w8, w23
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	ldr	x2, [sp, #32]                   ; 8-byte Folded Reload
	mov	x3, x24
	mov	x5, x21
	bl	_pmap_enter
Lloh30:
	adrp	x8, _KERN_SUCCESS@GOTPAGE
Lloh31:
	ldr	x8, [x8, _KERN_SUCCESS@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	cmp	w0, w8
	cset	w0, eq
	bl	_MPASS
	ldr	x0, [x19, #24]
	bl	_VM_OBJECT_WLOCK
	str	xzr, [sp, #56]
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	subs	w26, w8, #1
	b.lt	LBB0_14
; %bb.25:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x21, [sp, #32]                  ; 8-byte Folded Reload
	b	LBB0_27
LBB0_26:                                ;   in Loop: Header=BB0_27 Depth=2
	mov	x0, x21
	bl	_vm_page_xunbusy
	add	x21, x21, #16
	subs	x25, x25, #1
	b.eq	LBB0_32
LBB0_27:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x28]
	tst	w8, w22
	b.eq	LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=2
	mov	x0, x21
	bl	_vm_page_wire
	cbnz	x20, LBB0_30
	b	LBB0_26
LBB0_29:                                ;   in Loop: Header=BB0_27 Depth=2
	add	x1, sp, #56
	mov	x0, x21
	bl	_vm_page_change_lock
	mov	x0, x21
	bl	_vm_page_activate
	cbz	x20, LBB0_26
LBB0_30:                                ;   in Loop: Header=BB0_27 Depth=2
	ldr	x8, [x21, #8]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.ne	LBB0_26
; %bb.31:                               ;   in Loop: Header=BB0_27 Depth=2
	str	x21, [x20]
	mov	x0, x21
	bl	_vm_page_wire
	b	LBB0_26
LBB0_32:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x0, [sp, #56]
	cbz	x0, LBB0_14
; %bb.33:                               ;   in Loop: Header=BB0_15 Depth=1
	bl	_mtx_unlock
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_VM_PAGER_BAD,4,2               ; @VM_PAGER_BAD
	.comm	_KERN_RESOURCE_SHORTAGE,4,2     ; @KERN_RESOURCE_SHORTAGE
	.comm	_KERN_NOT_RECEIVER,4,2          ; @KERN_NOT_RECEIVER
	.comm	_VM_PAGER_OK,4,2                ; @VM_PAGER_OK
	.comm	_KERN_FAILURE,4,2               ; @KERN_FAILURE
	.comm	_pagesizes,8,3                  ; @pagesizes
	.comm	_PMAP_ENTER_WIRED,4,2           ; @PMAP_ENTER_WIRED
	.comm	_KERN_SUCCESS,4,2               ; @KERN_SUCCESS
	.comm	_VM_FAULT_WIRE,4,2              ; @VM_FAULT_WIRE
	.comm	_curthread,8,3                  ; @curthread
	.no_dead_strip	_vm_fault_populate
.subsections_via_symbols
