	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function blend_colors
LCPI0_0:
	.long	0x437f0000                      ## float 255
LCPI0_1:
	.long	0x3f000000                      ## float 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_blend_colors:                          ## @blend_colors
	.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
	mulss	LCPI0_0(%rip), %xmm0
	addss	LCPI0_1(%rip), %xmm0
	cvttss2si	%xmm0, %ecx
	movl	%edi, %eax
	shrl	$24, %eax
	movl	%esi, %r9d
	shrl	$24, %r9d
	imull	%ecx, %r9d
	movl	%ecx, %ebx
	xorl	$255, %ebx
	imull	%eax, %ebx
	leal	(%rbx,%r9), %r8d
	xorl	%eax, %eax
	cmpl	$255, %r8d
	jl	LBB0_2
## %bb.1:
	movl	%edi, %eax
	shrl	$16, %eax
	movzbl	%al, %ecx
	imull	%ebx, %ecx
	movl	%esi, %eax
	shrl	$16, %eax
	movzbl	%al, %eax
	imull	%r9d, %eax
	addl	%ecx, %eax
	movl	%esi, %r10d
	cltd
	idivl	%r8d
	movl	%eax, %ecx
	movl	%edi, %eax
	movzbl	%ah, %edx
	imull	%ebx, %edx
	movl	%esi, %eax
	movzbl	%ah, %eax
	imull	%r9d, %eax
	addl	%edx, %eax
	cltd
	idivl	%r8d
	movl	%eax, %esi
	movzbl	%dil, %edx
	imull	%ebx, %edx
	movzbl	%r10b, %eax
	imull	%r9d, %eax
	addl	%edx, %eax
	cltd
	idivl	%r8d
	movl	%r8d, %edx
	movl	$2155905153, %edi               ## imm = 0x80808081
	imulq	%rdx, %rdi
	shrq	$32, %rdi
	andl	$-128, %edi
	shll	$17, %edi
	shll	$16, %ecx
	orl	%edi, %ecx
	shll	$8, %esi
	orl	%esi, %eax
	orl	%ecx, %eax
LBB0_2:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_blend_colors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function blend_colors
_blend_colors:                          ; @blend_colors
	.cfi_startproc
; %bb.0:
	mov	w8, #1132396544
	fmov	s1, w8
	fmov	s2, #0.50000000
	fmadd	s0, s0, s1, s2
	fcvtzs	w9, s0
	lsr	w8, w0, #24
	eor	w10, w9, #0xff
	mul	w8, w10, w8
	lsr	w10, w1, #24
	mul	w10, w10, w9
	add	w9, w8, w10
	cmp	w9, #255
	b.ge	LBB0_2
; %bb.1:
	mov	w0, #0
	ret
LBB0_2:
	mov	w11, #32897
	movk	w11, #32896, lsl #16
	umull	x11, w9, w11
	lsr	x11, x11, #32
	lsl	w11, w11, #17
	and	w11, w11, #0xff000000
	ubfx	w12, w0, #16, #8
	ubfx	w13, w1, #16, #8
	mul	w13, w10, w13
	madd	w12, w8, w12, w13
	sdiv	w12, w12, w9
	orr	w11, w11, w12, lsl #16
	ubfx	w12, w0, #8, #8
	ubfx	w13, w1, #8, #8
	mul	w13, w10, w13
	madd	w12, w8, w12, w13
	sdiv	w12, w12, w9
	orr	w11, w11, w12, lsl #8
	and	w12, w0, #0xff
	and	w13, w1, #0xff
	mul	w10, w10, w13
	madd	w8, w8, w12, w10
	sdiv	w8, w8, w9
	orr	w0, w11, w8
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_blend_colors
.subsections_via_symbols
