	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vm_pageout_launder
_vm_pageout_launder:                    ## @vm_pageout_launder
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %ebx
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movq	$0, -64(%rbp)
	movq	_swapdev_enabled@GOTPCREL(%rip), %rdi
	callq	_atomic_load_acq_int
	movq	_PQ_UNSWAPPABLE@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_PQ_LAUNDRY@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	cmpl	$1, %r14d
	movl	$0, %eax
	sbbl	%eax, %eax
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movl	%ebx, -88(%rbp)                 ## 4-byte Spill
	movl	%ebx, %r14d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-112(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdi
	callq	_vm_pagequeue_lock
	movq	%rbx, %rdi
	callq	_vm_pageout_end_scan
	movq	%r15, %rdi
	callq	_vm_pagequeue_unlock
	movq	_PQ_UNSWAPPABLE@GOTPCREL(%rip), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	cmpl	(%rax), %ecx
	sete	%al
	movq	_PQ_LAUNDRY@GOTPCREL(%rip), %rcx
	testb	%al, %r13b
	je	LBB0_21
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##       Child Loop BB0_11 Depth 3
	movslq	(%rcx), %rbx
	movq	%rbx, %r13
	shlq	$5, %r13
	movq	-104(%rbp), %rax                ## 8-byte Reload
	addq	8(%rax), %r13
	movl	%r14d, %r12d
	movq	(%rax), %r14
	leaq	(%r14,%rbx,4), %r15
	movq	%r15, %rdi
	callq	_vm_pagequeue_lock
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movl	(%r14,%rbx,4), %r8d
	movl	%r12d, %r14d
	leaq	-48(%rbp), %rbx
	xorl	%r12d, %r12d
	movq	%rbx, %rdi
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	movq	%r15, %rsi
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	callq	_vm_pageout_init_scan
	testl	%r14d, %r14d
	jle	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_11 Depth 3
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_vm_pageout_next
	testq	%rax, %rax
	sete	%r13b
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	%rax, %r15
	movq	_PG_MARKER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	andl	(%r15), %eax
	setne	%dil
	callq	___predict_false
	testq	%rax, %rax
	jne	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	%r15, %rdi
	leaq	-64(%rbp), %rsi
	callq	_vm_page_change_lock
	movq	%r15, %rdi
	callq	_vm_page_queue
	cmpl	-72(%rbp), %eax                 ## 4-byte Folded Reload
	jne	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=2
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	movq	%r15, %r14
	addq	$24, %r14
	movq	_PGA_REQUEUE@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_6 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	(%rbx), %eax
	testl	%eax, 4(%r15)
	jne	LBB0_12
## %bb.24:                              ##   in Loop: Header=BB0_11 Depth=3
	movq	%r15, %rdi
	callq	_vm_page_wired
	testl	%eax, %eax
	jne	LBB0_25
## %bb.26:                              ##   in Loop: Header=BB0_11 Depth=3
	cmpq	(%r14), %r12
	je	LBB0_31
## %bb.27:                              ##   in Loop: Header=BB0_11 Depth=3
	testq	%r12, %r12
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_11 Depth=3
	movq	%r12, %rdi
	callq	_VM_OBJECT_WUNLOCK
LBB0_29:                                ##   in Loop: Header=BB0_11 Depth=3
	movq	%r14, %rdi
	callq	_atomic_load_ptr
	testq	%rax, %rax
	je	LBB0_30
## %bb.35:                              ##   in Loop: Header=BB0_11 Depth=3
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_VM_OBJECT_TRYWLOCK
	testl	%eax, %eax
	jne	LBB0_31
## %bb.36:                              ##   in Loop: Header=BB0_11 Depth=3
	movq	-64(%rbp), %rdi
	callq	_mtx_unlock
	movq	%r12, %rdi
	callq	_VM_OBJECT_WLOCK
	movq	-64(%rbp), %rdi
	callq	_mtx_lock
	movq	%r15, %rdi
	callq	_vm_page_queue
	cmpl	-72(%rbp), %eax                 ## 4-byte Folded Reload
	je	LBB0_11
	jmp	LBB0_13
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	%r15, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_vm_page_pqbatch_submit
	jmp	LBB0_13
LBB0_30:                                ##   in Loop: Header=BB0_6 Depth=2
	xorl	%r12d, %r12d
LBB0_31:                                ##   in Loop: Header=BB0_6 Depth=2
	xorl	%edi, %edi
	cmpq	$0, (%r14)
	sete	%dil
	callq	___predict_false
	testq	%rax, %rax
	jne	LBB0_13
## %bb.32:                              ##   in Loop: Header=BB0_6 Depth=2
	xorl	%edi, %edi
	cmpq	%r12, 24(%r15)
	sete	%dil
	movq	%r12, %rsi
	callq	_KASSERT
	movq	%r15, %rdi
	callq	_vm_page_tryxbusy
	testq	%rax, %rax
	je	LBB0_13
## %bb.33:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	%r15, %rdi
	callq	_vm_page_wired
	movl	%eax, %edi
	callq	___predict_false
	testq	%rax, %rax
	je	LBB0_37
LBB0_34:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	%r15, %rdi
	callq	_vm_page_xunbusy
LBB0_25:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	%r15, %rdi
	callq	_vm_page_dequeue_deferred
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=2
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=2
	leaq	-48(%rbp), %rbx
	testl	%r14d, %r14d
	jg	LBB0_6
	jmp	LBB0_16
LBB0_37:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	%r15, %rdi
	callq	_vm_page_none_valid
	testq	%rax, %rax
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	je	LBB0_38
LBB0_52:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	%r15, %rdi
	callq	_vm_page_free
	movq	_v_dfree@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_VM_CNT_INC
	jmp	LBB0_14
LBB0_38:                                ##   in Loop: Header=BB0_6 Depth=2
	cmpq	$0, (%r12)
	je	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	%r15, %rdi
	callq	_pmap_ts_referenced
	movl	%eax, %r14d
	jmp	LBB0_41
LBB0_40:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	%r15, %rdi
	callq	_pmap_page_is_mapped
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	movq	%r15, %rsi
	callq	_KASSERT
	xorl	%r14d, %r14d
LBB0_41:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	_PGA_REFERENCED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%esi, 4(%r15)
	je	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	%r15, %rdi
	callq	_vm_page_aflag_clear
	incl	%r14d
LBB0_43:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	(%r12), %rax
	testl	%r14d, %r14d
	je	LBB0_48
## %bb.44:                              ##   in Loop: Header=BB0_6 Depth=2
	testq	%rax, %rax
	je	LBB0_46
## %bb.45:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	%r15, %rdi
	callq	_vm_page_xunbusy
	movq	_v_reactivated@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_VM_CNT_INC
	movq	%r15, %rdi
	callq	_vm_page_activate
	movq	_ACT_ADVANCE@GOTPCREL(%rip), %rax
	addl	(%rax), %r14d
	addl	%r14d, 16(%r15)
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	addl	-84(%rbp), %r14d                ## 4-byte Folded Reload
	jmp	LBB0_14
LBB0_48:                                ##   in Loop: Header=BB0_6 Depth=2
	testq	%rax, %rax
	je	LBB0_51
## %bb.49:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	%r15, %rdi
	callq	_vm_page_test_dirty
	cmpq	$0, 8(%r15)
	jne	LBB0_51
## %bb.50:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	%r15, %rdi
	callq	_vm_page_try_remove_all
	testl	%eax, %eax
	jne	LBB0_51
	jmp	LBB0_34
LBB0_46:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	_OBJ_DEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r12)
	je	LBB0_47
