	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _pmap_unwire_ptp
__pmap_unwire_ptp:                      ## @_pmap_unwire_ptp
	.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	%rcx, %r14
	movq	%rdx, %r15
	movl	%esi, %r12d
	movl	%edi, %ebx
	movq	_MA_OWNED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_PMAP_LOCK_ASSERT
	movq	(%r15), %rax
	movq	_NUL1E@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jge	LBB0_1
## %bb.2:
	movl	%ebx, %edi
	movl	%r12d, %esi
	callq	_pmap_l2
	movq	%rax, %rdi
	callq	_pmap_clear
	jmp	LBB0_3
LBB0_1:
	movl	%ebx, %edi
	movl	%r12d, %esi
	callq	_pmap_l1
	movq	%rax, %rdi
	callq	_pmap_clear
	movl	%r12d, %edi
	callq	_pmap_l1_index
	movl	%ebx, %edi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_pmap_distribute_l1
LBB0_3:
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_pmap_resident_count_dec
	movq	(%r15), %rax
	cmpq	(%r13), %rax
	jge	LBB0_5
## %bb.4:
	movl	%ebx, %edi
	movl	%r12d, %esi
	callq	_pmap_l1
	movq	%rax, %rdi
	callq	_pmap_load
	movl	%eax, %edi
	callq	_PTE_TO_PHYS
	movl	%eax, %edi
	callq	_PHYS_TO_VM_PAGE
	movl	%ebx, %edi
	movl	%r12d, %esi
	movq	%rax, %rdx
	movq	%r14, %rcx
	callq	_pmap_unwire_ptp
LBB0_5:
	movl	%ebx, %edi
	movl	%r12d, %esi
	callq	_pmap_invalidate_page
	movl	$1, %edi
	callq	_vm_wire_sub
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pmap_add_delayed_free_list     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MA_OWNED,4,2                   ## @MA_OWNED
	.comm	_NUL1E,8,3                      ## @NUL1E
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	__pmap_unwire_ptp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _pmap_unwire_ptp
__pmap_unwire_ptp:                      ; @_pmap_unwire_ptp
	.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, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _MA_OWNED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MA_OWNED@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_PMAP_LOCK_ASSERT
	ldr	x8, [x20]
Lloh3:
	adrp	x23, _NUL1E@GOTPAGE
Lloh4:
	ldr	x23, [x23, _NUL1E@GOTPAGEOFF]
	ldr	x9, [x23]
	mov	x0, x22
	mov	x1, x21
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.1:
	bl	_pmap_l2
	bl	_pmap_clear
	b	LBB0_3
LBB0_2:
	bl	_pmap_l1
	bl	_pmap_clear
	mov	x0, x21
	bl	_pmap_l1_index
	mov	x1, x0
	mov	x0, x22
	mov	w2, #0
	bl	_pmap_distribute_l1
LBB0_3:
	mov	x0, x22
	mov	w1, #1
	bl	_pmap_resident_count_dec
	ldr	x8, [x20]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ge	LBB0_5
; %bb.4:
	mov	x0, x22
	mov	x1, x21
	bl	_pmap_l1
	bl	_pmap_load
	bl	_PTE_TO_PHYS
	bl	_PHYS_TO_VM_PAGE
	mov	x2, x0
	mov	x0, x22
	mov	x1, x21
	mov	x3, x19
	bl	_pmap_unwire_ptp
LBB0_5:
	mov	x0, x22
	mov	x1, x21
	bl	_pmap_invalidate_page
	mov	w0, #1
	bl	_vm_wire_sub
Lloh5:
	adrp	x8, _TRUE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	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	_pmap_add_delayed_free_list
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MA_OWNED,4,2                   ; @MA_OWNED
	.comm	_NUL1E,8,3                      ; @NUL1E
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	__pmap_unwire_ptp
.subsections_via_symbols
