	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function subcolorcvec
_subcolorcvec:                          ## @subcolorcvec
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rdi, %r14
	movq	8(%rdi), %r13
	movq	_COLORLESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movl	8(%rsi), %r15d
	testl	%r15d, %r15d
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	jle	LBB0_3
## %bb.1:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rbx
	incl	%r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	movq	%r12, %rdx
	leaq	-48(%rbp), %r8
	callq	_subcoloronechr
	xorl	%eax, %eax
	callq	_NOERR
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	addq	$8, %rbx
	decl	%r15d
	cmpl	$1, %r15d
	ja	LBB0_2
LBB0_3:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	24(%rax), %esi
	testl	%esi, %esi
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	jle	LBB0_18
## %bb.4:
	movq	%r12, %r14
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %r15
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rsi
	movq	%r14, %rcx
	leaq	-48(%rbp), %r9
	callq	_subcoloronerange
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%eax, %eax
	callq	_NOERR
	addq	$16, %r15
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leal	-1(%rcx), %eax
	cmpl	$1, %ecx
	movl	%eax, %esi
	jle	LBB0_18
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movq	(%r15), %rbx
	movq	8(%r15), %rdx
	movq	_MAX_SIMPLE_CHR@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	cmpq	%r12, %rbx
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	jg	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%r12, %rdx
	cmovlq	%rdx, %r12
	cmpq	%r12, %rbx
	jle	LBB0_8
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	cmpq	%rdx, %rbx
	jl	LBB0_14
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	incq	%r12
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=2
	incq	%rbx
	cmpq	%rbx, %r12
	je	LBB0_12
LBB0_9:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_subcolor
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_NOERR
	cmpq	-48(%rbp), %r14
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	_PLAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	callq	_newarc
	xorl	%eax, %eax
	callq	_NOERR
	movq	%r14, -48(%rbp)
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rbx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	cmpq	%rdx, %rbx
	jl	LBB0_14
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rdx, %rsi
	movq	%r14, %rdx
	movq	%r8, %rcx
	leaq	-48(%rbp), %r8
	callq	_subcoloronechr
	jmp	LBB0_17
LBB0_18:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	32(%rbx), %rax
	movq	(%r13), %rcx
	movl	(%rcx,%rax,4), %r15d
	testl	%r15d, %r15d
	jne	LBB0_20
## %bb.19:
	movl	8(%r13), %edx
	movl	%edx, (%rcx,%rax,4)
	movq	%r13, %rdi
	callq	_newhicolorcols
	xorl	%eax, %eax
	callq	_NOERR
	movq	(%r13), %rax
	movq	32(%rbx), %rcx
	movl	(%rax,%rcx,4), %r15d
LBB0_20:
	movl	12(%r13), %ecx
	testl	%ecx, %ecx
	jle	LBB0_30
## %bb.21:
	movq	16(%r13), %rbx
	movl	8(%r13), %eax
	xorl	%edx, %edx
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_22 Depth=1
	movl	12(%r13), %ecx
	movl	-80(%rbp), %edx                 ## 4-byte Reload
LBB0_29:                                ##   in Loop: Header=BB0_22 Depth=1
	incl	%edx
	cmpl	%ecx, %edx
	jge	LBB0_30
LBB0_22:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_24 Depth 2
	testl	%eax, %eax
	jle	LBB0_29
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movl	%edx, -80(%rbp)                 ## 4-byte Spill
	xorl	%r12d, %r12d
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_24 Depth=2
	addq	$8, %rbx
	incl	%r12d
	movl	8(%r13), %eax
	cmpl	%eax, %r12d
	jge	LBB0_28
LBB0_24:                                ##   Parent Loop BB0_22 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testl	%r15d, %r12d
	je	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=2
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_subcolorhi
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_NOERR
	cmpq	-48(%rbp), %r14
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_24 Depth=2
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	_PLAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	callq	_newarc
	xorl	%eax, %eax
	callq	_NOERR
	movq	%r14, -48(%rbp)
	jmp	LBB0_27
LBB0_30:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COLORLESS,8,3                  ## @COLORLESS
	.comm	_MAX_SIMPLE_CHR,8,3             ## @MAX_SIMPLE_CHR
	.comm	_PLAIN,4,2                      ## @PLAIN
	.no_dead_strip	_subcolorcvec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function subcolorcvec
