	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmu_booke_quick_remove_page
_mmu_booke_quick_remove_page:           ## @mmu_booke_quick_remove_page
	.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	%rsi, %rbx
	movq	_kernel_pmap@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_pte_find
	movq	%rax, %r14
	movq	_qmap_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PCPU_GET
	xorl	%edi, %edi
	cmpq	%rbx, %rax
	sete	%dil
	leaq	L_.str(%rip), %rsi
	callq	_KASSERT
	xorl	%edi, %edi
	cmpq	$0, (%r14)
	setne	%dil
	leaq	L_.str.1(%rip), %rsi
	callq	_KASSERT
	movq	$0, (%r14)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_critical_exit                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_kernel_pmap,4,2                ## @kernel_pmap
	.comm	_qmap_addr,4,2                  ## @qmap_addr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mmu_booke_quick_remove_page: invalid address"

L_.str.1:                               ## @.str.1
	.asciz	"mmu_booke_quick_remove_page: PTE not in use"

	.no_dead_strip	_mmu_booke_quick_remove_page
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmu_booke_quick_remove_page
_mmu_booke_quick_remove_page:           ; @mmu_booke_quick_remove_page
	.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, x1
Lloh0:
	adrp	x8, _kernel_pmap@GOTPAGE
Lloh1:
	ldr	x8, [x8, _kernel_pmap@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_pte_find
	mov	x20, x0
Lloh3:
	adrp	x8, _qmap_addr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _qmap_addr@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_PCPU_GET
	cmp	x0, x19
	cset	w0, eq
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_KASSERT
	ldr	x8, [x20]
	cmp	x8, #0
	cset	w0, ne
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_KASSERT
	str	xzr, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_critical_exit
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_kernel_pmap,4,2                ; @kernel_pmap
	.comm	_qmap_addr,4,2                  ; @qmap_addr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mmu_booke_quick_remove_page: invalid address"

l_.str.1:                               ; @.str.1
	.asciz	"mmu_booke_quick_remove_page: PTE not in use"

	.no_dead_strip	_mmu_booke_quick_remove_page
.subsections_via_symbols
