	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mps3_pte_clear
_mps3_pte_clear:                        ## @mps3_pte_clear
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	_mps3_table_lock@GOTPCREL(%rip), %rdi
	callq	_mtx_lock
	movq	%r15, %rdi
	callq	_mps3_pte_synch_locked
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	leaq	-32(%rbp), %rsi
	movq	%r15, %rdi
	callq	_moea64_pte_from_pvo
	movl	-32(%rbp), %eax
	orl	%r14d, %eax
	notl	%ebx
	andl	%eax, %ebx
	movl	%ebx, -32(%rbp)
	movq	_mps3_vas_id@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %esi
	movl	-28(%rbp), %edx
	movl	%ebx, %ecx
	callq	_lv1_write_htab_entry
LBB0_2:
	movq	_mps3_table_lock@GOTPCREL(%rip), %rdi
	callq	_mtx_unlock
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mps3_table_lock,4,2            ## @mps3_table_lock
	.comm	_mps3_vas_id,4,2                ## @mps3_vas_id
	.no_dead_strip	_mps3_pte_clear
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mps3_pte_clear
_mps3_pte_clear:                        ; @mps3_pte_clear
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x2
	mov	x20, x1
Lloh0:
	adrp	x0, _mps3_table_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _mps3_table_lock@GOTPAGEOFF]
	bl	_mtx_lock
	mov	x0, x20
	bl	_mps3_pte_synch_locked
	mov	x19, x0
	tbnz	w0, #31, LBB0_2
; %bb.1:
	add	x1, sp, #8
	mov	x0, x20
	bl	_moea64_pte_from_pvo
	ldp	w8, w2, [sp, #8]
	orr	w8, w8, w19
	bic	w3, w8, w21
	str	w3, [sp, #8]
Lloh2:
	adrp	x8, _mps3_vas_id@GOTPAGE
Lloh3:
	ldr	x8, [x8, _mps3_vas_id@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_lv1_write_htab_entry
LBB0_2:
Lloh5:
	adrp	x0, _mps3_table_lock@GOTPAGE
Lloh6:
	ldr	x0, [x0, _mps3_table_lock@GOTPAGEOFF]
	bl	_mtx_unlock
	mov	x0, 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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_mps3_table_lock,4,2            ; @mps3_table_lock
	.comm	_mps3_vas_id,4,2                ; @mps3_vas_id
	.no_dead_strip	_mps3_pte_clear
.subsections_via_symbols
