	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function writebit
_writebit:                              ## @writebit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	leal	7(%rsi), %eax
	testl	%esi, %esi
	cmovnsl	%esi, %eax
	movl	%eax, %ecx
	andl	$-8, %ecx
	subl	%ecx, %esi
	sarl	$3, %eax
	cltq
	leaq	(%rdi,%rax,4), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	testl	%edx, %edx
	je	LBB0_2
## %bb.1:
	popq	%rbp
	jmp	_R_BIT_SET                      ## TAILCALL
LBB0_2:
	popq	%rbp
	jmp	_R_BIT_UNSET                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_writebit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function writebit
_writebit:                              ; @writebit
	.cfi_startproc
; %bb.0:
	add	w8, w1, #7
	cmp	w1, #0
	csel	w8, w8, w1, lt
	asr	w9, w8, #3
	and	w8, w8, #0xfffffff8
	sub	w1, w1, w8
	add	x0, x0, w9, sxtw #2
	cbz	w2, LBB0_2
; %bb.1:
	b	_R_BIT_SET
LBB0_2:
	b	_R_BIT_UNSET
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_writebit
.subsections_via_symbols
