	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function moea64_syncicache
_moea64_syncicache:                     ## @moea64_syncicache
	.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
	movl	%r8d, %r14d
	movl	%ecx, %ebx
	movq	_pmap_bootstrapped@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.3:
	movl	%edx, %r15d
	movq	_kernel_pmap@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_5
## %bb.4:
	movslq	%r15d, %rdi
	jmp	LBB0_2
LBB0_1:
	movslq	%ebx, %rdi
	jmp	LBB0_2
LBB0_5:
	movq	_hw_direct_map@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.6:
	movl	%ebx, %edi
	callq	_PHYS_TO_DMAP
	movq	%rax, %rdi
LBB0_2:
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___syncicache                   ## TAILCALL
LBB0_7:
	movl	%edi, %r12d
	movq	_moea64_scratchpage_mtx@GOTPCREL(%rip), %rdi
	callq	_mtx_lock
	movq	_ADDR_POFF@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	notl	%edx
	andl	%ebx, %edx
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_moea64_set_scratchpage_pa
	movq	_moea64_scratchpage_va@GOTPCREL(%rip), %rax
	andl	(%r13), %r15d
	movq	(%rax), %rax
	movslq	%r15d, %rdi
	addq	8(%rax), %rdi
	movl	%r14d, %esi
	callq	___syncicache
	movq	_moea64_scratchpage_mtx@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mtx_unlock                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_pmap_bootstrapped,4,2          ## @pmap_bootstrapped
	.comm	_kernel_pmap,8,3                ## @kernel_pmap
	.comm	_hw_direct_map,8,3              ## @hw_direct_map
	.comm	_moea64_scratchpage_mtx,4,2     ## @moea64_scratchpage_mtx
	.comm	_ADDR_POFF,4,2                  ## @ADDR_POFF
	.comm	_moea64_scratchpage_va,8,3      ## @moea64_scratchpage_va
	.no_dead_strip	_moea64_syncicache
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function moea64_syncicache
_moea64_syncicache:                     ; @moea64_syncicache
	.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, x4
	mov	x21, x3
Lloh0:
	adrp	x8, _pmap_bootstrapped@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pmap_bootstrapped@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x20, x2
Lloh3:
	adrp	x8, _kernel_pmap@GOTPAGE
Lloh4:
	ldr	x8, [x8, _kernel_pmap@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ne	LBB0_4
; %bb.2:
	sxtw	x0, w20
	b	LBB0_6
LBB0_3:
	sxtw	x0, w21
	b	LBB0_6
LBB0_4:
Lloh6:
	adrp	x8, _hw_direct_map@GOTPAGE
Lloh7:
	ldr	x8, [x8, _hw_direct_map@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.5:
	mov	x0, x21
	bl	_PHYS_TO_DMAP
LBB0_6:
	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	___syncicache
LBB0_7:
	mov	x22, x0
Lloh9:
	adrp	x23, _moea64_scratchpage_mtx@GOTPAGE
Lloh10:
	ldr	x23, [x23, _moea64_scratchpage_mtx@GOTPAGEOFF]
	mov	x0, x23
	bl	_mtx_lock
Lloh11:
	adrp	x24, _ADDR_POFF@GOTPAGE
Lloh12:
	ldr	x24, [x24, _ADDR_POFF@GOTPAGEOFF]
	ldr	w8, [x24]
	bic	w2, w21, w8
	mov	x0, x22
	mov	w1, #1
	bl	_moea64_set_scratchpage_pa
Lloh13:
	adrp	x8, _moea64_scratchpage_va@GOTPAGE
Lloh14:
	ldr	x8, [x8, _moea64_scratchpage_va@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	ldr	w9, [x24]
	and	w9, w9, w20
	add	x0, x8, w9, sxtw
	mov	x1, x19
	bl	___syncicache
	mov	x0, x23
	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	_mtx_unlock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_pmap_bootstrapped,4,2          ; @pmap_bootstrapped
	.comm	_kernel_pmap,8,3                ; @kernel_pmap
	.comm	_hw_direct_map,8,3              ; @hw_direct_map
	.comm	_moea64_scratchpage_mtx,4,2     ; @moea64_scratchpage_mtx
	.comm	_ADDR_POFF,4,2                  ; @ADDR_POFF
	.comm	_moea64_scratchpage_va,8,3      ; @moea64_scratchpage_va
	.no_dead_strip	_moea64_syncicache
.subsections_via_symbols
