	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pagedaemon_wakeup              ## -- Begin function pagedaemon_wakeup
	.p2align	4, 0x90
_pagedaemon_wakeup:                     ## @pagedaemon_wakeup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	callq	_VM_DOMAIN
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_vm_domain_pageout_assert_unlocked
	movq	_curproc@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_pageproc@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_atomic_fetchadd_int
	testq	%rax, %rax
	je	LBB0_3
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	movq	%rbx, %rdi
	callq	_vm_domain_pageout_lock
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_atomic_store_int
	movq	%rbx, %rdi
	callq	_wakeup
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_vm_domain_pageout_unlock       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_curproc,8,3                    ## @curproc
	.comm	_pageproc,8,3                   ## @pageproc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pagedaemon_wakeup              ; -- Begin function pagedaemon_wakeup
	.p2align	2
_pagedaemon_wakeup:                     ; @pagedaemon_wakeup
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_VM_DOMAIN
	mov	x19, x0
	bl	_vm_domain_pageout_assert_unlocked
Lloh0:
	adrp	x8, _curproc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _curproc@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _pageproc@GOTPAGE
Lloh4:
	ldr	x9, [x9, _pageproc@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #1
	bl	_atomic_fetchadd_int
	cbz	x0, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x0, x19
	bl	_vm_domain_pageout_lock
	mov	x0, x19
	mov	w1, #1
	bl	_atomic_store_int
	mov	x0, x19
	bl	_wakeup
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_vm_domain_pageout_unlock
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_curproc,8,3                    ; @curproc
	.comm	_pageproc,8,3                   ; @pageproc
.subsections_via_symbols
