	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_read_color_span             ## -- Begin function gl_read_color_span
	.p2align	4, 0x90
_gl_read_color_span:                    ## @gl_read_color_span
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, %rbx
	movq	%rsi, %r14
	movq	24(%rbp), %r15
	movq	16(%rbp), %r13
	testq	%rcx, %rcx
	js	LBB0_3
## %bb.1:
	movq	16(%rdi), %r8
	cmpq	%rcx, (%r8)
	jle	LBB0_3
## %bb.2:
	movq	8(%r8), %rsi
	cmpq	%rdx, %rsi
	jle	LBB0_3
## %bb.24:
	testq	%rdx, %rdx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	js	LBB0_29
## %bb.25:
	leaq	(%rdx,%r14), %rax
	cmpq	%rsi, %rax
	ja	LBB0_29
## %bb.26:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%rbx, %r8
	movq	%rdx, %rbx
	movq	%r12, %r9
	pushq	%r15
	pushq	%r13
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	callq	*8(%rax)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	addq	$16, %rsp
	movq	_ALPHABUF_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_23
## %bb.27:
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_28
LBB0_3:
	testq	%r14, %r14
	je	LBB0_23
## %bb.4:
	cmpq	$4, %r14
	jae	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	jmp	LBB0_19
LBB0_6:
	movq	%r13, %rcx
	subq	%r15, %rcx
	xorl	%eax, %eax
	cmpq	$32, %rcx
	jb	LBB0_19
## %bb.7:
	movq	%r12, %rcx
	subq	%r15, %rcx
	cmpq	$32, %rcx
	jb	LBB0_19
## %bb.8:
	movq	%rbx, %rcx
	subq	%r15, %rcx
	cmpq	$32, %rcx
	jb	LBB0_19
## %bb.9:
	movq	%r12, %rcx
	subq	%r13, %rcx
	cmpq	$32, %rcx
	jb	LBB0_19
## %bb.10:
	movq	%rbx, %rcx
	subq	%r13, %rcx
	cmpq	$32, %rcx
	jb	LBB0_19
## %bb.11:
	movq	%rbx, %rcx
	subq	%r12, %rcx
	cmpq	$32, %rcx
	jb	LBB0_19
## %bb.12:
	movq	%r14, %rax
	andq	$-4, %rax
	leaq	-4(%rax), %rcx
	movq	%rcx, %rdx
	shrq	$2, %rdx
	incq	%rdx
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.14:
	movq	%rdx, %rsi
	andq	$-2, %rsi
	xorl	%ecx, %ecx
	xorps	%xmm0, %xmm0
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movups	%xmm0, (%r15,%rcx,8)
	movups	%xmm0, 16(%r15,%rcx,8)
	movups	%xmm0, (%r13,%rcx,8)
	movups	%xmm0, 16(%r13,%rcx,8)
	movups	%xmm0, (%r12,%rcx,8)
	movups	%xmm0, 16(%r12,%rcx,8)
	movups	%xmm0, (%rbx,%rcx,8)
	movups	%xmm0, 16(%rbx,%rcx,8)
	movups	%xmm0, 32(%r15,%rcx,8)
	movups	%xmm0, 48(%r15,%rcx,8)
	movups	%xmm0, 32(%r13,%rcx,8)
	movups	%xmm0, 48(%r13,%rcx,8)
	movups	%xmm0, 32(%r12,%rcx,8)
	movups	%xmm0, 48(%r12,%rcx,8)
	movups	%xmm0, 32(%rbx,%rcx,8)
	movups	%xmm0, 48(%rbx,%rcx,8)
	addq	$8, %rcx
	addq	$-2, %rsi
	jne	LBB0_15
## %bb.16:
	testb	$1, %dl
	je	LBB0_18
LBB0_17:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r15,%rcx,8)
	movups	%xmm0, 16(%r15,%rcx,8)
	movups	%xmm0, (%r13,%rcx,8)
	movups	%xmm0, 16(%r13,%rcx,8)
	movups	%xmm0, (%r12,%rcx,8)
	movups	%xmm0, 16(%r12,%rcx,8)
	movups	%xmm0, (%rbx,%rcx,8)
	movups	%xmm0, 16(%rbx,%rcx,8)
LBB0_18:
	cmpq	%r14, %rax
	je	LBB0_23
LBB0_19:
	movq	%rax, %rcx
	notq	%rcx
	testb	$1, %r14b
	je	LBB0_21
## %bb.20:
	movq	$0, (%r15,%rax,8)
	movq	$0, (%r13,%rax,8)
	movq	$0, (%r12,%rax,8)
	movq	$0, (%rbx,%rax,8)
	orq	$1, %rax
