	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function color_string_to_rgba
_color_string_to_rgba:                  ## @color_string_to_rgba
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	%esi, %edi
	xorl	%esi, %esi
	callq	_FFMAX
	movl	%eax, %edi
	movl	$99, %esi
	callq	_FFMIN
	movl	%eax, %ebx
	cmpb	$35, (%r14)
	jne	LBB0_4
## %bb.1:
	movl	$-16777216, %r12d               ## imm = 0xFF000000
	addl	$-4, %ebx
	cmpl	$5, %ebx
	ja	LBB0_11
## %bb.2:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_3:
	movsbl	3(%r14), %edi
	callq	_hex_char_to_number
	movl	%eax, %r15d
	shll	$4, %r15d
	movsbl	2(%r14), %edi
	callq	_hex_char_to_number
	movl	%eax, %ebx
	shll	$12, %ebx
	orl	%r15d, %ebx
	movsbl	1(%r14), %edi
	callq	_hex_char_to_number
	movl	%eax, %r12d
	shll	$20, %r12d
	orl	%ebx, %r12d
	orl	$-16777216, %r12d               ## imm = 0xFF000000
	jmp	LBB0_11
LBB0_4:
	leaq	-160(%rbp), %r15
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_strncpy
	movslq	%ebx, %rax
	movb	$0, -160(%rbp,%rax)
	movq	_color_table@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_FF_ARRAY_ELEMS
	movq	_color_table_compare@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	movl	$4, %ecx
	callq	_bsearch
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	(%rax), %r12d
	jmp	LBB0_11
LBB0_6:
	movl	$-16777216, %r12d               ## imm = 0xFF000000
	jmp	LBB0_11
LBB0_7:
	movsbl	4(%r14), %edi
	callq	_hex_char_to_number
	movl	%eax, %r15d
	shll	$4, %r15d
	movsbl	3(%r14), %edi
	callq	_hex_char_to_number
	movl	%eax, %ebx
	shll	$12, %ebx
	orl	%r15d, %ebx
	movsbl	2(%r14), %edi
	callq	_hex_char_to_number
	movl	%eax, %r15d
	shll	$20, %r15d
	movsbl	1(%r14), %edi
	callq	_hex_char_to_number
	movl	%eax, %r12d
	shll	$28, %r12d
	orl	%r15d, %r12d
	jmp	LBB0_10
LBB0_8:
	movsbl	6(%r14), %edi
	callq	_hex_char_to_number
	movl	%eax, %r15d
	movsbl	5(%r14), %edi
	callq	_hex_char_to_number
	movl	%eax, %r12d
	shll	$4, %r12d
	movsbl	4(%r14), %edi
	callq	_hex_char_to_number
	movl	%eax, %r13d
	shll	$8, %r13d
	movsbl	3(%r14), %edi
	callq	_hex_char_to_number
	movl	%eax, %ebx
	shll	$12, %ebx
	orl	%r13d, %ebx
	movsbl	2(%r14), %edi
	callq	_hex_char_to_number
	movl	%eax, %r13d
	shll	$16, %r13d
	movsbl	1(%r14), %edi
	callq	_hex_char_to_number
	shll	$20, %eax
	orl	%r13d, %eax
	orl	%r15d, %r12d
	orl	%ebx, %r12d
	orl	%eax, %r12d
	orl	$-16777216, %r12d               ## imm = 0xFF000000
	jmp	LBB0_11
LBB0_9:
	movsbl	8(%r14), %edi
	callq	_hex_char_to_number
	movl	%eax, %ebx
	movsbl	7(%r14), %edi
	callq	_hex_char_to_number
	movl	%eax, %r15d
	shll	$4, %r15d
	orl	%ebx, %r15d
	movsbl	6(%r14), %edi
	callq	_hex_char_to_number
	movl	%eax, %r12d
	shll	$8, %r12d
	movsbl	5(%r14), %edi
	callq	_hex_char_to_number
	movl	%eax, %r13d
	shll	$12, %r13d
	orl	%r12d, %r13d
	orl	%r15d, %r13d
	movsbl	4(%r14), %edi
	callq	_hex_char_to_number
	movl	%eax, %r15d
	shll	$16, %r15d
	movsbl	3(%r14), %edi
	callq	_hex_char_to_number
	movl	%eax, %r12d
	shll	$20, %r12d
	orl	%r15d, %r12d
	movsbl	2(%r14), %edi
	callq	_hex_char_to_number
	movl	%eax, %ebx
	shll	$24, %ebx
	orl	%r12d, %ebx
	orl	%r13d, %ebx
	movsbl	1(%r14), %edi
	callq	_hex_char_to_number
	movl	%eax, %r12d
	shll	$28, %r12d
