	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vm_pageout_scan_inactive
_vm_pageout_scan_inactive:              ## @vm_pageout_scan_inactive
	.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	%rdx, -112(%rbp)                ## 8-byte Spill
	movl	%esi, %r12d
	movq	%rdi, %r15
	addq	$32, %rdi
	callq	_atomic_readandclear_int
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movq	$0, -104(%rbp)
	leaq	-88(%rbp), %rdi
	callq	_vm_batchqueue_init
	movq	_PQ_INACTIVE@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	%r14, %rbx
	shlq	$5, %rbx
	addq	24(%r15), %rbx
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movq	16(%r15), %r15
	leaq	(%r15,%r14,8), %r13
	movq	%r13, %rdi
	callq	_vm_pagequeue_lock
	movq	(%r15,%r14,8), %r8
	leaq	-64(%rbp), %rdi
	movq	%r13, -120(%rbp)                ## 8-byte Spill
	movq	%r13, %rsi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_vm_pageout_init_scan
	addl	-92(%rbp), %r12d                ## 4-byte Folded Reload
	movl	%r12d, -68(%rbp)                ## 4-byte Spill
	jle	LBB0_1
## %bb.8:
	xorl	%r15d, %r15d
	movl	%r12d, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=1
	incl	%ebx
LBB0_16:                                ##   in Loop: Header=BB0_9 Depth=1
	testl	%r13d, %r13d
	jle	LBB0_17
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	leaq	-64(%rbp), %rdi
	movl	$1, %esi
	callq	_vm_pageout_next
	testq	%rax, %rax
	sete	%r14b
	je	LBB0_17
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rax, %r12
	movq	_PG_MARKER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	andl	(%r12), %eax
	sete	%dil
	movq	%r12, %rsi
	callq	_KASSERT
	movq	%r12, %rdi
	leaq	-104(%rbp), %rsi
	callq	_vm_page_change_lock
	movq	%r12, %rdi
	callq	_vm_page_queue
	movq	_PQ_INACTIVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %r13
	addq	$24, %r13
	movq	_PQ_INACTIVE@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_PGA_REQUEUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_PGA_ENQUEUED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_PGA_REQUEUE_HEAD@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	testl	%eax, 4(%r12)
	jne	LBB0_13
## %bb.22:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	%r12, %rdi
	callq	_vm_page_wired
	testl	%eax, %eax
	jne	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_12 Depth=2
	cmpq	(%r13), %r15
	je	LBB0_29
## %bb.25:                              ##   in Loop: Header=BB0_12 Depth=2
	testq	%r15, %r15
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	%r15, %rdi
	callq	_VM_OBJECT_WUNLOCK
LBB0_27:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	%r13, %rdi
	callq	_atomic_load_ptr
	testq	%rax, %rax
	je	LBB0_28
## %bb.31:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_VM_OBJECT_TRYWLOCK
	testl	%eax, %eax
	jne	LBB0_29
## %bb.32:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	-104(%rbp), %rdi
	callq	_mtx_unlock
	movq	%r15, %rdi
	callq	_VM_OBJECT_WLOCK
	movq	-104(%rbp), %rdi
	callq	_mtx_lock
	movq	%r12, %rdi
	callq	_vm_page_queue
	cmpq	(%rbx), %rax
	je	LBB0_12
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_15
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_35
LBB0_28:                                ##   in Loop: Header=BB0_9 Depth=1
	xorl	%r15d, %r15d
LBB0_29:                                ##   in Loop: Header=BB0_9 Depth=1
	xorl	%edi, %edi
	cmpq	$0, (%r13)
	sete	%dil
	callq	___predict_false
	testq	%rax, %rax
	jne	LBB0_30
## %bb.33:                              ##   in Loop: Header=BB0_9 Depth=1
	xorl	%edi, %edi
	cmpq	%r15, 24(%r12)
	sete	%dil
	movq	%r15, %rsi
	callq	_KASSERT
	movq	%r12, %rdi
	callq	_vm_page_tryxbusy
	testq	%rax, %rax
	je	LBB0_34
