	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function draw_index_pixels
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2
LCPI0_1:
	.long	0x3f000000                      ## float 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_draw_index_pixels:                     ## @draw_index_pixels
	.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	$264, %rsp                      ## imm = 0x108
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movl	%ecx, %ebx
	movq	%rdx, -192(%rbp)                ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	(,%r14,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rdx
	movsd	(%r12), %xmm0                   ## xmm0 = mem[0],zero
	movb	$1, %al
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	ucomisd	LCPI0_0(%rip), %xmm0
	jne	LBB0_2
	jp	LBB0_2
## %bb.1:
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	cmpneqsd	8(%r12), %xmm0
	movq	%xmm0, %rax
	andl	$1, %eax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
LBB0_2:
	movq	88(%r12), %rax
	movss	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	(%rax), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	addss	%xmm0, %xmm1
	addss	4(%rax), %xmm0
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	cmpq	$0, 96(%r12)
	je	LBB0_15
## %bb.3:
	testq	%r15, %r15
	je	LBB0_15
## %bb.4:
	movq	_DEPTH_SCALE@GOTPCREL(%rip), %rcx
	cvtsi2ssl	(%rcx), %xmm2
	mulss	8(%rax), %xmm2
	cvttss2si	%xmm2, %eax
	cmpq	$8, %r15
	jae	LBB0_6
## %bb.5:
	xorl	%ecx, %ecx
	jmp	LBB0_14
LBB0_6:
	movq	%r15, %rcx
	andq	$-8, %rcx
	movd	%eax, %xmm2
	pshufd	$0, %xmm2, %xmm2                ## xmm2 = xmm2[0,0,0,0]
	leaq	-8(%rcx), %rdi
	movq	%rdi, %rsi
	shrq	$3, %rsi
	incq	%rsi
	movl	%esi, %r8d
	andl	$7, %r8d
	cmpq	$56, %rdi
	jae	LBB0_8
## %bb.7:
	xorl	%edi, %edi
	jmp	LBB0_10
LBB0_8:
	andq	$-8, %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm2, (%rdx,%rdi,4)
	movdqa	%xmm2, 16(%rdx,%rdi,4)
	movdqa	%xmm2, 32(%rdx,%rdi,4)
	movdqa	%xmm2, 48(%rdx,%rdi,4)
	movdqa	%xmm2, 64(%rdx,%rdi,4)
	movdqa	%xmm2, 80(%rdx,%rdi,4)
	movdqa	%xmm2, 96(%rdx,%rdi,4)
	movdqa	%xmm2, 112(%rdx,%rdi,4)
	movdqa	%xmm2, 128(%rdx,%rdi,4)
	movdqa	%xmm2, 144(%rdx,%rdi,4)
	movdqa	%xmm2, 160(%rdx,%rdi,4)
	movdqa	%xmm2, 176(%rdx,%rdi,4)
	movdqa	%xmm2, 192(%rdx,%rdi,4)
	movdqa	%xmm2, 208(%rdx,%rdi,4)
	movdqa	%xmm2, 224(%rdx,%rdi,4)
	movdqa	%xmm2, 240(%rdx,%rdi,4)
	addq	$64, %rdi
	addq	$-8, %rsi
	jne	LBB0_9
LBB0_10:
	testq	%r8, %r8
	je	LBB0_13
## %bb.11:
	leaq	(%rdx,%rdi,4), %rsi
	addq	$16, %rsi
	shlq	$5, %r8
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm2, -16(%rsi,%rdi)
	movdqa	%xmm2, (%rsi,%rdi)
	addq	$32, %rdi
	cmpq	%rdi, %r8
	jne	LBB0_12
LBB0_13:
	cmpq	%r15, %rcx
	je	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	%eax, (%rdx,%rcx,4)
	incq	%rcx
	cmpq	%rcx, %r15
	jne	LBB0_14
LBB0_15:
	cmpq	$0, -192(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_112
## %bb.16:
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	cvttss2si	%xmm1, %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	cvttss2si	%xmm0, %rcx
	leaq	(%r15,%r15), %rax
	movq	%rax, -280(%rbp)                ## 8-byte Spill
	cmpq	$2, %r15
	movl	$1, %eax
	cmovaeq	%r15, %rax
	leaq	-4(%r15), %rdx
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	movq	%rdx, %rsi
	shrq	$2, %rsi
	incq	%rsi
	leaq	-4(%rax), %rdx
	movq	%rdx, -272(%rbp)                ## 8-byte Spill
	movq	%rdx, %rdi
	shrq	$2, %rdi
	incq	%rdi
	movq	%r15, %rdx
	andq	$-4, %rdx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdx
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	andq	$-2, %rsi
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	andq	$-4, %rax
	movq	%rax, -256(%rbp)                ## 8-byte Spill
	movq	%rdi, %rax
	movq	%rdi, -264(%rbp)                ## 8-byte Spill
	andq	$-2, %rdi
	movq	%rdi, -232(%rbp)                ## 8-byte Spill
	movl	%r15d, %eax
	andl	$3, %eax
	movq	%rax, -248(%rbp)                ## 8-byte Spill
	movq	%rbx, %r13
	addl	$-128, %r13d
	leaq	(,%r15,8), %rax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	leaq	-1(%r15), %rax
	movq	%rax, -240(%rbp)                ## 8-byte Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	addq	$24, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	(,%r15,4), %rax
	movq	%rax, -288(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rcx, -168(%rbp)                ## 8-byte Spill
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	movq	%r13, -176(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_17:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_27 Depth 2
                                        ##     Child Loop BB0_33 Depth 2
                                        ##     Child Loop BB0_66 Depth 2
                                        ##     Child Loop BB0_72 Depth 2
                                        ##     Child Loop BB0_53 Depth 2
                                        ##     Child Loop BB0_59 Depth 2
                                        ##     Child Loop BB0_40 Depth 2
                                        ##     Child Loop BB0_46 Depth 2
                                        ##     Child Loop BB0_84 Depth 2
                                        ##     Child Loop BB0_88 Depth 2
                                        ##     Child Loop BB0_92 Depth 2
                                        ##     Child Loop BB0_102 Depth 2
                                        ##     Child Loop BB0_105 Depth 2
	movq	%rsp, -136(%rbp)                ## 8-byte Spill
	movl	%r14d, %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	cmpl	$7, %r13d
	ja	LBB0_73
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	-280(%rbp), %rax                ## 8-byte Reload
	imulq	-64(%rbp), %rax                 ## 8-byte Folded Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rsi
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%r13,4), %rax
	addq	%rcx, %rax
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	jmpq	*%rax
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=1
	testq	%r15, %r15
	je	LBB0_74
## %bb.20:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	%rbx, %rdi
	movq	-152(%rbp), %rdx                ## 8-byte Reload
	callq	_memcpy
	jmp	LBB0_74
LBB0_73:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	_GL_INVALID_ENUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	leaq	L_.str(%rip), %rdx
	callq	_gl_error
	jmp	LBB0_74
LBB0_34:                                ##   in Loop: Header=BB0_17 Depth=1
	testq	%r15, %r15
	je	LBB0_74
## %bb.35:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	imulq	%r15, %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rax
	cmpq	$4, %r15
	jae	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_17 Depth=1
	xorl	%edx, %edx
	jmp	LBB0_45
LBB0_47:                                ##   in Loop: Header=BB0_17 Depth=1
	testq	%r15, %r15
	je	LBB0_74
## %bb.48:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	imulq	%r15, %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rax
	cmpq	$4, %r15
	jae	LBB0_50
## %bb.49:                              ##   in Loop: Header=BB0_17 Depth=1
	xorl	%edx, %edx
	jmp	LBB0_58
LBB0_60:                                ##   in Loop: Header=BB0_17 Depth=1
	testq	%r15, %r15
	je	LBB0_74
## %bb.61:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	imulq	%r15, %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rax
	cmpq	$4, %r15
	jae	LBB0_63
## %bb.62:                              ##   in Loop: Header=BB0_17 Depth=1
	xorl	%edx, %edx
	jmp	LBB0_71
LBB0_21:                                ##   in Loop: Header=BB0_17 Depth=1
	testq	%r15, %r15
	je	LBB0_74
## %bb.22:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	imulq	%r15, %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rax
	cmpq	$4, %r15
	jae	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_17 Depth=1
	xorl	%edx, %edx
	jmp	LBB0_32
LBB0_37:                                ##   in Loop: Header=BB0_17 Depth=1
	cmpq	$4, -112(%rbp)                  ## 8-byte Folded Reload
	jae	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_17 Depth=1
	xorl	%ecx, %ecx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_41
LBB0_50:                                ##   in Loop: Header=BB0_17 Depth=1
	cmpq	$4, -112(%rbp)                  ## 8-byte Folded Reload
	jae	LBB0_52
## %bb.51:                              ##   in Loop: Header=BB0_17 Depth=1
	xorl	%ecx, %ecx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_54
LBB0_63:                                ##   in Loop: Header=BB0_17 Depth=1
	cmpq	$4, -112(%rbp)                  ## 8-byte Folded Reload
	jae	LBB0_65
## %bb.64:                              ##   in Loop: Header=BB0_17 Depth=1
	xorl	%ecx, %ecx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_67
LBB0_24:                                ##   in Loop: Header=BB0_17 Depth=1
	cmpq	$4, -112(%rbp)                  ## 8-byte Folded Reload
	jae	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_17 Depth=1
	xorl	%ecx, %ecx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_28
LBB0_39:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	xorl	%ecx, %ecx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_40:                                ##   Parent Loop BB0_17 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	pmovsxdq	-24(%rdi,%rcx,4), %xmm0
	pmovsxdq	-16(%rdi,%rcx,4), %xmm1
	movdqa	%xmm0, (%rbx,%rcx,8)
	movdqa	%xmm1, 16(%rbx,%rcx,8)
	pmovsxdq	-8(%rdi,%rcx,4), %xmm0
	pmovsxdq	(%rdi,%rcx,4), %xmm1
	movdqa	%xmm0, 32(%rbx,%rcx,8)
	movdqa	%xmm1, 48(%rbx,%rcx,8)
	addq	$8, %rcx
	addq	$-2, %rdx
	jne	LBB0_40
LBB0_41:                                ##   in Loop: Header=BB0_17 Depth=1
	testb	$1, -104(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_17 Depth=1
	pmovsxdq	(%rax,%rcx,4), %xmm0
	pmovsxdq	8(%rax,%rcx,4), %xmm1
	movdqa	%xmm0, (%rbx,%rcx,8)
	movdqa	%xmm1, 16(%rbx,%rcx,8)
LBB0_43:                                ##   in Loop: Header=BB0_17 Depth=1
	cmpq	%r15, %rsi
	je	LBB0_74
## %bb.44:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rax,%rdx,4), %rax
LBB0_45:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	%r15, %rcx
	subq	%rdx, %rcx
	leaq	(%rbx,%rdx,8), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_46:                                ##   Parent Loop BB0_17 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	(%rax,%rsi,4), %rdi
	movq	%rdi, (%rdx,%rsi,8)
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_46
	jmp	LBB0_74
LBB0_52:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	xorl	%ecx, %ecx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_53:                                ##   Parent Loop BB0_17 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	pmovsxdq	-24(%rdi,%rcx,4), %xmm0
	pmovsxdq	-16(%rdi,%rcx,4), %xmm1
	movdqa	%xmm0, (%rbx,%rcx,8)
	movdqa	%xmm1, 16(%rbx,%rcx,8)
	pmovsxdq	-8(%rdi,%rcx,4), %xmm0
	pmovsxdq	(%rdi,%rcx,4), %xmm1
	movdqa	%xmm0, 32(%rbx,%rcx,8)
	movdqa	%xmm1, 48(%rbx,%rcx,8)
	addq	$8, %rcx
	addq	$-2, %rdx
	jne	LBB0_53
LBB0_54:                                ##   in Loop: Header=BB0_17 Depth=1
	testb	$1, -104(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_56
## %bb.55:                              ##   in Loop: Header=BB0_17 Depth=1
	pmovsxdq	(%rax,%rcx,4), %xmm0
	pmovsxdq	8(%rax,%rcx,4), %xmm1
	movdqa	%xmm0, (%rbx,%rcx,8)
	movdqa	%xmm1, 16(%rbx,%rcx,8)
LBB0_56:                                ##   in Loop: Header=BB0_17 Depth=1
	cmpq	%r15, %rsi
	je	LBB0_74
## %bb.57:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rax,%rdx,4), %rax
LBB0_58:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	%r15, %rcx
	subq	%rdx, %rcx
	leaq	(%rbx,%rdx,8), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_59:                                ##   Parent Loop BB0_17 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	(%rax,%rsi,4), %rdi
	movq	%rdi, (%rdx,%rsi,8)
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_59
	jmp	LBB0_74
LBB0_65:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	xorl	%ecx, %ecx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_66:                                ##   Parent Loop BB0_17 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	pmovsxdq	-24(%rdi,%rcx,4), %xmm0
	pmovsxdq	-16(%rdi,%rcx,4), %xmm1
	movdqa	%xmm0, (%rbx,%rcx,8)
	movdqa	%xmm1, 16(%rbx,%rcx,8)
	pmovsxdq	-8(%rdi,%rcx,4), %xmm0
	pmovsxdq	(%rdi,%rcx,4), %xmm1
	movdqa	%xmm0, 32(%rbx,%rcx,8)
	movdqa	%xmm1, 48(%rbx,%rcx,8)
	addq	$8, %rcx
	addq	$-2, %rdx
	jne	LBB0_66
LBB0_67:                                ##   in Loop: Header=BB0_17 Depth=1
	testb	$1, -104(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_69
## %bb.68:                              ##   in Loop: Header=BB0_17 Depth=1
	pmovsxdq	(%rax,%rcx,4), %xmm0
	pmovsxdq	8(%rax,%rcx,4), %xmm1
	movdqa	%xmm0, (%rbx,%rcx,8)
	movdqa	%xmm1, 16(%rbx,%rcx,8)
LBB0_69:                                ##   in Loop: Header=BB0_17 Depth=1
	cmpq	%r15, %rsi
	je	LBB0_74
## %bb.70:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rax,%rdx,4), %rax
LBB0_71:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	%r15, %rcx
	subq	%rdx, %rcx
	leaq	(%rbx,%rdx,8), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_72:                                ##   Parent Loop BB0_17 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	(%rax,%rsi,4), %rdi
	movq	%rdi, (%rdx,%rsi,8)
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_72
	jmp	LBB0_74
LBB0_26:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	xorl	%ecx, %ecx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_27:                                ##   Parent Loop BB0_17 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	pmovsxdq	-24(%rdi,%rcx,4), %xmm0
	pmovsxdq	-16(%rdi,%rcx,4), %xmm1
	movdqa	%xmm0, (%rbx,%rcx,8)
	movdqa	%xmm1, 16(%rbx,%rcx,8)
	pmovsxdq	-8(%rdi,%rcx,4), %xmm0
	pmovsxdq	(%rdi,%rcx,4), %xmm1
	movdqa	%xmm0, 32(%rbx,%rcx,8)
	movdqa	%xmm1, 48(%rbx,%rcx,8)
	addq	$8, %rcx
	addq	$-2, %rdx
	jne	LBB0_27
LBB0_28:                                ##   in Loop: Header=BB0_17 Depth=1
	testb	$1, -104(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_17 Depth=1
	pmovsxdq	(%rax,%rcx,4), %xmm0
	pmovsxdq	8(%rax,%rcx,4), %xmm1
	movdqa	%xmm0, (%rbx,%rcx,8)
	movdqa	%xmm1, 16(%rbx,%rcx,8)
LBB0_30:                                ##   in Loop: Header=BB0_17 Depth=1
	cmpq	%r15, %rsi
	je	LBB0_74
## %bb.31:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rax,%rdx,4), %rax
LBB0_32:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	%r15, %rcx
	subq	%rdx, %rcx
	leaq	(%rbx,%rdx,8), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_33:                                ##   Parent Loop BB0_17 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	(%rax,%rsi,4), %rdi
	movq	%rdi, (%rdx,%rsi,8)
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_33
	.p2align	4, 0x90
LBB0_74:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	16(%r12), %rax
	testq	%rax, %rax
	je	LBB0_75
## %bb.77:                              ##   in Loop: Header=BB0_17 Depth=1
	testq	%r15, %r15
	movq	-184(%rbp), %rdi                ## 8-byte Reload
	je	LBB0_89
## %bb.78:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	24(%r12), %rcx
	jmp	LBB0_79
	.p2align	4, 0x90
LBB0_75:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	24(%r12), %rcx
	testq	%rcx, %rcx
	movq	-184(%rbp), %rdi                ## 8-byte Reload
	je	LBB0_89
## %bb.76:                              ##   in Loop: Header=BB0_17 Depth=1
	testq	%r15, %r15
	je	LBB0_89
LBB0_79:                                ##   in Loop: Header=BB0_17 Depth=1
	cmpq	$4, %rdi
	jae	LBB0_81
## %bb.80:                              ##   in Loop: Header=BB0_17 Depth=1
	xorl	%edx, %edx
	jmp	LBB0_88
	.p2align	4, 0x90
LBB0_81:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	%rcx, %xmm1
	movq	%rax, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	cmpq	$4, -272(%rbp)                  ## 8-byte Folded Reload
	jae	LBB0_83
## %bb.82:                              ##   in Loop: Header=BB0_17 Depth=1
	xorl	%edx, %edx
	jmp	LBB0_85
LBB0_83:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	-232(%rbp), %rsi                ## 8-byte Reload
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_84:                                ##   Parent Loop BB0_17 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqa	(%rbx,%rdx,8), %xmm2
	movdqa	16(%rbx,%rdx,8), %xmm3
	movdqa	32(%rbx,%rdx,8), %xmm4
	movdqa	48(%rbx,%rdx,8), %xmm5
	psllq	%xmm1, %xmm2
	psllq	%xmm1, %xmm3
	paddq	%xmm0, %xmm2
	paddq	%xmm0, %xmm3
	movdqa	%xmm2, (%rbx,%rdx,8)
	movdqa	%xmm3, 16(%rbx,%rdx,8)
	psllq	%xmm1, %xmm4
	psllq	%xmm1, %xmm5
	paddq	%xmm0, %xmm4
	paddq	%xmm0, %xmm5
	movdqa	%xmm4, 32(%rbx,%rdx,8)
	movdqa	%xmm5, 48(%rbx,%rdx,8)
	addq	$8, %rdx
	addq	$-2, %rsi
	jne	LBB0_84
LBB0_85:                                ##   in Loop: Header=BB0_17 Depth=1
	testb	$1, -264(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_87
## %bb.86:                              ##   in Loop: Header=BB0_17 Depth=1
	movdqa	(%rbx,%rdx,8), %xmm2
	movdqa	16(%rbx,%rdx,8), %xmm3
	psllq	%xmm1, %xmm2
	psllq	%xmm1, %xmm3
	paddq	%xmm0, %xmm2
	paddq	%xmm0, %xmm3
	movdqa	%xmm2, (%rbx,%rdx,8)
	movdqa	%xmm3, 16(%rbx,%rdx,8)
LBB0_87:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	-256(%rbp), %rsi                ## 8-byte Reload
	movq	%rsi, %rdx
	cmpq	%rsi, %rdi
	je	LBB0_89
	.p2align	4, 0x90
LBB0_88:                                ##   Parent Loop BB0_17 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rbx,%rdx,8), %rsi
	shlq	%cl, %rsi
	addq	%rax, %rsi
	movq	%rsi, (%rbx,%rdx,8)
	incq	%rdx
	cmpq	%rdx, %rdi
	jne	LBB0_88
LBB0_89:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	80(%r12), %rax
	cmpq	$0, 16(%rax)
	je	LBB0_97
## %bb.90:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	%rsp, -200(%rbp)                ## 8-byte Spill
	movq	_MAX_WIDTH@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -224(%rbp)                ## 8-byte Spill
	movl	(%r14), %r14d
	shlq	$3, %r14
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -216(%rbp)                ## 8-byte Spill
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rbx, -304(%rbp)                ## 8-byte Spill
	movq	%rsp, -208(%rbp)                ## 8-byte Spill
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	testq	%r15, %r15
	je	LBB0_93
## %bb.91:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	32(%rcx), %rax
	movq	%rax, -296(%rbp)                ## 8-byte Spill
	movq	40(%rcx), %r9
	movq	80(%rcx), %rdx
	movslq	(%rdx), %r11
	movslq	4(%rdx), %r13
	movq	48(%rcx), %r8
	movslq	8(%rdx), %r12
	movq	56(%rcx), %rcx
	movslq	12(%rdx), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_92:                                ##   Parent Loop BB0_17 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-304(%rbp), %rax                ## 8-byte Reload
	movq	(%rax,%rsi,8), %r14
	movq	%r15, %rdi
	movq	-296(%rbp), %rax                ## 8-byte Reload
	movslq	(%rax,%r14,4), %r15
	imulq	%r11, %r15
	movq	-224(%rbp), %r10                ## 8-byte Reload
	movq	%r15, (%r10,%rsi,8)
	movq	%rdi, %r15
	movslq	(%r9,%r14,4), %rdi
	imulq	%r13, %rdi
	movq	-216(%rbp), %rax                ## 8-byte Reload
	movq	%rdi, (%rax,%rsi,8)
	movslq	(%r8,%r14,4), %rdi
	imulq	%r12, %rdi
	movq	-208(%rbp), %rax                ## 8-byte Reload
	movq	%rdi, (%rax,%rsi,8)
	movslq	(%rcx,%r14,4), %rdi
	imulq	%rdx, %rdi
	movq	%rdi, (%rbx,%rsi,8)
	incq	%rsi
	cmpq	%rsi, %r15
	jne	LBB0_92
LBB0_93:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	-208(%rbp), %r12                ## 8-byte Reload
	movq	-216(%rbp), %rax                ## 8-byte Reload
	movq	-224(%rbp), %r9                 ## 8-byte Reload
	cmpb	$0, -160(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_96
## %bb.94:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	movq	-144(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rcx
	movq	-128(%rbp), %r8                 ## 8-byte Reload
	pushq	-168(%rbp)                      ## 8-byte Folded Reload
	pushq	%rbx
	pushq	%r12
	pushq	%rax
	callq	_gl_write_zoomed_color_span
	jmp	LBB0_95
	.p2align	4, 0x90
LBB0_97:                                ##   in Loop: Header=BB0_17 Depth=1
	cmpq	$0, 72(%r12)
	movq	-144(%rbp), %r14                ## 8-byte Reload
	je	LBB0_106
## %bb.98:                              ##   in Loop: Header=BB0_17 Depth=1
	testq	%r15, %r15
	je	LBB0_106
## %bb.99:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	64(%r12), %rax
	cmpq	$3, -240(%rbp)                  ## 8-byte Folded Reload
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jae	LBB0_101
## %bb.100:                             ##   in Loop: Header=BB0_17 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_103
	.p2align	4, 0x90
LBB0_96:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	movq	-144(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rcx
	movq	-128(%rbp), %r8                 ## 8-byte Reload
	pushq	$135
	pushq	%rbx
	pushq	%r12
	pushq	%rax
	callq	_gl_write_color_span
LBB0_95:                                ##   in Loop: Header=BB0_17 Depth=1
	addq	$32, %rsp
	movq	-200(%rbp), %rsp                ## 8-byte Reload
	movq	-176(%rbp), %r13                ## 8-byte Reload
	jmp	LBB0_110
LBB0_101:                               ##   in Loop: Header=BB0_17 Depth=1
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_102:                               ##   Parent Loop BB0_17 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rbx,%rcx,8), %rdx
	movq	8(%rbx,%rcx,8), %rsi
	movq	(%rax,%rdx,8), %rdx
	movq	%rdx, (%rbx,%rcx,8)
	movq	(%rax,%rsi,8), %rdx
	movq	%rdx, 8(%rbx,%rcx,8)
	movq	16(%rbx,%rcx,8), %rdx
	movq	(%rax,%rdx,8), %rdx
	movq	%rdx, 16(%rbx,%rcx,8)
	movq	24(%rbx,%rcx,8), %rdx
	movq	(%rax,%rdx,8), %rdx
	movq	%rdx, 24(%rbx,%rcx,8)
	addq	$4, %rcx
	cmpq	%rcx, %rdi
	jne	LBB0_102
LBB0_103:                               ##   in Loop: Header=BB0_17 Depth=1
	movq	-248(%rbp), %rdi                ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_106
## %bb.104:                             ##   in Loop: Header=BB0_17 Depth=1
	leaq	(%rbx,%rcx,8), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_105:                               ##   Parent Loop BB0_17 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rcx,%rdx,8), %rsi
	movq	(%rax,%rsi,8), %rsi
	movq	%rsi, (%rcx,%rdx,8)
	incq	%rdx
	cmpq	%rdx, %rdi
	jne	LBB0_105
LBB0_106:                               ##   in Loop: Header=BB0_17 Depth=1
	cmpb	$0, -160(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_108
## %bb.107:                             ##   in Loop: Header=BB0_17 Depth=1
	subq	$8, %rsp
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	movq	%r14, %rcx
	movq	-128(%rbp), %r8                 ## 8-byte Reload
	movq	%rbx, %r9
	pushq	-168(%rbp)                      ## 8-byte Folded Reload
	callq	_gl_write_zoomed_index_span
	jmp	LBB0_109
LBB0_108:                               ##   in Loop: Header=BB0_17 Depth=1
	subq	$8, %rsp
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	movq	%r14, %rcx
	movq	-128(%rbp), %r8                 ## 8-byte Reload
	movq	%rbx, %r9
	pushq	$135
	callq	_gl_write_index_span
LBB0_109:                               ##   in Loop: Header=BB0_17 Depth=1
	addq	$16, %rsp
LBB0_110:                               ##   in Loop: Header=BB0_17 Depth=1
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movq	%rax, %rsp
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	incq	%rcx
	movq	%rcx, %rax
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	cmpq	-192(%rbp), %rcx                ## 8-byte Folded Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	je	LBB0_112
## %bb.111:                             ##   in Loop: Header=BB0_17 Depth=1
	incq	%r14
	movq	%r14, -144(%rbp)                ## 8-byte Spill
	movq	_MAX_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	addq	-288(%rbp), %rcx                ## 8-byte Folded Reload
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_17
LBB0_112:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_114
## %bb.113:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_114:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_34, LBB0_34-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_47, LBB0_47-LJTI0_0
.set L0_0_set_60, LBB0_60-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_74, LBB0_74-LJTI0_0
LJTI0_0:
	.long	L0_0_set_34
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_47
	.long	L0_0_set_19
	.long	L0_0_set_60
	.long	L0_0_set_21
	.long	L0_0_set_74
	.end_data_region
                                        ## -- End function
	.comm	_MAX_WIDTH,4,2                  ## @MAX_WIDTH
	.comm	_DEPTH_SCALE,4,2                ## @DEPTH_SCALE
	.comm	_GL_INVALID_ENUM,4,2            ## @GL_INVALID_ENUM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Internal: draw_index_pixels"

	.no_dead_strip	_draw_index_pixels
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function draw_index_pixels
_draw_index_pixels:                     ; @draw_index_pixels
	.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	x2, x4, [x29, #-104]            ; 16-byte Folded Spill
	mov	x21, x1
	mov	x22, 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	x8, _MAX_WIDTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_WIDTH@GOTPAGEOFF]
Lloh5:
	ldr	w12, [x8]
	lsl	x8, x12, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x8, x9, x8
	stur	x8, [x29, #-112]                ; 8-byte Folded Spill
	mov	sp, x8
	ldr	d1, [x0]
	fmov	d0, #1.00000000
	fcmp	d1, d0
	b.eq	LBB0_2
; %bb.1:
	mov	w8, #1
	b	LBB0_3
LBB0_2:
	ldr	d1, [x22, #8]
	fcmp	d1, d0
	cset	w8, ne
LBB0_3:
	stur	w8, [x29, #-116]                ; 4-byte Folded Spill
	ldp	x8, x9, [x22, #88]
	ldp	s1, s0, [x8]
	cbz	x9, LBB0_12
; %bb.4:
	cbz	x21, LBB0_12
; %bb.5:
	ldr	s2, [x8, #8]
Lloh8:
	adrp	x8, _DEPTH_SCALE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DEPTH_SCALE@GOTPAGEOFF]
Lloh10:
	ldr	s3, [x8]
	scvtf	s3, s3
	fmul	s2, s2, s3
	fcvtzs	w8, s2
	cmp	x21, #16
	b.hs	LBB0_7
; %bb.6:
	mov	x9, #0
	b	LBB0_10
LBB0_7:
	and	x9, x21, #0xfffffffffffffff0
	dup.4s	v2, w8
	ldur	x10, [x29, #-112]               ; 8-byte Folded Reload
	add	x10, x10, #32
	mov	x11, x9
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	stp	q2, q2, [x10, #-32]
	stp	q2, q2, [x10], #64
	subs	x11, x11, #16
	b.ne	LBB0_8
; %bb.9:
	cmp	x9, x21
	b.eq	LBB0_12
LBB0_10:
	sub	x10, x21, x9
	ldur	x11, [x29, #-112]               ; 8-byte Folded Reload
	add	x9, x11, x9, lsl #2
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	str	w8, [x9], #4
	subs	x10, x10, #1
	b.ne	LBB0_11
LBB0_12:
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	cbz	x8, LBB0_78
; %bb.13:
	mov	x25, #0
	fmov	s2, #0.50000000
	fadd	s1, s1, s2
	fcvtzs	x9, s1
	fadd	s0, s0, s2
	fcvtzs	x28, s0
	lsl	x10, x21, #1
	lsl	x11, x21, #3
	cmp	x21, #1
	csinc	x20, x21, xzr, hi
	and	x8, x21, #0xfffffffffffffff8
	stp	x11, x8, [x29, #-176]           ; 16-byte Folded Spill
	and	x8, x20, #0xfffffffffffffff8
	stp	x8, x10, [x29, #-152]           ; 16-byte Folded Spill
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	add	x23, x8, #16
	lsl	x8, x21, #2
	stp	x8, x9, [x29, #-136]            ; 16-byte Folded Spill
	sub	w26, w3, #128
	stur	x28, [x29, #-160]               ; 8-byte Folded Spill
LBB0_14:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_47 Depth 2
                                        ;     Child Loop BB0_50 Depth 2
                                        ;     Child Loop BB0_42 Depth 2
                                        ;     Child Loop BB0_45 Depth 2
                                        ;     Child Loop BB0_37 Depth 2
                                        ;     Child Loop BB0_40 Depth 2
                                        ;     Child Loop BB0_32 Depth 2
                                        ;     Child Loop BB0_35 Depth 2
                                        ;     Child Loop BB0_58 Depth 2
                                        ;     Child Loop BB0_61 Depth 2
                                        ;     Child Loop BB0_65 Depth 2
                                        ;     Child Loop BB0_70 Depth 2
	mov	x24, sp
	mov	w8, w12
	lsl	x8, x8, #3
	mov	x9, x8
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	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
	cmp	w26, #7
	b.hi	LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldur	x8, [x29, #-144]                ; 8-byte Folded Reload
	mul	x8, x8, x25
	ldur	x9, [x29, #-96]                 ; 8-byte Folded Reload
	add	x1, x9, x8, lsl #2
Lloh13:
	adrp	x10, lJTI0_0@PAGE
Lloh14:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x8, LBB0_16
	ldrb	w9, [x10, x26]
	add	x8, x8, x9, lsl #2
	br	x8
LBB0_16:                                ;   in Loop: Header=BB0_14 Depth=1
	cbz	x21, LBB0_51
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x27
	ldur	x2, [x29, #-176]                ; 8-byte Folded Reload
	bl	_memcpy
	b	LBB0_51
LBB0_18:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh15:
	adrp	x8, _GL_INVALID_ENUM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GL_INVALID_ENUM@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x22
Lloh18:
	adrp	x2, l_.str@PAGE
Lloh19:
	add	x2, x2, l_.str@PAGEOFF
	bl	_gl_error
	b	LBB0_51
LBB0_19:                                ;   in Loop: Header=BB0_14 Depth=1
	cbz	x21, LBB0_51
; %bb.20:                               ;   in Loop: Header=BB0_14 Depth=1
	mul	x8, x25, x21
	ldur	x9, [x29, #-96]                 ; 8-byte Folded Reload
	add	x8, x9, x8, lsl #2
	cmp	x21, #8
	b.hs	LBB0_31
; %bb.21:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x10, #0
	b	LBB0_34
LBB0_22:                                ;   in Loop: Header=BB0_14 Depth=1
	cbz	x21, LBB0_51
; %bb.23:                               ;   in Loop: Header=BB0_14 Depth=1
	mul	x8, x25, x21
	ldur	x9, [x29, #-96]                 ; 8-byte Folded Reload
	add	x8, x9, x8, lsl #2
	cmp	x21, #8
	b.hs	LBB0_36
; %bb.24:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x10, #0
	b	LBB0_39
LBB0_25:                                ;   in Loop: Header=BB0_14 Depth=1
	cbz	x21, LBB0_51
; %bb.26:                               ;   in Loop: Header=BB0_14 Depth=1
	mul	x8, x25, x21
	ldur	x9, [x29, #-96]                 ; 8-byte Folded Reload
	add	x8, x9, x8, lsl #2
	cmp	x21, #8
	b.hs	LBB0_41
; %bb.27:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x10, #0
	b	LBB0_44
LBB0_28:                                ;   in Loop: Header=BB0_14 Depth=1
	cbz	x21, LBB0_51
; %bb.29:                               ;   in Loop: Header=BB0_14 Depth=1
	mul	x8, x25, x21
	ldur	x9, [x29, #-96]                 ; 8-byte Folded Reload
	add	x8, x9, x8, lsl #2
	cmp	x21, #8
	b.hs	LBB0_46
; %bb.30:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x10, #0
	b	LBB0_49
LBB0_31:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x9, x27, #32
	mov	x10, x23
	ldur	x12, [x29, #-168]               ; 8-byte Folded Reload
	mov	x11, x12
	add	x8, x8, x12, lsl #2
LBB0_32:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	d0, d1, [x10, #-16]
	ldp	d2, d3, [x10], #32
	sshll.2d	v0, v0, #0
	sshll.2d	v1, v1, #0
	sshll.2d	v2, v2, #0
	sshll.2d	v3, v3, #0
	stp	q0, q1, [x9, #-32]
	stp	q2, q3, [x9], #64
	subs	x11, x11, #8
	b.ne	LBB0_32
; %bb.33:                               ;   in Loop: Header=BB0_14 Depth=1
	ldur	x9, [x29, #-168]                ; 8-byte Folded Reload
	mov	x10, x9
	cmp	x9, x21
	b.eq	LBB0_51
LBB0_34:                                ;   in Loop: Header=BB0_14 Depth=1
	sub	x9, x21, x10
	add	x10, x27, x10, lsl #3
LBB0_35:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x11, [x8], #4
	str	x11, [x10], #8
	subs	x9, x9, #1
	b.ne	LBB0_35
	b	LBB0_51
LBB0_36:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x9, x27, #32
	mov	x10, x23
	ldur	x12, [x29, #-168]               ; 8-byte Folded Reload
	mov	x11, x12
	add	x8, x8, x12, lsl #2
LBB0_37:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	d0, d1, [x10, #-16]
	ldp	d2, d3, [x10], #32
	sshll.2d	v0, v0, #0
	sshll.2d	v1, v1, #0
	sshll.2d	v2, v2, #0
	sshll.2d	v3, v3, #0
	stp	q0, q1, [x9, #-32]
	stp	q2, q3, [x9], #64
	subs	x11, x11, #8
	b.ne	LBB0_37
; %bb.38:                               ;   in Loop: Header=BB0_14 Depth=1
	ldur	x9, [x29, #-168]                ; 8-byte Folded Reload
	mov	x10, x9
	cmp	x9, x21
	b.eq	LBB0_51
LBB0_39:                                ;   in Loop: Header=BB0_14 Depth=1
	sub	x9, x21, x10
	add	x10, x27, x10, lsl #3
LBB0_40:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x11, [x8], #4
	str	x11, [x10], #8
	subs	x9, x9, #1
	b.ne	LBB0_40
	b	LBB0_51
LBB0_41:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x9, x27, #32
	mov	x10, x23
	ldur	x12, [x29, #-168]               ; 8-byte Folded Reload
	mov	x11, x12
	add	x8, x8, x12, lsl #2
LBB0_42:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	d0, d1, [x10, #-16]
	ldp	d2, d3, [x10], #32
	sshll.2d	v0, v0, #0
	sshll.2d	v1, v1, #0
	sshll.2d	v2, v2, #0
	sshll.2d	v3, v3, #0
	stp	q0, q1, [x9, #-32]
	stp	q2, q3, [x9], #64
	subs	x11, x11, #8
	b.ne	LBB0_42
; %bb.43:                               ;   in Loop: Header=BB0_14 Depth=1
	ldur	x9, [x29, #-168]                ; 8-byte Folded Reload
	mov	x10, x9
	cmp	x9, x21
	b.eq	LBB0_51
LBB0_44:                                ;   in Loop: Header=BB0_14 Depth=1
	sub	x9, x21, x10
	add	x10, x27, x10, lsl #3
LBB0_45:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x11, [x8], #4
	str	x11, [x10], #8
	subs	x9, x9, #1
	b.ne	LBB0_45
	b	LBB0_51
LBB0_46:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x9, x27, #32
	mov	x10, x23
	ldur	x12, [x29, #-168]               ; 8-byte Folded Reload
	mov	x11, x12
	add	x8, x8, x12, lsl #2
LBB0_47:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	d0, d1, [x10, #-16]
	ldp	d2, d3, [x10], #32
	sshll.2d	v0, v0, #0
	sshll.2d	v1, v1, #0
	sshll.2d	v2, v2, #0
	sshll.2d	v3, v3, #0
	stp	q0, q1, [x9, #-32]
	stp	q2, q3, [x9], #64
	subs	x11, x11, #8
	b.ne	LBB0_47
; %bb.48:                               ;   in Loop: Header=BB0_14 Depth=1
	ldur	x9, [x29, #-168]                ; 8-byte Folded Reload
	mov	x10, x9
	cmp	x9, x21
	b.eq	LBB0_51
LBB0_49:                                ;   in Loop: Header=BB0_14 Depth=1
	sub	x9, x21, x10
	add	x10, x27, x10, lsl #3
LBB0_50:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x11, [x8], #4
	str	x11, [x10], #8
	subs	x9, x9, #1
	b.ne	LBB0_50
LBB0_51:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x22, #16]
	cbz	x8, LBB0_54
; %bb.52:                               ;   in Loop: Header=BB0_14 Depth=1
	cbz	x21, LBB0_62
; %bb.53:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x9, [x22, #24]
	b	LBB0_55
LBB0_54:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	x9, [x22, #24]
	cmp	x9, #0
	ccmp	x21, #0, #4, ne
	b.eq	LBB0_62
LBB0_55:                                ;   in Loop: Header=BB0_14 Depth=1
	cmp	x20, #8
	b.hs	LBB0_57
; %bb.56:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x11, #0
	b	LBB0_60
LBB0_57:                                ;   in Loop: Header=BB0_14 Depth=1
	dup.2d	v0, x9
	dup.2d	v1, x8
	add	x10, x27, #32
	ldur	x11, [x29, #-152]               ; 8-byte Folded Reload
LBB0_58:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q2, q3, [x10, #-32]
	ldp	q4, q5, [x10]
	ushl.2d	v2, v2, v0
	ushl.2d	v3, v3, v0
	ushl.2d	v4, v4, v0
	ushl.2d	v5, v5, v0
	add.2d	v2, v2, v1
	add.2d	v3, v3, v1
	add.2d	v4, v4, v1
	add.2d	v5, v5, v1
	stp	q2, q3, [x10, #-32]
	stp	q4, q5, [x10], #64
	subs	x11, x11, #8
	b.ne	LBB0_58
; %bb.59:                               ;   in Loop: Header=BB0_14 Depth=1
	ldur	x10, [x29, #-152]               ; 8-byte Folded Reload
	mov	x11, x10
	cmp	x20, x10
	b.eq	LBB0_62
LBB0_60:                                ;   in Loop: Header=BB0_14 Depth=1
	sub	x10, x20, x11
	add	x11, x27, x11, lsl #3
LBB0_61:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x12, [x11]
	lsl	x12, x12, x9
	add	x12, x12, x8
	str	x12, [x11], #8
	subs	x10, x10, #1
	b.ne	LBB0_61
LBB0_62:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x22, #80]
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_68
; %bb.63:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x19, sp
Lloh20:
	adrp	x12, _MAX_WIDTH@GOTPAGE
Lloh21:
	ldr	x12, [x12, _MAX_WIDTH@GOTPAGEOFF]
	ldr	w8, [x12]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh22:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh23:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x5, x9, x8
	mov	sp, x5
	ldr	w8, [x12]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh24:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh25:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0xffffffff0
	sub	x6, x9, x12
	mov	sp, x6
	mov	x9, x8
Lloh26:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh27:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x7, x9, x12
	mov	sp, x7
	mov	x9, x8
Lloh28:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh29:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x8, x8, x12
	mov	sp, x8
	cbz	x21, LBB0_66
; %bb.64:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x17, [x22, #80]
	ldp	x9, x10, [x22, #32]
	ldpsw	x11, x12, [x17]
	ldp	x13, x14, [x22, #48]
	mov	x15, x5
	ldpsw	x16, x17, [x17, #8]
	mov	x0, x6
	mov	x1, x7
	mov	x2, x8
	mov	x3, x21
LBB0_65:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x4, [x27], #8
	lsl	x4, x4, #2
	ldrsw	x30, [x9, x4]
	mul	x30, x11, x30
	str	x30, [x15], #8
	ldrsw	x30, [x10, x4]
	mul	x30, x12, x30
	str	x30, [x0], #8
	ldrsw	x30, [x13, x4]
	mul	x30, x16, x30
	str	x30, [x1], #8
	ldrsw	x4, [x14, x4]
	mul	x4, x17, x4
	str	x4, [x2], #8
	subs	x3, x3, #1
	b.ne	LBB0_65
LBB0_66:                                ;   in Loop: Header=BB0_14 Depth=1
	ldur	w9, [x29, #-116]                ; 4-byte Folded Reload
	cbz	w9, LBB0_73
; %bb.67:                               ;   in Loop: Header=BB0_14 Depth=1
	ldur	x9, [x29, #-160]                ; 8-byte Folded Reload
	stp	x8, x9, [sp, #-16]!
	mov	x0, x22
	mov	x1, x21
	ldur	x2, [x29, #-128]                ; 8-byte Folded Reload
	mov	x3, x28
	ldur	x4, [x29, #-112]                ; 8-byte Folded Reload
	bl	_gl_write_zoomed_color_span
	b	LBB0_74
LBB0_68:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x22, #72]
	cmp	x8, #0
	ccmp	x21, #0, #4, ne
	b.eq	LBB0_71
; %bb.69:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x22, #64]
	mov	x9, x27
	mov	x10, x21
LBB0_70:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x11, [x9]
	ldr	x11, [x8, x11, lsl #3]
	str	x11, [x9], #8
	subs	x10, x10, #1
	b.ne	LBB0_70
LBB0_71:                                ;   in Loop: Header=BB0_14 Depth=1
	ldur	w8, [x29, #-116]                ; 4-byte Folded Reload
	cbz	w8, LBB0_75
; %bb.72:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x22
	mov	x1, x21
	ldur	x2, [x29, #-128]                ; 8-byte Folded Reload
	mov	x3, x28
	ldur	x4, [x29, #-112]                ; 8-byte Folded Reload
	mov	x5, x27
	ldur	x6, [x29, #-160]                ; 8-byte Folded Reload
	bl	_gl_write_zoomed_index_span
	b	LBB0_76
LBB0_73:                                ;   in Loop: Header=BB0_14 Depth=1
	sub	sp, sp, #16
	mov	w9, #135
	str	w9, [sp, #8]
	str	x8, [sp]
	mov	x0, x22
	mov	x1, x21
	ldur	x2, [x29, #-128]                ; 8-byte Folded Reload
	mov	x3, x28
	ldur	x4, [x29, #-112]                ; 8-byte Folded Reload
	bl	_gl_write_color_span
LBB0_74:                                ;   in Loop: Header=BB0_14 Depth=1
	add	sp, sp, #16
	mov	sp, x19
	b	LBB0_76
LBB0_75:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x22
	mov	x1, x21
	ldur	x2, [x29, #-128]                ; 8-byte Folded Reload
	mov	x3, x28
	ldur	x4, [x29, #-112]                ; 8-byte Folded Reload
	mov	x5, x27
	mov	w6, #135
	bl	_gl_write_index_span
LBB0_76:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	sp, x24
	add	x25, x25, #1
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	cmp	x25, x8
	b.eq	LBB0_78
; %bb.77:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x28, x28, #1
Lloh30:
	adrp	x8, _MAX_WIDTH@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MAX_WIDTH@GOTPAGEOFF]
Lloh32:
	ldr	w12, [x8]
	ldur	x8, [x29, #-136]                ; 8-byte Folded Reload
	add	x23, x23, x8
	b	LBB0_14
LBB0_78:
	ldur	x8, [x29, #-88]
Lloh33:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh34:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_80
; %bb.79:
	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_80:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_19-LBB0_16)>>2
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_22-LBB0_16)>>2
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_25-LBB0_16)>>2
	.byte	(LBB0_28-LBB0_16)>>2
	.byte	(LBB0_51-LBB0_16)>>2
                                        ; -- End function
	.comm	_MAX_WIDTH,4,2                  ; @MAX_WIDTH
	.comm	_DEPTH_SCALE,4,2                ; @DEPTH_SCALE
	.comm	_GL_INVALID_ENUM,4,2            ; @GL_INVALID_ENUM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Internal: draw_index_pixels"

	.no_dead_strip	_draw_index_pixels
.subsections_via_symbols
