	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xo_colors_parse
_xo_colors_parse:                       ## @xo_colors_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_xo_text_only
	testq	%rax, %rax
	je	LBB0_1
LBB0_36:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r13, %rdi
	callq	_strlen
	testq	%r13, %r13
	je	LBB0_36
## %bb.2:
	cltq
	addq	%r13, %rax
	decq	%rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	cmpq	%r13, %rax
	jbe	LBB0_36
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	movq	%r13, %rbx
	movsbl	(%r13), %edi
	callq	_isspace
	incq	%r13
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	movl	$44, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r14
	incq	%r14
	movb	$0, (%rax)
	jmp	LBB0_7
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r14d, %r14d
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_strlen
	movslq	%eax, %r15
	leaq	(%rbx,%r15), %r12
	decq	%r12
	movsbl	-1(%rbx,%r15), %edi
	callq	_isspace
	cmpq	%rbx, %r12
	jbe	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	%rbx, %r15
	addq	$-2, %r15
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movb	$0, 1(%r15)
	movsbl	(%r15), %edi
	callq	_isspace
	cmpq	%rbx, %r15
	jbe	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	decq	%r15
	testq	%rax, %rax
	jne	LBB0_10
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movb	(%rbx), %al
	cmpb	$98, %al
	je	LBB0_19
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$110, %al
	je	LBB0_23
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$102, %al
	jne	LBB0_27
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$103, (%r13)
	jne	LBB0_27
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$45, 2(%rbx)
	jne	LBB0_27
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	3(%rbx), %rdi
	callq	_xo_color_find
	testl	%eax, %eax
	js	LBB0_32
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	testq	%r14, %r14
	jne	LBB0_35
	jmp	LBB0_36
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$103, (%r13)
	jne	LBB0_27
## %bb.20:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$45, 2(%rbx)
	jne	LBB0_27
## %bb.21:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	3(%rbx), %rdi
	callq	_xo_color_find
	testl	%eax, %eax
	js	LBB0_32
## %bb.22:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 4(%rcx)
	testq	%r14, %r14
	jne	LBB0_35
	jmp	LBB0_36
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$111, (%r13)
	jne	LBB0_27
## %bb.24:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$45, 2(%rbx)
	jne	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	3(%rbx), %rdi
	callq	_xo_effect_find
	testl	%eax, %eax
	js	LBB0_32
## %bb.26:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$-2, %edx
	movl	%eax, %ecx
	roll	%cl, %edx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	andl	%edx, 8(%rax)
	testq	%r14, %r14
	jne	LBB0_35
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_xo_effect_find
	testl	%eax, %eax
	js	LBB0_32
## %bb.28:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %edx
	movl	%eax, %ecx
	shll	%cl, %edx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	8(%rsi), %ecx
	btsl	%eax, %ecx
	movl	%ecx, 8(%rsi)
	cmpl	$129, %edx
	je	LBB0_31
## %bb.29:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$128, %edx
	jne	LBB0_34
## %bb.30:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax)
	movl	$128, 8(%rax)
	testq	%r14, %r14
	jne	LBB0_35
	jmp	LBB0_36
LBB0_32:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_XOF_WARN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_XOF_ISSET
	testq	%rax, %rax
	je	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	callq	_xo_failure
LBB0_34:                                ##   in Loop: Header=BB0_3 Depth=1
	testq	%r14, %r14
	je	LBB0_36
LBB0_35:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %r13
	cmpq	-64(%rbp), %r14                 ## 8-byte Folded Reload
	jb	LBB0_3
	jmp	LBB0_36
LBB0_31:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_XO_EFF_UNDERLINE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_XO_EFF_BOLD@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movq	_XO_EFF_INVERSE@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	notl	%eax
	andl	%ecx, %eax
	andl	$-130, %eax
	movl	%eax, 8(%rsi)
	testq	%r14, %r14
	jne	LBB0_35
	jmp	LBB0_36
	.cfi_endproc
                                        ## -- End function
	.comm	_XO_EFF_BOLD,4,2                ## @XO_EFF_BOLD
	.comm	_XO_EFF_UNDERLINE,4,2           ## @XO_EFF_UNDERLINE
	.comm	_XO_EFF_INVERSE,4,2             ## @XO_EFF_INVERSE
	.comm	_XOF_WARN,4,2                   ## @XOF_WARN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown color/effect string detected: '%s'"

	.no_dead_strip	_xo_colors_parse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xo_colors_parse
_xo_colors_parse:                       ; @xo_colors_parse
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x24, x2
	mov	x19, x1
	mov	x20, x0
	bl	_xo_text_only
	cbz	x0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x0, x24
	bl	_strlen
	cbz	x24, LBB0_1
; %bb.3:
	add	x8, x24, w0, sxtw
	sub	x25, x8, #1
	cmp	x25, x24
	b.ls	LBB0_1
