	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function color_distance
_color_distance:                        ## @color_distance
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movl	%esi, %edx
	movl	%edi, %ebx
	movl	%edi, %r9d
	movl	%edi, %esi
	movzbl	%bh, %edi
	movzbl	%bl, %eax
	sarl	$28, %ebx
	shrl	$16, %esi
	movzbl	%sil, %esi
	imull	%ebx, %esi
	imull	%ebx, %edi
	imull	%ebx, %eax
	shrl	$24, %r9d
	shll	$3, %r9d
	movl	%edx, %ecx
	shrl	$21, %ecx
	andl	$-8, %ecx
	subl	%ecx, %r9d
	movl	%edx, %ecx
	movzbl	%dh, %ebx
	movzbl	%dl, %r8d
	sarl	$28, %edx
	shrl	$16, %ecx
	movzbl	%cl, %ecx
	imull	%edx, %ecx
	subl	%ecx, %esi
	imull	%r9d, %r9d
	imull	%esi, %esi
	addl	%r9d, %esi
	imull	%edx, %ebx
	subl	%ebx, %edi
	imull	%edi, %edi
	addl	%esi, %edi
	imull	%edx, %r8d
	subl	%r8d, %eax
	imull	%eax, %eax
	addl	%edi, %eax
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_color_distance
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function color_distance
lCPI0_0:
	.long	4294967288                      ; 0xfffffff8
	.long	4294967280                      ; 0xfffffff0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_color_distance:                        ; @color_distance
	.cfi_startproc
; %bb.0:
	asr	w8, w0, #28
	asr	w9, w1, #28
	lsr	w10, w0, #21
	and	w10, w10, #0x7f8
	lsr	w11, w1, #21
	and	w11, w11, #0x7f8
	sub	w10, w10, w11
	dup.2s	v0, w0
Lloh0:
	adrp	x11, lCPI0_0@PAGE
Lloh1:
	ldr	d1, [x11, lCPI0_0@PAGEOFF]
	dup.2s	v2, w1
	ushl.2s	v0, v0, v1
	ushl.2s	v1, v2, v1
	movi	d2, #0x0000ff000000ff
	and.8b	v0, v0, v2
	dup.2s	v3, w8
	mul.2s	v0, v0, v3
	and.8b	v1, v1, v2
	dup.2s	v2, w9
	mls.2s	v0, v2, v1
	mul.2s	v0, v0, v0
	mov.s	w11, v0[1]
	madd	w10, w10, w10, w11
	fmov	w11, s0
	add	w10, w11, w10
	and	w11, w0, #0xff
	and	w12, w1, #0xff
	mul	w9, w9, w12
	neg	w9, w9
	madd	w8, w11, w8, w9
	madd	w0, w8, w8, w10
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_color_distance
.subsections_via_symbols
