	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function va_to_pteg
_va_to_pteg:                            ## @va_to_pteg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, %rax
	movq	_SR_VSID_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edi
	movq	_ADDR_PIDX@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_ADDR_PIDX_SHFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	xorl	%edi, %eax
	movq	_moea_pteg_mask@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SR_VSID_MASK,4,2               ## @SR_VSID_MASK
	.comm	_ADDR_PIDX,4,2                  ## @ADDR_PIDX
	.comm	_ADDR_PIDX_SHFT,4,2             ## @ADDR_PIDX_SHFT
	.comm	_moea_pteg_mask,4,2             ## @moea_pteg_mask
	.no_dead_strip	_va_to_pteg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function va_to_pteg
_va_to_pteg:                            ; @va_to_pteg
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _SR_VSID_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SR_VSID_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh3:
	adrp	x9, _ADDR_PIDX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ADDR_PIDX@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w9, w9, w1
Lloh6:
	adrp	x10, _ADDR_PIDX_SHFT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ADDR_PIDX_SHFT@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	asr	w9, w9, w10
	eor	w8, w9, w8
Lloh9:
	adrp	x9, _moea_pteg_mask@GOTPAGE
Lloh10:
	ldr	x9, [x9, _moea_pteg_mask@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	and	w0, w8, w9
	ret
	.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	_SR_VSID_MASK,4,2               ; @SR_VSID_MASK
	.comm	_ADDR_PIDX,4,2                  ; @ADDR_PIDX
	.comm	_ADDR_PIDX_SHFT,4,2             ; @ADDR_PIDX_SHFT
	.comm	_moea_pteg_mask,4,2             ; @moea_pteg_mask
	.no_dead_strip	_va_to_pteg
.subsections_via_symbols
