	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_graph_color
_get_graph_color:                       ## @get_graph_color
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %r8d
	movl	4(%rdi), %r9d
	movq	16(%rdi), %rcx
	movslq	%edx, %rax
	movl	$4, %r10d
	cmpq	$0, (%rcx,%rax,8)
	jne	LBB0_2
## %bb.1:
	xorl	%r10d, %r10d
	cmpl	%edx, 8(%rdi)
	sete	%r10b
	shlq	$2, %r10
LBB0_2:
	xorl	%eax, %eax
	cmpl	%esi, %edx
	setge	%al
	xorl	%ecx, %ecx
	cmpl	%edx, %r9d
	setg	%cl
	xorl	%esi, %esi
	cmpl	%edx, %r8d
	setl	%sil
	leaq	(%rsi,%rax,2), %rax
	leaq	(%rax,%rcx,8), %rax
	orq	%r10, %rax
	movq	_graph_colors@GOTPCREL(%rip), %rcx
	leaq	(%rax,%rax,2), %rax
	shlq	$2, %rax
	addq	(%rcx), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_graph_colors,8,3               ## @graph_colors
	.no_dead_strip	_get_graph_color
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_graph_color
_get_graph_color:                       ; @get_graph_color
	.cfi_startproc
; %bb.0:
	ldp	w8, w10, [x0]
	ldr	x9, [x0, #16]
	ldr	x9, [x9, w2, sxtw #3]
	cbz	x9, LBB0_2
; %bb.1:
	mov	w9, #4
	b	LBB0_3
LBB0_2:
	ldr	w9, [x0, #8]
	cmp	w9, w2
	cset	w9, eq
	lsl	x9, x9, #2
LBB0_3:
	cmp	w2, w1
	cset	w11, ge
	cmp	w10, w2
	cset	w10, gt
	cmp	w8, w2
	cset	w8, lt
	bfi	x8, x11, #1, #1
	bfi	x8, x10, #3, #1
	orr	x8, x8, x9
Lloh0:
	adrp	x9, _graph_colors@GOTPAGE
Lloh1:
	ldr	x9, [x9, _graph_colors@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	mov	w10, #12
	madd	x0, x8, x10, x9
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_graph_colors,8,3               ; @graph_colors
	.no_dead_strip	_get_graph_color
.subsections_via_symbols
