	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function color
_color:                                 ## @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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movl	8(%rsi), %edi
	callq	_want_color
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	(%r14), %rax
	movslq	%ebx, %rcx
	movq	(%rax,%rcx,8), %r15
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %r15
LBB0_3:
	movq	_WT_STATUS_ONBRANCH@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_6
## %bb.4:
	movq	%r15, %rdi
	callq	_color_is_nil
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	(%r14), %rax
	movq	_WT_STATUS_HEADER@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %r15
LBB0_6:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_WT_STATUS_ONBRANCH,4,2         ## @WT_STATUS_ONBRANCH
	.comm	_WT_STATUS_HEADER,8,3           ## @WT_STATUS_HEADER
	.no_dead_strip	_color
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function color
_color:                                 ; @color
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x1
	mov	x21, x0
	ldr	w0, [x1, #8]
	bl	_want_color
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	ldr	x20, [x8, w21, sxtw #3]
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
LBB0_3:
Lloh2:
	adrp	x8, _WT_STATUS_ONBRANCH@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WT_STATUS_ONBRANCH@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_6
; %bb.4:
	mov	x0, x20
	bl	_color_is_nil
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x8, [x19]
Lloh5:
	adrp	x9, _WT_STATUS_HEADER@GOTPAGE
Lloh6:
	ldr	x9, [x9, _WT_STATUS_HEADER@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	x20, [x8, x9, lsl #3]
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_WT_STATUS_ONBRANCH,4,2         ; @WT_STATUS_ONBRANCH
	.comm	_WT_STATUS_HEADER,8,3           ; @WT_STATUS_HEADER
	.no_dead_strip	_color
.subsections_via_symbols
