	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function checkColorValidity
_checkColorValidity:                    ## @checkColorValidity
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$31, %eax
	cmpl	$6, %edi
	ja	LBB0_7
## %bb.1:
	movl	%edi, %ecx
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_8:
	addl	$-8, %esi
	andl	$-9, %esi
	movl	$37, %eax
	cmovel	%esi, %eax
	popq	%rbp
	retq
LBB0_2:
	movl	$37, %eax
	cmpl	$16, %esi
	ja	LBB0_7
## %bb.3:
	movl	$65814, %ecx                    ## imm = 0x10116
	btl	%esi, %ecx
	jae	LBB0_7
## %bb.4:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_5:
	decl	%esi
	movl	$37, %eax
	cmpl	$8, %esi
	jae	LBB0_7
## %bb.6:
	movslq	%esi, %rax
	leaq	l_switch.table.checkColorValidity(%rip), %rcx
	movl	(%rcx,%rax,4), %eax
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_7
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_checkColorValidity
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.checkColorValidity
l_switch.table.checkColorValidity:
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	37                              ## 0x25
	.long	0                               ## 0x0
	.long	37                              ## 0x25
	.long	37                              ## 0x25
	.long	37                              ## 0x25
	.long	0                               ## 0x0

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function checkColorValidity
_checkColorValidity:                    ; @checkColorValidity
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	mov	w0, #31
	cmp	w8, #6
	b.hi	LBB0_6
; %bb.1:
	mov	w8, w8
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	sub	w8, w1, #8
	tst	w8, #0xfffffff7
	mov	w8, #37
	csel	w0, wzr, w8, eq
	ret
LBB0_3:
	mov	w8, #37
	mov	w9, #1
	lsl	w9, w9, w1
	mov	w10, #278
	movk	w10, #1, lsl #16
	tst	w9, w10
	csel	w9, wzr, w8, ne
	cmp	w1, #16
	csel	w0, w8, w9, hi
	ret
LBB0_4:
	sub	w8, w1, #1
	cmp	w8, #8
	b.hs	LBB0_7
; %bb.5:
Lloh2:
	adrp	x9, l_switch.table.checkColorValidity@PAGE
Lloh3:
	add	x9, x9, l_switch.table.checkColorValidity@PAGEOFF
	ldr	w0, [x9, w8, sxtw #2]
LBB0_6:
	ret
LBB0_7:
	mov	w0, #37
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.no_dead_strip	_checkColorValidity
	.p2align	2                               ; @switch.table.checkColorValidity
l_switch.table.checkColorValidity:
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	37                              ; 0x25
	.long	0                               ; 0x0
	.long	37                              ; 0x25
	.long	37                              ; 0x25
	.long	37                              ; 0x25
	.long	0                               ; 0x0

.subsections_via_symbols
