	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_read_alpha_span             ## -- Begin function gl_read_alpha_span
	.p2align	4, 0x90
_gl_read_alpha_span:                    ## @gl_read_alpha_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%r8, %rbx
	movl	%edx, %edi
	movq	%rsi, %r14
	movl	%ecx, %esi
	callq	_ALPHA_ADDR
	testq	%r14, %r14
	je	LBB0_17
## %bb.1:
	xorl	%ecx, %ecx
	cmpq	$8, %r14
	jb	LBB0_12
## %bb.2:
	movq	%rbx, %rdx
	subq	%rax, %rdx
	cmpq	$32, %rdx
	jb	LBB0_12
## %bb.3:
	movq	%r14, %rcx
	andq	$-8, %rcx
	leaq	-8(%rcx), %rdx
	movq	%rdx, %rsi
	shrq	$3, %rsi
	incq	%rsi
	movl	%esi, %r8d
	andl	$3, %r8d
	cmpq	$24, %rdx
	jae	LBB0_5
## %bb.4:
	xorl	%edi, %edi
	jmp	LBB0_7
LBB0_5:
	andq	$-4, %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%rax,%rdi,4), %xmm0
	movups	16(%rax,%rdi,4), %xmm1
	movups	%xmm0, (%rbx,%rdi,4)
	movups	%xmm1, 16(%rbx,%rdi,4)
	movups	32(%rax,%rdi,4), %xmm0
	movups	48(%rax,%rdi,4), %xmm1
	movups	%xmm0, 32(%rbx,%rdi,4)
	movups	%xmm1, 48(%rbx,%rdi,4)
	movups	64(%rax,%rdi,4), %xmm0
	movups	80(%rax,%rdi,4), %xmm1
	movups	%xmm0, 64(%rbx,%rdi,4)
	movups	%xmm1, 80(%rbx,%rdi,4)
	movups	96(%rax,%rdi,4), %xmm0
	movups	112(%rax,%rdi,4), %xmm1
	movups	%xmm0, 96(%rbx,%rdi,4)
	movups	%xmm1, 112(%rbx,%rdi,4)
	addq	$32, %rdi
	addq	$-4, %rsi
	jne	LBB0_6
LBB0_7:
	testq	%r8, %r8
	je	LBB0_10
## %bb.8:
	leaq	(%rbx,%rdi,4), %rsi
	addq	$16, %rsi
	leaq	(%rax,%rdi,4), %rdi
	addq	$16, %rdi
	shlq	$5, %r8
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movups	-16(%rdi,%rdx), %xmm0
	movups	(%rdi,%rdx), %xmm1
	movups	%xmm0, -16(%rsi,%rdx)
	movups	%xmm1, (%rsi,%rdx)
	addq	$32, %rdx
	cmpq	%rdx, %r8
	jne	LBB0_9
LBB0_10:
	cmpq	%r14, %rcx
	je	LBB0_17
## %bb.11:
	leaq	(%rax,%rcx,4), %rax
LBB0_12:
	movq	%rcx, %rdx
	notq	%rdx
	addq	%r14, %rdx
	movq	%r14, %rsi
	andq	$3, %rsi
	je	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rax), %edi
	addq	$4, %rax
	movl	%edi, (%rbx,%rcx,4)
	incq	%rcx
	decq	%rsi
	jne	LBB0_13
LBB0_14:
	cmpq	$3, %rdx
	jb	LBB0_17
## %bb.15:
	subq	%rcx, %r14
	leaq	(%rbx,%rcx,4), %rcx
	addq	$12, %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rax,%rdx,4), %esi
	movl	%esi, -12(%rcx,%rdx,4)
	movl	4(%rax,%rdx,4), %esi
	movl	%esi, -8(%rcx,%rdx,4)
	movl	8(%rax,%rdx,4), %esi
	movl	%esi, -4(%rcx,%rdx,4)
	movl	12(%rax,%rdx,4), %esi
	movl	%esi, (%rcx,%rdx,4)
	addq	$4, %rdx
	cmpq	%rdx, %r14
	jne	LBB0_16
LBB0_17:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_read_alpha_span             ; -- Begin function gl_read_alpha_span
	.p2align	2
_gl_read_alpha_span:                    ; @gl_read_alpha_span
	.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, x4
	mov	x0, x2
	mov	x20, x1
	mov	x1, x3
	bl	_ALPHA_ADDR
	cbz	x20, LBB0_8
; %bb.1:
	mov	x8, #0
	cmp	x20, #16
	b.lo	LBB0_6
; %bb.2:
	sub	x9, x19, x0
	cmp	x9, #64
	b.lo	LBB0_6
; %bb.3:
	and	x8, x20, #0xfffffffffffffff0
	add	x9, x0, x8, lsl #2
	add	x10, x19, #32
	add	x11, x0, #32
	mov	x12, x8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x11, #-32]
	ldp	q2, q3, [x11], #64
	stp	q0, q1, [x10, #-32]
	stp	q2, q3, [x10], #64
	subs	x12, x12, #16
	b.ne	LBB0_4
; %bb.5:
	mov	x0, x9
	cmp	x8, x20
	b.eq	LBB0_8
LBB0_6:
	sub	x9, x20, x8
	add	x8, x19, x8, lsl #2
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x0], #4
	str	w10, [x8], #4
	subs	x9, x9, #1
	b.ne	LBB0_7
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
