	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_colors                     ## -- Begin function set_colors
	.p2align	4, 0x90
_set_colors:                            ## @set_colors
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	_reprogram_VIDEL@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.6:
	testl	%r14d, %r14d
	jne	LBB0_7
## %bb.8:
	movq	_f030coltable_backup@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_1:
	xorl	%ebx, %ebx
	movq	_gl_vdi_handle@GOTPCREL(%rip), %r15
	movq	_coltable@GOTPCREL(%rip), %r12
	movq	_coltable_backup@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15), %edi
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %edx
	movl	%ebx, %esi
	callq	_vs_color
	incq	%rbx
	cmpq	$256, %rbx                      ## imm = 0x100
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rax
	testl	%r14d, %r14d
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rax
	jmp	LBB0_4
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_f030coltable@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	movq	_f030_coltable_ptr@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_set_colors_on_f030@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Supexec                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_reprogram_VIDEL,8,3            ## @reprogram_VIDEL
	.comm	_f030coltable,4,2               ## @f030coltable
	.comm	_f030_coltable_ptr,4,2          ## @f030_coltable_ptr
	.comm	_f030coltable_backup,4,2        ## @f030coltable_backup
	.comm	_set_colors_on_f030,4,2         ## @set_colors_on_f030
	.comm	_gl_vdi_handle,4,2              ## @gl_vdi_handle
	.comm	_coltable,8,3                   ## @coltable
	.comm	_coltable_backup,8,3            ## @coltable_backup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_colors                     ; -- Begin function set_colors
	.p2align	2
_set_colors:                            ; @set_colors
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _reprogram_VIDEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _reprogram_VIDEL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _f030coltable_backup@GOTPAGE
Lloh4:
	ldr	x8, [x8, _f030coltable_backup@GOTPAGEOFF]
Lloh5:
	adrp	x9, _f030coltable@GOTPAGE
Lloh6:
	ldr	x9, [x9, _f030coltable@GOTPAGEOFF]
	cmp	w19, #0
	csel	x8, x8, x9, eq
Lloh7:
	adrp	x9, _f030_coltable_ptr@GOTPAGE
Lloh8:
	ldr	x9, [x9, _f030_coltable_ptr@GOTPAGEOFF]
	ldr	w8, [x8]
Lloh9:
	str	w8, [x9]
Lloh10:
	adrp	x8, _set_colors_on_f030@GOTPAGE
Lloh11:
	ldr	x8, [x8, _set_colors_on_f030@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_Supexec
LBB0_2:
	mov	x20, #0
Lloh13:
	adrp	x21, _gl_vdi_handle@GOTPAGE
Lloh14:
	ldr	x21, [x21, _gl_vdi_handle@GOTPAGEOFF]
Lloh15:
	adrp	x22, _coltable@GOTPAGE
Lloh16:
	ldr	x22, [x22, _coltable@GOTPAGEOFF]
Lloh17:
	adrp	x23, _coltable_backup@GOTPAGE
Lloh18:
	ldr	x23, [x23, _coltable_backup@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	cmp	w19, #0
	csel	x8, x23, x22, eq
	ldr	x8, [x8]
	ldr	w2, [x8, x20, lsl #2]
	mov	x1, x20
	bl	_vs_color
	add	x20, x20, #1
	cmp	x20, #256
	b.ne	LBB0_3
; %bb.4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_reprogram_VIDEL,8,3            ; @reprogram_VIDEL
	.comm	_f030coltable,4,2               ; @f030coltable
	.comm	_f030_coltable_ptr,4,2          ; @f030_coltable_ptr
	.comm	_f030coltable_backup,4,2        ; @f030coltable_backup
	.comm	_set_colors_on_f030,4,2         ; @set_colors_on_f030
	.comm	_gl_vdi_handle,4,2              ; @gl_vdi_handle
	.comm	_coltable,8,3                   ; @coltable
	.comm	_coltable_backup,8,3            ; @coltable_backup
.subsections_via_symbols
