	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_va_to_vsid                     ## -- Begin function va_to_vsid
	.p2align	4, 0x90
_va_to_vsid:                            ## @va_to_vsid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rdx
	movq	_ADDR_SR_SHFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shrq	%cl, %rsi
	movq	_SR_VSID_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rdx,%rsi,4), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ADDR_SR_SHFT,8,3               ## @ADDR_SR_SHFT
	.comm	_SR_VSID_MASK,4,2               ## @SR_VSID_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_va_to_vsid                     ; -- Begin function va_to_vsid
	.p2align	2
_va_to_vsid:                            ; @va_to_vsid
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ADDR_SR_SHFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ADDR_SR_SHFT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	lsr	x9, x1, x9
	ldr	w8, [x8, x9, lsl #2]
Lloh3:
	adrp	x9, _SR_VSID_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SR_VSID_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w0, w9, w8
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ADDR_SR_SHFT,8,3               ; @ADDR_SR_SHFT
	.comm	_SR_VSID_MASK,4,2               ; @SR_VSID_MASK
.subsections_via_symbols
