	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_pvo_entry
_init_pvo_entry:                        ## @init_pvo_entry
	.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
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	_MA_OWNED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_PMAP_LOCK_ASSERT
	movl	%r12d, 12(%r14)
	movq	_ADDR_POFF@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	notl	%ebx
	andl	%r15d, %ebx
	orl	%ebx, (%r14)
	movl	%r12d, %edi
	movl	%ebx, %esi
	callq	_va_to_vsid
	movq	_ADDR_PIDX@GOTPCREL(%rip), %rcx
	andl	(%rcx), %ebx
	movq	_ADDR_PIDX_SHFT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ebx, %edx
	sarl	%cl, %edx
	movl	%eax, %esi
	shll	$16, %esi
	orl	%edx, %esi
	movl	%esi, 4(%r14)
	movq	_PVO_LARGE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	(%r14), %edx
	movq	_VSID_HASH_MASK@GOTPCREL(%rip), %rsi
	andl	(%rsi), %eax
	testl	%edx, %edx
	je	LBB0_2
## %bb.1:
	movq	_moea64_large_page_shift@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_2:
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %ebx
	xorl	%eax, %ebx
	movq	_moea64_pteg_mask@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	shll	$3, %ebx
	movl	%ebx, 8(%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MA_OWNED,4,2                   ## @MA_OWNED
	.comm	_ADDR_POFF,4,2                  ## @ADDR_POFF
	.comm	_ADDR_PIDX,4,2                  ## @ADDR_PIDX
	.comm	_ADDR_PIDX_SHFT,4,2             ## @ADDR_PIDX_SHFT
	.comm	_PVO_LARGE,4,2                  ## @PVO_LARGE
	.comm	_moea64_large_page_shift,4,2    ## @moea64_large_page_shift
	.comm	_VSID_HASH_MASK,4,2             ## @VSID_HASH_MASK
	.comm	_moea64_pteg_mask,4,2           ## @moea64_pteg_mask
	.no_dead_strip	_init_pvo_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_pvo_entry
_init_pvo_entry:                        ; @init_pvo_entry
	.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]
	mov	x0, x20
	bl	_PMAP_LOCK_ASSERT
Lloh3:
	adrp	x8, _ADDR_POFF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ADDR_POFF@GOTPAGEOFF]
	str	w20, [x21, #12]
Lloh5:
	ldr	w8, [x8]
	bic	w19, w19, w8
	ldr	w8, [x21]
	orr	w8, w8, w19
	str	w8, [x21]
	mov	x0, x20
	mov	x1, x19
	bl	_va_to_vsid
Lloh6:
	adrp	x8, _ADDR_PIDX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ADDR_PIDX@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	and	w8, w8, w19
Lloh9:
	adrp	x9, _ADDR_PIDX_SHFT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ADDR_PIDX_SHFT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	asr	w10, w8, w9
	orr	w10, w10, w0, lsl #16
	ldr	w11, [x21]
Lloh12:
	adrp	x12, _PVO_LARGE@GOTPAGE
Lloh13:
	ldr	x12, [x12, _PVO_LARGE@GOTPAGEOFF]
Lloh14:
	ldr	w12, [x12]
	tst	w12, w11
Lloh15:
	adrp	x11, _moea64_large_page_shift@GOTPAGE
Lloh16:
	ldr	x11, [x11, _moea64_large_page_shift@GOTPAGEOFF]
Lloh17:
	ldr	w11, [x11]
Lloh18:
	adrp	x12, _VSID_HASH_MASK@GOTPAGE
Lloh19:
	ldr	x12, [x12, _VSID_HASH_MASK@GOTPAGEOFF]
	csel	w9, w9, w11, eq
Lloh20:
	ldr	w11, [x12]
	and	w11, w11, w0
	asr	w8, w8, w9
Lloh21:
	adrp	x9, _moea64_pteg_mask@GOTPAGE
Lloh22:
	ldr	x9, [x9, _moea64_pteg_mask@GOTPAGEOFF]
	eor	w8, w8, w11
Lloh23:
	ldr	w9, [x9]
	and	w8, w8, w9
	lsl	w8, w8, #3
	stp	w10, w8, [x21, #4]
	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 AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MA_OWNED,4,2                   ; @MA_OWNED
	.comm	_ADDR_POFF,4,2                  ; @ADDR_POFF
	.comm	_ADDR_PIDX,4,2                  ; @ADDR_PIDX
	.comm	_ADDR_PIDX_SHFT,4,2             ; @ADDR_PIDX_SHFT
	.comm	_PVO_LARGE,4,2                  ; @PVO_LARGE
	.comm	_moea64_large_page_shift,4,2    ; @moea64_large_page_shift
	.comm	_VSID_HASH_MASK,4,2             ; @VSID_HASH_MASK
	.comm	_moea64_pteg_mask,4,2           ; @moea64_pteg_mask
	.no_dead_strip	_init_pvo_entry
.subsections_via_symbols
