	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vm_page_free_toq               ## -- Begin function vm_page_free_toq
	.p2align	4, 0x90
_vm_page_free_toq:                      ## @vm_page_free_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
	movq	%rdi, %rbx
	callq	_vm_page_free_prep
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	callq	_vm_pagequeue_domain
	movq	%rax, %r14
	movq	_PG_PCPU_CACHE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rbx)
	je	LBB0_3
## %bb.2:
	movq	(%r14), %rax
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.5:
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_uma_zfree                      ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	%r14, %rdi
	callq	_vm_domain_free_lock
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_vm_phys_free_pages
	movq	%r14, %rdi
	callq	_vm_domain_free_unlock
	movq	%r14, %rdi
	movl	$1, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_vm_domain_freecnt_inc          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PG_PCPU_CACHE,4,2              ## @PG_PCPU_CACHE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vm_page_free_toq               ; -- Begin function vm_page_free_toq
	.p2align	2
_vm_page_free_toq:                      ; @vm_page_free_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	x19, x0
	bl	_vm_page_free_prep
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_vm_pagequeue_domain
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x9, [x19]
	ldr	x0, [x8, x9, lsl #3]
	ldr	w8, [x19, #8]
Lloh0:
	adrp	x9, _PG_PCPU_CACHE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PG_PCPU_CACHE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
	cmp	w8, #0
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_vm_domain_free_lock
	mov	x0, x19
	mov	w1, #0
	bl	_vm_phys_free_pages
	mov	x0, x20
	bl	_vm_domain_free_unlock
	mov	x0, x20
	mov	w1, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_vm_domain_freecnt_inc
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_uma_zfree
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PG_PCPU_CACHE,4,2              ; @PG_PCPU_CACHE
.subsections_via_symbols