; %bb.4:
Lloh0:
	adrp	x26, _XOF_WARN@GOTPAGE
Lloh1:
	ldr	x26, [x26, _XOF_WARN@GOTPAGEOFF]
	mov	w27, #1
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	mov	x23, x24
	ldrsb	w0, [x24], #1
	bl	_isspace
	cbnz	x0, LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	mov	w1, #44
	bl	_strchr
	mov	x22, x0
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	strb	wzr, [x22], #1
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x28, w0
	add	x21, x23, x28
	ldrsb	w0, [x21, #-1]!
	bl	_isspace
	cmp	x21, x23
	b.ls	LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	x0, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x23, x28
	sub	x28, x8, #2
LBB0_11:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	strb	wzr, [x28, #1]
	ldrsb	w0, [x28]
	bl	_isspace
	cmp	x28, x23
	b.ls	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	sub	x28, x28, #1
	cbnz	x0, LBB0_11
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x23]
	cmp	w8, #98
	b.eq	LBB0_20
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #110
	b.eq	LBB0_24
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #102
	b.ne	LBB0_28
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x24]
	cmp	w8, #103
	b.ne	LBB0_28
; %bb.17:                               ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x23, #2]
	cmp	w8, #45
	b.ne	LBB0_28
; %bb.18:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x0, x23, #3
	bl	_xo_color_find
	tbnz	w0, #31, LBB0_32
; %bb.19:                               ;   in Loop: Header=BB0_5 Depth=1
	str	w0, [x19]
	cbnz	x22, LBB0_35
	b	LBB0_1
LBB0_20:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x24]
	cmp	w8, #103
	b.ne	LBB0_28
; %bb.21:                               ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x23, #2]
	cmp	w8, #45
	b.ne	LBB0_28
; %bb.22:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x0, x23, #3
	bl	_xo_color_find
	tbnz	w0, #31, LBB0_32
; %bb.23:                               ;   in Loop: Header=BB0_5 Depth=1
	str	w0, [x19, #4]
	cbnz	x22, LBB0_35
	b	LBB0_1
LBB0_24:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x24]
	cmp	w8, #111
	b.ne	LBB0_28
; %bb.25:                               ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x23, #2]
	cmp	w8, #45
	b.ne	LBB0_28
; %bb.26:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x0, x23, #3
	bl	_xo_effect_find
	tbnz	w0, #31, LBB0_32
; %bb.27:                               ;   in Loop: Header=BB0_5 Depth=1
	lsl	w8, w27, w0
	ldr	w9, [x19, #8]
	bic	w8, w9, w8
	str	w8, [x19, #8]
	cbnz	x22, LBB0_35
	b	LBB0_1
LBB0_28:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	bl	_xo_effect_find
	tbnz	w0, #31, LBB0_32
; %bb.29:                               ;   in Loop: Header=BB0_5 Depth=1
	lsl	w9, w27, w0
	ldr	w8, [x19, #8]
	orr	w8, w8, w9
	str	w8, [x19, #8]
	cmp	w9, #129
	b.eq	LBB0_36
; %bb.30:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w9, #128
	b.ne	LBB0_34
; %bb.31:                               ;   in Loop: Header=BB0_5 Depth=1
	str	xzr, [x19]
	mov	w8, #128
	str	w8, [x19, #8]
	cbnz	x22, LBB0_35
	b	LBB0_1
LBB0_32:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x26]
	mov	x0, x20
	bl	_XOF_ISSET
	cbz	x0, LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x23
	bl	_xo_failure
LBB0_34:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	x22, LBB0_1
LBB0_35:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x24, x22
	cmp	x22, x25
	b.lo	LBB0_5
	b	LBB0_1
LBB0_36:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh4:
	adrp	x9, _XO_EFF_BOLD@GOTPAGE
Lloh5:
	ldr	x9, [x9, _XO_EFF_BOLD@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
Lloh7:
	adrp	x10, _XO_EFF_UNDERLINE@GOTPAGE
Lloh8:
	ldr	x10, [x10, _XO_EFF_UNDERLINE@GOTPAGEOFF]
Lloh9:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh10:
	adrp	x10, _XO_EFF_INVERSE@GOTPAGE
Lloh11:
	ldr	x10, [x10, _XO_EFF_INVERSE@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	orr	w9, w9, w10
	bic	w8, w8, w9
	mov	w9, #-130
	and	w8, w8, w9
	str	w8, [x19, #8]
	cbnz	x22, LBB0_35
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_XO_EFF_BOLD,4,2                ; @XO_EFF_BOLD
	.comm	_XO_EFF_UNDERLINE,4,2           ; @XO_EFF_UNDERLINE
	.comm	_XO_EFF_INVERSE,4,2             ; @XO_EFF_INVERSE
	.comm	_XOF_WARN,4,2                   ; @XOF_WARN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown color/effect string detected: '%s'"

	.no_dead_strip	_xo_colors_parse
.subsections_via_symbols