_subcolorcvec:                          ; @subcolorcvec
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x3
	mov	x20, x2
	mov	x25, x1
	mov	x21, x0
	ldr	x22, [x0, #8]
Lloh0:
	adrp	x8, _COLORLESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COLORLESS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	w8, [x1, #8]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	ldr	x23, [x25]
	add	w24, w8, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x23], #8
	add	x4, sp, #24
	mov	x0, x21
	mov	x2, x20
	mov	x3, x19
	bl	_subcoloronechr
	bl	_NOERR
	sub	w24, w24, #1
	cmp	w24, #1
	b.hi	LBB0_2
LBB0_3:
	str	x25, [sp, #8]                   ; 8-byte Folded Spill
	ldr	w28, [x25, #24]
Lloh3:
	adrp	x27, _PLAIN@GOTPAGE
Lloh4:
	ldr	x27, [x27, _PLAIN@GOTPAGEOFF]
	cmp	w28, #1
	b.lt	LBB0_17
; %bb.4:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x23, [x8, #16]
Lloh5:
	adrp	x24, _MAX_SIMPLE_CHR@GOTPAGE
Lloh6:
	ldr	x24, [x24, _MAX_SIMPLE_CHR@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x5, sp, #24
	mov	x0, x21
	mov	x1, x25
	mov	x3, x20
	mov	x4, x19
	bl	_subcoloronerange
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	bl	_NOERR
	add	x23, x23, #16
	subs	w28, w28, #1
	b.le	LBB0_17
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	ldp	x25, x2, [x23]
	ldr	x8, [x24]
	cmp	x25, x8
	b.gt	LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	x2, x8
	csel	x8, x2, x8, lt
	cmp	x25, x8
	b.gt	LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	str	x2, [sp, #16]                   ; 8-byte Folded Spill
	mov	x24, x27
	add	x27, x8, #1
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	add	x25, x25, #1
	cmp	x27, x25
	b.eq	LBB0_13
LBB0_11:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x22
	mov	x1, x25
	bl	_subcolor
	mov	x26, x0
	bl	_NOERR
	ldr	x8, [sp, #24]
	cmp	x26, x8
	b.eq	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	w0, [x21]
	ldr	w1, [x24]
	mov	x2, x26
	mov	x3, x20
	mov	x4, x19
	bl	_newarc
	bl	_NOERR
	str	x26, [sp, #24]
	b	LBB0_10
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x25, x27
	mov	x27, x24
Lloh7:
	adrp	x24, _MAX_SIMPLE_CHR@GOTPAGE
Lloh8:
	ldr	x24, [x24, _MAX_SIMPLE_CHR@GOTPAGEOFF]
	ldr	x2, [sp, #16]                   ; 8-byte Folded Reload
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	x25, x2
	b.lt	LBB0_5
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
	b.ne	LBB0_6
; %bb.16:                               ;   in Loop: Header=BB0_7 Depth=1
	add	x4, sp, #24
	mov	x0, x21
	mov	x1, x2
	mov	x2, x20
	mov	x3, x19
	bl	_subcoloronechr
	b	LBB0_6
LBB0_17:
	ldr	x23, [sp, #8]                   ; 8-byte Folded Reload
	ldr	x8, [x23, #32]
	ldr	x9, [x22]
	ldr	w25, [x9, x8, lsl #2]
	cbnz	w25, LBB0_19
; %bb.18:
	ldr	w10, [x22, #8]
	str	w10, [x9, x8, lsl #2]
	mov	x0, x22
	bl	_newhicolorcols
	bl	_NOERR
	ldr	x8, [x22]
	ldr	x9, [x23, #32]
	ldr	w25, [x8, x9, lsl #2]
LBB0_19:
	ldr	w8, [x22, #12]
	cmp	w8, #1
	b.lt	LBB0_29
; %bb.20:
	mov	w26, #0
	ldr	x23, [x22, #16]
	ldr	w9, [x22, #8]
	b	LBB0_23
LBB0_21:                                ;   in Loop: Header=BB0_23 Depth=1
	ldr	w8, [x22, #12]
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=1
	add	w26, w26, #1
	cmp	w26, w8
	b.ge	LBB0_29
LBB0_23:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_26 Depth 2
	cmp	w9, #1
	b.lt	LBB0_22
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	mov	w28, #0
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=2
	add	x23, x23, #8
	add	w28, w28, #1
	ldr	w9, [x22, #8]
	cmp	w28, w9
	b.ge	LBB0_21
LBB0_26:                                ;   Parent Loop BB0_23 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	tst	w28, w25
	b.eq	LBB0_25
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=2
	mov	x0, x22
	mov	x1, x23
	bl	_subcolorhi
	mov	x24, x0
	bl	_NOERR
	ldr	x8, [sp, #24]
	cmp	x24, x8
	b.eq	LBB0_25
; %bb.28:                               ;   in Loop: Header=BB0_26 Depth=2
	ldr	w0, [x21]
	ldr	w1, [x27]
	mov	x2, x24
	mov	x3, x20
	mov	x4, x19
	bl	_newarc
	bl	_NOERR
	str	x24, [sp, #24]
	b	LBB0_25
LBB0_29:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_COLORLESS,8,3                  ; @COLORLESS
	.comm	_MAX_SIMPLE_CHR,8,3             ; @MAX_SIMPLE_CHR
	.comm	_PLAIN,4,2                      ; @PLAIN
	.no_dead_strip	_subcolorcvec
.subsections_via_symbols