LBB0_21:
	addq	%r14, %rcx
	je	LBB0_23
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	$0, (%r15,%rax,8)
	movq	$0, (%r13,%rax,8)
	movq	$0, (%r12,%rax,8)
	movq	$0, (%rbx,%rax,8)
	movq	$0, 8(%r15,%rax,8)
	movq	$0, 8(%r13,%rax,8)
	movq	$0, 8(%r12,%rax,8)
	movq	$0, 8(%rbx,%rax,8)
	addq	$2, %rax
	cmpq	%rax, %r14
	jne	LBB0_22
LBB0_23:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_29:
	testq	%rdx, %rdx
	js	LBB0_31
LBB0_30:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_53
LBB0_13:
	xorl	%ecx, %ecx
	testb	$1, %dl
	jne	LBB0_17
	jmp	LBB0_18
LBB0_31:
	testq	%r14, %r14
	je	LBB0_32
## %bb.33:
	movq	%r14, %rax
	negq	%rax
	cmpq	%rax, %rdx
	cmovaq	%rdx, %rax
	negq	%rax
	cmpq	$-1, %rdx
	movl	$1, %ecx
	cmovneq	%rax, %rcx
	cmpq	$4, %rcx
	jae	LBB0_35
## %bb.34:
	xorl	%esi, %esi
LBB0_48:
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	leaq	(%r15,%rsi,8), %r9
	leaq	(,%rsi,8), %r10
	addq	%r13, %r10
	leaq	(%r12,%rsi,8), %r11
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%rsi,8), %rdi
	leaq	-1(%r14), %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_49:                                ## =>This Inner Loop Header: Depth=1
	leaq	(%rdx,%rcx), %rsi
	movq	$0, (%r9,%rcx,8)
	movq	$0, (%r10,%rcx,8)
	movq	$0, (%r11,%rcx,8)
	movq	$0, (%rdi,%rcx,8)
	leaq	1(%rcx), %r8
	cmpq	$-1, %rsi
	je	LBB0_51
## %bb.50:                              ##   in Loop: Header=BB0_49 Depth=1
	cmpq	%rcx, %rax
	movq	%r8, %rcx
	jne	LBB0_49
LBB0_51:
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	addq	%r8, %rsi
	subq	%r8, %r14
	addq	%r8, %rdx
	movq	-72(%rbp), %r8                  ## 8-byte Reload
LBB0_52:
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r8), %rsi
LBB0_53:
	subq	%rdx, %rsi
	movq	%r14, %rdi
	movq	%rdx, %r14
	callq	_MIN2
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rbx,%rcx,8), %r8
	leaq	(%r12,%rcx,8), %r9
	leaq	(,%rcx,8), %r10
	addq	%r13, %r10
	movq	%r14, %r13
	movq	%rax, %r14
	leaq	(%r15,%rcx,8), %r15
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	%r13, %rdx
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rcx
	pushq	%r15
	pushq	%r10
	callq	*8(%rbx)
	addq	$16, %rsp
	movq	_ALPHABUF_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_23
## %bb.54:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
LBB0_28:
	movq	%r15, %r8
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gl_read_alpha_span             ## TAILCALL
LBB0_32:
	xorl	%r14d, %r14d
	jmp	LBB0_30
LBB0_35:
	movq	%r13, %rax
	subq	%r15, %rax
	xorl	%esi, %esi
	cmpq	$32, %rax
	jb	LBB0_48
## %bb.36:
	movq	%r12, %rax
	subq	%r15, %rax
	cmpq	$32, %rax
	jb	LBB0_48
## %bb.37:
	movq	%rbx, %rax
	subq	%r15, %rax
	cmpq	$32, %rax
	jb	LBB0_48
## %bb.38:
	movq	%r12, %rax
	subq	%r13, %rax
	cmpq	$32, %rax
	jb	LBB0_48
## %bb.39:
	movq	%rbx, %rax
	subq	%r13, %rax
	cmpq	$32, %rax
	jb	LBB0_48
## %bb.40:
	movq	%rbx, %rax
	subq	%r12, %rax
	cmpq	$32, %rax
	jb	LBB0_48
## %bb.41:
	movq	%rcx, %rax
	andq	$-4, %rax
	movq	%rax, %r9
	addq	$-4, %rax
	movq	%rax, %rsi
	shrq	$2, %rsi
	incq	%rsi
	testq	%rax, %rax
	je	LBB0_42
## %bb.43:
	movq	%rsi, %rdi
	andq	$-2, %rdi
	xorl	%eax, %eax
	xorps	%xmm0, %xmm0