## %bb.36:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	callq	_vm_page_wired
	movl	%eax, %edi
	callq	___predict_false
	testq	%rax, %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movq	%r12, %rdi
	je	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_9 Depth=1
	callq	_vm_page_xunbusy
	movq	%r12, %rdi
	callq	_vm_page_dequeue_deferred
	jmp	LBB0_16
LBB0_34:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	incl	%ebx
LBB0_35:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	leaq	-64(%rbp), %rdi
	leaq	-88(%rbp), %rsi
	movq	%r12, %rdx
	callq	_vm_pageout_reinsert_inactive
	jmp	LBB0_16
LBB0_38:                                ##   in Loop: Header=BB0_9 Depth=1
	callq	_vm_page_none_valid
	testq	%rax, %rax
	je	LBB0_39
LBB0_54:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	_PGA_QUEUE_STATE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	andl	4(%r12), %eax
	sete	%dil
	movq	%r12, %rsi
	callq	_KASSERT
	movq	_PQ_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
	movq	%r12, %rdi
	callq	_vm_page_free
	decl	%r13d
	jmp	LBB0_16
LBB0_39:                                ##   in Loop: Header=BB0_9 Depth=1
	cmpq	$0, (%r15)
	je	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	callq	_pmap_ts_referenced
	movl	%eax, %r13d
	jmp	LBB0_42
LBB0_41:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	callq	_pmap_page_is_mapped
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	movq	%r12, %rsi
	callq	_KASSERT
	xorl	%r13d, %r13d
LBB0_42:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	_PGA_REFERENCED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%esi, 4(%r12)
	je	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	callq	_vm_page_aflag_clear
	incl	%r13d
LBB0_44:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	(%r15), %rax
	testl	%r13d, %r13d
	je	LBB0_49
## %bb.45:                              ##   in Loop: Header=BB0_9 Depth=1
	testq	%rax, %rax
	je	LBB0_47
## %bb.46:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	callq	_vm_page_xunbusy
	movq	_v_reactivated@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_VM_CNT_INC
	movq	%r12, %rdi
	callq	_vm_page_activate
	movq	_ACT_ADVANCE@GOTPCREL(%rip), %rax
	addl	(%rax), %r13d
	addl	%r13d, 20(%r12)
	jmp	LBB0_30
LBB0_49:                                ##   in Loop: Header=BB0_9 Depth=1
	testq	%rax, %rax
	je	LBB0_53
## %bb.50:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	callq	_vm_page_test_dirty
	cmpq	$0, 8(%r12)
	jne	LBB0_53
## %bb.51:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	callq	_vm_page_try_remove_all
	testl	%eax, %eax
	jne	LBB0_53
## %bb.52:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	callq	_vm_page_xunbusy
LBB0_23:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	callq	_vm_page_dequeue_deferred
LBB0_30:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_16
LBB0_47:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	_OBJ_DEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r15)
	je	LBB0_48
LBB0_53:                                ##   in Loop: Header=BB0_9 Depth=1
	cmpq	$0, 8(%r12)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	je	LBB0_54
## %bb.55:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	callq	_vm_page_xunbusy
	movq	_OBJ_DEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r15)
	jne	LBB0_16
## %bb.56:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	callq	_vm_page_launder
	jmp	LBB0_16
