	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function moea_pte_unset
_moea_pte_unset:                        ## @moea_pte_unset
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_MA_OWNED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_moea_table_mutex@GOTPCREL(%rip), %rdi
	callq	_mtx_assert
	movq	_PTE_VALID@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	notl	%eax
	andl	%eax, (%r14)
	xorl	%eax, %eax
	callq	_powerpc_sync
	movl	(%r12), %eax
	notl	%eax
	andl	%eax, (%rbx)
	movl	%r15d, %edi
	callq	_tlbie
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_moea_pte_synch
	movq	_moea_pte_valid@GOTPCREL(%rip), %rax
	decl	(%rax)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_moea_table_mutex,4,2           ## @moea_table_mutex
	.comm	_MA_OWNED,4,2                   ## @MA_OWNED
	.comm	_PTE_VALID,4,2                  ## @PTE_VALID
	.comm	_moea_pte_valid,4,2             ## @moea_pte_valid
	.no_dead_strip	_moea_pte_unset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function moea_pte_unset
_moea_pte_unset:                        ; @moea_pte_unset
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _MA_OWNED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MA_OWNED@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x0, _moea_table_mutex@GOTPAGE
Lloh4:
	ldr	x0, [x0, _moea_table_mutex@GOTPAGEOFF]
	bl	_mtx_assert
Lloh5:
	adrp	x22, _PTE_VALID@GOTPAGE
Lloh6:
	ldr	x22, [x22, _PTE_VALID@GOTPAGEOFF]
	ldr	w8, [x22]
	ldr	w9, [x20]
	bic	w8, w9, w8
	str	w8, [x20]
	bl	_powerpc_sync
	ldr	w8, [x22]
	ldr	w9, [x21]
	bic	w8, w9, w8
	str	w8, [x21]
	mov	x0, x19
	bl	_tlbie
	mov	x0, x21
	mov	x1, x20
	bl	_moea_pte_synch
Lloh7:
	adrp	x8, _moea_pte_valid@GOTPAGE
Lloh8:
	ldr	x8, [x8, _moea_pte_valid@GOTPAGEOFF]
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_moea_table_mutex,4,2           ; @moea_table_mutex
	.comm	_MA_OWNED,4,2                   ; @MA_OWNED
	.comm	_PTE_VALID,4,2                  ; @PTE_VALID
	.comm	_moea_pte_valid,4,2             ; @moea_pte_valid
	.no_dead_strip	_moea_pte_unset
.subsections_via_symbols
