	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vm_page_release_toq
_vm_page_release_toq:                   ## @vm_page_release_toq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_vm_page_assert_locked
	movq	_VPR_TRYFREE@GOTPCREL(%rip), %rax
	movq	_VPR_NOREUSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%r14d, %ecx
	je	LBB0_1
LBB0_4:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	__vm_page_deactivate_noreuse    ## TAILCALL
LBB0_1:
	cmpq	$0, (%rbx)
	je	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_vm_page_active
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_vm_page_reference              ## TAILCALL
LBB0_3:
	movq	_PQ_INACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_vm_page_mvqueue                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VPR_TRYFREE,4,2                ## @VPR_TRYFREE
	.comm	_VPR_NOREUSE,4,2                ## @VPR_NOREUSE
	.comm	_PQ_INACTIVE,4,2                ## @PQ_INACTIVE
	.no_dead_strip	_vm_page_release_toq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vm_page_release_toq
_vm_page_release_toq:                   ; @vm_page_release_toq
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_vm_page_assert_locked
Lloh0:
	adrp	x8, _VPR_TRYFREE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VPR_TRYFREE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _VPR_NOREUSE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VPR_NOREUSE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w20
	b.eq	LBB0_2
LBB0_1:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	__vm_page_deactivate_noreuse
LBB0_2:
	ldr	x8, [x19]
	cbz	x8, LBB0_1
; %bb.3:
	mov	x0, x19
	bl	_vm_page_active
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_vm_page_reference
LBB0_5:
Lloh6:
	adrp	x8, _PQ_INACTIVE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PQ_INACTIVE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_vm_page_mvqueue
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_VPR_TRYFREE,4,2                ; @VPR_TRYFREE
	.comm	_VPR_NOREUSE,4,2                ; @VPR_NOREUSE
	.comm	_PQ_INACTIVE,4,2                ; @PQ_INACTIVE
	.no_dead_strip	_vm_page_release_toq
.subsections_via_symbols