LBB0_48:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	callq	_vm_page_xunbusy
	movq	_PGA_REQUEUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_vm_page_aflag_set
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_35
LBB0_17:
	movq	-104(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.18:
	callq	_mtx_unlock
LBB0_19:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	testq	%r15, %r15
	je	LBB0_21
## %bb.20:
	movq	%r15, %rdi
	callq	_VM_OBJECT_WUNLOCK
LBB0_21:
	movl	-68(%rbp), %r12d                ## 4-byte Reload
	jmp	LBB0_2
LBB0_1:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r12d, %r13d
	xorl	%r14d, %r14d
LBB0_2:
	leaq	-64(%rbp), %r15
	leaq	-88(%rbp), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_vm_pageout_reinsert_inactive
	movq	%r15, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_vm_pageout_reinsert_inactive
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_vm_pagequeue_lock
	movq	%r15, %rdi
	callq	_vm_pageout_end_scan
	movq	%rbx, %rdi
	callq	_vm_pagequeue_unlock
	movq	_v_dfree@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r12d, %r15d
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	subl	%r13d, %r15d
	movl	%r15d, %esi
	callq	_VM_CNT_ADD
	testl	%r12d, %r12d
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	-112(%rbp), %r12                ## 8-byte Reload
	jle	LBB0_61
## %bb.3:
	movq	_PQ_LAUNDRY@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	shlq	$3, %rbx
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	addq	16(%r12), %rbx
	movq	%rbx, %rdi
	callq	_vm_pagequeue_lock
	movq	(%r12), %rax
	movq	_VM_LAUNDRY_IDLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_60
## %bb.4:
	cmpq	$0, (%rbx)
	jg	LBB0_6
## %bb.5:
	movq	_swapdev_enabled@GOTPCREL(%rip), %rdi
	callq	_atomic_load_acq_int
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_60
LBB0_6:
	testb	%r14b, %r14b
	je	LBB0_57
## %bb.7:
	movq	_VM_LAUNDRY_SHORTFALL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r12)
	movq	_v_pdshortfalls@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_VM_CNT_INC
	jmp	LBB0_59
LBB0_57:
	movq	(%r12), %rax
	movq	_VM_LAUNDRY_SHORTFALL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_59
## %bb.58:
	movq	_VM_LAUNDRY_BACKGROUND@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r12)
LBB0_59:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_wakeup
	movq	-80(%rbp), %r12                 ## 8-byte Reload
LBB0_60:
	addl	%r15d, 8(%r12)
	movq	%rbx, %rdi
	callq	_vm_pagequeue_unlock
	movq	-112(%rbp), %r12                ## 8-byte Reload
LBB0_61:
	testb	%r14b, %r14b
	je	LBB0_63
## %bb.62:
	xorl	%eax, %eax
	callq	_vm_swapout_run
LBB0_63:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	callq	_vm_pageout_mightbe_oom
	xorl	%eax, %eax
	callq	_vm_swapout_run_idle
	addl	-92(%rbp), %r13d                ## 4-byte Folded Reload
	movl	%r13d, (%r12)
	xorl	%eax, %eax
	testl	%ebx, %ebx
	setle	%al
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PQ_INACTIVE,8,3                ## @PQ_INACTIVE
	.comm	_PG_MARKER,4,2                  ## @PG_MARKER
	.comm	_PGA_ENQUEUED,4,2               ## @PGA_ENQUEUED
	.comm	_PGA_REQUEUE,4,2                ## @PGA_REQUEUE
	.comm	_PGA_REQUEUE_HEAD,4,2           ## @PGA_REQUEUE_HEAD
	.comm	_PGA_REFERENCED,4,2             ## @PGA_REFERENCED
	.comm	_v_reactivated,4,2              ## @v_reactivated
	.comm	_ACT_ADVANCE,8,3                ## @ACT_ADVANCE
	.comm	_OBJ_DEAD,4,2                   ## @OBJ_DEAD
	.comm	_PGA_QUEUE_STATE_MASK,4,2       ## @PGA_QUEUE_STATE_MASK
	.comm	_PQ_NONE,4,2                    ## @PQ_NONE
	.comm	_v_dfree,4,2                    ## @v_dfree
	.comm	_PQ_LAUNDRY,8,3                 ## @PQ_LAUNDRY
	.comm	_VM_LAUNDRY_IDLE,8,3            ## @VM_LAUNDRY_IDLE
	.comm	_swapdev_enabled,4,2            ## @swapdev_enabled
	.comm	_VM_LAUNDRY_SHORTFALL,8,3       ## @VM_LAUNDRY_SHORTFALL
	.comm	_v_pdshortfalls,4,2             ## @v_pdshortfalls
	.comm	_VM_LAUNDRY_BACKGROUND,8,3      ## @VM_LAUNDRY_BACKGROUND
	.no_dead_strip	_vm_pageout_scan_inactive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vm_pageout_scan_inactive
