	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reverse_color8
_reverse_color8:                        ## @reverse_color8
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdx), %rax
	movl	$255, 12(%rax)
	cmpl	$0, (%rdi)
	jle	LBB0_3
## %bb.1:
	movq	8(%rsi), %r8
	movq	8(%rdx), %r9
	xorl	%r10d, %r10d
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r8,%rsi,8), %rax
	cmpl	$127, (%rax)
	movl	$255, %ecx
	cmovgl	%r10d, %ecx
	movq	(%r9,%rsi,8), %rdx
	movl	%ecx, (%rdx)
	cmpl	$127, 4(%rax)
	movl	$255, %ecx
	cmovgl	%r10d, %ecx
	movl	%ecx, 4(%rdx)
	cmpl	$127, 8(%rax)
	movl	$255, %eax
	cmovgl	%r10d, %eax
	movl	%eax, 8(%rdx)
	incq	%rsi
	movslq	(%rdi), %rax
	cmpq	%rax, %rsi
	jl	LBB0_2
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_reverse_color8
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reverse_color8
_reverse_color8:                        ; @reverse_color8
	.cfi_startproc
; %bb.0:
	ldr	x9, [x2]
	mov	w8, #255
	str	w8, [x9, #12]
	ldr	w9, [x0]
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x9, #0
	ldr	x10, [x1, #8]
	ldr	x11, [x2, #8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x12, x9, #3
	ldr	x13, [x10, x12]
	ldr	w14, [x13]
	cmp	w14, #127
	csel	w14, wzr, w8, gt
	ldr	x12, [x11, x12]
	str	w14, [x12]
	ldr	w14, [x13, #4]
	cmp	w14, #127
	csel	w14, wzr, w8, gt
	str	w14, [x12, #4]
	ldr	w13, [x13, #8]
	cmp	w13, #127
	csel	w13, wzr, w8, gt
	str	w13, [x12, #8]
	add	x9, x9, #1
	ldrsw	x12, [x0]
	cmp	x9, x12
	b.lt	LBB0_2
LBB0_3:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_reverse_color8
.subsections_via_symbols