LBB0_51:                                ##   in Loop: Header=BB0_6 Depth=2
	cmpq	$0, 8(%r15)
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	je	LBB0_52
## %bb.53:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	_OBJ_DEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r12)
	je	LBB0_54
## %bb.62:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	%r15, %rdi
	callq	_vm_page_xunbusy
	jmp	LBB0_14
LBB0_54:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	16(%r12), %rax
	movq	_OBJT_SWAP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	setne	%cl
	movq	_OBJT_DEFAULT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	setne	%al
	testb	%al, %cl
	jne	LBB0_57
## %bb.55:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	_disable_swap_pageouts@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_57
## %bb.56:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	%r15, %rdi
	callq	_vm_page_xunbusy
	movq	%r15, %rdi
	callq	_vm_page_requeue
	jmp	LBB0_14
LBB0_47:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	%r15, %rdi
	callq	_vm_page_xunbusy
	movq	%r15, %rdi
	callq	_vm_page_requeue
	jmp	LBB0_13
LBB0_57:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	%r15, %rdi
	leaq	-92(%rbp), %rsi
	callq	_vm_pageout_clean
	testl	%eax, %eax
	je	LBB0_58
## %bb.59:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	_EDEADLK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	leaq	-48(%rbp), %rbx
	jne	LBB0_61
