	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xo_format_colors
_xo_format_colors:                      ## @xo_format_colors
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	testl	%ecx, %ecx
	je	LBB0_3
## %bb.1:
	movl	%ecx, %ebx
	movq	%rdx, %r15
	movq	%r14, %rdi
	callq	_xo_style_is_encoding
	testq	%rax, %rax
	jne	LBB0_15
## %bb.2:
	leaq	-48(%rbp), %r12
	movq	%r12, %rdi
	callq	_xo_buf_init
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	jmp	LBB0_6
LBB0_3:
	movq	(%rsi), %r15
	movl	8(%rsi), %ebx
	leaq	-48(%rbp), %rdi
	callq	_xo_buf_init
	testl	%ebx, %ebx
	je	LBB0_5
## %bb.4:
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	movl	%ebx, %ecx
	xorl	%r8d, %r8d
	callq	_xo_do_format_field
	jmp	LBB0_7
LBB0_5:
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rdi
	movl	$6, %edx
LBB0_6:
	callq	_xo_buf_append
LBB0_7:
	movq	%r14, %rdi
	callq	_xo_colors_enabled
	testq	%rax, %rax
	je	LBB0_14
## %bb.8:
	movq	%r14, %rdi
	callq	_xo_style
	cmpl	$132, %eax
	je	LBB0_10
## %bb.9:
	cmpl	$129, %eax
	jne	LBB0_14
LBB0_10:
	leaq	L_.str.1(%rip), %rsi
	leaq	-48(%rbp), %rdi
	movl	$1, %edx
	callq	_xo_buf_append
	movl	(%r14), %eax
	movl	%eax, -40(%rbp)
	movl	-48(%rbp), %edx
	leaq	-40(%rbp), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_xo_colors_parse
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_xo_colors_update
	movq	%r14, %rdi
	callq	_xo_style
	cmpl	$129, %eax
	jne	LBB0_12
## %bb.11:
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	callq	_xo_colors_handle_text
	movq	_XO_EFF_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	-40(%rbp), %eax
	movl	%eax, -40(%rbp)
	jmp	LBB0_13
LBB0_12:
	movq	_XO_EFF_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, -40(%rbp)
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	callq	_xo_colors_handle_html
	movl	-40(%rbp), %eax
LBB0_13:
	movl	%eax, (%r14)
LBB0_14:
	leaq	-48(%rbp), %rdi
	callq	_xo_buf_cleanup
LBB0_15:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"reset"

L_.str.1:                               ## @.str.1
	.space	1

	.comm	_XO_EFF_RESET,4,2               ## @XO_EFF_RESET
	.no_dead_strip	_xo_format_colors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xo_format_colors
_xo_format_colors:                      ; @xo_format_colors
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	cbz	w3, LBB0_3
; %bb.1:
	mov	x20, x3
	mov	x21, x2
	mov	x0, x19
	bl	_xo_style_is_encoding
	cbnz	x0, LBB0_15
; %bb.2:
	add	x0, sp, #8
	bl	_xo_buf_init
	add	x0, sp, #8
	mov	x1, x21
	mov	x2, x20
	b	LBB0_6
LBB0_3:
	ldr	x20, [x1]
	ldr	w21, [x1, #8]
	add	x0, sp, #8
	bl	_xo_buf_init
	cbz	w21, LBB0_5
; %bb.4:
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x20
	mov	x3, x21
	mov	w4, #0
	bl	_xo_do_format_field
	b	LBB0_7
LBB0_5:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w2, #6
LBB0_6:
	bl	_xo_buf_append
LBB0_7:
	mov	x0, x19
	bl	_xo_colors_enabled
	cbz	x0, LBB0_14
; %bb.8:
	mov	x0, x19
	bl	_xo_style
	cmp	w0, #132
	b.eq	LBB0_10
; %bb.9:
	cmp	w0, #129
	b.ne	LBB0_14
LBB0_10:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #8
	mov	w2, #1
	bl	_xo_buf_append
	ldr	w8, [x19]
	str	w8, [sp]
	ldr	w2, [sp, #8]
	mov	x1, sp
	mov	x0, x19
	bl	_xo_colors_parse
	mov	x1, sp
	mov	x0, x19
	bl	_xo_colors_update
	mov	x0, x19
	bl	_xo_style
	cmp	w0, #129
	b.ne	LBB0_12
; %bb.11:
	mov	x1, sp
	mov	x0, x19
	bl	_xo_colors_handle_text
Lloh4:
	adrp	x8, _XO_EFF_RESET@GOTPAGE
Lloh5:
	ldr	x8, [x8, _XO_EFF_RESET@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldr	w9, [sp]
	bic	w8, w9, w8
	str	w8, [sp]
	b	LBB0_13
LBB0_12:
Lloh7:
	adrp	x8, _XO_EFF_RESET@GOTPAGE
Lloh8:
	ldr	x8, [x8, _XO_EFF_RESET@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldr	w9, [sp]
	bic	w8, w9, w8
	str	w8, [sp]
	mov	x1, sp
	mov	x0, x19
	bl	_xo_colors_handle_html
	ldr	w8, [sp]
LBB0_13:
	str	w8, [x19]
LBB0_14:
	add	x0, sp, #8
	bl	_xo_buf_cleanup
LBB0_15:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"reset"

l_.str.1:                               ; @.str.1
	.space	1

	.comm	_XO_EFF_RESET,4,2               ; @XO_EFF_RESET
	.no_dead_strip	_xo_format_colors
.subsections_via_symbols
