	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vm_pageout_scan_active
_vm_pageout_scan_active:                ## @vm_pageout_scan_active
	.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
	movq	%rdi, %r13
	movq	_PQ_ACTIVE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, %rbx
	shlq	$5, %rbx
	addq	24(%rdi), %rbx
	movl	%esi, %r14d
	movq	16(%rdi), %rcx
	shlq	$4, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	leaq	(%rcx,%rax), %r15
	movq	%r15, %rdi
	callq	_vm_pagequeue_lock
	movq	_ticks@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_vm_pageout_update_period@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movslq	%ecx, %rax
	movq	(%r15), %rsi
	movslq	(%r13), %rdx
	subq	%rdx, %rax
	imulq	%rsi, %rax
	movq	_hz@GOTPCREL(%rip), %rdx
	imulq	(%rdx), %rdi
	movq	%rax, %rdx
	orq	%rdi, %rdx
	shrq	$32, %rdx
	je	LBB0_3
## %bb.4:
	cqto
	idivq	%rdi
	testq	%rax, %rax
	jg	LBB0_9
	jmp	LBB0_6
LBB0_1:
	xorl	%eax, %eax
LBB0_6:
	testl	%r14d, %r14d
	jle	LBB0_11
## %bb.7:
	movq	(%r15), %rsi
	testq	%rsi, %rsi
	jle	LBB0_10
## %bb.8:
	movl	%ecx, (%r13)
	jmp	LBB0_10
LBB0_3:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%edi
                                        ## kill: def $eax killed $eax def $rax
	testq	%rax, %rax
	jle	LBB0_6
LBB0_9:
	movl	%ecx, (%r13)
	testl	%r14d, %r14d
	jle	LBB0_11
LBB0_10:
	movq	%rsi, %rax
LBB0_11:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	$0, -56(%rbp)
	movq	8(%r13), %rcx
	leaq	-64(%rbp), %r14
	movq	%r14, %rdi
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	movq	%r15, %rsi
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdx
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %r8
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_vm_pageout_init_scan
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_vm_pageout_next
	testq	%rax, %rax
	je	LBB0_20
## %bb.12:
	movq	%rax, %r14
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	addq	%rcx, %rax
	addq	$8, %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	_PG_MARKER@GOTPCREL(%rip), %rbx
	leaq	-64(%rbp), %r12
	jmp	LBB0_13
LBB0_18:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%r14, %rdi
	callq	_vm_page_dequeue_deferred
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_vm_pageout_next
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_20
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	addq	$32, %rax
	xorl	%edi, %edi
	cmpq	%rax, %r14
	sete	%dil
	callq	___predict_false
	testq	%rax, %rax
	jne	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	(%rbx), %eax
	xorl	%edi, %edi
	andl	(%r14), %eax
	setne	%dil
	callq	___predict_false
	testq	%rax, %rax
	jne	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%r14, %rdi
	leaq	-56(%rbp), %rsi
	callq	_vm_page_change_lock
	movq	%r14, %rdi
	callq	_vm_page_queue
	movq	_PQ_ACTIVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%r14, %rdi
	callq	_vm_page_wired
	testq	%rax, %rax
	jne	LBB0_18
## %bb.23:                              ##   in Loop: Header=BB0_13 Depth=1
	leaq	24(%r14), %rdi
	callq	_atomic_load_ptr
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	___predict_false
	testq	%rax, %rax
	jne	LBB0_19
## %bb.24:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpq	$0, (%r15)
	je	LBB0_25
## %bb.26:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%r14, %rdi
	callq	_pmap_ts_referenced
	movl	%eax, %r15d
	jmp	LBB0_27
