	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vm_pageout
_vm_pageout:                            ## @vm_pageout
	.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
	movq	_curproc@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	_curthread@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_MTX_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_vm_oom_ratelim_mtx@GOTPCREL(%rip), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%edx, %edx
	callq	_mtx_init
	xorl	%eax, %eax
	callq	_swap_pager_swap_init
	movq	_vm_ndomains@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_1
## %bb.2:
	movl	$-1, %r14d
	xorl	%r15d, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	movslq	(%r12), %rax
	cmpq	%rax, %r15
	jge	LBB0_13
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	callq	_VM_DOMAIN_EMPTY
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_bootverbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.1(%rip), %rdi
	movl	%r15d, %esi
	callq	_printf
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$-1, %r14d
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_vm_pageout_worker@GOTPCREL(%rip), %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	xorl	%eax, %eax
	pushq	%r15
	leaq	L_.str.2(%rip), %rbx
	pushq	%rbx
	callq	_kthread_add
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.3(%rip), %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_panic
	jmp	LBB0_10
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%r15d, %r14d
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_vm_pageout_laundry_worker@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	xorl	%eax, %eax
	pushq	%r15
	leaq	L_.str.4(%rip), %rbx
	pushq	%rbx
	callq	_kthread_add
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.5(%rip), %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_panic
	jmp	LBB0_12
LBB0_1:
	movl	$-1, %r14d
LBB0_13:
	movq	_uma_reclaim_worker@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
	subq	$8, %rsp
	leaq	L_.str.6(%rip), %r10
	xorl	%esi, %esi
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	xorl	%eax, %eax
	pushq	%r10
	callq	_kthread_add
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:
	leaq	L_.str.7(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_panic
LBB0_15:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rdx
	movl	$4, %esi
	movl	%r14d, %ecx
	callq	_snprintf
	movslq	%r14d, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vm_pageout_worker              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_curproc,8,3                    ## @curproc
	.comm	_curthread,8,3                  ## @curthread
	.comm	_vm_oom_ratelim_mtx,4,2         ## @vm_oom_ratelim_mtx
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vmoomr"

	.comm	_MTX_DEF,4,2                    ## @MTX_DEF
	.comm	_vm_ndomains,4,2                ## @vm_ndomains
	.comm	_bootverbose,8,3                ## @bootverbose
L_.str.1:                               ## @.str.1
	.asciz	"domain %d empty; skipping pageout\n"

L_.str.2:                               ## @.str.2
	.asciz	"dom%d"

L_.str.3:                               ## @.str.3
	.asciz	"starting pageout for domain %d: %d\n"

	.comm	_vm_pageout_laundry_worker,4,2  ## @vm_pageout_laundry_worker
L_.str.4:                               ## @.str.4
	.asciz	"laundry: dom%d"

L_.str.5:                               ## @.str.5
	.asciz	"starting laundry for domain %d: %d"

	.comm	_uma_reclaim_worker,4,2         ## @uma_reclaim_worker
L_.str.6:                               ## @.str.6
	.asciz	"uma"

L_.str.7:                               ## @.str.7
	.asciz	"starting uma_reclaim helper, error %d\n"

	.no_dead_strip	_vm_pageout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vm_pageout
_vm_pageout:                            ; @vm_pageout
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
Lloh0:
	adrp	x8, _curproc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _curproc@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
Lloh3:
	adrp	x8, _curthread@GOTPAGE
Lloh4:
	ldr	x8, [x8, _curthread@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
Lloh6:
	adrp	x8, _MTX_DEF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MTX_DEF@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
Lloh9:
	adrp	x0, _vm_oom_ratelim_mtx@GOTPAGE
Lloh10:
	ldr	x0, [x0, _vm_oom_ratelim_mtx@GOTPAGEOFF]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, #0
	bl	_mtx_init
	bl	_swap_pager_swap_init
Lloh13:
	adrp	x28, _vm_ndomains@GOTPAGE
Lloh14:
	ldr	x28, [x28, _vm_ndomains@GOTPAGEOFF]
	ldr	w8, [x28]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.1:
	mov	x21, #0
	mov	w19, #-1
Lloh15:
	adrp	x26, _vm_pageout_laundry_worker@GOTPAGE
Lloh16:
	ldr	x26, [x26, _vm_pageout_laundry_worker@GOTPAGEOFF]
Lloh17:
	adrp	x22, l_.str.4@PAGE
Lloh18:
	add	x22, x22, l_.str.4@PAGEOFF
Lloh19:
	adrp	x24, _vm_pageout_worker@GOTPAGE
Lloh20:
	ldr	x24, [x24, _vm_pageout_worker@GOTPAGEOFF]
Lloh21:
	adrp	x25, l_.str.2@PAGE
Lloh22:
	add	x25, x25, l_.str.2@PAGEOFF
Lloh23:
	adrp	x23, _bootverbose@GOTPAGE
Lloh24:
	ldr	x23, [x23, _bootverbose@GOTPAGEOFF]
Lloh25:
	adrp	x27, l_.str.1@PAGE
Lloh26:
	add	x27, x27, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x28]
	cmp	x21, x8
	b.ge	LBB0_13
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_VM_DOMAIN_EMPTY
	cbz	x0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x23]
	cbz	x8, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x27
	mov	x1, x21
	bl	_printf
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmn	w19, #1
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x21, [sp]
	mov	x0, x24
	mov	x1, x21
	mov	x2, x20
	mov	x3, #0
	mov	w4, #0
	mov	w5, #0
	mov	x6, x25
	bl	_kthread_add
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x0, [sp]
Lloh27:
	adrp	x0, l_.str.3@PAGE
