	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reclaim_pv_chunk_domain
_reclaim_pv_chunk_domain:               ## @reclaim_pv_chunk_domain
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	_MA_OWNED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	callq	_PMAP_LOCK_ASSERT
	xorl	%edi, %edi
	movq	%rbx, -168(%rbp)                ## 8-byte Spill
	testq	%rbx, %rbx
	setne	%dil
	leaq	L_.str(%rip), %rsi
	callq	_KASSERT
	leaq	-64(%rbp), %rdi
	callq	_SLIST_INIT
	leaq	-72(%rbp), %r12
	movq	%r12, %rdi
	movl	$4, %esi
	callq	_bzero
	leaq	-80(%rbp), %r13
	movq	%r13, %rdi
	movl	$4, %esi
	callq	_bzero
	xorl	%eax, %eax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_pmap_not_in_di
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_pv_chunks@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movslq	%r14d, %rax
	leaq	(%rax,%rax,2), %rbx
	leaq	(%r15,%rbx,4), %rax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	leaq	(%r15,%rbx,4), %rdi
	addq	$4, %rdi
	movq	%rdi, -136(%rbp)                ## 8-byte Spill
	callq	_mtx_lock
	incl	(%r15,%rbx,4)
	leaq	(%r15,%rbx,4), %r14
	addq	$8, %r14
	movq	_pc_lru@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_TAILQ_INSERT_HEAD
	movl	(%rbx), %edx
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_TAILQ_INSERT_TAIL
	movl	(%rbx), %esi
	movq	%r12, %rdi
	callq	_TAILQ_NEXT
	cmpq	%r13, %rax
	je	LBB0_56
