	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function color_tree_get
_color_tree_get:                        ## @color_tree_get
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
                                        ## kill: def $r8d killed $r8d def $r8
                                        ## kill: def $ecx killed $ecx def $rcx
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $esi killed $esi def $rsi
	movl	%esi, %r9d
	andl	$1, %r9d
	movl	%edx, %r11d
	andl	$1, %r11d
	movl	%ecx, %r10d
	andl	$1, %r10d
	movl	%r8d, %eax
	andl	$1, %eax
	leal	(%rax,%r11,4), %eax
	leal	(%rax,%r9,8), %eax
	leal	(%rax,%r10,2), %eax
	movq	8(%rdi), %rdi
	movq	(%rdi,%rax,8), %r9
	movl	$-1, %eax
	testq	%r9, %r9
	je	LBB0_9
## %bb.1:
	movl	%esi, %r10d
	andl	$2, %r10d
	movl	%edx, %edi
	andl	$2, %edi
	movl	%ecx, %r11d
	andl	$2, %r11d
	movl	%r8d, %ebx
	shrl	%ebx
	andl	$1, %ebx
	leal	(%rbx,%rdi,2), %edi
	leal	(%rdi,%r10,4), %edi
	orl	%r11d, %edi
	movq	8(%r9), %rbx
	movq	(%rbx,%rdi,8), %r9
	testq	%r9, %r9
	je	LBB0_9
## %bb.2:
	movl	%esi, %r10d
	andl	$4, %r10d
	movl	%edx, %r11d
	andl	$4, %r11d
	movl	%ecx, %ebx
	shrl	%ebx
	andl	$2, %ebx
	movl	%r8d, %edi
	shrl	$2, %edi
	andl	$1, %edi
	orl	%r11d, %edi
	leal	(%rdi,%r10,2), %edi
	orl	%ebx, %edi
	movq	8(%r9), %rbx
	movq	(%rbx,%rdi,8), %r9
	testq	%r9, %r9
	je	LBB0_9
## %bb.3:
	movl	%esi, %r10d
	andl	$8, %r10d
	movl	%edx, %r11d
	shrl	%r11d
	andl	$4, %r11d
	movl	%ecx, %ebx
	shrl	$2, %ebx
	andl	$2, %ebx
	movl	%r8d, %edi
	shrl	$3, %edi
	andl	$1, %edi
	orl	%r11d, %edi
	orl	%r10d, %edi
	orl	%ebx, %edi
	movq	8(%r9), %rbx
	movq	(%rbx,%rdi,8), %r9
	testq	%r9, %r9
	je	LBB0_9
## %bb.4:
	movl	%esi, %r10d
	shrl	%r10d
	andl	$8, %r10d
	movl	%edx, %r11d
	shrl	$2, %r11d
	andl	$4, %r11d
	movl	%ecx, %ebx
	shrl	$3, %ebx
	andl	$2, %ebx
	movl	%r8d, %edi
	shrl	$4, %edi
	andl	$1, %edi
	orl	%r11d, %edi
	orl	%r10d, %edi
	orl	%ebx, %edi
	movq	8(%r9), %rbx
	movq	(%rbx,%rdi,8), %r9
	testq	%r9, %r9
	je	LBB0_9
## %bb.5:
	movl	%esi, %r10d
	shrl	$2, %r10d
	andl	$8, %r10d
	movl	%edx, %r11d
	shrl	$3, %r11d
	andl	$4, %r11d
	movl	%ecx, %ebx
	shrl	$4, %ebx
	andl	$2, %ebx
	movl	%r8d, %edi
	shrl	$5, %edi
	andl	$1, %edi
	orl	%r11d, %edi
	orl	%r10d, %edi
	orl	%ebx, %edi
	movq	8(%r9), %rbx
	movq	(%rbx,%rdi,8), %r9
	testq	%r9, %r9
	je	LBB0_9
