	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function addColorBits
_addColorBits:                          ## @addColorBits
	.cfi_startproc
## %bb.0:
	movl	%ecx, %r9d
	movl	%edx, %r8d
	movq	%rsi, %r10
	movl	$8, %eax
	xorl	%edx, %edx
	divl	%r8d
	movl	%eax, %esi
	movq	%r10, %rax
	shrq	$32, %rax
	je	LBB0_1
## %bb.2:
	movq	%r10, %rax
	xorl	%edx, %edx
	divq	%rsi
	jmp	LBB0_3
LBB0_1:
	movl	%r10d, %eax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $edx killed $edx def $rdx
LBB0_3:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$-1, %eax
	movl	%r8d, %ecx
	shll	%cl, %eax
	notl	%eax
	andl	%r9d, %eax
	movl	%edx, %ecx
	notl	%ecx
	addl	%esi, %ecx
	imull	%r8d, %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	movl	%r8d, %ecx
	imulq	%r10, %rcx
	shrq	$3, %rcx
	testl	%edx, %edx
	je	LBB0_4
## %bb.5:
	orb	%al, (%rdi,%rcx)
	popq	%rbp
	retq
LBB0_4:
	movb	%al, (%rdi,%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_addColorBits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function addColorBits
_addColorBits:                          ; @addColorBits
	.cfi_startproc
; %bb.0:
	mov	w8, #8
	udiv	w8, w8, w2
	udiv	x9, x1, x8
	msub	w9, w9, w8, w1
	mov	w10, #-1
	lsl	w10, w10, w2
	bic	w10, w3, w10
	mvn	w11, w9
	add	w8, w8, w11
	mul	w8, w8, w2
	lsl	w8, w10, w8
	cbz	w9, LBB0_2
; %bb.1:
	mov	w9, w2
	mul	x9, x9, x1
	lsr	x9, x9, #3
	ldrb	w10, [x0, x9]
	orr	w8, w10, w8
	strb	w8, [x0, x9]
	ret
LBB0_2:
	mov	w9, w2
	mul	x9, x9, x1
	lsr	x9, x9, #3
	strb	w8, [x0, x9]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_addColorBits
.subsections_via_symbols
