	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function XboxVideoAttrToSingleColor
LCPI0_0:
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	4                               ## 0x4
	.long	8                               ## 0x8
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_XboxVideoAttrToSingleColor:            ## @XboxVideoAttrToSingleColor
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movd	%edi, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	pand	LCPI0_0(%rip), %xmm0
	pxor	%xmm1, %xmm1
	pcmpeqd	%xmm0, %xmm1
	movmskps	%xmm1, %ecx
	xorl	%eax, %eax
	testb	$8, %cl
	sete	%al
	shll	$7, %eax
	orl	$127, %eax
	movl	%eax, %edx
	shll	$16, %edx
	orl	$-16777216, %edx                ## imm = 0xFF000000
	testb	$4, %cl
	movl	$-16777216, %esi                ## imm = 0xFF000000
	cmovel	%edx, %esi
	movl	%eax, %edx
	shll	$8, %edx
	xorl	%edi, %edi
	testb	$2, %cl
	cmovnel	%edi, %edx
	testb	$1, %cl
	cmovnel	%edi, %eax
	orl	%edx, %eax
	orl	%esi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_XboxVideoAttrToSingleColor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function XboxVideoAttrToSingleColor
_XboxVideoAttrToSingleColor:            ; @XboxVideoAttrToSingleColor
	.cfi_startproc
; %bb.0:
	tst	w0, #0x8
	mov	w8, #255
	mov	w9, #127
	csel	w8, w9, w8, eq
	mov	w9, #-16777216
	mov	w10, #-16777216
	bfi	w10, w8, #16, #8
	tst	w0, #0x4
	csel	w9, w9, w10, eq
	sbfx	w10, w0, #1, #1
	and	w10, w10, w8, lsl #8
	sbfx	w11, w0, #0, #1
	and	w8, w11, w8
	orr	w8, w10, w8
	orr	w0, w8, w9
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_XboxVideoAttrToSingleColor
.subsections_via_symbols
