	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sm_set_bitmap
_sm_set_bitmap:                         ## @sm_set_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
	movl	%edx, %r15d
	leaq	(%rdi,%rax,4), %r14
	movq	_ENTRIES_PER_WORD@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	decl	%ebx
	andl	%esi, %ebx
	addl	%ebx, %ebx
	movl	%ebx, %edi
	movq	%r14, %rsi
	testb	$2, %r15b
	jne	LBB0_1
## %bb.2:
	callq	___clear_bit_le
	jmp	LBB0_3
LBB0_1:
	callq	___set_bit_le
LBB0_3:
	orl	$1, %ebx
	movl	%ebx, %edi
	movq	%r14, %rsi
	addq	$8, %rsp
	testb	$1, %r15b
	jne	LBB0_4
## %bb.5:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___clear_bit_le                 ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___set_bit_le                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENTRIES_SHIFT,4,2              ## @ENTRIES_SHIFT
	.comm	_ENTRIES_PER_WORD,4,2           ## @ENTRIES_PER_WORD
	.no_dead_strip	_sm_set_bitmap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sm_set_bitmap
_sm_set_bitmap:                         ; @sm_set_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
	mov	x19, x2
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	x20, 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	w8, w8, w1
	lsl	w21, w8, #1
	mov	x0, x21
	mov	x1, x20
	tbnz	w2, #1, LBB0_2
; %bb.1:
	bl	___clear_bit_le
	b	LBB0_3
LBB0_2:
	bl	___set_bit_le
LBB0_3:
	orr	w0, w21, #0x1
	mov	x1, x20
	tbnz	w19, #0, LBB0_5
; %bb.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
	b	___clear_bit_le
LBB0_5:
	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
	b	___set_bit_le
	.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_set_bitmap
.subsections_via_symbols
