	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_color                      ## -- Begin function get_color
	.p2align	4, 0x90
_get_color:                             ## @get_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	testl	%edi, %edi
	setns	%al
	movq	_FN@GOTPCREL(%rip), %rcx
	cmpl	%edi, (%rcx)
	movq	%rsi, %r14
	setg	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movq	_std_t@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rdi
	cmpq	$0, (%rax,%rdi,8)
	je	LBB0_3
## %bb.1:
	movq	_color_ll@GOTPCREL(%rip), %rax
	shlq	$2, %rdi
	addq	(%rax), %rdi
	movq	%r14, %rsi
	callq	_map_ll_int_get
	testq	%rax, %rax
	je	LBB0_2
LBB0_4:
	movl	(%rax), %eax
	jmp	LBB0_5
LBB0_3:
	movq	_color_int@GOTPCREL(%rip), %rax
	shlq	$2, %rdi
	addq	(%rax), %rdi
	movq	%r14, %rsi
	callq	_map_int_int_get
	testq	%rax, %rax
	jne	LBB0_4
LBB0_2:
	xorl	%eax, %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FN,4,2                         ## @FN
	.comm	_std_t,8,3                      ## @std_t
	.comm	_color_ll,8,3                   ## @color_ll
	.comm	_color_int,8,3                  ## @color_int
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_color                      ; -- Begin function get_color
	.p2align	2
_get_color:                             ; @get_color
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	cmp	w0, #0
Lloh0:
	adrp	x8, _FN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ccmp	w8, w0, #4, ge
	cset	w0, gt
	bl	_assert
Lloh3:
	adrp	x8, _std_t@GOTPAGE
Lloh4:
	ldr	x8, [x8, _std_t@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x8]
	sxtw	x8, w20
	ldr	x9, [x9, w20, sxtw #3]
	cbz	x9, LBB0_4
; %bb.1:
Lloh6:
	adrp	x9, _color_ll@GOTPAGE
Lloh7:
	ldr	x9, [x9, _color_ll@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x0, x9, x8, lsl #2
	mov	x1, x19
	bl	_map_ll_int_get
	cbz	x0, LBB0_3
LBB0_2:
	ldr	w0, [x0]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh9:
	adrp	x9, _color_int@GOTPAGE
Lloh10:
	ldr	x9, [x9, _color_int@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x0, x9, x8, lsl #2
	mov	x1, x19
	bl	_map_int_int_get
	cbnz	x0, LBB0_2
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_FN,4,2                         ; @FN
	.comm	_std_t,8,3                      ; @std_t
	.comm	_color_ll,8,3                   ; @color_ll
	.comm	_color_int,8,3                  ; @color_int
.subsections_via_symbols
