	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function okcolors
_okcolors:                              ## @okcolors
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_CDEND
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %r13
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	cmpq	%rax, %r13
	jae	LBB0_17
## %bb.1:
	xorl	%r12d, %r12d
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_freecolor
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$32, %r13
	incq	%r12
	cmpq	-64(%rbp), %r13                 ## 8-byte Folded Reload
	jae	LBB0_17
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
	movq	(%r13), %r15
	movq	%r13, %rdi
	callq	_UNUSEDCOLOR
	testq	%rax, %rax
	jne	LBB0_16
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_NOSUB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %r15
	je	LBB0_16
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r12, %r15
	je	LBB0_16
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 8(%r13)
	jne	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 16(%r13)
	je	LBB0_7
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, (%r13)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r14
	movq	%r15, %rbx
	shlq	$5, %rbx
	movb	$1, %al
	cmpq	$0, 8(%r14,%rbx)
	jg	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 16(%r14,%rbx)
	setg	%al
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movzbl	%al, %edi
	callq	_assert
	xorl	%edi, %edi
	cmpq	%r15, (%r14,%rbx)
	sete	%dil
	callq	_assert
	movq	_NOSUB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14,%rbx)
	movq	24(%r13), %rbx
	testq	%rbx, %rbx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorl	%edi, %edi
	cmpq	%r12, (%rbx)
	sete	%dil
	callq	_assert
	movl	16(%rbx), %esi
	movl	8(%rbx), %r8d
	movl	12(%rbx), %ecx
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_newarc
	movq	24(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_15
	jmp	LBB0_16
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, (%r13)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r14
	movq	%r15, %rbx
	shlq	$5, %rbx
	movb	$1, %al
	cmpq	$0, 8(%r14,%rbx)
	jg	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 16(%r14,%rbx)
	setg	%al
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movzbl	%al, %edi
	callq	_assert
	xorl	%edi, %edi
	cmpq	%r15, (%r14,%rbx)
	sete	%dil
	callq	_assert
	movq	_NOSUB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14,%rbx)
	movq	24(%r13), %r14
	testq	%r14, %r14
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorl	%edi, %edi
	cmpq	%r12, (%r14)
	sete	%dil
	callq	_assert
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_uncolorchain
	movq	%r15, (%r14)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_colorchain
	movq	24(%r13), %r14
	testq	%r14, %r14
	jne	LBB0_10
	jmp	LBB0_11
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NOSUB,8,3                      ## @NOSUB
	.no_dead_strip	_okcolors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function okcolors
_okcolors:                              ; @okcolors
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_CDEND
	ldr	x22, [x19]
	cmp	x22, x0
	b.hs	LBB0_18
; %bb.1:
	mov	x21, x0
	mov	x23, #0
Lloh0:
	adrp	x26, _NOSUB@GOTPAGE
Lloh1:
	ldr	x26, [x26, _NOSUB@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	_freecolor
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, #32
	add	x23, x23, #1
	cmp	x22, x21
	b.hs	LBB0_18
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
                                        ;     Child Loop BB0_17 Depth 2
	ldr	x24, [x22]
	mov	x0, x22
	bl	_UNUSEDCOLOR
	cbnz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x26]
	cmp	x24, x8
	ccmp	x24, x23, #4, ne
	b.eq	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x22, #8]
	lsl	x25, x24, #5
	cbnz	x9, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x22, #16]
	cbz	x9, LBB0_13
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	x8, [x22]
	ldr	x27, [x19]
	add	x8, x27, x24, lsl #5
	ldr	x9, [x8, #8]
	cmp	x9, #0
	b.le	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #1
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x8, #16]
	cmp	x8, #0
	cset	w0, gt
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_assert
	ldr	x8, [x27, x25]
	cmp	x8, x24
	cset	w0, eq
	bl	_assert
	ldr	x8, [x26]
	str	x8, [x27, x25]
	ldr	x25, [x22, #24]
	cbz	x25, LBB0_3
LBB0_12:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x25]
	cmp	x8, x23
	cset	w0, eq
	bl	_assert
	ldp	w3, w1, [x25, #12]
	ldr	w4, [x25, #8]
	mov	x0, x20
	mov	x2, x24
	bl	_newarc
	ldr	x25, [x25, #24]
	cbnz	x25, LBB0_12
	b	LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	str	x8, [x22]
	ldr	x27, [x19]
	add	x8, x27, x24, lsl #5
	ldr	x9, [x8, #8]
	cmp	x9, #0
	b.le	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #1
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x8, #16]
	cmp	x8, #0
	cset	w0, gt
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_assert
	ldr	x8, [x27, x25]
	cmp	x8, x24
	cset	w0, eq
	bl	_assert
	ldr	x8, [x26]
	str	x8, [x27, x25]
	ldr	x25, [x22, #24]
	cbz	x25, LBB0_2
LBB0_17:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x25]
	cmp	x8, x23
	cset	w0, eq
	bl	_assert
	mov	x0, x19
	mov	x1, x25
	bl	_uncolorchain
	str	x24, [x25]
	mov	x0, x19
	mov	x1, x25
	bl	_colorchain
	ldr	x25, [x22, #24]
	cbnz	x25, LBB0_17
	b	LBB0_2
LBB0_18:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NOSUB,8,3                      ; @NOSUB
	.no_dead_strip	_okcolors
.subsections_via_symbols
