	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function MapColor
_MapColor:                              ## @MapColor
	.cfi_startproc
## %bb.0:
	cmpl	$8, %esi
	jb	LBB0_2
## %bb.1:
	testl	%edi, %edi
	movl	$7, %ecx
	cmovel	%edi, %ecx
	jmp	LBB0_3
LBB0_2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	leaq	_MapColor._cmap(%rip), %rcx
	movl	(%rcx,%rax,4), %ecx
	popq	%rbp
LBB0_3:
	movl	%ecx, %eax
	shll	$4, %eax
	testl	%edi, %edi
	cmovnel	%ecx, %eax
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @MapColor._cmap
_MapColor._cmap:
	.long	0                               ## 0x0
	.long	4                               ## 0x4
	.long	2                               ## 0x2
	.long	6                               ## 0x6
	.long	1                               ## 0x1
	.long	5                               ## 0x5
	.long	3                               ## 0x3
	.long	7                               ## 0x7

	.no_dead_strip	_MapColor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function MapColor
_MapColor:                              ; @MapColor
	.cfi_startproc
; %bb.0:
	cmp	w1, #8
	b.lo	LBB0_2
; %bb.1:
	mov	w8, #7
	cmp	w0, #0
	csel	w8, wzr, w8, eq
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _MapColor._cmap@PAGE
Lloh1:
	add	x8, x8, _MapColor._cmap@PAGEOFF
	ldr	w8, [x8, w1, uxtw #2]
LBB0_3:
	lsl	w9, w8, #4
	cmp	w0, #0
	csel	w0, w9, w8, eq
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @MapColor._cmap
_MapColor._cmap:
	.long	0                               ; 0x0
	.long	4                               ; 0x4
	.long	2                               ; 0x2
	.long	6                               ; 0x6
	.long	1                               ; 0x1
	.long	5                               ; 0x5
	.long	3                               ; 0x3
	.long	7                               ; 0x7

	.no_dead_strip	_MapColor
.subsections_via_symbols