## %bb.60:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	_pageout_lock_miss@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_61
LBB0_58:                                ##   in Loop: Header=BB0_6 Depth=2
	movl	-92(%rbp), %eax
	subl	%eax, %r14d
	addl	%eax, -48(%rbp)
	leaq	-48(%rbp), %rbx
LBB0_61:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	$0, -64(%rbp)
	xorl	%r12d, %r12d
	testl	%r14d, %r14d
	jg	LBB0_6
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r13d, %r13d
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	-48(%rbp), %rbx
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	callq	_mtx_unlock
	movq	$0, -64(%rbp)
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	testq	%r12, %r12
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	callq	_VM_OBJECT_WUNLOCK
	jmp	LBB0_20
LBB0_21:
	cmpl	$0, -80(%rbp)                   ## 4-byte Folded Reload
	setle	%al
	xorb	$1, %r13b
	orb	%al, %r13b
	jne	LBB0_23
## %bb.22:
	xorl	%eax, %eax
	callq	_speedup_syncer
LBB0_23:
	movl	-88(%rbp), %eax                 ## 4-byte Reload
	subl	%r14d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_swapdev_enabled,4,2            ## @swapdev_enabled
	.comm	_PQ_UNSWAPPABLE,4,2             ## @PQ_UNSWAPPABLE
	.comm	_PQ_LAUNDRY,4,2                 ## @PQ_LAUNDRY
	.comm	_PG_MARKER,4,2                  ## @PG_MARKER
	.comm	_PGA_REQUEUE,4,2                ## @PGA_REQUEUE
	.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	_v_dfree,4,2                    ## @v_dfree
	.comm	_OBJT_SWAP,8,3                  ## @OBJT_SWAP
	.comm	_OBJT_DEFAULT,8,3               ## @OBJT_DEFAULT
	.comm	_disable_swap_pageouts,8,3      ## @disable_swap_pageouts
	.comm	_EDEADLK,4,2                    ## @EDEADLK
	.comm	_pageout_lock_miss,4,2          ## @pageout_lock_miss
	.no_dead_strip	_vm_pageout_launder
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vm_pageout_launder
_vm_pageout_launder:                    ; @vm_pageout_launder
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x27, x1
	mov	x20, x0
	str	xzr, [sp, #16]
Lloh0:
	adrp	x0, _swapdev_enabled@GOTPAGE
Lloh1:
	ldr	x0, [x0, _swapdev_enabled@GOTPAGEOFF]
	bl	_atomic_load_acq_int
	str	wzr, [sp, #8]                   ; 4-byte Folded Spill
Lloh2:
	adrp	x8, _PQ_UNSWAPPABLE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PQ_UNSWAPPABLE@GOTPAGEOFF]
Lloh4:
	adrp	x9, _PQ_LAUNDRY@GOTPAGE
Lloh5:
	ldr	x9, [x9, _PQ_LAUNDRY@GOTPAGEOFF]
Lloh6:
	adrp	x26, _PG_MARKER@GOTPAGE
Lloh7:
	ldr	x26, [x26, _PG_MARKER@GOTPAGEOFF]
Lloh8:
	adrp	x19, _PGA_REQUEUE@GOTPAGE
Lloh9:
	ldr	x19, [x19, _PGA_REQUEUE@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	cmp	w21, #0
	csetm	w9, eq
	stp	w9, w27, [sp]                   ; 8-byte Folded Spill
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_vm_pagequeue_lock
	add	x0, sp, #24
	bl	_vm_pageout_end_scan
	mov	x0, x22
	bl	_vm_pagequeue_unlock
Lloh10:
	adrp	x8, _PQ_UNSWAPPABLE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PQ_UNSWAPPABLE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w21, w8
	cset	w8, eq
	and	w9, w28, w8
Lloh13:
	adrp	x8, _PQ_LAUNDRY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PQ_LAUNDRY@GOTPAGEOFF]
	tbz	w9, #0, LBB0_53
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
                                        ;       Child Loop BB0_15 Depth 3
	ldrsw	x21, [x8]
	ldp	x9, x8, [x20]
	add	x23, x8, x21, lsl #5
	add	x22, x9, x21, lsl #2
	mov	x0, x22
	bl	_vm_pagequeue_lock
	ldr	w4, [x22]
	add	x0, sp, #24
	mov	x1, x22
	mov	x2, x23
	mov	x3, #0
	bl	_vm_pageout_init_scan
	cmp	w27, #1
	b.lt	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x23, #0
	b	LBB0_11
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x23, #0
	mov	w28, #0
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [sp, #16]
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_mtx_unlock
	str	xzr, [sp, #16]
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	cbz	x23, LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
	bl	_VM_OBJECT_WUNLOCK
	b	LBB0_1
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x24
	mov	x1, x21
	bl	_vm_page_pqbatch_submit
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	cmp	w27, #0
	b.le	LBB0_5
LBB0_11:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_15 Depth 3
	add	x0, sp, #24
	mov	w1, #0
	bl	_vm_pageout_next
	cmp	x0, #0
	cset	w28, eq
	cbz	x0, LBB0_5
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	mov	x24, x0
	ldr	w8, [x0]
	ldr	w9, [x26]
	tst	w9, w8
	cset	w0, ne
	bl	___predict_false
	cbnz	x0, LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=2
	add	x1, sp, #16
	mov	x0, x24
	bl	_vm_page_change_lock
	mov	x0, x24
	bl	_vm_page_queue
	cmp	w0, w21
	b.ne	LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=2
	add	x25, x24, #24
LBB0_15:                                ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_11 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w8, [x24, #4]
	ldr	w9, [x19]
	tst	w9, w8
	b.ne	LBB0_9
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=3
	mov	x0, x24
	bl	_vm_page_wired
	cbnz	w0, LBB0_27
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=3
	ldr	x8, [x25]
	cmp	x23, x8
	b.eq	LBB0_23
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=3
	cbz	x23, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=3
	mov	x0, x23
	bl	_VM_OBJECT_WUNLOCK
LBB0_20:                                ;   in Loop: Header=BB0_15 Depth=3
	mov	x0, x25
	bl	_atomic_load_ptr
	mov	x23, x0
	cbz	x0, LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_15 Depth=3
	mov	x0, x23
	bl	_VM_OBJECT_TRYWLOCK
	cbnz	w0, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_15 Depth=3
	ldr	x0, [sp, #16]
	bl	_mtx_unlock
	mov	x0, x23
	bl	_VM_OBJECT_WLOCK
	ldr	x0, [sp, #16]
	bl	_mtx_lock
	mov	x0, x24
	bl	_vm_page_queue
	cmp	w0, w21
	b.eq	LBB0_15
	b	LBB0_10
LBB0_23:                                ;   in Loop: Header=BB0_11 Depth=2
	ldr	x8, [x25]
	cmp	x8, #0
	cset	w0, eq
	bl	___predict_false
	cbnz	x0, LBB0_10
; %bb.24:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x8, [x24, #24]
	cmp	x8, x23
	cset	w0, eq
	mov	x1, x23
	bl	_KASSERT
	mov	x0, x24
	bl	_vm_page_tryxbusy
	cbz	x0, LBB0_10
; %bb.25:                               ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x24
	bl	_vm_page_wired
	bl	___predict_false
	cbz	x0, LBB0_28
LBB0_26:                                ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x24
	bl	_vm_page_xunbusy
LBB0_27:                                ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x24
	bl	_vm_page_dequeue_deferred
	b	LBB0_10
LBB0_28:                                ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x24
	bl	_vm_page_none_valid
	cbz	x0, LBB0_30
LBB0_29:                                ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x24
	bl	_vm_page_free
Lloh15:
	adrp	x8, _v_dfree@GOTPAGE
Lloh16:
	ldr	x8, [x8, _v_dfree@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_VM_CNT_INC
	b	LBB0_10
LBB0_30:                                ;   in Loop: Header=BB0_11 Depth=2
	ldr	x8, [x23]
	cbz	x8, LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x24
	bl	_pmap_ts_referenced
	mov	x25, x0
	b	LBB0_33
LBB0_32:                                ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x24
	bl	_pmap_page_is_mapped
	cmp	w0, #0
	cset	w0, eq
	mov	x1, x24
	bl	_KASSERT
	mov	w25, #0
LBB0_33:                                ;   in Loop: Header=BB0_11 Depth=2
	ldr	w8, [x24, #4]
Lloh18:
	adrp	x9, _PGA_REFERENCED@GOTPAGE
Lloh19:
	ldr	x9, [x9, _PGA_REFERENCED@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x9]
	tst	w1, w8
	b.eq	LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x24
	bl	_vm_page_aflag_clear
	add	w25, w25, #1
LBB0_35:                                ;   in Loop: Header=BB0_11 Depth=2
	ldr	x8, [x23]
	cbz	w25, LBB0_38
; %bb.36:                               ;   in Loop: Header=BB0_11 Depth=2
	cbz	x8, LBB0_41
; %bb.37:                               ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x24
	bl	_vm_page_xunbusy
Lloh21:
	adrp	x8, _v_reactivated@GOTPAGE
Lloh22:
	ldr	x8, [x8, _v_reactivated@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_VM_CNT_INC
	mov	x0, x24
	bl	_vm_page_activate
Lloh24:
	adrp	x8, _ACT_ADVANCE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ACT_ADVANCE@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	ldr	w9, [x24, #16]
	add	w8, w25, w8
	add	w8, w8, w9
	str	w8, [x24, #16]
	ldr	w8, [sp]                        ; 4-byte Folded Reload
	add	w27, w27, w8
	b	LBB0_10
LBB0_38:                                ;   in Loop: Header=BB0_11 Depth=2
	cbz	x8, LBB0_42
; %bb.39:                               ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x24
	bl	_vm_page_test_dirty
	ldr	x8, [x24, #8]
	cbnz	x8, LBB0_42
; %bb.40:                               ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x24
	bl	_vm_page_try_remove_all
	cbnz	w0, LBB0_42
	b	LBB0_26
LBB0_41:                                ;   in Loop: Header=BB0_11 Depth=2
	ldr	w8, [x23, #8]
Lloh27:
	adrp	x9, _OBJ_DEAD@GOTPAGE
Lloh28:
	ldr	x9, [x9, _OBJ_DEAD@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_47
LBB0_42:                                ;   in Loop: Header=BB0_11 Depth=2
	ldr	x8, [x24, #8]
	cbz	x8, LBB0_29
; %bb.43:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	w8, [x23, #8]
Lloh30:
	adrp	x9, _OBJ_DEAD@GOTPAGE
Lloh31:
	ldr	x9, [x9, _OBJ_DEAD@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_45
; %bb.44:                               ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x24
	bl	_vm_page_xunbusy
	b	LBB0_10
LBB0_45:                                ;   in Loop: Header=BB0_11 Depth=2
	ldr	x8, [x23, #16]
Lloh33:
	adrp	x9, _OBJT_SWAP@GOTPAGE
Lloh34:
	ldr	x9, [x9, _OBJT_SWAP@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
Lloh36:
	adrp	x10, _OBJT_DEFAULT@GOTPAGE
Lloh37:
	ldr	x10, [x10, _OBJT_DEFAULT@GOTPAGEOFF]
Lloh38:
	ldr	x10, [x10]
	cmp	x8, x10
	ccmp	x8, x9, #4, ne
	b.ne	LBB0_48
; %bb.46:                               ;   in Loop: Header=BB0_11 Depth=2
Lloh39:
	adrp	x8, _disable_swap_pageouts@GOTPAGE
Lloh40:
	ldr	x8, [x8, _disable_swap_pageouts@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	cbz	x8, LBB0_48
LBB0_47:                                ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x24
	bl	_vm_page_xunbusy
	mov	x0, x24
	bl	_vm_page_requeue
	b	LBB0_10
LBB0_48:                                ;   in Loop: Header=BB0_11 Depth=2
	add	x1, sp, #12
	mov	x0, x24
	bl	_vm_pageout_clean
	cbz	w0, LBB0_51
; %bb.49:                               ;   in Loop: Header=BB0_11 Depth=2
Lloh42:
	adrp	x8, _EDEADLK@GOTPAGE
Lloh43:
	ldr	x8, [x8, _EDEADLK@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_52
; %bb.50:                               ;   in Loop: Header=BB0_11 Depth=2
Lloh45:
	adrp	x9, _pageout_lock_miss@GOTPAGE
Lloh46:
	ldr	x9, [x9, _pageout_lock_miss@GOTPAGEOFF]
	ldr	w8, [x9]
	add	w8, w8, #1
	str	w8, [x9]
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
	add	w8, w8, #1
	str	w8, [sp, #8]                    ; 4-byte Folded Spill
	b	LBB0_52
LBB0_51:                                ;   in Loop: Header=BB0_11 Depth=2
	ldr	w8, [sp, #12]
	sub	w27, w27, w8
	ldr	w9, [sp, #24]
	add	w8, w9, w8
	str	w8, [sp, #24]
LBB0_52:                                ;   in Loop: Header=BB0_11 Depth=2
	mov	x23, #0
	str	xzr, [sp, #16]
	b	LBB0_10
LBB0_53:
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
	cmp	w8, #1
	cset	w8, lt
	eor	w9, w28, #0x1
	orr	w8, w8, w9
	tbnz	w8, #0, LBB0_55
; %bb.54:
	bl	_speedup_syncer
LBB0_55:
	ldr	w8, [sp, #4]                    ; 4-byte Folded Reload
	sub	w0, w8, w27
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_swapdev_enabled,4,2            ; @swapdev_enabled
	.comm	_PQ_UNSWAPPABLE,4,2             ; @PQ_UNSWAPPABLE
	.comm	_PQ_LAUNDRY,4,2                 ; @PQ_LAUNDRY
	.comm	_PG_MARKER,4,2                  ; @PG_MARKER
	.comm	_PGA_REQUEUE,4,2                ; @PGA_REQUEUE
	.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	_v_dfree,4,2                    ; @v_dfree
	.comm	_OBJT_SWAP,8,3                  ; @OBJT_SWAP
	.comm	_OBJT_DEFAULT,8,3               ; @OBJT_DEFAULT
	.comm	_disable_swap_pageouts,8,3      ; @disable_swap_pageouts
	.comm	_EDEADLK,4,2                    ; @EDEADLK
	.comm	_pageout_lock_miss,4,2          ; @pageout_lock_miss
	.no_dead_strip	_vm_pageout_launder
.subsections_via_symbols