## %bb.6:
	movl	%esi, %r10d
	shrl	$3, %r10d
	andl	$8, %r10d
	movl	%edx, %r11d
	shrl	$4, %r11d
	andl	$4, %r11d
	movl	%ecx, %ebx
	shrl	$5, %ebx
	andl	$2, %ebx
	movl	%r8d, %edi
	shrl	$6, %edi
	andl	$1, %edi
	orl	%r11d, %edi
	orl	%r10d, %edi
	orl	%ebx, %edi
	movq	8(%r9), %rbx
	movq	(%rbx,%rdi,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.7:
	shrl	$7, %esi
	shrl	$7, %edx
	shrl	$7, %ecx
	shrl	$7, %r8d
	leal	(%r8,%rdx,4), %edx
	leal	(%rdx,%rsi,8), %edx
	leal	(%rdx,%rcx,2), %ecx
	movq	8(%rdi), %rdx
	movq	(%rdx,%rcx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.8:
	movl	(%rcx), %eax
LBB0_9:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_color_tree_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function color_tree_get
_color_tree_get:                        ; @color_tree_get
	.cfi_startproc
; %bb.0:
	and	w8, w4, #0x1
	bfi	w8, w2, #2, #1
	bfi	w8, w1, #3, #1
	bfi	w8, w3, #1, #1
	ldr	x9, [x0, #8]
	ldr	x9, [x9, w8, uxtw #3]
	cbz	x9, LBB0_9
; %bb.1:
	lsr	w8, w1, #1
	lsl	w10, w2, #1
	and	w10, w10, #0x4
	and	w11, w3, #0x2
	bfxil	w10, w4, #1, #1
	bfi	w10, w8, #3, #1
	orr	w10, w10, w11
	ldr	x9, [x9, #8]
	ldr	x10, [x9, w10, uxtw #3]
	cbz	x10, LBB0_9
; %bb.2:
	lsr	w9, w1, #2
	and	w11, w2, #0x4
	lsr	w12, w3, #1
	and	w12, w12, #0x2
	bfxil	w11, w4, #2, #1
	bfi	w11, w9, #3, #1
	orr	w11, w11, w12
	ldr	x10, [x10, #8]
	ldr	x10, [x10, w11, uxtw #3]
	cbz	x10, LBB0_9
; %bb.3:
	and	w11, w1, #0x8
	lsr	w12, w2, #1
	and	w12, w12, #0x4
	lsr	w13, w3, #2
	and	w13, w13, #0x2
	bfxil	w12, w4, #3, #1
	orr	w11, w12, w11
	orr	w11, w11, w13
	ldr	x10, [x10, #8]
	ldr	x10, [x10, w11, uxtw #3]
	cbz	x10, LBB0_9
; %bb.4:
	and	w8, w8, #0x8
	lsr	w11, w2, #2
	and	w11, w11, #0x4
	lsr	w12, w3, #3
	and	w12, w12, #0x2
	bfxil	w11, w4, #4, #1
	orr	w8, w11, w8
	orr	w8, w8, w12
	ldr	x10, [x10, #8]
	ldr	x8, [x10, w8, uxtw #3]
	cbz	x8, LBB0_9
; %bb.5:
	and	w9, w9, #0x8
	lsr	w10, w2, #3
	and	w10, w10, #0x4
	lsr	w11, w3, #4
	and	w11, w11, #0x2
	bfxil	w10, w4, #5, #1
	orr	w9, w10, w9
	orr	w9, w9, w11
	ldr	x8, [x8, #8]
	ldr	x8, [x8, w9, uxtw #3]
	cbz	x8, LBB0_9
; %bb.6:
	lsr	w9, w1, #3
	and	w9, w9, #0x8
	lsr	w10, w2, #4
	and	w10, w10, #0x4
	lsr	w11, w3, #5
	and	w11, w11, #0x2
	bfxil	w10, w4, #6, #1
	orr	w9, w10, w9
	orr	w9, w9, w11
	ldr	x8, [x8, #8]
	ldr	x8, [x8, w9, uxtw #3]
	cbz	x8, LBB0_9
; %bb.7:
	lsr	w9, w1, #4
	and	w9, w9, #0x8
	lsr	w10, w2, #5
	and	w10, w10, #0x4
	lsr	w11, w3, #6
	and	w11, w11, #0x2
	orr	w10, w10, w4, lsr #7
	orr	w9, w10, w9
	orr	w9, w9, w11
	ldr	x8, [x8, #8]
	ldr	x8, [x8, w9, uxtw #3]
	cbz	x8, LBB0_9
; %bb.8:
	ldr	w0, [x8]
	ret
LBB0_9:
	mov	w0, #-1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_color_tree_get
.subsections_via_symbols
