	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pmap_pti_unwire_pte
_pmap_pti_unwire_pte:                   ## @pmap_pti_unwire_pte
	.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
	movq	_pti_obj@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_VM_OBJECT_ASSERT_WLOCKED
	movq	%rbx, %rdi
	callq	_DMAP_TO_PHYS
	movl	%eax, %edi
	callq	_PHYS_TO_VM_PAGE
	movq	%rax, %rbx
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	setg	%dil
	callq	_MPASS
	movq	%rbx, %rdi
	callq	_pmap_pti_free_page
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	%r14d, %edi
	callq	_pmap_pti_pde
	movq	%rax, %rbx
	movq	_X86_PG_PS@GOTPCREL(%rip), %rax
	movq	_X86_PG_V@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	(%rax), %eax
	orl	%ecx, %eax
	andl	(%rbx), %eax
	xorl	%edi, %edi
	cmpl	%ecx, %eax
	sete	%dil
	callq	_MPASS
	movl	$0, (%rbx)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pmap_pti_unwire_pde            ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pti_obj,4,2                    ## @pti_obj
	.comm	_X86_PG_PS,4,2                  ## @X86_PG_PS
	.comm	_X86_PG_V,4,2                   ## @X86_PG_V
	.no_dead_strip	_pmap_pti_unwire_pte
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pmap_pti_unwire_pte
_pmap_pti_unwire_pte:                   ; @pmap_pti_unwire_pte
	.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
	mov	x20, x0
Lloh0:
	adrp	x8, _pti_obj@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pti_obj@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_VM_OBJECT_ASSERT_WLOCKED
	mov	x0, x20
	bl	_DMAP_TO_PHYS
	bl	_PHYS_TO_VM_PAGE
	mov	x20, x0
	ldr	x8, [x0]
	cmp	x8, #0
	cset	w0, gt
	bl	_MPASS
	mov	x0, x20
	bl	_pmap_pti_free_page
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_pmap_pti_pde
	mov	x19, x0
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _X86_PG_PS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _X86_PG_PS@GOTPAGEOFF]
Lloh5:
	adrp	x10, _X86_PG_V@GOTPAGE
Lloh6:
	ldr	x10, [x10, _X86_PG_V@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w10, w9
	and	w8, w9, w8
	cmp	w8, w10
	cset	w0, eq
	bl	_MPASS
	str	wzr, [x19]
	mov	x0, x19
	mov	w1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pmap_pti_unwire_pde
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_pti_obj,4,2                    ; @pti_obj
	.comm	_X86_PG_PS,4,2                  ; @X86_PG_PS
	.comm	_X86_PG_V,4,2                   ; @X86_PG_V
	.no_dead_strip	_pmap_pti_unwire_pte
.subsections_via_symbols