_vm_pageout_scan_inactive:              ; @vm_pageout_scan_inactive
	.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	x21, x2
	mov	x22, x1
	mov	x19, x0
	add	x0, x0, #32
	bl	_atomic_readandclear_int
	mov	x26, x0
	add	w22, w0, w22
	str	xzr, [sp, #40]
	add	x0, sp, #48
	bl	_vm_batchqueue_init
Lloh0:
	adrp	x20, _PQ_INACTIVE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _PQ_INACTIVE@GOTPAGEOFF]
	ldr	x8, [x20]
	ldp	x10, x9, [x19, #16]
	str	x19, [sp, #24]                  ; 8-byte Folded Spill
	add	x23, x9, x8, lsl #5
	add	x24, x10, x8, lsl #3
	mov	x0, x24
	bl	_vm_pagequeue_lock
	ldr	x4, [x24]
	add	x0, sp, #56
	mov	x1, x24
	mov	x2, x23
	mov	x3, #0
	bl	_vm_pageout_init_scan
	cmp	w22, #1
	b.lt	LBB0_49
; %bb.1:
	str	x24, [sp]                       ; 8-byte Folded Spill
	str	w26, [sp, #12]                  ; 4-byte Folded Spill
	str	x21, [sp, #16]                  ; 8-byte Folded Spill
	mov	x25, #0
	mov	w28, #0
Lloh2:
	adrp	x27, _PG_MARKER@GOTPAGE
Lloh3:
	ldr	x27, [x27, _PG_MARKER@GOTPAGEOFF]
Lloh4:
	adrp	x24, _PGA_ENQUEUED@GOTPAGE
Lloh5:
	ldr	x24, [x24, _PGA_ENQUEUED@GOTPAGEOFF]
	mov	x23, x22
Lloh6:
	adrp	x22, _PGA_REQUEUE@GOTPAGE
Lloh7:
	ldr	x22, [x22, _PGA_REQUEUE@GOTPAGEOFF]
Lloh8:
	adrp	x21, _PGA_REQUEUE_HEAD@GOTPAGE
Lloh9:
	ldr	x21, [x21, _PGA_REQUEUE_HEAD@GOTPAGEOFF]
	str	w23, [sp, #8]                   ; 4-byte Folded Spill
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w28, w28, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w23, #0
	b.le	LBB0_44
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	add	x0, sp, #56
	mov	w1, #1
	bl	_vm_pageout_next
	cmp	x0, #0
	cset	w19, eq
	cbz	x0, LBB0_44
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x26, x0
	ldr	w8, [x0]
	ldr	w9, [x27]
	tst	w9, w8
	cset	w0, eq
	mov	x1, x26
	bl	_KASSERT
	add	x1, sp, #40
	mov	x0, x26
	bl	_vm_page_change_lock
	mov	x0, x26
	bl	_vm_page_queue
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w23, [sp, #36]                  ; 4-byte Folded Spill
	mov	x23, x28
	mov	x28, x27
	add	x27, x26, #24
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x26, #4]
	ldr	w9, [x24]
	ldr	w10, [x22]
	orr	w9, w10, w9
	ldr	w10, [x21]
	orr	w9, w9, w10
	tst	w9, w8
	b.ne	LBB0_21
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x26
	bl	_vm_page_wired
	cbnz	w0, LBB0_36
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x8, [x27]
	cmp	x25, x8
	b.eq	LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=2
	cbz	x25, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x25
	bl	_VM_OBJECT_WUNLOCK
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x27
	bl	_atomic_load_ptr
	mov	x25, x0
	cbz	x0, LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x25
	bl	_VM_OBJECT_TRYWLOCK
	cbnz	w0, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=2
	ldr	x0, [sp, #40]
	bl	_mtx_unlock
	mov	x0, x25
	bl	_VM_OBJECT_WLOCK
	ldr	x0, [sp, #40]
	bl	_mtx_lock
	mov	x0, x26
	bl	_vm_page_queue
	ldr	x8, [x20]
	cmp	x0, x8
	b.eq	LBB0_7
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x27, x28
	mov	x28, x23
	ldr	w23, [sp, #36]                  ; 4-byte Folded Reload
	b	LBB0_2
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x27]
	cmp	x8, #0
	cset	w0, eq
	bl	___predict_false
	cbnz	x0, LBB0_37
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x26, #24]
	cmp	x8, x25
	cset	w0, eq
	mov	x1, x25
	bl	_KASSERT
	mov	x0, x26
	bl	_vm_page_tryxbusy
	cbz	x0, LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	bl	_vm_page_wired
	bl	___predict_false
	mov	x27, x28
	cbz	x0, LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	bl	_vm_page_xunbusy
	mov	x0, x26
	bl	_vm_page_dequeue_deferred
	b	LBB0_38
LBB0_20:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w23, w23, #1
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x27, x28
	mov	x28, x23
	ldr	w23, [sp, #36]                  ; 4-byte Folded Reload
	add	x0, sp, #56
	add	x1, sp, #48
	mov	x2, x26
	bl	_vm_pageout_reinsert_inactive
	b	LBB0_3
LBB0_22:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	bl	_vm_page_none_valid
	cbz	x0, LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x26, #4]
Lloh10:
	adrp	x9, _PGA_QUEUE_STATE_MASK@GOTPAGE
Lloh11:
	ldr	x9, [x9, _PGA_QUEUE_STATE_MASK@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, eq
	mov	x1, x26
	bl	_KASSERT
Lloh13:
	adrp	x8, _PQ_NONE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PQ_NONE@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x26, #16]
	mov	x0, x26
	bl	_vm_page_free
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	sub	w8, w8, #1
	mov	x28, x23
	mov	x23, x8
	b	LBB0_3
LBB0_24:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x25]
	cbz	x8, LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	bl	_pmap_ts_referenced
	mov	x27, x0
	b	LBB0_27
LBB0_26:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	bl	_pmap_page_is_mapped
	cmp	w0, #0
	cset	w0, eq
	mov	x1, x26
	bl	_KASSERT
	mov	w27, #0
LBB0_27:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x26, #4]
Lloh16:
	adrp	x9, _PGA_REFERENCED@GOTPAGE
Lloh17:
	ldr	x9, [x9, _PGA_REFERENCED@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x9]
	tst	w1, w8
	b.eq	LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	bl	_vm_page_aflag_clear
	add	w27, w27, #1
LBB0_29:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x25]
	cbz	w27, LBB0_32
; %bb.30:                               ;   in Loop: Header=BB0_4 Depth=1
	cbz	x8, LBB0_39
; %bb.31:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	bl	_vm_page_xunbusy
Lloh19:
	adrp	x8, _v_reactivated@GOTPAGE
Lloh20:
	ldr	x8, [x8, _v_reactivated@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_VM_CNT_INC
	mov	x0, x26
	bl	_vm_page_activate
Lloh22:
	adrp	x8, _ACT_ADVANCE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ACT_ADVANCE@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	ldr	w9, [x26, #20]
	add	w8, w27, w8
	add	w8, w8, w9
	str	w8, [x26, #20]
	b	LBB0_37
LBB0_32:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	x8, LBB0_40
; %bb.33:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	bl	_vm_page_test_dirty
	ldr	x8, [x26, #8]
	cbnz	x8, LBB0_40
; %bb.34:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	bl	_vm_page_try_remove_all
	cbnz	w0, LBB0_40
; %bb.35:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	bl	_vm_page_xunbusy
LBB0_36:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	bl	_vm_page_dequeue_deferred
LBB0_37:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x27, x28
LBB0_38:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x28, x23
	ldr	w23, [sp, #36]                  ; 4-byte Folded Reload
	b	LBB0_3
LBB0_39:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x25, #8]
Lloh25:
	adrp	x9, _OBJ_DEAD@GOTPAGE
Lloh26:
	ldr	x9, [x9, _OBJ_DEAD@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_43
LBB0_40:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x26, #8]
	mov	x27, x28
	cbz	x8, LBB0_23
; %bb.41:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	bl	_vm_page_xunbusy
	ldr	w8, [x25, #8]
Lloh28:
	adrp	x9, _OBJ_DEAD@GOTPAGE
Lloh29:
	ldr	x9, [x9, _OBJ_DEAD@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_38
; %bb.42:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	bl	_vm_page_launder
	b	LBB0_38
LBB0_43:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	bl	_vm_page_xunbusy
	ldr	w1, [x22]
	mov	x0, x26
	bl	_vm_page_aflag_set
	b	LBB0_21
LBB0_44:
	ldr	x0, [sp, #40]
	cbz	x0, LBB0_46
; %bb.45:
	bl	_mtx_unlock
LBB0_46:
	ldp	x21, x20, [sp, #16]             ; 16-byte Folded Reload
	ldr	w22, [sp, #8]                   ; 4-byte Folded Reload
	ldr	x24, [sp]                       ; 8-byte Folded Reload
	cbz	x25, LBB0_48
; %bb.47:
	mov	x0, x25
	bl	_VM_OBJECT_WUNLOCK
LBB0_48:
	ldr	w26, [sp, #12]                  ; 4-byte Folded Reload
	b	LBB0_50
LBB0_49:
	mov	w28, #0
	mov	w19, #0
	mov	x23, x22
	ldr	x20, [sp, #24]                  ; 8-byte Folded Reload
LBB0_50:
	add	x0, sp, #56
	add	x1, sp, #48
	mov	x2, #0
	bl	_vm_pageout_reinsert_inactive
	add	x0, sp, #56
	add	x1, sp, #56
	mov	x2, #0
	bl	_vm_pageout_reinsert_inactive
	mov	x0, x24
	bl	_vm_pagequeue_lock
	add	x0, sp, #56
	bl	_vm_pageout_end_scan
	mov	x0, x24
	bl	_vm_pagequeue_unlock
Lloh31:
	adrp	x8, _v_dfree@GOTPAGE
Lloh32:
	ldr	x8, [x8, _v_dfree@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	sub	w24, w22, w23
	mov	x1, x24
	bl	_VM_CNT_ADD
	cmp	w22, #1
	b.lt	LBB0_60
; %bb.51:
	ldr	x8, [x20, #16]
Lloh34:
	adrp	x9, _PQ_LAUNDRY@GOTPAGE
Lloh35:
	ldr	x9, [x9, _PQ_LAUNDRY@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	add	x25, x8, x9, lsl #3
	mov	x0, x25
	bl	_vm_pagequeue_lock
	ldr	x8, [x20]
Lloh37:
	adrp	x9, _VM_LAUNDRY_IDLE@GOTPAGE
Lloh38:
	ldr	x9, [x9, _VM_LAUNDRY_IDLE@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_59
; %bb.52:
	ldr	x8, [x25]
	cmp	x8, #0
	b.gt	LBB0_54
; %bb.53:
Lloh40:
	adrp	x0, _swapdev_enabled@GOTPAGE
Lloh41:
	ldr	x0, [x0, _swapdev_enabled@GOTPAGEOFF]
	bl	_atomic_load_acq_int
	cbz	x0, LBB0_59
LBB0_54:
	cbz	w19, LBB0_56
; %bb.55:
Lloh42:
	adrp	x8, _VM_LAUNDRY_SHORTFALL@GOTPAGE
Lloh43:
	ldr	x8, [x8, _VM_LAUNDRY_SHORTFALL@GOTPAGEOFF]
Lloh44:
	ldr	x8, [x8]
	str	x8, [x20]
Lloh45:
	adrp	x8, _v_pdshortfalls@GOTPAGE
Lloh46:
	ldr	x8, [x8, _v_pdshortfalls@GOTPAGEOFF]
Lloh47:
	ldr	w0, [x8]
	bl	_VM_CNT_INC
	b	LBB0_58
LBB0_56:
	ldr	x8, [x20]
Lloh48:
	adrp	x9, _VM_LAUNDRY_SHORTFALL@GOTPAGE
Lloh49:
	ldr	x9, [x9, _VM_LAUNDRY_SHORTFALL@GOTPAGEOFF]
Lloh50:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_58
; %bb.57:
Lloh51:
	adrp	x8, _VM_LAUNDRY_BACKGROUND@GOTPAGE
Lloh52:
	ldr	x8, [x8, _VM_LAUNDRY_BACKGROUND@GOTPAGEOFF]
Lloh53:
	ldr	x8, [x8]
	str	x8, [x20]
LBB0_58:
	mov	x0, x20
	bl	_wakeup
LBB0_59:
	ldr	w8, [x20, #8]
	add	w8, w8, w24
	str	w8, [x20, #8]
	mov	x0, x25
	bl	_vm_pagequeue_unlock
LBB0_60:
	cbz	w19, LBB0_62
; %bb.61:
	bl	_vm_swapout_run
LBB0_62:
	mov	x0, x20
	mov	x1, x23
	mov	x2, x22
	bl	_vm_pageout_mightbe_oom
	bl	_vm_swapout_run_idle
	add	w8, w28, w26
	str	w8, [x21]
	cmp	w23, #1
	cset	w0, lt
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.comm	_PQ_INACTIVE,8,3                ; @PQ_INACTIVE
	.comm	_PG_MARKER,4,2                  ; @PG_MARKER
	.comm	_PGA_ENQUEUED,4,2               ; @PGA_ENQUEUED
	.comm	_PGA_REQUEUE,4,2                ; @PGA_REQUEUE
	.comm	_PGA_REQUEUE_HEAD,4,2           ; @PGA_REQUEUE_HEAD
	.comm	_PGA_REFERENCED,4,2             ; @PGA_REFERENCED
	.comm	_v_reactivated,4,2              ; @v_reactivated
	.comm	_ACT_ADVANCE,8,3                ; @ACT_ADVANCE
	.comm	_OBJ_DEAD,4,2                   ; @OBJ_DEAD
	.comm	_PGA_QUEUE_STATE_MASK,4,2       ; @PGA_QUEUE_STATE_MASK
	.comm	_PQ_NONE,4,2                    ; @PQ_NONE
	.comm	_v_dfree,4,2                    ; @v_dfree
	.comm	_PQ_LAUNDRY,8,3                 ; @PQ_LAUNDRY
	.comm	_VM_LAUNDRY_IDLE,8,3            ; @VM_LAUNDRY_IDLE
	.comm	_swapdev_enabled,4,2            ; @swapdev_enabled
	.comm	_VM_LAUNDRY_SHORTFALL,8,3       ; @VM_LAUNDRY_SHORTFALL
	.comm	_v_pdshortfalls,4,2             ; @v_pdshortfalls
	.comm	_VM_LAUNDRY_BACKGROUND,8,3      ; @VM_LAUNDRY_BACKGROUND
	.no_dead_strip	_vm_pageout_scan_inactive
.subsections_via_symbols
