	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_color_number
_get_color_number:                      ## @get_color_number
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_legal_colors@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	(%rax), %esi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	(%r14), %rax
	movl	4(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	(%r14), %rax
	movl	8(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movq	(%r14), %rax
	movl	12(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movq	(%r14), %rax
	movl	16(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	movq	(%r14), %rax
	movl	20(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_11
## %bb.12:
	movq	(%r14), %rax
	movl	24(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_13
## %bb.14:
	movq	(%r14), %rax
	movl	28(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_15
## %bb.16:
	movq	(%r14), %rax
	movl	32(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_17
## %bb.18:
	movq	(%r14), %rax
	movl	36(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_19
## %bb.20:
	movq	(%r14), %rax
	movl	40(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_21
## %bb.22:
	movq	(%r14), %rax
	movl	44(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_23
## %bb.24:
	movq	(%r14), %rax
	movl	48(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_25
## %bb.26:
	movq	(%r14), %rax
	movl	52(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_27
## %bb.28:
	movq	(%r14), %rax
	movl	56(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_29
## %bb.30:
	movq	(%r14), %rax
	movl	60(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	movl	%eax, %ecx
	xorl	%eax, %eax
	negl	%ecx
	sbbl	%eax, %eax
	orl	$15, %eax
	jmp	LBB0_31
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_31
LBB0_3:
	movl	$1, %eax
	jmp	LBB0_31
LBB0_5:
	movl	$2, %eax
	jmp	LBB0_31
LBB0_7:
	movl	$3, %eax
	jmp	LBB0_31
LBB0_9:
	movl	$4, %eax
	jmp	LBB0_31
LBB0_11:
	movl	$5, %eax
	jmp	LBB0_31
LBB0_13:
	movl	$6, %eax
	jmp	LBB0_31
LBB0_15:
	movl	$7, %eax
	jmp	LBB0_31
LBB0_17:
	movl	$8, %eax
	jmp	LBB0_31
LBB0_19:
	movl	$9, %eax
	jmp	LBB0_31
LBB0_21:
	movl	$10, %eax
	jmp	LBB0_31
LBB0_23:
	movl	$11, %eax
	jmp	LBB0_31
LBB0_25:
	movl	$12, %eax
	jmp	LBB0_31
LBB0_27:
	movl	$13, %eax
	jmp	LBB0_31
LBB0_29:
	movl	$14, %eax
LBB0_31:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_legal_colors,8,3               ## @legal_colors
	.no_dead_strip	_get_color_number
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_color_number
_get_color_number:                      ; @get_color_number
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x20, _legal_colors@GOTPAGE
Lloh1:
	ldr	x20, [x20, _legal_colors@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	w1, [x8]
	bl	_strcmp
	cbz	w0, LBB0_30
; %bb.1:
	ldr	x8, [x20]
	ldr	w1, [x8, #4]
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_16
; %bb.2:
	ldr	x8, [x20]
	ldr	w1, [x8, #8]
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_17
; %bb.3:
	ldr	x8, [x20]
	ldr	w1, [x8, #12]
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_18
; %bb.4:
	ldr	x8, [x20]
	ldr	w1, [x8, #16]
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_19
; %bb.5:
	ldr	x8, [x20]
	ldr	w1, [x8, #20]
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_20
; %bb.6:
	ldr	x8, [x20]
	ldr	w1, [x8, #24]
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_21
; %bb.7:
	ldr	x8, [x20]
	ldr	w1, [x8, #28]
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_22
; %bb.8:
	ldr	x8, [x20]
	ldr	w1, [x8, #32]
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_23
; %bb.9:
	ldr	x8, [x20]
	ldr	w1, [x8, #36]
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_24
; %bb.10:
	ldr	x8, [x20]
	ldr	w1, [x8, #40]
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_25
; %bb.11:
	ldr	x8, [x20]
	ldr	w1, [x8, #44]
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_26
; %bb.12:
	ldr	x8, [x20]
	ldr	w1, [x8, #48]
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_27
; %bb.13:
	ldr	x8, [x20]
	ldr	w1, [x8, #52]
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_28
; %bb.14:
	ldr	x8, [x20]
	ldr	w1, [x8, #56]
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_29
; %bb.15:
	ldr	x8, [x20]
	ldr	w1, [x8, #60]
	mov	x0, x19
	bl	_strcmp
	cmp	w0, #0
	mov	w8, #15
	csinv	w0, w8, wzr, eq
	b	LBB0_30
LBB0_16:
	mov	w0, #1
	b	LBB0_30
LBB0_17:
	mov	w0, #2
	b	LBB0_30
LBB0_18:
	mov	w0, #3
	b	LBB0_30
LBB0_19:
	mov	w0, #4
	b	LBB0_30
LBB0_20:
	mov	w0, #5
	b	LBB0_30
LBB0_21:
	mov	w0, #6
	b	LBB0_30
LBB0_22:
	mov	w0, #7
	b	LBB0_30
LBB0_23:
	mov	w0, #8
	b	LBB0_30
LBB0_24:
	mov	w0, #9
	b	LBB0_30
LBB0_25:
	mov	w0, #10
	b	LBB0_30
LBB0_26:
	mov	w0, #11
	b	LBB0_30
LBB0_27:
	mov	w0, #12
	b	LBB0_30
LBB0_28:
	mov	w0, #13
	b	LBB0_30
LBB0_29:
	mov	w0, #14
LBB0_30:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_legal_colors,8,3               ; @legal_colors
	.no_dead_strip	_get_color_number
.subsections_via_symbols
