	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function context_get_sm_pds
_context_get_sm_pds:                    ## @context_get_sm_pds
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	(%rdi), %eax
	movq	_PASID_PDE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movl	%eax, -4(%rbp)
	movq	_MAX_NR_PASID_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-4(%rbp), %rdi
	callq	_find_first_bit
                                        ## kill: def $eax killed $eax def $rax
	leal	-7(%rax), %edx
	xorl	%ecx, %ecx
	cmpl	$7, %eax
	cmovgel	%edx, %ecx
	movq	%rcx, %rax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PASID_PDE_SHIFT,4,2            ## @PASID_PDE_SHIFT
	.comm	_MAX_NR_PASID_BITS,4,2          ## @MAX_NR_PASID_BITS
	.no_dead_strip	_context_get_sm_pds
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function context_get_sm_pds
_context_get_sm_pds:                    ; @context_get_sm_pds
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _PASID_PDE_SHIFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PASID_PDE_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	asr	w8, w8, w9
	stur	w8, [x29, #-4]
Lloh3:
	adrp	x8, _MAX_NR_PASID_BITS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_NR_PASID_BITS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	sub	x0, x29, #4
	bl	_find_first_bit
	subs	w8, w0, #7
	csel	w0, wzr, w8, lt
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PASID_PDE_SHIFT,4,2            ; @PASID_PDE_SHIFT
	.comm	_MAX_NR_PASID_BITS,4,2          ; @MAX_NR_PASID_BITS
	.no_dead_strip	_context_get_sm_pds
.subsections_via_symbols
