	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_flip_bit                       ## -- Begin function flip_bit
	.p2align	4, 0x90
_flip_bit:                              ## @flip_bit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %ecx
	leal	7(%rcx), %eax
	testl	%edi, %edi
	cmovnsl	%edi, %eax
	andb	$7, %cl
	movl	$1, %edx
                                        ## kill: def $cl killed $cl killed $rcx
	shll	%cl, %edx
	sarl	$3, %eax
	movq	_zbuf@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cltq
	xorl	%edx, (%rcx,%rax,4)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_zbuf,8,3                       ## @zbuf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_flip_bit                       ; -- Begin function flip_bit
	.p2align	2
_flip_bit:                              ; @flip_bit
	.cfi_startproc
; %bb.0:
	add	w8, w0, #7
	cmp	w0, #0
	csel	w8, w8, w0, lt
	asr	w8, w8, #3
	and	w9, w0, #0x7
	mov	w10, #1
	lsl	w9, w10, w9
Lloh0:
	adrp	x10, _zbuf@GOTPAGE
Lloh1:
	ldr	x10, [x10, _zbuf@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	sbfiz	x8, x8, #2, #32
	ldr	w11, [x10, x8]
	eor	w9, w11, w9
	str	w9, [x10, x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_zbuf,8,3                       ; @zbuf
.subsections_via_symbols
