	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function str_to_color
_str_to_color:                          ## @str_to_color
	.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	(%rdi), %rbx
	movq	%rbx, -48(%rbp)
	movl	$-1, %r14d
	cmpl	$0, (%rbx)
	je	LBB0_11
## %bb.1:
	movq	%rdi, %r12
	movq	_FALSE@GOTPCREL(%rip), %r13
	movl	(%r13), %r15d
	leaq	L_.str(%rip), %rdi
	callq	__T
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$3, %edx
	callq	__tcsnicmp
	testq	%rax, %rax
	je	LBB0_2
LBB0_4:
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_txt_clr
	cmpl	$-1, %eax
	je	LBB0_11
## %bb.5:
	movl	%eax, %r15d
	leaq	-48(%rbp), %rdi
	callq	_chop_blank
	testq	%rax, %rax
	jne	LBB0_11
## %bb.6:
	leaq	-48(%rbp), %rdi
	callq	_chop_blank
	testq	%rax, %rax
	jne	LBB0_11
## %bb.7:
	movl	(%r13), %r13d
	movq	-48(%rbp), %rbx
	leaq	L_.str(%rip), %rdi
	callq	__T
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$3, %edx
	callq	__tcsnicmp
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	leaq	-48(%rbp), %rdi
	callq	_chop_blank
	testq	%rax, %rax
	jne	LBB0_11
LBB0_9:
	movq	-48(%rbp), %rdi
	callq	_txt_clr
	cmpl	$-1, %eax
	je	LBB0_11
## %bb.10:
	movl	%eax, %ebx
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	shll	$3, %eax
	orl	%eax, %r15d
	leaq	-48(%rbp), %rdi
	callq	_chop_blank
	movq	-48(%rbp), %rax
	movq	%rax, (%r12)
	shll	$4, %ebx
	shll	$7, %r13d
	orl	%r15d, %r13d
	orl	%ebx, %r13d
	movl	%r13d, %r14d
	jmp	LBB0_11
LBB0_2:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	-48(%rbp), %rdi
	callq	_chop_blank
	testq	%rax, %rax
	je	LBB0_3
LBB0_11:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	-48(%rbp), %rbx
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bri"

	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_str_to_color
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function str_to_color
_str_to_color:                          ; @str_to_color
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x20, [x0]
	str	x20, [sp, #8]
	ldr	w8, [x20]
	cbz	w8, LBB0_9
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x21, _FALSE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _FALSE@GOTPAGEOFF]
	ldr	w22, [x21]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	__T
	mov	x1, x0
	mov	x0, x20
	mov	w2, #3
	bl	__tcsnicmp
	cbz	x0, LBB0_8
LBB0_2:
	mov	x0, x20
	bl	_txt_clr
	cmn	w0, #1
	b.eq	LBB0_10
; %bb.3:
	mov	x20, x0
	add	x0, sp, #8
	bl	_chop_blank
	cbnz	x0, LBB0_9
; %bb.4:
	add	x0, sp, #8
	bl	_chop_blank
	cbnz	x0, LBB0_9
; %bb.5:
	ldr	w23, [x21]
	ldr	x21, [sp, #8]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	__T
	mov	x1, x0
	mov	x0, x21
	mov	w2, #3
	bl	__tcsnicmp
	cbz	x0, LBB0_12
LBB0_6:
	ldr	x0, [sp, #8]
	bl	_txt_clr
	cmn	w0, #1
	b.eq	LBB0_10
; %bb.7:
	mov	x21, x0
	orr	w20, w20, w22, lsl #3
	add	x0, sp, #8
	bl	_chop_blank
	ldr	x8, [sp, #8]
	str	x8, [x19]
	orr	w8, w20, w23, lsl #7
	orr	w0, w8, w21, lsl #4
	b	LBB0_10
LBB0_8:
Lloh6:
	adrp	x8, _TRUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh8:
	ldr	w22, [x8]
	add	x0, sp, #8
	bl	_chop_blank
	cbz	x0, LBB0_11
LBB0_9:
	mov	w0, #-1
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_11:
	ldr	x20, [sp, #8]
	b	LBB0_2
LBB0_12:
Lloh9:
	adrp	x8, _TRUE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh11:
	ldr	w23, [x8]
	add	x0, sp, #8
	bl	_chop_blank
	cbnz	x0, LBB0_9
	b	LBB0_6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bri"

	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_str_to_color
.subsections_via_symbols