Lloh28:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x21
	bl	_panic
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x19, x21
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrsw	x0, [x26]
	str	x21, [sp]
	mov	x1, x21
	mov	x2, x20
	mov	x3, #0
	mov	w4, #0
	mov	w5, #0
	mov	x6, x22
	bl	_kthread_add
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	str	x0, [sp]
Lloh29:
	adrp	x0, l_.str.5@PAGE
Lloh30:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x21
	bl	_panic
	b	LBB0_2
LBB0_12:
	mov	w19, #-1
LBB0_13:
Lloh31:
	adrp	x8, _uma_reclaim_worker@GOTPAGE
Lloh32:
	ldr	x8, [x8, _uma_reclaim_worker@GOTPAGEOFF]
Lloh33:
	ldrsw	x0, [x8]
Lloh34:
	adrp	x6, l_.str.6@PAGE
Lloh35:
	add	x6, x6, l_.str.6@PAGEOFF
	mov	x1, #0
	mov	x2, x20
	mov	x3, #0
	mov	w4, #0
	mov	w5, #0
	bl	_kthread_add
	cbz	w0, LBB0_15
; %bb.14:
	mov	x1, x0
Lloh36:
	adrp	x0, l_.str.7@PAGE
Lloh37:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_panic
LBB0_15:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w0, [x8]
Lloh38:
	adrp	x2, l_.str.2@PAGE
Lloh39:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	w1, #4
	mov	x3, x19
	bl	_snprintf
	sxtw	x0, w19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_vm_pageout_worker
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_curproc,8,3                    ; @curproc
	.comm	_curthread,8,3                  ; @curthread
	.comm	_vm_oom_ratelim_mtx,4,2         ; @vm_oom_ratelim_mtx
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vmoomr"

	.comm	_MTX_DEF,4,2                    ; @MTX_DEF
	.comm	_vm_ndomains,4,2                ; @vm_ndomains
	.comm	_bootverbose,8,3                ; @bootverbose
l_.str.1:                               ; @.str.1
	.asciz	"domain %d empty; skipping pageout\n"

l_.str.2:                               ; @.str.2
	.asciz	"dom%d"

l_.str.3:                               ; @.str.3
	.asciz	"starting pageout for domain %d: %d\n"

	.comm	_vm_pageout_laundry_worker,4,2  ; @vm_pageout_laundry_worker
l_.str.4:                               ; @.str.4
	.asciz	"laundry: dom%d"

l_.str.5:                               ; @.str.5
	.asciz	"starting laundry for domain %d: %d"

	.comm	_uma_reclaim_worker,4,2         ; @uma_reclaim_worker
l_.str.6:                               ; @.str.6
	.asciz	"uma"

l_.str.7:                               ; @.str.7
	.asciz	"starting uma_reclaim helper, error %d\n"

	.no_dead_strip	_vm_pageout
.subsections_via_symbols
