	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_write_color_span            ## -- Begin function gl_write_color_span
	.p2align	4, 0x90
_gl_write_color_span:                   ## @gl_write_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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -120(%rbp)                 ## 8-byte Spill
	movq	%r8, -112(%rbp)                 ## 8-byte Spill
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	movl	%edx, %r15d
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	shlq	$2, %r14
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	_GL_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -152(%rbp)                ## 8-byte Spill
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -144(%rbp)                ## 8-byte Spill
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -136(%rbp)                ## 8-byte Spill
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -128(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movl	$1, %esi
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movl	%r12d, %edx
	callq	_MEMSET
	movq	40(%rbp), %rcx
	movq	_WINCLIP_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_GL_BITMAP@GOTPCREL(%rip), %r12
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	testl	%eax, (%rbx)
	jne	LBB0_2
## %bb.1:
	movq	(%r12), %rax
	cmpq	%rcx, %rax
	jne	LBB0_4
LBB0_2:
	movq	%rcx, %r14
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%r15d, %ebx
	movl	%r15d, %edx
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movq	%r13, %r8
	callq	_clip_span
	testq	%rax, %rax
	je	LBB0_50
## %bb.3:
	movq	_GL_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	(%r12), %rax
	movl	%ebx, %r15d
	movq	%r14, %rcx
LBB0_4:
	movl	%r15d, -60(%rbp)                ## 4-byte Spill
	cmpq	%rcx, %rax
	jne	LBB0_6
## %bb.5:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 128(%rax)
	jne	LBB0_7
LBB0_6:
	movq	_FRONT_AND_BACK_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-120(%rbp), %r12                ## 8-byte Reload
	movq	16(%rbp), %rbx
	movq	24(%rbp), %r14
	movq	32(%rbp), %r15
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, (%rcx)
	je	LBB0_8
LBB0_7:
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leal	(,%rax,4), %ebx
	movq	-152(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	movl	%ebx, %edx
	callq	_MEMCPY
	movq	-144(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rdi
	movq	16(%rbp), %rsi
	movl	%ebx, %edx
	callq	_MEMCPY
	movq	-136(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	movq	24(%rbp), %rsi
	movl	%ebx, %edx
	callq	_MEMCPY
	movq	-128(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdi
	movq	32(%rbp), %rsi
	movl	%ebx, %edx
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	callq	_MEMCPY
	movq	%r13, %rax
	movq	%rbx, %r13
	movq	%rax, %rbx
LBB0_8:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 120(%rax)
	je	LBB0_13
## %bb.9:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	112(%rax), %rax
	movq	_GL_NICEST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_12
## %bb.10:
	movq	40(%rbp), %rax
	movq	_GL_BITMAP@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	je	LBB0_12
## %bb.11:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 104(%rax)
	je	LBB0_13
LBB0_12:
	subq	$8, %rsp
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	movq	%r12, %rcx
	movq	%rbx, %r8
	movq	%r14, %r9
	pushq	%r15
	callq	_gl_fog_color_pixels
	addq	$16, %rsp
LBB0_13:
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 96(%rax)
	je	LBB0_16
## %bb.14:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movq	%r13, %r8
	callq	_gl_scissor_span
	testq	%rax, %rax
	je	LBB0_50
## %bb.15:
	movq	_GL_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
LBB0_16:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 88(%rax)
	je	LBB0_19
## %bb.17:
	movq	_GL_POLYGON@GOTPCREL(%rip), %rax
	movq	40(%rbp), %rcx
	cmpq	%rcx, (%rax)
	jne	LBB0_19
## %bb.18:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movq	%r13, %r8
	callq	_stipple_polygon_span
	movq	_GL_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
LBB0_19:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 64(%rax)
	je	LBB0_22
## %bb.20:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r15, %rdx
	movq	%r13, %rcx
	callq	_gl_alpha_test
	testq	%rax, %rax
	je	LBB0_50
## %bb.21:
	movq	_GL_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
LBB0_22:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 80(%rax)
	je	LBB0_25
## %bb.23:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movq	%r13, %r8
	callq	_gl_stencil_span
	testq	%rax, %rax
	je	LBB0_50
## %bb.24:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movq	-112(%rbp), %r8                 ## 8-byte Reload
	movq	%r13, %r9
	callq	_gl_depth_stencil_span
	movq	_GL_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_29
LBB0_25:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 72(%rax)
	je	LBB0_29
## %bb.26:
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movl	%r12d, %esi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movq	-112(%rbp), %r8                 ## 8-byte Reload
	movq	%r13, %r9
	callq	*8(%rdi)
	cmpl	%r12d, %eax
	jge	LBB0_28
## %bb.27:
	movq	_GL_FALSE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
LBB0_28:
	testl	%eax, %eax
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_50
LBB0_29:
	movq	_NO_DRAW_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, (%rcx)
	jne	LBB0_50
## %bb.30:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 56(%rax)
	je	LBB0_32
## %bb.31:
	subq	$8, %rsp
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %r8
	movq	%rbx, %r9
	pushq	%r13
	pushq	%r15
	pushq	%r14
	callq	_gl_logicop_rgba_span
	jmp	LBB0_34
LBB0_32:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 48(%rax)
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_35
## %bb.33:
	subq	$8, %rsp
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movq	%r12, %r8
	movq	%rbx, %r9
	pushq	%r13
	pushq	%r15
	pushq	%r14
	callq	_gl_blend_span
LBB0_34:
	addq	$32, %rsp
LBB0_35:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 40(%rax)
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	je	LBB0_37
## %bb.36:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movq	%r12, %r8
	movq	%rbx, %r9
	pushq	%r15
	pushq	%r14
	callq	_gl_mask_color_span
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	addq	$16, %rsp
LBB0_37:
	movq	%r12, %r8
	xorl	%r12d, %r12d
	cmpq	$0, -80(%rbp)                   ## 8-byte Folded Reload
	cmoveq	%r13, %r12
	subq	$8, %rsp
	movq	%rbx, %r9
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movq	%r9, -96(%rbp)                  ## 8-byte Spill
	pushq	%r12
	pushq	%r15
	pushq	%r14
	callq	*24(%rbx)
	addq	$32, %rsp
	movl	(%rbx), %eax
	movq	_ALPHABUF_BIT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_39
## %bb.38:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movq	%r15, %r8
	movq	%r12, %r9
	callq	_gl_write_alpha_span
	movl	(%rbx), %eax
LBB0_39:
	movq	_FRONT_AND_BACK_BIT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_50
## %bb.40:
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	movl	-60(%rbp), %r14d                ## 4-byte Reload
	movl	-64(%rbp), %r13d                ## 4-byte Reload
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leal	(,%rax,4), %ebx
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	movl	%ebx, %edx
	callq	_MEMCPY
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	movq	16(%rbp), %rsi
	movl	%ebx, %edx
	callq	_MEMCPY
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	movq	24(%rbp), %rsi
	movl	%ebx, %edx
	callq	_MEMCPY
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movq	32(%rbp), %rsi
	movl	%ebx, %edx
	callq	_MEMCPY
	movq	_GL_BACK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	*16(%rbx)
	cmpq	$0, 56(%rbx)
	je	LBB0_42
## %bb.41:
	subq	$8, %rsp
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%r14d, %edx
	movl	%r13d, %ecx
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %r9
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	pushq	%r15
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	callq	_gl_logicop_rgba_span
	jmp	LBB0_44
LBB0_42:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 48(%rax)
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_45
## %bb.43:
	subq	$8, %rsp
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%r14d, %edx
	movl	%r13d, %ecx
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	movq	%rbx, %r9
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	pushq	%r15
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	callq	_gl_blend_span
LBB0_44:
	addq	$32, %rsp
LBB0_45:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 40(%rax)
	movl	%r14d, %edx
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movl	%r13d, %ecx
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_47
## %bb.46:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movq	%r13, %r8
	movq	%rbx, %r9
	pushq	%r15
	pushq	%r14
	callq	_gl_mask_color_span
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	addq	$16, %rsp
LBB0_47:
	subq	$8, %rsp
	movq	%rbx, %r9
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r13, %r8
	pushq	%r12
	pushq	%r15
	pushq	%r14
	callq	*24(%rbx)
	addq	$32, %rsp
	movq	_ALPHABUF_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_49
## %bb.48:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	32(%rbx), %rax
	movl	8(%rax), %ecx
	movl	%ecx, 4(%rax)
	movq	%rbx, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movq	%r15, %r8
	movq	%r12, %r9
	callq	_gl_write_alpha_span
	movq	32(%rbx), %rax
	movl	(%rax), %ecx
	movl	%ecx, 4(%rax)
LBB0_49:
	movq	_GL_FRONT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	*16(%rdi)
LBB0_50:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_52
## %bb.51:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_52:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_WIDTH,4,2                  ## @MAX_WIDTH
	.comm	_GL_TRUE,8,3                    ## @GL_TRUE
	.comm	_WINCLIP_BIT,4,2                ## @WINCLIP_BIT
	.comm	_GL_BITMAP,8,3                  ## @GL_BITMAP
	.comm	_GL_FALSE,8,3                   ## @GL_FALSE
	.comm	_FRONT_AND_BACK_BIT,4,2         ## @FRONT_AND_BACK_BIT
	.comm	_GL_NICEST,8,3                  ## @GL_NICEST
	.comm	_GL_POLYGON,8,3                 ## @GL_POLYGON
	.comm	_NO_DRAW_BIT,4,2                ## @NO_DRAW_BIT
	.comm	_ALPHABUF_BIT,4,2               ## @ALPHABUF_BIT
	.comm	_GL_BACK,4,2                    ## @GL_BACK
	.comm	_GL_FRONT,4,2                   ## @GL_FRONT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_write_color_span            ; -- Begin function gl_write_color_span
	.p2align	2
_gl_write_color_span:                   ; @gl_write_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
	sub	sp, sp, #96
	stp	x6, x7, [x29, #-112]            ; 16-byte Folded Spill
	stur	x5, [x29, #-120]                ; 8-byte Folded Spill
	mov	x20, x4
	mov	x26, x3
	mov	x28, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x24, [x29, #24]
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAX_WIDTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_WIDTH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x7fffffff0
	sub	x23, x9, x12
	mov	sp, x23
Lloh8:
	adrp	x9, _GL_TRUE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _GL_TRUE@GOTPAGEOFF]
Lloh10:
	ldr	x21, [x9]
	mov	x9, x8
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x9, x9, x12
	stur	x9, [x29, #-144]                ; 8-byte Folded Spill
	mov	sp, x9
	mov	x9, x8
Lloh13:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh14:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x9, x9, x12
	stur	x9, [x29, #-152]                ; 8-byte Folded Spill
	mov	sp, x9
	mov	x9, x8
Lloh15:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh16:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x9, x9, x12
	stur	x9, [x29, #-160]                ; 8-byte Folded Spill
	mov	sp, x9
	mov	x9, x8
Lloh17:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh18:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x8, x8, x12
	stur	x8, [x29, #-168]                ; 8-byte Folded Spill
	mov	sp, x8
	mov	x0, x23
	mov	w1, #1
	mov	x2, x22
	bl	_MEMSET
	ldr	w8, [x19]
Lloh19:
	adrp	x9, _WINCLIP_BIT@GOTPAGE
Lloh20:
	ldr	x9, [x9, _WINCLIP_BIT@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	and	w9, w9, w8
Lloh22:
	adrp	x25, _GL_BITMAP@GOTPAGE
Lloh23:
	ldr	x25, [x25, _GL_BITMAP@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	w9, #0
	stur	x24, [x29, #-96]                ; 8-byte Folded Spill
	ccmp	x8, x24, #4, eq
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x28
	mov	x3, x26
	mov	x4, x23
	bl	_clip_span
	cbz	x0, LBB0_47
; %bb.2:
Lloh24:
	adrp	x8, _GL_FALSE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _GL_FALSE@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	stur	x8, [x29, #-128]                ; 8-byte Folded Spill
	ldr	x8, [x25]
	b	LBB0_4
LBB0_3:
	stur	x21, [x29, #-128]               ; 8-byte Folded Spill
LBB0_4:
	ldr	x9, [x29, #16]
	stur	x9, [x29, #-136]                ; 8-byte Folded Spill
	ldur	x9, [x29, #-96]                 ; 8-byte Folded Reload
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	ldr	x8, [x19, #128]
	cbnz	x8, LBB0_7
LBB0_6:
	ldr	w8, [x19]
Lloh27:
	adrp	x9, _FRONT_AND_BACK_BIT@GOTPAGE
Lloh28:
	ldr	x9, [x9, _FRONT_AND_BACK_BIT@GOTPAGEOFF]
	ldp	x25, x27, [x29, #-120]          ; 16-byte Folded Reload
Lloh29:
	ldr	w9, [x9]
	ldur	x21, [x29, #-104]               ; 8-byte Folded Reload
	ldur	x24, [x29, #-136]               ; 8-byte Folded Reload
	tst	w9, w8
	b.eq	LBB0_8
LBB0_7:
	stur	w28, [x29, #-172]               ; 4-byte Folded Spill
	mov	x28, x26
	lsl	w26, w22, #2
	ldur	x25, [x29, #-144]               ; 8-byte Folded Reload
	mov	x0, x25
	ldur	x1, [x29, #-120]                ; 8-byte Folded Reload
	mov	x2, x26
	bl	_MEMCPY
	mov	x24, x19
	mov	x19, x20
	ldur	x20, [x29, #-152]               ; 8-byte Folded Reload
	mov	x0, x20
	ldur	x1, [x29, #-112]                ; 8-byte Folded Reload
	mov	x2, x26
	bl	_MEMCPY
	ldur	x27, [x29, #-160]               ; 8-byte Folded Reload
	mov	x0, x27
	ldur	x1, [x29, #-104]                ; 8-byte Folded Reload
	mov	x2, x26
	bl	_MEMCPY
	mov	x21, x23
	mov	x23, x22
	ldur	x22, [x29, #-168]               ; 8-byte Folded Reload
	mov	x0, x22
	ldur	x1, [x29, #-136]                ; 8-byte Folded Reload
	mov	x2, x26
	mov	x26, x28
	ldur	w28, [x29, #-172]               ; 4-byte Folded Reload
	bl	_MEMCPY
	mov	x8, x27
	mov	x27, x20
	mov	x20, x19
	mov	x19, x24
	mov	x24, x22
	mov	x22, x23
	mov	x23, x21
	mov	x21, x8
LBB0_8:
	ldr	x8, [x19, #120]
	cbz	x8, LBB0_13
; %bb.9:
	ldr	x8, [x19, #112]
Lloh30:
	adrp	x9, _GL_NICEST@GOTPAGE
Lloh31:
	ldr	x9, [x9, _GL_NICEST@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_12
; %bb.10:
Lloh33:
	adrp	x8, _GL_BITMAP@GOTPAGE
Lloh34:
	ldr	x8, [x8, _GL_BITMAP@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	ldur	x9, [x29, #-96]                 ; 8-byte Folded Reload
	cmp	x8, x9
	b.eq	LBB0_12
; %bb.11:
	ldr	x8, [x19, #104]
	cbz	x8, LBB0_13
LBB0_12:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	mov	x3, x25
	mov	x4, x27
	mov	x5, x21
	mov	x6, x24
	bl	_gl_fog_color_pixels
LBB0_13:
	ldr	x8, [x19, #96]
	cbz	x8, LBB0_16
; %bb.14:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x28
	mov	x3, x26
	mov	x4, x23
	bl	_gl_scissor_span
	cbz	x0, LBB0_47
; %bb.15:
Lloh36:
	adrp	x8, _GL_FALSE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _GL_FALSE@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	stur	x8, [x29, #-128]                ; 8-byte Folded Spill
LBB0_16:
	ldr	x8, [x19, #88]
	cbz	x8, LBB0_19
; %bb.17:
Lloh39:
	adrp	x8, _GL_POLYGON@GOTPAGE
Lloh40:
	ldr	x8, [x8, _GL_POLYGON@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	ldur	x9, [x29, #-96]                 ; 8-byte Folded Reload
	cmp	x8, x9
	b.ne	LBB0_19
; %bb.18:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x28
	mov	x3, x26
	mov	x4, x23
	bl	_stipple_polygon_span
Lloh42:
	adrp	x8, _GL_FALSE@GOTPAGE
Lloh43:
	ldr	x8, [x8, _GL_FALSE@GOTPAGEOFF]
Lloh44:
	ldr	x8, [x8]
	stur	x8, [x29, #-128]                ; 8-byte Folded Spill
LBB0_19:
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_22
; %bb.20:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x24
	mov	x3, x23
	bl	_gl_alpha_test
	cbz	x0, LBB0_47
; %bb.21:
Lloh45:
	adrp	x8, _GL_FALSE@GOTPAGE
Lloh46:
	ldr	x8, [x8, _GL_FALSE@GOTPAGEOFF]
Lloh47:
	ldr	x8, [x8]
	stur	x8, [x29, #-128]                ; 8-byte Folded Spill
LBB0_22:
	ldr	x8, [x19, #80]
	cbz	x8, LBB0_25
; %bb.23:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x28
	mov	x3, x26
	mov	x4, x23
	bl	_gl_stencil_span
	cbz	x0, LBB0_47
; %bb.24:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x28
	mov	x3, x26
	mov	x4, x20
	mov	x5, x23
	bl	_gl_depth_stencil_span
Lloh48:
	adrp	x8, _GL_FALSE@GOTPAGE
Lloh49:
	ldr	x8, [x8, _GL_FALSE@GOTPAGEOFF]
Lloh50:
	ldr	x8, [x8]
	stur	x8, [x29, #-128]                ; 8-byte Folded Spill
	b	LBB0_27
LBB0_25:
	ldr	x8, [x19, #72]
	cbz	x8, LBB0_27
; %bb.26:
	ldr	x8, [x19, #8]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x28
	mov	x3, x26
	mov	x4, x20
	mov	x5, x23
	blr	x8
Lloh51:
	adrp	x8, _GL_FALSE@GOTPAGE
Lloh52:
	ldr	x8, [x8, _GL_FALSE@GOTPAGEOFF]
Lloh53:
	ldr	x8, [x8]
	cmp	w0, w22
	ldur	x9, [x29, #-128]                ; 8-byte Folded Reload
	csel	x9, x8, x9, lt
	stur	x9, [x29, #-128]                ; 8-byte Folded Spill
	cbz	w0, LBB0_47
LBB0_27:
	ldr	w8, [x19]
Lloh54:
	adrp	x9, _NO_DRAW_BIT@GOTPAGE
Lloh55:
	ldr	x9, [x9, _NO_DRAW_BIT@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_47
; %bb.28:
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_30
; %bb.29:
	str	x23, [sp, #-16]!
	mov	x0, x19
	mov	x1, x22
	mov	x2, x28
	mov	x3, x26
	mov	x4, x25
	mov	x5, x27
	mov	x6, x21
	mov	x7, x24
	bl	_gl_logicop_rgba_span
	b	LBB0_32
LBB0_30:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_33
; %bb.31:
	str	x23, [sp, #-16]!
	mov	x0, x19
	mov	x1, x22
	mov	x2, x28
	mov	x3, x26
	mov	x4, x25
	mov	x5, x27
	mov	x6, x21
	mov	x7, x24
	bl	_gl_blend_span
LBB0_32:
	add	sp, sp, #16
LBB0_33:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_35
; %bb.34:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x28
	mov	x3, x26
	mov	x4, x25
	mov	x5, x27
	mov	x6, x21
	mov	x7, x24
	bl	_gl_mask_color_span
LBB0_35:
	ldr	x8, [x19, #24]
	ldur	x9, [x29, #-128]                ; 8-byte Folded Reload
	cmp	x9, #0
	csel	x20, x23, xzr, eq
	str	x20, [sp, #-16]!
	mov	x0, x19
	mov	x1, x22
	mov	x2, x28
	mov	x3, x26
	mov	x4, x25
	mov	x5, x27
	mov	x6, x21
	mov	x7, x24
	blr	x8
	add	sp, sp, #16
	ldr	w8, [x19]
Lloh57:
	adrp	x9, _ALPHABUF_BIT@GOTPAGE
Lloh58:
	ldr	x9, [x9, _ALPHABUF_BIT@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_37
; %bb.36:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x28
	mov	x3, x26
	mov	x4, x24
	mov	x5, x20
	bl	_gl_write_alpha_span
	ldr	w8, [x19]
LBB0_37:
Lloh60:
	adrp	x9, _FRONT_AND_BACK_BIT@GOTPAGE
Lloh61:
	ldr	x9, [x9, _FRONT_AND_BACK_BIT@GOTPAGEOFF]
Lloh62:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_47
; %bb.38:
	stur	x20, [x29, #-96]                ; 8-byte Folded Spill
	mov	x20, x21
	mov	x21, x26
	lsl	w26, w22, #2
	ldur	x0, [x29, #-144]                ; 8-byte Folded Reload
	ldur	x1, [x29, #-120]                ; 8-byte Folded Reload
	mov	x2, x26
	bl	_MEMCPY
	ldur	x0, [x29, #-152]                ; 8-byte Folded Reload
	ldur	x1, [x29, #-112]                ; 8-byte Folded Reload
	mov	x2, x26
	bl	_MEMCPY
	ldur	x0, [x29, #-160]                ; 8-byte Folded Reload
	ldur	x1, [x29, #-104]                ; 8-byte Folded Reload
	mov	x2, x26
	bl	_MEMCPY
	ldur	x0, [x29, #-168]                ; 8-byte Folded Reload
	ldur	x1, [x29, #-136]                ; 8-byte Folded Reload
	mov	x2, x26
	bl	_MEMCPY
	ldr	x8, [x19, #16]
Lloh63:
	adrp	x9, _GL_BACK@GOTPAGE
Lloh64:
	ldr	x9, [x9, _GL_BACK@GOTPAGEOFF]
Lloh65:
	ldr	w1, [x9]
	mov	x0, x19
	blr	x8
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_40
; %bb.39:
	str	x23, [sp, #-16]!
	mov	x0, x19
	mov	x1, x22
	mov	x2, x28
	mov	x3, x21
	mov	x4, x25
	mov	x5, x27
	mov	x6, x20
	mov	x7, x24
	bl	_gl_logicop_rgba_span
	add	sp, sp, #16
Lloh66:
	adrp	x26, _ALPHABUF_BIT@GOTPAGE
Lloh67:
	ldr	x26, [x26, _ALPHABUF_BIT@GOTPAGEOFF]
	b	LBB0_42
LBB0_40:
	ldr	x8, [x19, #48]
Lloh68:
	adrp	x26, _ALPHABUF_BIT@GOTPAGE
Lloh69:
	ldr	x26, [x26, _ALPHABUF_BIT@GOTPAGEOFF]
	cbz	x8, LBB0_42
; %bb.41:
	str	x23, [sp, #-16]!
	mov	x0, x19
	mov	x1, x22
	mov	x2, x28
	mov	x3, x21
	mov	x4, x25
	mov	x5, x27
	mov	x6, x20
	mov	x7, x24
	bl	_gl_blend_span
	add	sp, sp, #16
LBB0_42:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_44
; %bb.43:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x28
	mov	x3, x21
	mov	x4, x25
	mov	x5, x27
	mov	x6, x20
	mov	x7, x24
	bl	_gl_mask_color_span
LBB0_44:
	ldr	x8, [x19, #24]
	ldur	x23, [x29, #-96]                ; 8-byte Folded Reload
	str	x23, [sp, #-16]!
	mov	x0, x19
	mov	x1, x22
	mov	x2, x28
	mov	x3, x21
	mov	x4, x25
	mov	x5, x27
	mov	x6, x20
	mov	x7, x24
	blr	x8
	add	sp, sp, #16
	ldr	w8, [x19]
	ldr	w9, [x26]
	tst	w9, w8
	b.eq	LBB0_46
; %bb.45:
	ldr	x8, [x19, #32]
	ldr	w9, [x8, #8]
	str	w9, [x8, #4]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x28
	mov	x3, x21
	mov	x4, x24
	mov	x5, x23
	bl	_gl_write_alpha_span
	ldr	x8, [x19, #32]
	ldr	w9, [x8]
	str	w9, [x8, #4]
LBB0_46:
	ldr	x8, [x19, #16]
Lloh70:
	adrp	x9, _GL_FRONT@GOTPAGE
Lloh71:
	ldr	x9, [x9, _GL_FRONT@GOTPAGEOFF]
Lloh72:
	ldr	w1, [x9]
	mov	x0, x19
	blr	x8
LBB0_47:
	ldur	x8, [x29, #-88]
Lloh73:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh74:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh75:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_49
; %bb.48:
	sub	sp, x29, #80
	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_49:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_WIDTH,4,2                  ; @MAX_WIDTH
	.comm	_GL_TRUE,8,3                    ; @GL_TRUE
	.comm	_WINCLIP_BIT,4,2                ; @WINCLIP_BIT
	.comm	_GL_BITMAP,8,3                  ; @GL_BITMAP
	.comm	_GL_FALSE,8,3                   ; @GL_FALSE
	.comm	_FRONT_AND_BACK_BIT,4,2         ; @FRONT_AND_BACK_BIT
	.comm	_GL_NICEST,8,3                  ; @GL_NICEST
	.comm	_GL_POLYGON,8,3                 ; @GL_POLYGON
	.comm	_NO_DRAW_BIT,4,2                ; @NO_DRAW_BIT
	.comm	_ALPHABUF_BIT,4,2               ; @ALPHABUF_BIT
	.comm	_GL_BACK,4,2                    ; @GL_BACK
	.comm	_GL_FRONT,4,2                   ; @GL_FRONT
.subsections_via_symbols