LBB0_44:                                ## =>This Inner Loop Header: Depth=1
	movups	%xmm0, (%r15,%rax,8)
	movups	%xmm0, 16(%r15,%rax,8)
	movups	%xmm0, (%r13,%rax,8)
	movups	%xmm0, 16(%r13,%rax,8)
	movups	%xmm0, (%r12,%rax,8)
	movups	%xmm0, 16(%r12,%rax,8)
	movups	%xmm0, (%rbx,%rax,8)
	movups	%xmm0, 16(%rbx,%rax,8)
	movups	%xmm0, 32(%r15,%rax,8)
	movups	%xmm0, 48(%r15,%rax,8)
	movups	%xmm0, 32(%r13,%rax,8)
	movups	%xmm0, 48(%r13,%rax,8)
	movups	%xmm0, 32(%r12,%rax,8)
	movups	%xmm0, 48(%r12,%rax,8)
	movups	%xmm0, 32(%rbx,%rax,8)
	movups	%xmm0, 48(%rbx,%rax,8)
	addq	$8, %rax
	addq	$-2, %rdi
	jne	LBB0_44
	jmp	LBB0_45
LBB0_42:
	xorl	%eax, %eax
LBB0_45:
	testb	$1, %sil
	je	LBB0_47
## %bb.46:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r15,%rax,8)
	movups	%xmm0, 16(%r15,%rax,8)
	movups	%xmm0, (%r13,%rax,8)
	movups	%xmm0, 16(%r13,%rax,8)
	movups	%xmm0, (%r12,%rax,8)
	movups	%xmm0, 16(%r12,%rax,8)
	movups	%xmm0, (%rbx,%rax,8)
	movups	%xmm0, 16(%rbx,%rax,8)
LBB0_47:
	movq	%r9, %rsi
	subq	%r9, %r14
	addq	%r9, %rdx
	cmpq	%r9, %rcx
	jne	LBB0_48
	jmp	LBB0_52
	.cfi_endproc
                                        ## -- End function
	.comm	_ALPHABUF_BIT,4,2               ## @ALPHABUF_BIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_read_color_span             ; -- Begin function gl_read_color_span
	.p2align	2
_gl_read_color_span:                    ; @gl_read_color_span
	.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, x7
	mov	x20, x6
	mov	x21, x5
	mov	x22, x4
	mov	x23, x1
	tbnz	x3, #63, LBB0_6
