	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function filter_rgba64
LCPI0_0:
	.quad	0x40efffe000000000              ## double 65535
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_filter_rgba64:                         ## @filter_rgba64
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	%rdx, %r10
	movq	(%rdi), %r11
	movq	(%rsi), %rdx
	movq	8(%rsi), %rsi
	movslq	(%rdx), %rdx
	movslq	%r9d, %rdi
	shll	$3, %r8d
	movslq	%r8d, %rax
	addq	(%rsi), %rax
	imulq	%rdx, %rdi
	cvtsi2sdl	(%rdi,%rax), %xmm0
	movsd	LCPI0_0(%rip), %xmm3            ## xmm3 = mem[0],zero
	divsd	%xmm3, %xmm0
	cvtsi2sdl	4(%rdi,%rax), %xmm1
	divsd	%xmm3, %xmm1
	cvtsi2sdl	8(%rdi,%rax), %xmm2
	divsd	%xmm3, %xmm2
	movq	(%r11), %rax
	leaq	-8(%rbp), %rdx
	movq	%r10, %rdi
	movq	%rcx, %rsi
	movq	%rax, %rcx
	callq	_rgb_to_xy
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_filter_rgba64
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter_rgba64
_filter_rgba64:                         ; @filter_rgba64
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
                                        ; kill: def $w5 killed $w5 def $x5
	mov	x9, x3
	mov	x8, x2
	ldr	x10, [x0]
	ldp	x12, x11, [x1]
	ldr	x11, [x11]
	ldrsw	x12, [x12]
	sxtw	x13, w5
	lsl	w14, w4, #3
	add	x11, x11, w14, sxtw
	madd	x11, x12, x13, x11
	ldp	s0, s1, [x11]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	mov	x12, #281337537757184
	movk	x12, #16623, lsl #48
	fmov	d2, x12
	fdiv	d0, d0, d2
	sshll.2d	v1, v1, #0
	scvtf	d1, d1
	fdiv	d1, d1, d2
	ldr	s3, [x11, #8]
	sshll.2d	v3, v3, #0
	scvtf	d3, d3
	ldr	x3, [x10]
	fdiv	d2, d3, d2
	add	x2, sp, #8
	mov	x0, x8
	mov	x1, x9
	bl	_rgb_to_xy
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_filter_rgba64
.subsections_via_symbols
