	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_write_monoindex_span        ## -- Begin function gl_write_monoindex_span
	.p2align	4, 0x90
_gl_write_monoindex_span:               ## @gl_write_monoindex_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -96(%rbp)                  ## 8-byte Spill
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	16(%rbp), %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	(,%rbx,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	shlq	$3, %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movq	%r14, %rbx
	movl	$1, %esi
	movq	%r12, %rdx
	callq	_MEMSET
	movq	_WINCLIP_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_GL_BITMAP@GOTPCREL(%rip), %r14
	testl	%eax, (%r13)
	jne	LBB0_2
## %bb.1:
	cmpq	%rbx, (%r14)
	jne	LBB0_3
LBB0_2:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	callq	_clip_span
	testq	%rax, %rax
	je	LBB0_62
LBB0_3:
	cmpq	$0, 96(%r13)
	je	LBB0_5
## %bb.4:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	callq	_gl_scissor_span
	testq	%rax, %rax
	je	LBB0_62
LBB0_5:
	cmpq	$0, 88(%r13)
	je	LBB0_8
## %bb.6:
	movq	_GL_POLYGON@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_8
## %bb.7:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	callq	_stipple_polygon_span
LBB0_8:
	cmpq	$0, 80(%r13)
	je	LBB0_11
## %bb.9:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	callq	_gl_stencil_span
	testq	%rax, %rax
	je	LBB0_62
## %bb.10:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	callq	_gl_depth_stencil_span
	jmp	LBB0_13
LBB0_11:
	cmpq	$0, 72(%r13)
	je	LBB0_13
## %bb.12:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	callq	*8(%r13)
	testq	%rax, %rax
	je	LBB0_62
LBB0_13:
	movq	_NO_DRAW_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	jne	LBB0_62
## %bb.14:
	cmpq	$0, 64(%r13)
	je	LBB0_17
## %bb.15:
	movq	56(%r13), %rax
	movq	_GL_NICEST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_19
## %bb.16:
	cmpq	%rbx, (%r14)
	je	LBB0_19
LBB0_17:
	cmpq	$0, 48(%r13)
	jne	LBB0_19
## %bb.18:
	cmpq	$0, 40(%r13)
	je	LBB0_60
LBB0_19:
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movq	_MAX_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	testq	%r12, %r12
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_31
## %bb.20:
	cmpq	$4, %r12
	jae	LBB0_22
## %bb.21:
	xorl	%eax, %eax
	jmp	LBB0_30
LBB0_22:
	movq	%r12, %rax
	andq	$-4, %rax
	movq	%r14, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	leaq	-4(%rax), %rsi
	movq	%rsi, %rdx
	shrq	$2, %rdx
	incq	%rdx
	movl	%edx, %ecx
	andl	$7, %ecx
	cmpq	$28, %rsi
	jae	LBB0_24
## %bb.23:
	xorl	%esi, %esi
	jmp	LBB0_26
LBB0_24:
	andq	$-8, %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, (%r15,%rsi,8)
	movdqa	%xmm0, 16(%r15,%rsi,8)
	movdqa	%xmm0, 32(%r15,%rsi,8)
	movdqa	%xmm0, 48(%r15,%rsi,8)
	movdqa	%xmm0, 64(%r15,%rsi,8)
	movdqa	%xmm0, 80(%r15,%rsi,8)
	movdqa	%xmm0, 96(%r15,%rsi,8)
	movdqa	%xmm0, 112(%r15,%rsi,8)
	movdqa	%xmm0, 128(%r15,%rsi,8)
	movdqa	%xmm0, 144(%r15,%rsi,8)
	movdqa	%xmm0, 160(%r15,%rsi,8)
	movdqa	%xmm0, 176(%r15,%rsi,8)
	movdqa	%xmm0, 192(%r15,%rsi,8)
	movdqa	%xmm0, 208(%r15,%rsi,8)
	movdqa	%xmm0, 224(%r15,%rsi,8)
	movdqa	%xmm0, 240(%r15,%rsi,8)
	addq	$32, %rsi
	addq	$-8, %rdx
	jne	LBB0_25
LBB0_26:
	testq	%rcx, %rcx
	je	LBB0_29
## %bb.27:
	leaq	(%r15,%rsi,8), %rdx
	addq	$16, %rdx
	shlq	$5, %rcx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, -16(%rdx,%rsi)
	movdqa	%xmm0, (%rdx,%rsi)
	addq	$32, %rsi
	cmpq	%rsi, %rcx
	jne	LBB0_28
LBB0_29:
	cmpq	%r12, %rax
	je	LBB0_31
	.p2align	4, 0x90
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, (%r15,%rax,8)
	incq	%rax
	cmpq	%rax, %r12
	jne	LBB0_30
LBB0_31:
	cmpq	$0, 64(%r13)
	je	LBB0_35
## %bb.32:
	movq	56(%r13), %rax
	movq	_GL_NICEST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_34
## %bb.33:
	movq	_GL_BITMAP@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_35
LBB0_34:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rcx
	callq	_gl_fog_index_pixels
LBB0_35:
	movq	_FRONT_AND_BACK_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_37
## %bb.36:
	leaq	(,%r12,8), %rdx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_MEMCPY
LBB0_37:
	cmpq	$0, 48(%r13)
	je	LBB0_39
## %bb.38:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movq	%r15, %r8
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	callq	_gl_logicop_ci_span
LBB0_39:
	cmpq	$0, 40(%r13)
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	je	LBB0_41
## %bb.40:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	%ebx, %ecx
	movq	%r15, %r8
	callq	_gl_mask_index_span
	movl	-52(%rbp), %edx                 ## 4-byte Reload
LBB0_41:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	%ebx, %ecx
	movq	%r15, %r8
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	callq	*32(%r13)
	movq	_FRONT_AND_BACK_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_59
## %bb.42:
	movq	_GL_BACK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	*16(%r13)
	testq	%r12, %r12
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	je	LBB0_54
## %bb.43:
	cmpq	$4, %r12
	jae	LBB0_45
## %bb.44:
	xorl	%eax, %eax
	jmp	LBB0_53
LBB0_45:
	movq	%r12, %rax
	andq	$-4, %rax
	movq	%r14, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	leaq	-4(%rax), %rsi
	movq	%rsi, %rdx
	shrq	$2, %rdx
	incq	%rdx
	movl	%edx, %ecx
	andl	$7, %ecx
	cmpq	$28, %rsi
	jae	LBB0_47
## %bb.46:
	xorl	%esi, %esi
	jmp	LBB0_49
LBB0_60:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	callq	*24(%r13)
	movq	_FRONT_AND_BACK_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_62
## %bb.61:
	movq	_GL_BACK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	*16(%r13)
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	callq	*24(%r13)
	movq	_GL_FRONT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	*16(%r13)
	jmp	LBB0_62
LBB0_47:
	andq	$-8, %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_48:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, (%r15,%rsi,8)
	movdqa	%xmm0, 16(%r15,%rsi,8)
	movdqa	%xmm0, 32(%r15,%rsi,8)
	movdqa	%xmm0, 48(%r15,%rsi,8)
	movdqa	%xmm0, 64(%r15,%rsi,8)
	movdqa	%xmm0, 80(%r15,%rsi,8)
	movdqa	%xmm0, 96(%r15,%rsi,8)
	movdqa	%xmm0, 112(%r15,%rsi,8)
	movdqa	%xmm0, 128(%r15,%rsi,8)
	movdqa	%xmm0, 144(%r15,%rsi,8)
	movdqa	%xmm0, 160(%r15,%rsi,8)
	movdqa	%xmm0, 176(%r15,%rsi,8)
	movdqa	%xmm0, 192(%r15,%rsi,8)
	movdqa	%xmm0, 208(%r15,%rsi,8)
	movdqa	%xmm0, 224(%r15,%rsi,8)
	movdqa	%xmm0, 240(%r15,%rsi,8)
	addq	$32, %rsi
	addq	$-8, %rdx
	jne	LBB0_48
LBB0_49:
	testq	%rcx, %rcx
	je	LBB0_52
## %bb.50:
	leaq	(%r15,%rsi,8), %rdx
	addq	$16, %rdx
	shlq	$5, %rcx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_51:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, -16(%rdx,%rsi)
	movdqa	%xmm0, (%rdx,%rsi)
	addq	$32, %rsi
	cmpq	%rsi, %rcx
	jne	LBB0_51
LBB0_52:
	cmpq	%r12, %rax
	je	LBB0_54
	.p2align	4, 0x90
LBB0_53:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, (%r15,%rax,8)
	incq	%rax
	cmpq	%rax, %r12
	jne	LBB0_53
LBB0_54:
	cmpq	$0, 48(%r13)
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	%edi, %r14d
	je	LBB0_56
## %bb.55:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	movl	%r14d, %ecx
	movq	%r15, %r8
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	callq	_gl_logicop_ci_span
LBB0_56:
	cmpq	$0, 40(%r13)
	je	LBB0_58
## %bb.57:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	movl	%r14d, %ecx
	movq	%r15, %r8
	callq	_gl_mask_index_span
LBB0_58:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	movl	%r14d, %ecx
	movq	%r15, %r8
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	callq	*32(%r13)
	movq	_GL_FRONT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	*16(%r13)
LBB0_59:
	movq	-80(%rbp), %rsp                 ## 8-byte Reload
LBB0_62:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_64
## %bb.63:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_64:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_WIDTH,4,2                  ## @MAX_WIDTH
	.comm	_WINCLIP_BIT,4,2                ## @WINCLIP_BIT
	.comm	_GL_BITMAP,8,3                  ## @GL_BITMAP
	.comm	_GL_POLYGON,8,3                 ## @GL_POLYGON
	.comm	_NO_DRAW_BIT,4,2                ## @NO_DRAW_BIT
	.comm	_GL_NICEST,8,3                  ## @GL_NICEST
	.comm	_FRONT_AND_BACK_BIT,4,2         ## @FRONT_AND_BACK_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_monoindex_span        ; -- Begin function gl_write_monoindex_span
	.p2align	2
_gl_write_monoindex_span:               ; @gl_write_monoindex_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, #16
	mov	x26, x6
	mov	x24, x5
	mov	x25, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
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	x28, _MAX_WIDTH@GOTPAGE
Lloh4:
	ldr	x28, [x28, _MAX_WIDTH@GOTPAGEOFF]
	ldr	w12, [x28]
	lsl	x8, x12, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x23, x9, x8
	mov	sp, x23
	lsl	x8, x12, #3
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x27, x9, x8
	mov	sp, x27
	mov	x0, x23
	mov	w1, #1
	mov	x2, x22
	bl	_MEMSET
	ldr	w8, [x19]
Lloh9:
	adrp	x9, _WINCLIP_BIT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _WINCLIP_BIT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh12:
	adrp	x9, _GL_BITMAP@GOTPAGE
Lloh13:
	ldr	x9, [x9, _GL_BITMAP@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	w8, #0
	ccmp	x9, x26, #4, eq
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x23
	bl	_clip_span
	cbz	x0, LBB0_50
LBB0_2:
	ldr	x8, [x19, #96]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x23
	bl	_gl_scissor_span
	cbz	x0, LBB0_50
LBB0_4:
	ldr	x8, [x19, #88]
	cbz	x8, LBB0_7
; %bb.5:
Lloh15:
	adrp	x8, _GL_POLYGON@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GL_POLYGON@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x8, x26
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x23
	bl	_stipple_polygon_span
LBB0_7:
	ldr	x8, [x19, #80]
	cbz	x8, LBB0_10
; %bb.8:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x23
	bl	_gl_stencil_span
	cbz	x0, LBB0_50
; %bb.9:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x25
	mov	x5, x23
	bl	_gl_depth_stencil_span
	b	LBB0_12
LBB0_10:
	ldr	x8, [x19, #72]
	cbz	x8, LBB0_12
; %bb.11:
	ldr	x8, [x19, #8]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x25
	mov	x5, x23
	blr	x8
	cbz	x0, LBB0_50
LBB0_12:
	ldr	w8, [x19]
Lloh18:
	adrp	x9, _NO_DRAW_BIT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _NO_DRAW_BIT@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_50
; %bb.13:
	ldr	x8, [x19, #64]
Lloh21:
	adrp	x12, _GL_NICEST@GOTPAGE
Lloh22:
	ldr	x12, [x12, _GL_NICEST@GOTPAGEOFF]
Lloh23:
	adrp	x13, _GL_BITMAP@GOTPAGE
Lloh24:
	ldr	x13, [x13, _GL_BITMAP@GOTPAGEOFF]
	cbz	x8, LBB0_16
; %bb.14:
	ldr	x8, [x19, #56]
	ldr	x9, [x12]
	cmp	x8, x9
	b.eq	LBB0_18
; %bb.15:
	ldr	x8, [x13]
	cmp	x8, x26
	b.eq	LBB0_18
LBB0_16:
	ldr	x8, [x19, #48]
	cbnz	x8, LBB0_18
; %bb.17:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_52
LBB0_18:
	mov	x8, sp
	stur	x8, [x29, #-96]                 ; 8-byte Folded Spill
	ldr	w8, [x28]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh25:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh26:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x28, x9, x8
	mov	sp, x28
	cbz	x22, LBB0_26
; %bb.19:
	cmp	x22, #8
	b.hs	LBB0_21
; %bb.20:
	mov	x8, #0
	b	LBB0_24
LBB0_21:
	and	x8, x22, #0xfffffffffffffff8
	dup.2d	v0, x24
	add	x9, x28, #32
	mov	x10, x8
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x9, #-32]
	stp	q0, q0, [x9], #64
	subs	x10, x10, #8
	b.ne	LBB0_22
; %bb.23:
	cmp	x8, x22
	b.eq	LBB0_26
LBB0_24:
	sub	x9, x22, x8
	add	x8, x28, x8, lsl #3
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	str	x24, [x8], #8
	subs	x9, x9, #1
	b.ne	LBB0_25
LBB0_26:
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_29
; %bb.27:
	ldr	x8, [x19, #56]
	ldr	x9, [x12]
	ldr	x10, [x13]
	cmp	x8, x9
	ccmp	x10, x26, #4, ne
	b.ne	LBB0_29
; %bb.28:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x25
	mov	x3, x28
	bl	_gl_fog_index_pixels
LBB0_29:
	ldr	w8, [x19]
Lloh27:
	adrp	x25, _FRONT_AND_BACK_BIT@GOTPAGE
Lloh28:
	ldr	x25, [x25, _FRONT_AND_BACK_BIT@GOTPAGEOFF]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_31
; %bb.30:
	lsl	x2, x22, #3
	mov	x0, x27
	mov	x1, x28
	bl	_MEMCPY
LBB0_31:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_33
; %bb.32:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x28
	mov	x5, x23
	bl	_gl_logicop_ci_span
LBB0_33:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_35
; %bb.34:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x28
	bl	_gl_mask_index_span
LBB0_35:
	ldr	x8, [x19, #32]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x28
	mov	x5, x23
	blr	x8
	ldr	w8, [x19]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_49
; %bb.36:
	ldr	x8, [x19, #16]
Lloh29:
	adrp	x9, _GL_BACK@GOTPAGE
Lloh30:
	ldr	x9, [x9, _GL_BACK@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x9]
	mov	x0, x19
	blr	x8
	cbz	x22, LBB0_44
; %bb.37:
	cmp	x22, #8
	b.hs	LBB0_39
; %bb.38:
	mov	x8, #0
	b	LBB0_42
LBB0_39:
	and	x8, x22, #0xfffffffffffffff8
	dup.2d	v0, x24
	add	x9, x28, #32
	mov	x10, x8
LBB0_40:                                ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x9, #-32]
	stp	q0, q0, [x9], #64
	subs	x10, x10, #8
	b.ne	LBB0_40
; %bb.41:
	cmp	x8, x22
	b.eq	LBB0_44
LBB0_42:
	sub	x9, x22, x8
	add	x8, x28, x8, lsl #3
LBB0_43:                                ; =>This Inner Loop Header: Depth=1
	str	x24, [x8], #8
	subs	x9, x9, #1
	b.ne	LBB0_43
LBB0_44:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_46
; %bb.45:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x28
	mov	x5, x23
	bl	_gl_logicop_ci_span
LBB0_46:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_48
; %bb.47:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x28
	bl	_gl_mask_index_span
LBB0_48:
	ldr	x8, [x19, #32]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x28
	mov	x5, x23
	blr	x8
	ldr	x8, [x19, #16]
Lloh32:
	adrp	x9, _GL_FRONT@GOTPAGE
Lloh33:
	ldr	x9, [x9, _GL_FRONT@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x9]
	mov	x0, x19
	blr	x8
LBB0_49:
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	mov	sp, x8
LBB0_50:
	ldur	x8, [x29, #-88]
Lloh35:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh36:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_54
; %bb.51:
	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_52:
	ldr	x8, [x19, #24]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x23
	blr	x8
	ldr	w8, [x19]
Lloh38:
	adrp	x9, _FRONT_AND_BACK_BIT@GOTPAGE
Lloh39:
	ldr	x9, [x9, _FRONT_AND_BACK_BIT@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_50
; %bb.53:
	ldr	x8, [x19, #16]
Lloh41:
	adrp	x9, _GL_BACK@GOTPAGE
Lloh42:
	ldr	x9, [x9, _GL_BACK@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x9]
	mov	x0, x19
	blr	x8
	ldr	x8, [x19, #24]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x23
	blr	x8
	ldr	x8, [x19, #16]
Lloh44:
	adrp	x9, _GL_FRONT@GOTPAGE
Lloh45:
	ldr	x9, [x9, _GL_FRONT@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x9]
	mov	x0, x19
	blr	x8
	b	LBB0_50
LBB0_54:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_WIDTH,4,2                  ; @MAX_WIDTH
	.comm	_WINCLIP_BIT,4,2                ; @WINCLIP_BIT
	.comm	_GL_BITMAP,8,3                  ; @GL_BITMAP
	.comm	_GL_POLYGON,8,3                 ; @GL_POLYGON
	.comm	_NO_DRAW_BIT,4,2                ; @NO_DRAW_BIT
	.comm	_GL_NICEST,8,3                  ; @GL_NICEST
	.comm	_FRONT_AND_BACK_BIT,4,2         ; @FRONT_AND_BACK_BIT
	.comm	_GL_BACK,4,2                    ; @GL_BACK
	.comm	_GL_FRONT,4,2                   ; @GL_FRONT
.subsections_via_symbols
