	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function clear_page_presence
_clear_page_presence:                   ## @clear_page_presence
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	leaq	-20(%rbp), %rsi
	callq	_lookup_address
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	-20(%rbp), %esi
	cmpl	$128, %esi
	je	LBB0_7
## %bb.3:
	cmpl	$129, %esi
	jne	LBB0_5
## %bb.4:
	leaq	4(%rbx), %rdx
	movq	%rax, %rdi
	movl	%r14d, %esi
	callq	_clear_pmd_presence
	jmp	LBB0_8
LBB0_1:
	movl	(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_6
LBB0_7:
	leaq	4(%rbx), %rdx
	movq	%rax, %rdi
	movl	%r14d, %esi
	callq	_clear_pte_presence
LBB0_8:
	movl	(%rbx), %edi
	callq	___flush_tlb_one
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
LBB0_6:
	callq	_pr_err
	movl	$-1, %eax
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"kmmio: no pte for page 0x%08lx\n"

L_.str.1:                               ## @.str.1
	.asciz	"kmmio: unexpected page level 0x%x.\n"

	.no_dead_strip	_clear_page_presence
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function clear_page_presence
_clear_page_presence:                   ; @clear_page_presence
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	w0, [x0]
	add	x1, sp, #12
	bl	_lookup_address
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w1, [sp, #12]
	cmp	w1, #128
	b.eq	LBB0_5
; %bb.2:
	cmp	w1, #129
	b.ne	LBB0_7
; %bb.3:
	add	x2, x19, #4
	mov	x1, x20
	bl	_clear_pmd_presence
	b	LBB0_6
LBB0_4:
	ldr	w1, [x19]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_8
LBB0_5:
	add	x2, x19, #4
	mov	x1, x20
	bl	_clear_pte_presence
LBB0_6:
	ldr	w0, [x19]
	bl	___flush_tlb_one
	mov	w0, #0
	b	LBB0_9
LBB0_7:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_8:
	bl	_pr_err
	mov	w0, #-1
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"kmmio: no pte for page 0x%08lx\n"

l_.str.1:                               ; @.str.1
	.asciz	"kmmio: unexpected page level 0x%x.\n"

	.no_dead_strip	_clear_page_presence
.subsections_via_symbols
