	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function color_match
_color_match:                           ## @color_match
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%edi, %ebx
	movzbl	%bl, %edi
	movl	%esi, %r12d
	movzbl	%sil, %eax
	subl	%eax, %edi
	callq	_abs
	movq	_FALSE@GOTPCREL(%rip), %r15
	cmpq	%r14, %rax
	jg	LBB0_6
## %bb.1:
	movzbl	%bh, %edi
	movl	%r12d, %eax
	movzbl	%ah, %eax
	subl	%eax, %edi
	callq	_abs
	cmpq	%r14, %rax
	jg	LBB0_6
## %bb.2:
	movl	%ebx, %eax
	shrl	$16, %eax
	movl	%r12d, %ecx
	shrl	$16, %ecx
	movzbl	%al, %edi
	movzbl	%cl, %eax
	subl	%eax, %edi
	callq	_abs
	cmpq	%r14, %rax
	jg	LBB0_6
## %bb.3:
	shrl	$24, %ebx
	shrl	$24, %r12d
	subl	%r12d, %ebx
	movl	%ebx, %edi
	callq	_abs
	cmpq	%r14, %rax
	jle	LBB0_4
## %bb.5:
	movq	_FALSE@GOTPCREL(%rip), %r15
	jmp	LBB0_6
LBB0_4:
	movq	_TRUE@GOTPCREL(%rip), %r15
LBB0_6:
	movl	(%r15), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_color_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function color_match
_color_match:                           ; @color_match
	.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
	mov	x20, x1
	mov	x21, x0
	and	w8, w0, #0xff
	sub	w0, w8, w1, uxtb
	bl	_abs
	cmp	x0, x19
	b.gt	LBB0_2
; %bb.1:
	lsr	w8, w20, #8
	ubfx	w9, w21, #8, #8
	sub	w0, w9, w8, uxtb
	bl	_abs
	cmp	x0, x19
	b.le	LBB0_4
LBB0_2:
Lloh0:
	adrp	x22, _FALSE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _FALSE@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x22]
	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
	ret
LBB0_4:
	lsr	w8, w20, #16
	ubfx	w9, w21, #16, #8
	sub	w0, w9, w8, uxtb
	bl	_abs
Lloh2:
	adrp	x22, _FALSE@GOTPAGE
Lloh3:
	ldr	x22, [x22, _FALSE@GOTPAGEOFF]
	cmp	x0, x19
	b.gt	LBB0_3
; %bb.5:
	lsr	w8, w21, #24
	sub	w0, w8, w20, lsr #24
	bl	_abs
Lloh4:
	adrp	x8, _TRUE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	cmp	x0, x19
	csel	x22, x22, x8, gt
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_color_match
.subsections_via_symbols
