	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function html_color_parse
_html_color_parse:                      ## @html_color_parse
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movl	$-2, %esi
	movq	%rbx, %rax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	incl	%esi
	cmpb	$35, (%rax)
	leaq	1(%rax), %rax
	je	LBB0_1
## %bb.2:
	xorl	%edi, %edi
	callq	_FFMAX
	cltq
	addq	%rax, %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcspn
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	movq	%r14, %rcx
	callq	_av_parse_color
	testq	%rax, %rax
	js	LBB0_3
## %bb.4:
	movl	-44(%rbp), %ecx
	movl	-40(%rbp), %eax
	shll	$8, %ecx
	orl	-48(%rbp), %ecx
	shll	$16, %eax
	orl	%ecx, %eax
	jmp	LBB0_5
LBB0_3:
	movl	$-1, %eax
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_7
## %bb.6:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\" >"

	.no_dead_strip	_html_color_parse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function html_color_parse
_html_color_parse:                      ; @html_color_parse
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	mov	w1, #-2
	mov	x8, x20
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x8], #1
	add	w1, w1, #1
	cmp	w9, #35
	b.eq	LBB0_1
; %bb.2:
	mov	w0, #0
	bl	_FFMAX
	add	x20, x20, w0, sxtw
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strcspn
	mov	x2, x0
	add	x0, sp, #8
	mov	x1, x20
	mov	x3, x19
	bl	_av_parse_color
	tbnz	x0, #63, LBB0_4
; %bb.3:
	ldp	w8, w9, [sp, #8]
	orr	w8, w8, w9, lsl #8
	ldr	w9, [sp, #16]
	orr	w0, w8, w9, lsl #16
	b	LBB0_5
LBB0_4:
	mov	w0, #-1
LBB0_5:
	ldr	x8, [sp, #24]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\" >"

	.no_dead_strip	_html_color_parse
.subsections_via_symbols
