	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcpu_page_free
_pcpu_page_free:                        ## @pcpu_page_free
	.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	_mp_maxid@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	movq	_PAGE_SIZE@GOTPCREL(%rip), %r13
	imull	(%r13), %eax
	movl	%esi, %r15d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	cmpl	%esi, %eax
	sete	%dil
	callq	_MPASS
	testl	%r15d, %r15d
	jle	LBB0_3
## %bb.1:
	movslq	%r15d, %r14
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	addq	%rbx, %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_pmap_kextract
	movl	%eax, %edi
	callq	_PHYS_TO_VM_PAGE
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_vm_page_unwire_noq
	movl	%r12d, %edi
	callq	_vm_page_free
	movslq	(%r13), %rax
	addq	%rax, %rbx
	cmpq	%r14, %rbx
	jl	LBB0_2
LBB0_3:
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%r15d, %esi
	sarl	%cl, %esi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_pmap_qremove
	movq	%rbx, %rdi
	movl	%r15d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kva_free                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mp_maxid,4,2                   ## @mp_maxid
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
	.no_dead_strip	_pcpu_page_free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcpu_page_free
_pcpu_page_free:                        ; @pcpu_page_free
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _mp_maxid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mp_maxid@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x23, _PAGE_SIZE@GOTPAGE
Lloh4:
	ldr	x23, [x23, _PAGE_SIZE@GOTPAGEOFF]
	ldr	w9, [x23]
	madd	w8, w9, w8, w9
	cmp	w8, w1
	cset	w0, eq
	bl	_MPASS
	cmp	w19, #1
	b.lt	LBB0_3
; %bb.1:
	add	x24, x20, w19, sxtw
	mov	x21, x20
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_pmap_kextract
	bl	_PHYS_TO_VM_PAGE
	mov	x22, x0
	bl	_vm_page_unwire_noq
	mov	x0, x22
	bl	_vm_page_free
	ldrsw	x8, [x23]
	add	x21, x21, x8
	cmp	x21, x24
	b.lt	LBB0_2
LBB0_3:
Lloh5:
	adrp	x8, _PAGE_SHIFT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	asr	w1, w19, w8
	mov	x0, x20
	bl	_pmap_qremove
	mov	x0, x20
	mov	x1, 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	_kva_free
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_mp_maxid,4,2                   ; @mp_maxid
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
	.no_dead_strip	_pcpu_page_free
.subsections_via_symbols