LBB0_14:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	-104(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	callq	_vm_pagequeue_lock
	movq	8(%r13), %rsi
	movq	_plinks@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_TAILQ_REMOVE
	movq	8(%r13), %rsi
	addq	$32, %rsi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_TAILQ_REMOVE
	movq	8(%r13), %rsi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_TAILQ_INSERT_HEAD
	movq	8(%r13), %rsi
	addq	$32, %rsi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_TAILQ_INSERT_TAIL
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movslq	%ebx, %rbx
	subq	-64(%rbp), %rbx
	movq	%r12, %rdi
	callq	_vm_pageout_end_scan
	movq	8(%r13), %rcx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movl	%ebx, %r8d
	movq	_PG_MARKER@GOTPCREL(%rip), %rbx
	callq	_vm_pageout_init_scan
	jmp	LBB0_19
LBB0_25:                                ##   in Loop: Header=BB0_13 Depth=1
	xorl	%r15d, %r15d
LBB0_27:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	_PGA_REFERENCED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%esi, 4(%r14)
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%r14, %rdi
	callq	_vm_page_aflag_clear
	incl	%r15d
LBB0_29:                                ##   in Loop: Header=BB0_13 Depth=1
	testl	%r15d, %r15d
	je	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_13 Depth=1
	movslq	%r15d, %rcx
	movq	_ACT_ADVANCE@GOTPCREL(%rip), %rax
	addq	(%rax), %rcx
	addq	8(%r14), %rcx
	movq	_ACT_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rcx
	cmovgeq	%rax, %rcx
	jmp	LBB0_32
LBB0_31:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	8(%r14), %rdi
	movq	_ACT_DECLINE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_min
	movq	8(%r14), %rcx
	subq	%rax, %rcx
LBB0_32:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%rcx, 8(%r14)
	testq	%rcx, %rcx
	jne	LBB0_19
## %bb.33:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_34
## %bb.35:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpq	$0, 16(%r14)
	movq	_PQ_ACTIVE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	je	LBB0_36
## %bb.37:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	_PQ_LAUNDRY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_vm_page_swapqueue
	decl	-44(%rbp)                       ## 4-byte Folded Spill
	jmp	LBB0_19
LBB0_34:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	_PQ_ACTIVE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_PQ_INACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_vm_page_swapqueue
	jmp	LBB0_19
LBB0_36:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	_PQ_INACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_vm_page_swapqueue
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	_act_scan_laundry_weight@GOTPCREL(%rip), %rcx
	subl	(%rcx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_19
LBB0_20:
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_22
## %bb.21:
	callq	_mtx_unlock
	movq	$0, -56(%rbp)
LBB0_22:
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdi
	callq	_vm_pagequeue_lock
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax), %rbx
	addq	$8, %rbx
	movq	8(%r13), %rsi
	movq	_plinks@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_TAILQ_REMOVE
	movq	8(%r13), %rdx
	movl	(%r14), %ecx
	movq	%rbx, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	callq	_TAILQ_INSERT_AFTER
	leaq	-64(%rbp), %rdi
	callq	_vm_pageout_end_scan
	movq	%r15, %rdi
	callq	_vm_pagequeue_unlock
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PQ_ACTIVE,8,3                  ## @PQ_ACTIVE
	.comm	_ticks,4,2                      ## @ticks
	.comm	_vm_pageout_update_period,8,3   ## @vm_pageout_update_period
	.comm	_hz,8,3                         ## @hz
	.comm	_plinks,4,2                     ## @plinks
	.comm	_PG_MARKER,4,2                  ## @PG_MARKER
	.comm	_PGA_REFERENCED,4,2             ## @PGA_REFERENCED
	.comm	_ACT_ADVANCE,8,3                ## @ACT_ADVANCE
	.comm	_ACT_MAX,8,3                    ## @ACT_MAX
	.comm	_ACT_DECLINE,4,2                ## @ACT_DECLINE
	.comm	_PQ_INACTIVE,4,2                ## @PQ_INACTIVE
	.comm	_act_scan_laundry_weight,8,3    ## @act_scan_laundry_weight
	.comm	_PQ_LAUNDRY,4,2                 ## @PQ_LAUNDRY
	.no_dead_strip	_vm_pageout_scan_active
.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_active
_vm_pageout_scan_active:                ; @vm_pageout_scan_active
	.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	x24, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _PQ_ACTIVE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _PQ_ACTIVE@GOTPAGEOFF]
	ldr	x27, [x22]
	ldp	x28, x8, [x0, #16]
	add	x21, x8, x27, lsl #5
	add	x19, x28, x27, lsl #4
	mov	x0, x19
	bl	_vm_pagequeue_lock
Lloh2:
	adrp	x8, _ticks@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ticks@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _vm_pageout_update_period@GOTPAGE
Lloh6:
	ldr	x9, [x9, _vm_pageout_update_period@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x9]
	cbz	x10, LBB0_3
; %bb.1:
	sxtw	x11, w8
	ldr	x9, [x19]
	ldrsw	x12, [x20]
	sub	x11, x11, x12
	mul	x11, x9, x11
Lloh8:
	adrp	x12, _hz@GOTPAGE
Lloh9:
	ldr	x12, [x12, _hz@GOTPAGEOFF]
Lloh10:
	ldr	x12, [x12]
	mul	x10, x12, x10
	sdiv	x23, x11, x10
	cmp	x23, #0
	b.le	LBB0_4
; %bb.2:
	str	w8, [x20]
	cmp	w24, #1
	b.ge	LBB0_7
	b	LBB0_8
LBB0_3:
	mov	x23, #0
LBB0_4:
	cmp	w24, #1
	b.lt	LBB0_8
; %bb.5:
	ldr	x9, [x19]
	cmp	x9, #1
	b.lt	LBB0_7
; %bb.6:
	str	w8, [x20]
LBB0_7:
	mov	x23, x9
LBB0_8:
	str	w24, [sp, #4]                   ; 4-byte Folded Spill
	stp	x21, xzr, [sp, #8]              ; 8-byte Folded Spill
	ldr	x3, [x20, #8]
	add	x0, sp, #24
	mov	x1, x19
	mov	x2, x21
	mov	x4, x23
	bl	_vm_pageout_init_scan
	add	x0, sp, #24
	mov	w1, #0
	bl	_vm_pageout_next
	cbz	x0, LBB0_31
; %bb.9:
	mov	x25, x0
	add	x8, x28, x27, lsl #4
	add	x24, x8, #8
Lloh11:
	adrp	x21, _PG_MARKER@GOTPAGE
Lloh12:
	ldr	x21, [x21, _PG_MARKER@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x25
	bl	_vm_page_dequeue_deferred
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x0, sp, #24
	mov	w1, #0
	bl	_vm_pageout_next
	mov	x25, x0
	cbz	x0, LBB0_31
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	add	x8, x8, #32
	cmp	x25, x8
	cset	w0, eq
	bl	___predict_false
	cbnz	x0, LBB0_19
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [x25]
	ldr	w9, [x21]
	tst	w9, w8
	cset	w0, ne
	bl	___predict_false
	cbnz	x0, LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x1, sp, #16
	mov	x0, x25
	bl	_vm_page_change_lock
	mov	x0, x25
	bl	_vm_page_queue
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x25
	bl	_vm_page_wired
	cbnz	x0, LBB0_10
; %bb.16:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x0, x25, #24
	bl	_atomic_load_ptr
	mov	x26, x0
	cmp	x0, #0
	cset	w0, eq
	bl	___predict_false
	cbnz	x0, LBB0_11
; %bb.17:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x26]
	cbz	x8, LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x25
	bl	_pmap_ts_referenced
	mov	x26, x0
	b	LBB0_21
LBB0_19:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x19
	bl	_vm_pagequeue_lock
	ldr	x1, [x20, #8]
Lloh13:
	adrp	x25, _plinks@GOTPAGE
Lloh14:
	ldr	x25, [x25, _plinks@GOTPAGEOFF]
	ldr	w2, [x25]
	mov	x0, x24
	bl	_TAILQ_REMOVE
	ldr	x8, [x20, #8]
	add	x1, x8, #32
	ldr	w2, [x25]
	mov	x0, x24
	bl	_TAILQ_REMOVE
	ldr	x1, [x20, #8]
	ldr	w2, [x25]
	mov	x0, x24
	bl	_TAILQ_INSERT_HEAD
	ldr	x8, [x20, #8]
	add	x1, x8, #32
	ldr	w2, [x25]
	mov	x0, x24
	bl	_TAILQ_INSERT_TAIL
	ldr	x8, [sp, #24]
	sxtw	x9, w23
	sub	x23, x9, x8
	add	x0, sp, #24
	bl	_vm_pageout_end_scan
	ldr	x3, [x20, #8]
	add	x0, sp, #24
	mov	x1, x19
	ldr	x2, [sp, #8]                    ; 8-byte Folded Reload
	mov	x4, x23
	bl	_vm_pageout_init_scan
	b	LBB0_11
LBB0_20:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	w26, #0
LBB0_21:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [x25, #4]
Lloh15:
	adrp	x9, _PGA_REFERENCED@GOTPAGE
Lloh16:
	ldr	x9, [x9, _PGA_REFERENCED@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x9]
	tst	w1, w8
	b.eq	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x25
	bl	_vm_page_aflag_clear
	add	w26, w26, #1
LBB0_23:                                ;   in Loop: Header=BB0_12 Depth=1
	cbz	w26, LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_12 Depth=1
Lloh18:
	adrp	x8, _ACT_ADVANCE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ACT_ADVANCE@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	add	x8, x8, w26, sxtw
	ldr	x9, [x25, #8]
Lloh21:
	adrp	x10, _ACT_MAX@GOTPAGE
Lloh22:
	ldr	x10, [x10, _ACT_MAX@GOTPAGEOFF]
Lloh23:
	ldr	x10, [x10]
	add	x8, x8, x9
	cmp	x8, x10
	csel	x8, x8, x10, lt
	str	x8, [x25, #8]
	cbnz	x8, LBB0_11
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x0, [x25, #8]
Lloh24:
	adrp	x8, _ACT_DECLINE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ACT_DECLINE@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	bl	_min
	ldr	x8, [x25, #8]
	sub	x8, x8, x0
	str	x8, [x25, #8]
	cbnz	x8, LBB0_11
LBB0_26:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [sp, #4]                    ; 4-byte Folded Reload
	cmp	w8, #0
	b.le	LBB0_29
; %bb.27:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x25, #16]
	ldr	x1, [x22]
	cbz	x8, LBB0_30
; %bb.28:                               ;   in Loop: Header=BB0_12 Depth=1
Lloh27:
	adrp	x8, _PQ_LAUNDRY@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PQ_LAUNDRY@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	mov	x0, x25
	bl	_vm_page_swapqueue
	ldr	w8, [sp, #4]                    ; 4-byte Folded Reload
	sub	w8, w8, #1
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
	b	LBB0_11
LBB0_29:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x1, [x22]
Lloh30:
	adrp	x8, _PQ_INACTIVE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _PQ_INACTIVE@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	mov	x0, x25
	bl	_vm_page_swapqueue
	b	LBB0_11
LBB0_30:                                ;   in Loop: Header=BB0_12 Depth=1
Lloh33:
	adrp	x8, _PQ_INACTIVE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _PQ_INACTIVE@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
	mov	x0, x25
	bl	_vm_page_swapqueue
Lloh36:
	adrp	x8, _act_scan_laundry_weight@GOTPAGE
Lloh37:
	ldr	x8, [x8, _act_scan_laundry_weight@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	ldr	w9, [sp, #4]                    ; 4-byte Folded Reload
	sub	w9, w9, w8
	str	w9, [sp, #4]                    ; 4-byte Folded Spill
	b	LBB0_11
LBB0_31:
	ldr	x0, [sp, #16]
	cbz	x0, LBB0_33
; %bb.32:
	bl	_mtx_unlock
	str	xzr, [sp, #16]
LBB0_33:
	mov	x0, x19
	bl	_vm_pagequeue_lock
	add	x8, x28, x27, lsl #4
	add	x22, x8, #8
	ldr	x1, [x20, #8]
Lloh39:
	adrp	x21, _plinks@GOTPAGE
Lloh40:
	ldr	x21, [x21, _plinks@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x22
	bl	_TAILQ_REMOVE
	ldr	x2, [x20, #8]
	ldr	w3, [x21]
	mov	x0, x22
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	bl	_TAILQ_INSERT_AFTER
	add	x0, sp, #24
	bl	_vm_pageout_end_scan
	mov	x0, x19
	bl	_vm_pagequeue_unlock
	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 AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_PQ_ACTIVE,8,3                  ; @PQ_ACTIVE
	.comm	_ticks,4,2                      ; @ticks
	.comm	_vm_pageout_update_period,8,3   ; @vm_pageout_update_period
	.comm	_hz,8,3                         ; @hz
	.comm	_plinks,4,2                     ; @plinks
	.comm	_PG_MARKER,4,2                  ; @PG_MARKER
	.comm	_PGA_REFERENCED,4,2             ; @PGA_REFERENCED
	.comm	_ACT_ADVANCE,8,3                ; @ACT_ADVANCE
	.comm	_ACT_MAX,8,3                    ; @ACT_MAX
	.comm	_ACT_DECLINE,4,2                ; @ACT_DECLINE
	.comm	_PQ_INACTIVE,4,2                ; @PQ_INACTIVE
	.comm	_act_scan_laundry_weight,8,3    ; @act_scan_laundry_weight
	.comm	_PQ_LAUNDRY,4,2                 ; @PQ_LAUNDRY
	.no_dead_strip	_vm_pageout_scan_active
.subsections_via_symbols
