	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sm_lookup_bitmap
_sm_lookup_bitmap:                      ## @sm_lookup_bitmap
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_ENTRIES_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%esi, %eax
	shrq	%cl, %rax
	leaq	(%rdi,%rax,4), %r14
	movq	_ENTRIES_PER_WORD@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	decl	%ebx
	andl	%esi, %ebx
	leal	(%rbx,%rbx), %edi
	movq	%r14, %rsi
	callq	_test_bit_le
	xorl	%r15d, %r15d
	testl	%eax, %eax
	setne	%r15b
	leal	(%rbx,%rbx), %edi
	incl	%edi
	movq	%r14, %rsi
	callq	_test_bit_le
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	leal	(%rcx,%r15,2), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENTRIES_SHIFT,4,2              ## @ENTRIES_SHIFT
	.comm	_ENTRIES_PER_WORD,4,2           ## @ENTRIES_PER_WORD
	.no_dead_strip	_sm_lookup_bitmap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sm_lookup_bitmap
_sm_lookup_bitmap:                      ; @sm_lookup_bitmap
	.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
Lloh0:
	adrp	x8, _ENTRIES_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENTRIES_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, w1
	lsr	x8, x9, x8
	add	x19, x0, x8, lsl #2
Lloh3:
	adrp	x8, _ENTRIES_PER_WORD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENTRIES_PER_WORD@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	sub	w8, w8, #1
	and	w20, w8, w1
	lsl	w0, w20, #1
	mov	x1, x19
	bl	_test_bit_le
	cmp	w0, #0
	cset	w21, ne
	mov	w0, #1
	bfi	w0, w20, #1, #31
	mov	x1, x19
	bl	_test_bit_le
	cmp	w0, #0
	cset	w0, ne
	bfi	w0, w21, #1, #1
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENTRIES_SHIFT,4,2              ; @ENTRIES_SHIFT
	.comm	_ENTRIES_PER_WORD,4,2           ; @ENTRIES_PER_WORD
	.no_dead_strip	_sm_lookup_bitmap
.subsections_via_symbols
