	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vm_pageout_init_scan
_vm_pageout_init_scan:                  ## @vm_pageout_init_scan
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r13
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_vm_pagequeue_assert_locked
	movq	_PGA_ENQUEUED@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	xorl	%edi, %edi
	andl	(%r12), %eax
	sete	%dil
	movq	%r12, %rsi
	callq	_KASSERT
	movq	_plinks@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	testq	%r13, %r13
	je	LBB0_1
## %bb.2:
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_TAILQ_INSERT_AFTER
	jmp	LBB0_3
LBB0_1:
	movq	%r12, %rsi
	movl	%ecx, %edx
	callq	_TAILQ_INSERT_HEAD
LBB0_3:
	movl	(%r14), %esi
	movq	%r12, %rdi
	callq	_vm_page_aflag_set
	leaq	32(%rbx), %rdi
	callq	_vm_batchqueue_init
	movq	%r15, 24(%rbx)
	movq	%r12, 16(%rbx)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rbx)
	movq	$0, 8(%rbx)
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vm_pagequeue_unlock            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PGA_ENQUEUED,4,2               ## @PGA_ENQUEUED
	.comm	_plinks,4,2                     ## @plinks
	.no_dead_strip	_vm_pageout_init_scan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vm_pageout_init_scan
_vm_pageout_init_scan:                  ; @vm_pageout_init_scan
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x4
	mov	x23, x3
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
	mov	x0, x1
	bl	_vm_pagequeue_assert_locked
	ldr	w8, [x21]
Lloh0:
	adrp	x24, _PGA_ENQUEUED@GOTPAGE
Lloh1:
	ldr	x24, [x24, _PGA_ENQUEUED@GOTPAGEOFF]
	ldr	w9, [x24]
	tst	w9, w8
	cset	w0, eq
	mov	x1, x21
	bl	_KASSERT
Lloh2:
	adrp	x8, _plinks@GOTPAGE
Lloh3:
	ldr	x8, [x8, _plinks@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	mov	x0, x19
	cbz	x23, LBB0_2
; %bb.1:
	mov	x1, x23
	mov	x2, x21
	bl	_TAILQ_INSERT_AFTER
	b	LBB0_3
LBB0_2:
	mov	x1, x21
	mov	x2, x3
	bl	_TAILQ_INSERT_HEAD
LBB0_3:
	ldr	w1, [x24]
	mov	x0, x21
	bl	_vm_page_aflag_set
	add	x0, x22, #32
	bl	_vm_batchqueue_init
	stp	x21, x19, [x22, #16]
	str	w20, [x22]
	str	xzr, [x22, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_vm_pagequeue_unlock
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PGA_ENQUEUED,4,2               ; @PGA_ENQUEUED
	.comm	_plinks,4,2                     ; @plinks
	.no_dead_strip	_vm_pageout_init_scan
.subsections_via_symbols