LBB0_10:
	orl	%ebx, %r12d
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	movl	%r12d, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_7
	.long	L0_0_set_11
	.long	L0_0_set_8
	.long	L0_0_set_11
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_color_table,4,2                ## @color_table
	.comm	_color_table_compare,4,2        ## @color_table_compare
	.no_dead_strip	_color_string_to_rgba
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function color_string_to_rgba
_color_string_to_rgba:                  ; @color_string_to_rgba
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	mov	x0, x1
	mov	w1, #0
	bl	_FFMAX
	mov	w1, #99
	bl	_FFMIN
	mov	x20, x0
	ldrb	w8, [x19]
	cmp	w8, #35
	b.ne	LBB0_4
; %bb.1:
	mov	w0, #-16777216
	sub	w8, w20, #4
	cmp	w8, #5
	b.hi	LBB0_12
; %bb.2:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	ldrsb	w0, [x19, #3]
	bl	_hex_char_to_number
	lsl	w21, w0, #4
	ldrsb	w0, [x19, #2]
	bl	_hex_char_to_number
	mov	x20, x0
	ldrsb	w0, [x19, #1]
	bl	_hex_char_to_number
	orr	w8, w21, w20, lsl #12
	b	LBB0_9
LBB0_4:
	add	x21, sp, #4
	add	x0, sp, #4
	mov	x1, x19
	mov	x2, x20
	bl	_strncpy
	strb	wzr, [x21, w20, sxtw]
Lloh5:
	adrp	x8, _color_table@GOTPAGE
Lloh6:
	ldr	x8, [x8, _color_table@GOTPAGEOFF]
Lloh7:
	ldr	w19, [x8]
	mov	x0, x19
	bl	_FF_ARRAY_ELEMS
	mov	x2, x0
Lloh8:
	adrp	x8, _color_table_compare@GOTPAGE
Lloh9:
	ldr	x8, [x8, _color_table_compare@GOTPAGEOFF]
Lloh10:
	ldr	w4, [x8]
	add	x0, sp, #4
	mov	x1, x19
	mov	w3, #4
	bl	_bsearch
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w0, [x0]
	b	LBB0_12
LBB0_6:
	mov	w0, #-16777216
	b	LBB0_12
LBB0_7:
	ldrsb	w0, [x19, #4]
	bl	_hex_char_to_number
	mov	x20, x0
	ldrsb	w0, [x19, #3]
	bl	_hex_char_to_number
	lsl	w8, w0, #12
	orr	w20, w8, w20, lsl #4
	ldrsb	w0, [x19, #2]
	bl	_hex_char_to_number
	orr	w20, w20, w0, lsl #20
	b	LBB0_11
LBB0_8:
	ldrsb	w0, [x19, #6]
	bl	_hex_char_to_number
	mov	x20, x0
	ldrsb	w0, [x19, #5]
	bl	_hex_char_to_number
	mov	x21, x0
	ldrsb	w0, [x19, #4]
	bl	_hex_char_to_number
	mov	x22, x0
	ldrsb	w0, [x19, #3]
	bl	_hex_char_to_number
	mov	x23, x0
	ldrsb	w0, [x19, #2]
	bl	_hex_char_to_number
	mov	x24, x0
	ldrsb	w0, [x19, #1]
	bl	_hex_char_to_number
	orr	w8, w20, w21, lsl #4
	orr	w8, w8, w22, lsl #8
	orr	w8, w8, w23, lsl #12
	orr	w8, w8, w24, lsl #16
LBB0_9:
	orr	w8, w8, w0, lsl #20
	orr	w0, w8, #0xff000000
	b	LBB0_12
LBB0_10:
	ldrsb	w0, [x19, #8]
	bl	_hex_char_to_number
	mov	x20, x0
	ldrsb	w0, [x19, #7]
	bl	_hex_char_to_number
	orr	w20, w20, w0, lsl #4
	ldrsb	w0, [x19, #6]
	bl	_hex_char_to_number
	orr	w20, w20, w0, lsl #8
	ldrsb	w0, [x19, #5]
	bl	_hex_char_to_number
	orr	w20, w20, w0, lsl #12
	ldrsb	w0, [x19, #4]
	bl	_hex_char_to_number
	orr	w20, w20, w0, lsl #16
	ldrsb	w0, [x19, #3]
	bl	_hex_char_to_number
	orr	w20, w20, w0, lsl #20
	ldrsb	w0, [x19, #2]
	bl	_hex_char_to_number
	orr	w20, w20, w0, lsl #24
LBB0_11:
	ldrsb	w0, [x19, #1]
	bl	_hex_char_to_number
	orr	w0, w20, w0, lsl #28
LBB0_12:
	ldur	x8, [x29, #-56]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
                                        ; -- End function
	.comm	_color_table,4,2                ; @color_table
	.comm	_color_table_compare,4,2        ; @color_table_compare
	.no_dead_strip	_color_string_to_rgba
.subsections_via_symbols