; %bb.1:
	mov	x24, x3
	mov	x26, x0
	ldr	x8, [x0, #16]
	ldr	x9, [x8]
	cmp	x9, x3
	b.le	LBB0_6
; %bb.2:
	mov	x25, x2
	ldr	x9, [x8, #8]
	cmp	x9, x2
	b.le	LBB0_6
; %bb.3:
	tbnz	x25, #63, LBB0_21
; %bb.4:
	add	x10, x25, x23
	cmp	x10, x9
	b.hi	LBB0_21
; %bb.5:
	ldr	x8, [x26, #8]
	mov	x0, x26
	mov	x1, x23
	mov	x2, x25
	mov	x3, x24
	mov	x4, x22
	mov	x5, x21
	mov	x6, x20
	mov	x7, x19
	blr	x8
	b	LBB0_41
LBB0_6:
	cbz	x23, LBB0_11
; %bb.7:
	cmp	x23, #8
	b.hs	LBB0_12
; %bb.8:
	mov	x8, #0
LBB0_9:
	sub	x9, x23, x8
	lsl	x12, x8, #3
	add	x8, x22, x12
	add	x10, x21, x12
	add	x11, x20, x12
	add	x12, x19, x12
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	str	xzr, [x12], #8
	str	xzr, [x11], #8
	str	xzr, [x10], #8
	str	xzr, [x8], #8
	subs	x9, x9, #1
	b.ne	LBB0_10
LBB0_11:
	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
LBB0_12:
	mov	x8, #0
	sub	x9, x20, x19
	cmp	x9, #64
	b.lo	LBB0_9
; %bb.13:
	sub	x9, x21, x19
	cmp	x9, #64
	b.lo	LBB0_9
; %bb.14:
	sub	x9, x22, x19
	cmp	x9, #64
	b.lo	LBB0_9
; %bb.15:
	sub	x9, x21, x20
	cmp	x9, #64
	b.lo	LBB0_9
; %bb.16:
	sub	x9, x22, x20
	cmp	x9, #64
	b.lo	LBB0_9
; %bb.17:
	sub	x9, x22, x21
	cmp	x9, #64
	b.lo	LBB0_9
; %bb.18:
	and	x8, x23, #0xfffffffffffffff8
	add	x9, x19, #32
	add	x10, x22, #32
	add	x11, x21, #32
	add	x12, x20, #32
	movi.2d	v0, #0000000000000000
	mov	x13, x8
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x9, #-32]
	stp	q0, q0, [x9], #64
	stp	q0, q0, [x12, #-32]
	stp	q0, q0, [x12], #64
	stp	q0, q0, [x11, #-32]
	stp	q0, q0, [x11], #64
	stp	q0, q0, [x10, #-32]
	stp	q0, q0, [x10], #64
	subs	x13, x13, #8
	b.ne	LBB0_19
; %bb.20:
	cmp	x8, x23
	b.ne	LBB0_9
	b	LBB0_11
LBB0_21:
	tbnz	x25, #63, LBB0_23
LBB0_22:
	mov	x27, #0
	b	LBB0_40
LBB0_23:
	cbz	x23, LBB0_22
; %bb.24:
	neg	x9, x23
	cmp	x25, x9
	csneg	x9, x23, x25, ls
	cmn	x25, #1
	csinc	x9, x9, xzr, ne
	cmp	x9, #8
	b.hs	LBB0_26
; %bb.25:
	mov	x27, #0
	b	LBB0_35
LBB0_26:
	mov	x27, #0
	sub	x10, x20, x19
	cmp	x10, #64
	b.lo	LBB0_35
; %bb.27:
	sub	x10, x21, x19
	cmp	x10, #64
	b.lo	LBB0_35
; %bb.28:
	sub	x10, x22, x19
	cmp	x10, #64
	b.lo	LBB0_35
; %bb.29:
	sub	x10, x21, x20
	cmp	x10, #64
	b.lo	LBB0_35
; %bb.30:
	sub	x10, x22, x20
	cmp	x10, #64
	b.lo	LBB0_35
; %bb.31:
	sub	x10, x22, x21
	cmp	x10, #64
	b.lo	LBB0_35
; %bb.32:
	and	x27, x9, #0xfffffffffffffff8
	sub	x23, x23, x27
	add	x25, x27, x25
	add	x10, x19, #32
	add	x11, x22, #32
	add	x12, x21, #32
	add	x13, x20, #32
	movi.2d	v0, #0000000000000000
	mov	x14, x27
LBB0_33:                                ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x10, #-32]
	stp	q0, q0, [x10], #64
	stp	q0, q0, [x13, #-32]
	stp	q0, q0, [x13], #64
	stp	q0, q0, [x12, #-32]
	stp	q0, q0, [x12], #64
	stp	q0, q0, [x11, #-32]
	stp	q0, q0, [x11], #64
	subs	x14, x14, #8
	b.ne	LBB0_33
; %bb.34:
	cmp	x9, x27
	b.eq	LBB0_39
LBB0_35:
	mov	x9, #0
	lsl	x13, x27, #3
	add	x10, x19, x13
	add	x11, x20, x13
	add	x12, x21, x13
	add	x13, x22, x13
	sub	x14, x23, #1
LBB0_36:                                ; =>This Inner Loop Header: Depth=1
	lsl	x16, x9, #3
	add	x17, x25, x9
	str	xzr, [x10, x16]
	str	xzr, [x11, x16]
	str	xzr, [x12, x16]
	add	x15, x9, #1
	str	xzr, [x13, x16]
	cmn	x17, #1
	b.eq	LBB0_38
; %bb.37:                               ;   in Loop: Header=BB0_36 Depth=1
	cmp	x14, x9
	mov	x9, x15
	b.ne	LBB0_36
LBB0_38:
	add	x27, x27, x15
	sub	x23, x23, x15
	add	x25, x25, x15
LBB0_39:
	ldr	x9, [x8, #8]
LBB0_40:
	sub	x1, x9, x25
	mov	x0, x23
	bl	_MIN2
	mov	x23, x0
	lsl	x8, x27, #3
	ldr	x9, [x26, #8]
	add	x4, x22, x8
	add	x5, x21, x8
	add	x6, x20, x8
	add	x19, x19, x8
	mov	x0, x26
	mov	x1, x23
	mov	x2, x25
	mov	x3, x24
	mov	x7, x19
	blr	x9
LBB0_41:
	ldr	w8, [x26]
Lloh0:
	adrp	x9, _ALPHABUF_BIT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ALPHABUF_BIT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.42:
	mov	x0, x26
	mov	x1, x23
	mov	x2, x25
	mov	x3, x24
	mov	x4, x19
	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
	b	_gl_read_alpha_span
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ALPHABUF_BIT,4,2               ; @ALPHABUF_BIT
.subsections_via_symbols