## %bb.1:
	movq	%rax, %r12
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	$0, -108(%rbp)                  ## 4-byte Folded Spill
	movl	$0, -104(%rbp)                  ## 4-byte Folded Spill
	movl	$0, -96(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -92(%rbp)                   ## 4-byte Folded Spill
	movq	-136(%rbp), %r15                ## 8-byte Reload
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-168(%rbp), %rdi                ## 8-byte Reload
	callq	_RELEASE_PV_LIST_LOCK
	movq	%rbx, %rdi
	callq	_PMAP_LOCK
	testl	%r15d, %r15d
	movq	%r13, %r15
	je	LBB0_2
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
	callq	_pmap_delayed_invl_start
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	callq	_mtx_lock
	movq	%rbx, %rax
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_pc_lru@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-72(%rbp), %rdi
	callq	_TAILQ_NEXT
	movq	%rax, %r12
	leaq	-80(%rbp), %rax
	cmpq	%rax, %r12
	je	LBB0_54
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_24 Depth 2
                                        ##       Child Loop BB0_28 Depth 3
                                        ##     Child Loop BB0_52 Depth 2
	leaq	-64(%rbp), %rdi
	callq	_SLIST_EMPTY
	testq	%rax, %rax
	je	LBB0_54
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_48
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %r13
	movq	%r15, %rdi
	callq	_mtx_unlock
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	cmpq	%rbx, %rdi
	movq	%r12, -128(%rbp)                ## 8-byte Spill
	je	LBB0_20
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %edx
	callq	_reclaim_pv_chunk_leave_pmap
	cmpq	%r12, %rbx
	ja	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	je	LBB0_17
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_PMAP_TRYLOCK
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	movq	%r13, %r15
	jne	LBB0_12
	jmp	LBB0_2
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %r15
	movq	%r13, %rdi
	callq	_mtx_lock
	movq	_pc_lru@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-72(%rbp), %rdi
	callq	_TAILQ_NEXT
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r12
	movl	$0, %eax
	cmpq	%rbx, 8(%r12)
	jne	LBB0_3
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_48
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	testl	%r15d, %r15d
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
	callq	_pmap_delayed_invl_start
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_pmap_global_bit
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_pmap_accessed_bit
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_pmap_modified_bit
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_pmap_rw_bit
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	-128(%rbp), %r12                ## 8-byte Reload
LBB0_20:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	__NPCM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_47
## %bb.21:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	-96(%rbp), %ecx                 ## 4-byte Reload
	orl	-92(%rbp), %ecx                 ## 4-byte Folded Reload
	movl	%ecx, -140(%rbp)                ## 4-byte Spill
	xorl	%esi, %esi
	movl	$0, -100(%rbp)                  ## 4-byte Folded Spill
	movq	%r13, %rdx
	movq	%r14, -184(%rbp)                ## 8-byte Spill
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_24 Depth=2
	movq	__NPCM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-136(%rbp), %rdx                ## 8-byte Reload
	movq	-184(%rbp), %r14                ## 8-byte Reload
	movq	-176(%rbp), %rsi                ## 8-byte Reload
LBB0_23:                                ##   in Loop: Header=BB0_24 Depth=2
	incq	%rsi
	movslq	%eax, %rcx
	cmpq	%rcx, %rsi
	jge	LBB0_42
LBB0_24:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_28 Depth 3
	movq	(%r12), %rcx
	movq	(%rcx,%rsi,8), %r13
	notq	%r13
	movq	_pc_freemask@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andq	(%rcx,%rsi,8), %r13
	je	LBB0_23
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=2
	movq	%rsi, -176(%rbp)                ## 8-byte Spill
	movl	%esi, %eax
	shll	$6, %eax
	movl	%eax, -144(%rbp)                ## 4-byte Spill
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_28 Depth=3
	movq	-128(%rbp), %r12                ## 8-byte Reload
LBB0_27:                                ##   in Loop: Header=BB0_28 Depth=3
	movq	$-2, %rax
	movl	-120(%rbp), %ecx                ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	rolq	%cl, %rax
	andq	%rax, %r13
	je	LBB0_22
LBB0_28:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_24 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%r13, %rdi
	callq	_bsfq
	movq	24(%r12), %r12
	movl	%eax, -120(%rbp)                ## 4-byte Spill
	addl	-144(%rbp), %eax                ## 4-byte Folded Reload
	movslq	%eax, %rbx
	shlq	$5, %rbx
	movl	16(%r12,%rbx), %r14d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	callq	_pmap_pde
	movq	%rax, %r15
	movq	_PG_PS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	jne	LBB0_26
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=3
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_pmap_pde_to_pte
	movq	_PG_W@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_26
## %bb.31:                              ##   in Loop: Header=BB0_28 Depth=3
	movq	%r15, -192(%rbp)                ## 8-byte Spill
	movl	%r14d, -112(%rbp)               ## 4-byte Spill
	movq	%rax, %rdi
	callq	_pte_load_clear
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	testl	%eax, -108(%rbp)                ## 4-byte Folded Reload
	je	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_28 Depth=3
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-112(%rbp), %esi                ## 4-byte Reload
	callq	_pmap_invalidate_page
LBB0_33:                                ##   in Loop: Header=BB0_28 Depth=3
	movq	_PG_FRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-116(%rbp), %r14d               ## 4-byte Reload
	andl	%r14d, %edi
	callq	_PHYS_TO_VM_PAGE
	movq	%rax, %r15
	notl	%r14d
	testl	%r14d, -140(%rbp)               ## 4-byte Folded Reload
	jne	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_28 Depth=3
	movq	%r15, %rdi
	callq	_vm_page_dirty
LBB0_35:                                ##   in Loop: Header=BB0_28 Depth=3
	addq	%rbx, %r12
	movl	-116(%rbp), %eax                ## 4-byte Reload
	testl	%eax, -104(%rbp)                ## 4-byte Folded Reload
	je	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_28 Depth=3
	movq	_PGA_REFERENCED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_vm_page_aflag_set
LBB0_37:                                ##   in Loop: Header=BB0_28 Depth=3
	movq	-168(%rbp), %rdi                ## 8-byte Reload
	movq	%r15, %rsi
	callq	_CHANGE_PV_LIST_LOCK_TO_VM_PAGE
	movq	%r15, %r14
	addq	$12, %r14
	movq	_pv_next@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_TAILQ_REMOVE
	incl	16(%r15)
	movq	%r14, %rdi
	callq	_TAILQ_EMPTY
	testq	%rax, %rax
	movl	-112(%rbp), %r14d               ## 4-byte Reload
	je	LBB0_41
## %bb.38:                              ##   in Loop: Header=BB0_28 Depth=3
	movq	_PG_FICTITIOUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	jne	LBB0_41
## %bb.39:                              ##   in Loop: Header=BB0_28 Depth=3
	movq	%r15, %rdi
	callq	_VM_PAGE_TO_PHYS
	movl	%eax, %edi
	callq	_pa_to_pvh
	movq	%rax, %rdi
	callq	_TAILQ_EMPTY
	testq	%rax, %rax
	je	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_28 Depth=3
	movq	_PGA_WRITEABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_vm_page_aflag_clear
LBB0_41:                                ##   in Loop: Header=BB0_28 Depth=3
	movq	%r15, %rdi
	callq	_pmap_delayed_invl_page
	movl	$1, %eax
	movl	-120(%rbp), %ecx                ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	shlq	%cl, %rax
	movq	-128(%rbp), %r12                ## 8-byte Reload
	movq	(%r12), %rcx
	movq	-176(%rbp), %rdx                ## 8-byte Reload
	orq	%rax, (%rcx,%rdx,8)
	movq	-192(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	leaq	-64(%rbp), %rcx
	callq	_pmap_unuse_pt
	incl	-100(%rbp)                      ## 4-byte Folded Spill
	jmp	LBB0_27
LBB0_42:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rdx, %r13
	movl	-100(%rbp), %esi                ## 4-byte Reload
	testl	%esi, %esi
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	je	LBB0_47
## %bb.43:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, %ebx
	callq	_pmap_resident_count_dec
	movq	_pv_entry_frees@GOTPCREL(%rip), %rdi
	movl	%ebx, %esi
	callq	_atomic_add_long
	movl	%eax, %edi
	callq	_PV_STAT
	movq	_pv_entry_spare@GOTPCREL(%rip), %rdi
	movl	%ebx, %esi
	callq	_atomic_add_int
	movl	%eax, %edi
	callq	_PV_STAT
	movq	_pv_entry_count@GOTPCREL(%rip), %rdi
	movl	%ebx, %esi
	callq	_atomic_subtract_long
	movl	%eax, %edi
	callq	_PV_STAT
	movq	_pc_list@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_TAILQ_REMOVE
	movq	(%r12), %rax
	movq	(%rax), %rcx
	movq	_PC_FREE0@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_46
## %bb.44:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rax), %rcx
	movq	_PC_FREE1@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_46
## %bb.45:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%rax), %rax
	movq	_PC_FREE2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_64
LBB0_46:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_pc_list@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_TAILQ_INSERT_HEAD
	movq	%r13, %r15
	movq	%r13, %rdi
	callq	_mtx_lock
	cmpq	-88(%rbp), %rbx                 ## 8-byte Folded Reload
	jne	LBB0_48
	jmp	LBB0_63
LBB0_47:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %r15
	movq	%r13, %rdi
	callq	_mtx_lock
LBB0_48:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rbx
	leaq	-72(%rbp), %r12
	movq	_pc_lru@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_TAILQ_REMOVE
	movl	(%r13), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_TAILQ_INSERT_AFTER
	movq	-160(%rbp), %rax                ## 8-byte Reload
	cmpl	$1, (%rax)
	jne	LBB0_53
## %bb.49:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_53
## %bb.50:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	callq	_TAILQ_FIRST
	cmpq	%r12, %rax
	je	LBB0_53
## %bb.51:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_52:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorl	%edi, %edi
	cmpq	$0, 8(%rbx)
	setne	%dil
	callq	_MPASS
	movl	(%r13), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_TAILQ_REMOVE
	movl	(%r13), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_TAILQ_INSERT_TAIL
	movq	%r14, %rdi
	callq	_TAILQ_FIRST
	movq	%rax, %rbx
	cmpq	%r12, %rax
	jne	LBB0_52
LBB0_53:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_TAILQ_NEXT
	movq	%rax, %r12
	leaq	-80(%rbp), %r13
	cmpq	%r13, %rax
	jne	LBB0_4
LBB0_54:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
LBB0_55:
	movq	%r15, %r13
	jmp	LBB0_57
LBB0_56:
	xorl	%r12d, %r12d
	movq	-136(%rbp), %r13                ## 8-byte Reload
LBB0_57:
	movl	-44(%rbp), %r15d                ## 4-byte Reload
LBB0_58:
	movq	_pc_lru@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	-72(%rbp), %rsi
	movq	%r14, %rdi
	callq	_TAILQ_REMOVE
	movl	(%rbx), %edx
	leaq	-80(%rbp), %rsi
	movq	%r14, %rdi
	callq	_TAILQ_REMOVE
	movq	-160(%rbp), %rax                ## 8-byte Reload
	decl	(%rax)
	movq	%r13, %rdi
	callq	_mtx_unlock
	movq	%r12, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	callq	_reclaim_pv_chunk_leave_pmap
	movq	-152(%rbp), %rbx                ## 8-byte Reload
	testq	%rbx, %rbx
	jne	LBB0_62
## %bb.59:
	leaq	-64(%rbp), %rdi
	callq	_SLIST_EMPTY
	testq	%rax, %rax
	je	LBB0_61
## %bb.60:
	xorl	%ebx, %ebx
	jmp	LBB0_62
LBB0_61:
	leaq	-64(%rbp), %r14
	movq	%r14, %rdi
	callq	_SLIST_FIRST
	movq	%rax, %rbx
	movq	_plinks@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_SLIST_REMOVE_HEAD
	movl	$1, 4(%rbx)
LBB0_62:
	leaq	-64(%rbp), %rdi
	movl	$1, %esi
	callq	_vm_page_free_pages_toq
	movq	%rbx, %rax
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_63:
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_55
LBB0_64:
	movq	__NPCPV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_pv_entry_spare@GOTPCREL(%rip), %rdi
	callq	_atomic_subtract_int
	movl	%eax, %edi
	callq	_PV_STAT
	movq	_pc_chunk_count@GOTPCREL(%rip), %rdi
	movl	$1, %esi
	callq	_atomic_subtract_int
	movl	%eax, %edi
	callq	_PV_STAT
	movq	_pc_chunk_frees@GOTPCREL(%rip), %rdi
	movl	$1, %esi
	callq	_atomic_add_int
	movl	%eax, %edi
	callq	_PV_STAT
	movl	%r12d, %edi
	callq	_DMAP_TO_PHYS
	movl	%eax, %edi
	callq	_PHYS_TO_VM_PAGE
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movl	8(%rax), %edi
	callq	_dump_drop_page
	movq	%r13, %rdi
	callq	_mtx_lock
	movq	_pc_lru@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_TAILQ_REMOVE
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_58
	.cfi_endproc
                                        ## -- End function
	.comm	_MA_OWNED,4,2                   ## @MA_OWNED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"reclaim_pv_chunk: lockp is NULL"

	.comm	_pv_chunks,8,3                  ## @pv_chunks
	.comm	_pc_lru,4,2                     ## @pc_lru
	.comm	__NPCM,4,2                      ## @_NPCM
	.comm	_pc_freemask,8,3                ## @pc_freemask
	.comm	_PG_PS,4,2                      ## @PG_PS
	.comm	_PG_W,4,2                       ## @PG_W
	.comm	_PG_FRAME,4,2                   ## @PG_FRAME
	.comm	_PGA_REFERENCED,4,2             ## @PGA_REFERENCED
	.comm	_pv_next,4,2                    ## @pv_next
	.comm	_PG_FICTITIOUS,4,2              ## @PG_FICTITIOUS
	.comm	_PGA_WRITEABLE,4,2              ## @PGA_WRITEABLE
	.comm	_pv_entry_frees,4,2             ## @pv_entry_frees
	.comm	_pv_entry_spare,4,2             ## @pv_entry_spare
	.comm	_pv_entry_count,4,2             ## @pv_entry_count
	.comm	_pc_list,4,2                    ## @pc_list
	.comm	_PC_FREE0,8,3                   ## @PC_FREE0
	.comm	_PC_FREE1,8,3                   ## @PC_FREE1
	.comm	_PC_FREE2,8,3                   ## @PC_FREE2
	.comm	__NPCPV,4,2                     ## @_NPCPV
	.comm	_pc_chunk_count,4,2             ## @pc_chunk_count
	.comm	_pc_chunk_frees,4,2             ## @pc_chunk_frees
	.comm	_plinks,4,2                     ## @plinks
	.no_dead_strip	_reclaim_pv_chunk_domain
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reclaim_pv_chunk_domain
_reclaim_pv_chunk_domain:               ; @reclaim_pv_chunk_domain
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _MA_OWNED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MA_OWNED@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_PMAP_LOCK_ASSERT
	str	x21, [sp, #80]                  ; 8-byte Folded Spill
	cmp	x21, #0
	cset	w0, ne
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_KASSERT
	add	x0, sp, #104
	bl	_SLIST_INIT
	sub	x0, x29, #88
	mov	w1, #4
	bl	_bzero
	sub	x23, x29, #96
	sub	x0, x29, #96
	mov	w1, #4
	bl	_bzero
	bl	_pmap_not_in_di
	mov	x21, x0
Lloh5:
	adrp	x8, _pv_chunks@GOTPAGE
Lloh6:
	ldr	x8, [x8, _pv_chunks@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	mov	w9, #12
	smaddl	x19, w19, w9, x8
	add	x22, x19, #4
	mov	x0, x22
	bl	_mtx_lock
	ldr	w8, [x19]
	add	w8, w8, #1
	str	x19, [sp, #32]                  ; 8-byte Folded Spill
	str	w8, [x19], #8
Lloh8:
	adrp	x25, _pc_lru@GOTPAGE
Lloh9:
	ldr	x25, [x25, _pc_lru@GOTPAGEOFF]
	ldr	w2, [x25]
	sub	x1, x29, #88
	mov	x0, x19
	bl	_TAILQ_INSERT_HEAD
	ldr	w2, [x25]
	sub	x1, x29, #96
	str	x19, [sp, #24]                  ; 8-byte Folded Spill
	mov	x0, x19
	bl	_TAILQ_INSERT_TAIL
	ldr	w1, [x25]
	sub	x0, x29, #88
	bl	_TAILQ_NEXT
	cmp	x0, x23
	b.eq	LBB0_52
; %bb.1:
	mov	x26, x0
	mov	x24, #0
	str	xzr, [sp, #72]                  ; 8-byte Folded Spill
	str	xzr, [sp, #16]                  ; 8-byte Folded Spill
	mov	w23, #1
	b	LBB0_6
LBB0_2:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [sp, #80]                   ; 8-byte Folded Reload
	bl	_RELEASE_PV_LIST_LOCK
	mov	x0, x19
	bl	_PMAP_LOCK
	cbz	w21, LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_pmap_delayed_invl_start
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	bl	_mtx_lock
	mov	x24, x19
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x25]
	sub	x0, x29, #88
	bl	_TAILQ_NEXT
	mov	x26, x0
	sub	x8, x29, #96
	cmp	x0, x8
	b.eq	LBB0_51
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_23 Depth 2
                                        ;       Child Loop BB0_27 Depth 3
                                        ;     Child Loop BB0_49 Depth 2
	add	x0, sp, #104
	bl	_SLIST_EMPTY
	cbz	x0, LBB0_51
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x19, [x26, #8]
	cbz	x19, LBB0_45
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	bl	_mtx_unlock
	cmp	x24, x19
	b.eq	LBB0_19
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x24
	mov	x1, x20
	mov	x2, x21
	bl	_reclaim_pv_chunk_leave_pmap
	cmp	x19, x20
	b.hi	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	b.eq	LBB0_16
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_PMAP_TRYLOCK
	cbz	x0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	cbnz	w21, LBB0_3
	b	LBB0_4
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	bl	_mtx_lock
	ldr	w1, [x25]
	sub	x0, x29, #88
	bl	_TAILQ_NEXT
	cbz	x0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x26, x0
	mov	x24, #0
	ldr	x8, [x0, #8]
	cmp	x8, x19
	b.ne	LBB0_5
	b	LBB0_45
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x24, #0
	b	LBB0_5
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	cbz	w21, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	bl	_pmap_delayed_invl_start
LBB0_18:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_pmap_global_bit
	str	w0, [sp, #76]                   ; 4-byte Folded Spill
	mov	x0, x20
	bl	_pmap_accessed_bit
	str	w0, [sp, #72]                   ; 4-byte Folded Spill
	mov	x0, x20
	bl	_pmap_modified_bit
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
	mov	x0, x20
	bl	_pmap_rw_bit
	str	w0, [sp, #16]                   ; 4-byte Folded Spill
	mov	x24, x20
LBB0_19:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh10:
	adrp	x8, __NPCM@GOTPAGE
Lloh11:
	ldr	x8, [x8, __NPCM@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_44
; %bb.20:                               ;   in Loop: Header=BB0_6 Depth=1
	str	x20, [sp, #8]                   ; 8-byte Folded Spill
	mov	x11, #0
	str	wzr, [sp, #100]                 ; 4-byte Folded Spill
	ldp	w10, w9, [sp, #16]              ; 8-byte Folded Reload
	orr	w9, w9, w10
	str	w9, [sp, #68]                   ; 4-byte Folded Spill
	str	w21, [sp, #52]                  ; 4-byte Folded Spill
	str	x22, [sp, #40]                  ; 8-byte Folded Spill
	b	LBB0_23
LBB0_21:                                ;   in Loop: Header=BB0_23 Depth=2
Lloh13:
	adrp	x8, __NPCM@GOTPAGE
Lloh14:
	ldr	x8, [x8, __NPCM@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	w21, [sp, #52]                  ; 4-byte Folded Reload
	ldr	x22, [sp, #40]                  ; 8-byte Folded Reload
Lloh16:
	adrp	x25, _pc_lru@GOTPAGE
Lloh17:
	ldr	x25, [x25, _pc_lru@GOTPAGEOFF]
	ldr	x11, [sp, #56]                  ; 8-byte Folded Reload
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=2
	add	x11, x11, #1
	cmp	x11, w8, sxtw
	b.ge	LBB0_39
LBB0_23:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_27 Depth 3
	ldr	x9, [x26]
	lsl	x12, x11, #3
	ldr	x9, [x9, x12]
Lloh18:
	adrp	x10, _pc_freemask@GOTPAGE
Lloh19:
	ldr	x10, [x10, _pc_freemask@GOTPAGEOFF]
Lloh20:
	ldr	x10, [x10]
	str	x12, [sp, #88]                  ; 8-byte Folded Spill
	ldr	x10, [x10, x12]
	bics	x20, x10, x9
	b.eq	LBB0_22
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=2
	str	x11, [sp, #56]                  ; 8-byte Folded Spill
	lsl	w27, w11, #6
Lloh21:
	adrp	x22, _PG_PS@GOTPAGE
Lloh22:
	ldr	x22, [x22, _PG_PS@GOTPAGEOFF]
	b	LBB0_27
LBB0_25:                                ;   in Loop: Header=BB0_27 Depth=3
	mov	x0, x22
	bl	_pmap_delayed_invl_page
	mov	w23, #1
	lsl	x8, x23, x19
	ldr	x9, [x26]
	ldr	x11, [sp, #88]                  ; 8-byte Folded Reload
	ldr	x10, [x9, x11]
	orr	x8, x10, x8
	str	x8, [x9, x11]
	ldr	w2, [x28]
	add	x3, sp, #104
	mov	x0, x24
	mov	x1, x21
	bl	_pmap_unuse_pt
	ldr	w8, [sp, #100]                  ; 4-byte Folded Reload
	add	w8, w8, #1
	str	w8, [sp, #100]                  ; 4-byte Folded Spill
Lloh23:
	adrp	x22, _PG_PS@GOTPAGE
Lloh24:
	ldr	x22, [x22, _PG_PS@GOTPAGEOFF]
LBB0_26:                                ;   in Loop: Header=BB0_27 Depth=3
	lsl	x8, x23, x19
	bics	x20, x20, x8
	b.eq	LBB0_21
LBB0_27:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_23 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x0, x20
	bl	_bsfq
	mov	x19, x0
	ldr	x8, [x26, #24]
	add	w9, w0, w27
	sxtw	x9, w9
	add	x25, x8, x9, lsl #5
	ldr	w21, [x25, #16]
	mov	x0, x24
	mov	x1, x21
	bl	_pmap_pde
	ldr	w8, [x0]
	ldr	w9, [x22]
	tst	w9, w8
	b.ne	LBB0_26
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=3
	mov	x28, x0
	mov	x1, x21
	bl	_pmap_pde_to_pte
	ldr	w8, [x0]
Lloh25:
	adrp	x9, _PG_W@GOTPAGE
Lloh26:
	ldr	x9, [x9, _PG_W@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_26
; %bb.29:                               ;   in Loop: Header=BB0_27 Depth=3
	bl	_pte_load_clear
	mov	x23, x0
	ldr	w8, [sp, #76]                   ; 4-byte Folded Reload
	tst	w0, w8
	b.eq	LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_27 Depth=3
	mov	x0, x24
	mov	x1, x21
	bl	_pmap_invalidate_page
LBB0_31:                                ;   in Loop: Header=BB0_27 Depth=3
Lloh28:
	adrp	x8, _PG_FRAME@GOTPAGE
Lloh29:
	ldr	x8, [x8, _PG_FRAME@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	and	w0, w8, w23
	bl	_PHYS_TO_VM_PAGE
	mov	x22, x0
	ldr	w8, [sp, #68]                   ; 4-byte Folded Reload
	bics	wzr, w8, w23
	b.ne	LBB0_33
; %bb.32:                               ;   in Loop: Header=BB0_27 Depth=3
	mov	x0, x22
	bl	_vm_page_dirty
LBB0_33:                                ;   in Loop: Header=BB0_27 Depth=3
	ldr	w8, [sp, #72]                   ; 4-byte Folded Reload
	tst	w23, w8
	b.eq	LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_27 Depth=3
Lloh31:
	adrp	x8, _PGA_REFERENCED@GOTPAGE
Lloh32:
	ldr	x8, [x8, _PGA_REFERENCED@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_vm_page_aflag_set
LBB0_35:                                ;   in Loop: Header=BB0_27 Depth=3
	ldr	x0, [sp, #80]                   ; 8-byte Folded Reload
	mov	x1, x22
	bl	_CHANGE_PV_LIST_LOCK_TO_VM_PAGE
	add	x23, x22, #12
Lloh34:
	adrp	x8, _pv_next@GOTPAGE
Lloh35:
	ldr	x8, [x8, _pv_next@GOTPAGEOFF]
Lloh36:
	ldr	w2, [x8]
	mov	x0, x23
	mov	x1, x25
	bl	_TAILQ_REMOVE
	ldr	w8, [x22, #16]
	add	w8, w8, #1
	str	w8, [x22, #16]
	mov	x0, x23
	bl	_TAILQ_EMPTY
	cbz	x0, LBB0_25
; %bb.36:                               ;   in Loop: Header=BB0_27 Depth=3
	ldr	w8, [x22]
Lloh37:
	adrp	x9, _PG_FICTITIOUS@GOTPAGE
Lloh38:
	ldr	x9, [x9, _PG_FICTITIOUS@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_25
; %bb.37:                               ;   in Loop: Header=BB0_27 Depth=3
	mov	x0, x22
	bl	_VM_PAGE_TO_PHYS
	bl	_pa_to_pvh
	bl	_TAILQ_EMPTY
	cbz	x0, LBB0_25
; %bb.38:                               ;   in Loop: Header=BB0_27 Depth=3
Lloh40:
	adrp	x8, _PGA_WRITEABLE@GOTPAGE
Lloh41:
	ldr	x8, [x8, _PGA_WRITEABLE@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_vm_page_aflag_clear
	b	LBB0_25
LBB0_39:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x20, [sp, #8]                   ; 8-byte Folded Reload
	ldr	w19, [sp, #100]                 ; 4-byte Folded Reload
	cbz	w19, LBB0_44
; %bb.40:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x24
	mov	x1, x19
	bl	_pmap_resident_count_dec
Lloh43:
	adrp	x0, _pv_entry_frees@GOTPAGE
Lloh44:
	ldr	x0, [x0, _pv_entry_frees@GOTPAGEOFF]
	mov	x1, x19
	bl	_atomic_add_long
	bl	_PV_STAT
Lloh45:
	adrp	x0, _pv_entry_spare@GOTPAGE
Lloh46:
	ldr	x0, [x0, _pv_entry_spare@GOTPAGEOFF]
	mov	x1, x19
	bl	_atomic_add_int
	bl	_PV_STAT
Lloh47:
	adrp	x0, _pv_entry_count@GOTPAGE
Lloh48:
	ldr	x0, [x0, _pv_entry_count@GOTPAGEOFF]
	mov	x1, x19
	bl	_atomic_subtract_long
	bl	_PV_STAT
Lloh49:
	adrp	x8, _pc_list@GOTPAGE
Lloh50:
	ldr	x8, [x8, _pc_list@GOTPAGEOFF]
Lloh51:
	ldr	w2, [x8]
	mov	x0, x24
	mov	x1, x26
	bl	_TAILQ_REMOVE
	ldr	x8, [x26]
	ldr	x9, [x8]
Lloh52:
	adrp	x10, _PC_FREE0@GOTPAGE
Lloh53:
	ldr	x10, [x10, _PC_FREE0@GOTPAGEOFF]
Lloh54:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_43
; %bb.41:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x8, #8]
Lloh55:
	adrp	x10, _PC_FREE1@GOTPAGE
Lloh56:
	ldr	x10, [x10, _PC_FREE1@GOTPAGEOFF]
Lloh57:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_43
; %bb.42:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x8, #16]
Lloh58:
	adrp	x9, _PC_FREE2@GOTPAGE
Lloh59:
	ldr	x9, [x9, _PC_FREE2@GOTPAGEOFF]
Lloh60:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_60
LBB0_43:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh61:
	adrp	x8, _pc_list@GOTPAGE
Lloh62:
	ldr	x8, [x8, _pc_list@GOTPAGEOFF]
Lloh63:
	ldr	w2, [x8]
	mov	x0, x24
	mov	x1, x26
	bl	_TAILQ_INSERT_HEAD
	mov	x0, x22
	bl	_mtx_lock
	cmp	x24, x20
	b.ne	LBB0_45
	b	LBB0_59
LBB0_44:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	bl	_mtx_lock
LBB0_45:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w2, [x25]
	sub	x1, x29, #88
	ldr	x23, [sp, #24]                  ; 8-byte Folded Reload
	mov	x0, x23
	bl	_TAILQ_REMOVE
	ldr	w3, [x25]
	sub	x2, x29, #88
	mov	x0, x23
	mov	x1, x26
	bl	_TAILQ_INSERT_AFTER
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w8, [x8]
	cmp	w8, #1
	sub	x26, x29, #88
	b.ne	LBB0_50
; %bb.46:                               ;   in Loop: Header=BB0_6 Depth=1
	cbz	x24, LBB0_50
; %bb.47:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	bl	_TAILQ_FIRST
	cmp	x0, x26
	b.eq	LBB0_50
; %bb.48:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x19, x0
LBB0_49:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #8]
	cmp	x8, #0
	cset	w0, ne
	bl	_MPASS
	ldr	w2, [x25]
	mov	x0, x23
	mov	x1, x19
	bl	_TAILQ_REMOVE
	ldr	w2, [x25]
	mov	x0, x23
	mov	x1, x19
	bl	_TAILQ_INSERT_TAIL
	mov	x0, x23
	bl	_TAILQ_FIRST
	mov	x19, x0
	cmp	x0, x26
	b.ne	LBB0_49
LBB0_50:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x25]
	sub	x0, x29, #88
	bl	_TAILQ_NEXT
	mov	x26, x0
	sub	x8, x29, #96
	cmp	x0, x8
	mov	w23, #1
	b.ne	LBB0_6
LBB0_51:
	mov	x19, #0
	b	LBB0_53
LBB0_52:
	mov	x19, #0
	mov	x24, #0
LBB0_53:
	ldr	x23, [sp, #24]                  ; 8-byte Folded Reload
LBB0_54:
	ldr	w2, [x25]
	sub	x1, x29, #88
	mov	x0, x23
	bl	_TAILQ_REMOVE
	ldr	w2, [x25]
	sub	x1, x29, #96
	mov	x0, x23
	bl	_TAILQ_REMOVE
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w8, [x9]
	sub	w8, w8, #1
	str	w8, [x9]
	mov	x0, x22
	bl	_mtx_unlock
	mov	x0, x24
	mov	x1, x20
	mov	x2, x21
	bl	_reclaim_pv_chunk_leave_pmap
	cbnz	x19, LBB0_58
; %bb.55:
	add	x0, sp, #104
	bl	_SLIST_EMPTY
	cbz	x0, LBB0_57
; %bb.56:
	mov	x19, #0
	b	LBB0_58
LBB0_57:
	add	x0, sp, #104
	bl	_SLIST_FIRST
	mov	x19, x0
Lloh64:
	adrp	x8, _plinks@GOTPAGE
Lloh65:
	ldr	x8, [x8, _plinks@GOTPAGEOFF]
Lloh66:
	ldr	w1, [x8]
	add	x0, sp, #104
	bl	_SLIST_REMOVE_HEAD
	mov	w8, #1
	str	w8, [x19, #4]
LBB0_58:
	add	x0, sp, #104
	mov	w1, #1
	bl	_vm_page_free_pages_toq
	mov	x0, x19
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_59:
	mov	x19, #0
	mov	x24, x20
	b	LBB0_53
LBB0_60:
Lloh67:
	adrp	x8, __NPCPV@GOTPAGE
Lloh68:
	ldr	x8, [x8, __NPCPV@GOTPAGEOFF]
Lloh69:
	ldr	w1, [x8]
Lloh70:
	adrp	x0, _pv_entry_spare@GOTPAGE
Lloh71:
	ldr	x0, [x0, _pv_entry_spare@GOTPAGEOFF]
	bl	_atomic_subtract_int
	bl	_PV_STAT
Lloh72:
	adrp	x0, _pc_chunk_count@GOTPAGE
Lloh73:
	ldr	x0, [x0, _pc_chunk_count@GOTPAGEOFF]
	mov	w1, #1
	bl	_atomic_subtract_int
	bl	_PV_STAT
Lloh74:
	adrp	x0, _pc_chunk_frees@GOTPAGE
Lloh75:
	ldr	x0, [x0, _pc_chunk_frees@GOTPAGEOFF]
	mov	w1, #1
	bl	_atomic_add_int
	bl	_PV_STAT
	mov	x0, x26
	bl	_DMAP_TO_PHYS
	bl	_PHYS_TO_VM_PAGE
	mov	x19, x0
	ldr	w0, [x0, #8]
	bl	_dump_drop_page
	mov	x0, x22
	bl	_mtx_lock
	ldr	w2, [x25]
	ldr	x23, [sp, #24]                  ; 8-byte Folded Reload
	mov	x0, x23
	mov	x1, x26
	bl	_TAILQ_REMOVE
	b	LBB0_54
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.cfi_endproc
                                        ; -- End function
	.comm	_MA_OWNED,4,2                   ; @MA_OWNED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"reclaim_pv_chunk: lockp is NULL"

	.comm	_pv_chunks,8,3                  ; @pv_chunks
	.comm	_pc_lru,4,2                     ; @pc_lru
	.comm	__NPCM,4,2                      ; @_NPCM
	.comm	_pc_freemask,8,3                ; @pc_freemask
	.comm	_PG_PS,4,2                      ; @PG_PS
	.comm	_PG_W,4,2                       ; @PG_W
	.comm	_PG_FRAME,4,2                   ; @PG_FRAME
	.comm	_PGA_REFERENCED,4,2             ; @PGA_REFERENCED
	.comm	_pv_next,4,2                    ; @pv_next
	.comm	_PG_FICTITIOUS,4,2              ; @PG_FICTITIOUS
	.comm	_PGA_WRITEABLE,4,2              ; @PGA_WRITEABLE
	.comm	_pv_entry_frees,4,2             ; @pv_entry_frees
	.comm	_pv_entry_spare,4,2             ; @pv_entry_spare
	.comm	_pv_entry_count,4,2             ; @pv_entry_count
	.comm	_pc_list,4,2                    ; @pc_list
	.comm	_PC_FREE0,8,3                   ; @PC_FREE0
	.comm	_PC_FREE1,8,3                   ; @PC_FREE1
	.comm	_PC_FREE2,8,3                   ; @PC_FREE2
	.comm	__NPCPV,4,2                     ; @_NPCPV
	.comm	_pc_chunk_count,4,2             ; @pc_chunk_count
	.comm	_pc_chunk_frees,4,2             ; @pc_chunk_frees
	.comm	_plinks,4,2                     ; @plinks
	.no_dead_strip	_reclaim_pv_chunk_domain
.subsections_via_symbols
