	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_stencil_pixels
_read_stencil_pixels:                   ## @read_stencil_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	$184, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r9d killed $r9d def $r9
	movq	%r9, -160(%rbp)                 ## 8-byte Spill
	movq	%r8, -152(%rbp)                 ## 8-byte Spill
	movq	%rsi, -200(%rbp)                ## 8-byte Spill
	movq	16(%rbp), %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	72(%rdi), %rax
	cmpq	$0, (%rax)
	jle	LBB0_1
## %bb.4:
	movq	%rcx, %r12
	movq	%rdx, %rbx
	movb	$1, -49(%rbp)                   ## 1-byte Folded Spill
	cmpq	$0, 40(%rdi)
	jne	LBB0_6
## %bb.5:
	cmpq	$0, 48(%rdi)
	setne	-49(%rbp)                       ## 1-byte Folded Spill
LBB0_6:
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	-160(%rbp), %rdi                ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_gl_sizeof_type
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rax, %rcx
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	movq	8(%rax), %rax
	testq	%rax, %rax
	cmovleq	%r12, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	cmpq	%rsi, %rcx
	jae	LBB0_13
## %bb.9:
	movq	%rsi, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_10
## %bb.11:
	movq	%rsi, %rax
	xorl	%edx, %edx
	divq	%rcx
	movq	%rax, %r14
	jmp	LBB0_12
LBB0_1:
	leaq	L_.str(%rip), %rdx
	movq	_GL_INVALID_OPERATION@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_7:
	leaq	L_.str.1(%rip), %rdx
	movq	_GL_INVALID_ENUM@GOTPCREL(%rip), %rax
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
LBB0_2:
	movl	(%rax), %esi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_90
## %bb.3:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gl_error                       ## TAILCALL
LBB0_10:
	movl	%esi, %eax
	xorl	%edx, %edx
	divl	%ecx
	movl	%eax, %r14d
LBB0_12:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	imulq	%rcx, %rdi
	callq	_CEILING
	imulq	%r14, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
LBB0_13:
	cmpq	$0, -152(%rbp)                  ## 8-byte Folded Reload
	jle	LBB0_88
## %bb.14:
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	16(%rcx), %rax
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	imulq	%rdx, %rax
	addq	24(%rcx), %rax
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rsi
	movq	%rsi, -128(%rbp)                ## 8-byte Spill
	leaq	(%rcx,%rax,8), %rsi
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%rax), %rsi
	movq	%rsi, -184(%rbp)                ## 8-byte Spill
	leaq	(%rdx,%rdx), %rsi
	movq	%rsi, -176(%rbp)                ## 8-byte Spill
	leaq	(,%r12,8), %rsi
	movq	%rsi, -136(%rbp)                ## 8-byte Spill
	leaq	-4(%r12), %rsi
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	movq	%rsi, %rdi
	shrq	$2, %rdi
	incq	%rdi
	leaq	-1(%r12), %rsi
	movq	%rsi, -168(%rbp)                ## 8-byte Spill
	movq	%r12, %rsi
	andq	$-4, %rsi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rsi
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	andq	$-2, %rdi
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movl	%r12d, %r15d
	andl	$3, %r15d
	leaq	(%rcx,%rax,4), %r13
	addq	$24, %r13
	leaq	(,%rdx,4), %rax
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	%rbx, %rax
	imulq	-64(%rbp), %rax                 ## 8-byte Folded Reload
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,8), %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_MEMCPY
LBB0_87:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	-216(%rbp), %rsp                ## 8-byte Reload
	incq	%rbx
	movq	%rbx, %rcx
	movq	-224(%rbp), %rbx                ## 8-byte Reload
	incq	%rbx
	addq	-192(%rbp), %r13                ## 8-byte Folded Reload
	movq	%rcx, %rax
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	cmpq	-152(%rbp), %rcx                ## 8-byte Folded Reload
	je	LBB0_88
LBB0_15:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_22 Depth 2
                                        ##     Child Loop BB0_26 Depth 2
                                        ##     Child Loop BB0_32 Depth 2
                                        ##     Child Loop BB0_35 Depth 2
                                        ##     Child Loop BB0_77 Depth 2
                                        ##     Child Loop BB0_83 Depth 2
                                        ##     Child Loop BB0_60 Depth 2
                                        ##     Child Loop BB0_66 Depth 2
                                        ##     Child Loop BB0_45 Depth 2
                                        ##     Child Loop BB0_51 Depth 2
	movq	%r13, -208(%rbp)                ## 8-byte Spill
	movq	%rsp, -216(%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, %r14
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	-200(%rbp), %rdx                ## 8-byte Reload
	movq	%rbx, -224(%rbp)                ## 8-byte Spill
	movq	%rbx, %rcx
	movq	%r14, %r8
	callq	_gl_read_stencil_span
	movq	%r13, %r8
	cmpb	$0, -49(%rbp)                   ## 1-byte Folded Reload
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_27
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	testq	%r12, %r12
	jle	LBB0_27
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	40(%r8), %rcx
	movq	48(%r8), %rax
	cmpq	$4, %r12
	jae	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=1
	xorl	%edx, %edx
	jmp	LBB0_26
LBB0_19:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	%rcx, %xmm1
	movq	%rax, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	cmpq	$4, -120(%rbp)                  ## 8-byte Folded Reload
	jae	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_15 Depth=1
	xorl	%edx, %edx
	jmp	LBB0_23
LBB0_21:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_15 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqa	(%r14,%rdx,8), %xmm2
	movdqa	16(%r14,%rdx,8), %xmm3
	movdqa	32(%r14,%rdx,8), %xmm4
	movdqa	48(%r14,%rdx,8), %xmm5
	psllq	%xmm1, %xmm2
	psllq	%xmm1, %xmm3
	paddq	%xmm0, %xmm2
	paddq	%xmm0, %xmm3
	movdqa	%xmm2, (%r14,%rdx,8)
	movdqa	%xmm3, 16(%r14,%rdx,8)
	psllq	%xmm1, %xmm4
	psllq	%xmm1, %xmm5
	paddq	%xmm0, %xmm4
	paddq	%xmm0, %xmm5
	movdqa	%xmm4, 32(%r14,%rdx,8)
	movdqa	%xmm5, 48(%r14,%rdx,8)
	addq	$8, %rdx
	addq	$-2, %rsi
	jne	LBB0_22
LBB0_23:                                ##   in Loop: Header=BB0_15 Depth=1
	testb	$1, -112(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_15 Depth=1
	movdqa	(%r14,%rdx,8), %xmm2
	movdqa	16(%r14,%rdx,8), %xmm3
	psllq	%xmm1, %xmm2
	psllq	%xmm1, %xmm3
	paddq	%xmm0, %xmm2
	paddq	%xmm0, %xmm3
	movdqa	%xmm2, (%r14,%rdx,8)
	movdqa	%xmm3, 16(%r14,%rdx,8)
LBB0_25:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	%rdi, %rdx
	cmpq	%r12, %rdi
	je	LBB0_27
	.p2align	4, 0x90
LBB0_26:                                ##   Parent Loop BB0_15 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r14,%rdx,8), %rsi
	shlq	%cl, %rsi
	addq	%rax, %rsi
	movq	%rsi, (%r14,%rdx,8)
	incq	%rdx
	cmpq	%rdx, %r12
	jne	LBB0_26
LBB0_27:                                ##   in Loop: Header=BB0_15 Depth=1
	cmpq	$0, 64(%r8)
	movq	-208(%rbp), %r13                ## 8-byte Reload
	je	LBB0_36
## %bb.28:                              ##   in Loop: Header=BB0_15 Depth=1
	testq	%r12, %r12
	jle	LBB0_36
## %bb.29:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	56(%r8), %rax
	cmpq	$3, -168(%rbp)                  ## 8-byte Folded Reload
	jae	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_15 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_15 Depth=1
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_32:                                ##   Parent Loop BB0_15 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r14,%rcx,8), %rdx
	movq	8(%r14,%rcx,8), %rsi
	movq	(%rax,%rdx,8), %rdx
	movq	%rdx, (%r14,%rcx,8)
	movq	(%rax,%rsi,8), %rdx
	movq	%rdx, 8(%r14,%rcx,8)
	movq	16(%r14,%rcx,8), %rdx
	movq	(%rax,%rdx,8), %rdx
	movq	%rdx, 16(%r14,%rcx,8)
	movq	24(%r14,%rcx,8), %rdx
	movq	(%rax,%rdx,8), %rdx
	movq	%rdx, 24(%r14,%rcx,8)
	addq	$4, %rcx
	cmpq	%rcx, %rdi
	jne	LBB0_32
LBB0_33:                                ##   in Loop: Header=BB0_15 Depth=1
	testq	%r15, %r15
	je	LBB0_36
## %bb.34:                              ##   in Loop: Header=BB0_15 Depth=1
	leaq	(%r14,%rcx,8), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_35:                                ##   Parent Loop BB0_15 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, %r15
	jne	LBB0_35
LBB0_36:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	-160(%rbp), %rax                ## 8-byte Reload
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_86
## %bb.37:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	-176(%rbp), %rcx                ## 8-byte Reload
	imulq	%rbx, %rcx
	addq	-184(%rbp), %rcx                ## 8-byte Folded Reload
	movq	-144(%rbp), %rdx                ## 8-byte Reload
	leaq	(%rdx,%rcx,4), %rdi
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_67:                                ##   in Loop: Header=BB0_15 Depth=1
	testq	%r12, %r12
	jle	LBB0_69
## %bb.68:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%r14, %rsi
	movq	-136(%rbp), %rdx                ## 8-byte Reload
	callq	_memcpy
	movq	-80(%rbp), %r8                  ## 8-byte Reload
LBB0_69:                                ##   in Loop: Header=BB0_15 Depth=1
	cmpl	$0, 32(%r8)
	je	LBB0_87
## %bb.70:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%rbx, %rax
	imulq	-64(%rbp), %rax                 ## 8-byte Folded Reload
	jmp	LBB0_85
LBB0_71:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	%rbx, %rax
	imulq	-64(%rbp), %rax                 ## 8-byte Folded Reload
	testq	%r12, %r12
	jle	LBB0_84
## %bb.72:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rcx
	cmpq	$4, %r12
	jae	LBB0_74
## %bb.73:                              ##   in Loop: Header=BB0_15 Depth=1
	xorl	%esi, %esi
	jmp	LBB0_82
LBB0_86:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	_GL_INVALID_ENUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r8, %rdi
	leaq	L_.str.1(%rip), %rdx
	callq	_gl_error
	jmp	LBB0_87
LBB0_39:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	%rbx, %rax
	imulq	-64(%rbp), %rax                 ## 8-byte Folded Reload
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rdi
	testq	%r12, %r12
	jle	LBB0_52
## %bb.40:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpq	$4, %r12
	jae	LBB0_42
## %bb.41:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%rdi, %rax
	xorl	%edx, %edx
	jmp	LBB0_50
LBB0_54:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	%rbx, %rax
	imulq	-64(%rbp), %rax                 ## 8-byte Folded Reload
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rdi
	testq	%r12, %r12
	jle	LBB0_52
## %bb.55:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpq	$4, %r12
	jae	LBB0_57
## %bb.56:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%rdi, %rax
	xorl	%edx, %edx
	jmp	LBB0_65
LBB0_74:                                ##   in Loop: Header=BB0_15 Depth=1
	cmpq	$4, -120(%rbp)                  ## 8-byte Folded Reload
	jae	LBB0_76
## %bb.75:                              ##   in Loop: Header=BB0_15 Depth=1
	xorl	%edx, %edx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_78
LBB0_42:                                ##   in Loop: Header=BB0_15 Depth=1
	cmpq	$4, -120(%rbp)                  ## 8-byte Folded Reload
	jae	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_15 Depth=1
	xorl	%eax, %eax
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_46
LBB0_57:                                ##   in Loop: Header=BB0_15 Depth=1
	cmpq	$4, -120(%rbp)                  ## 8-byte Folded Reload
	jae	LBB0_59
## %bb.58:                              ##   in Loop: Header=BB0_15 Depth=1
	xorl	%eax, %eax
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_61
LBB0_76:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	xorl	%edx, %edx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_77:                                ##   Parent Loop BB0_15 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	pshufd	$232, (%r14,%rdx,8), %xmm0      ## xmm0 = mem[0,2,2,3]
	pshufd	$232, 16(%r14,%rdx,8), %xmm1    ## xmm1 = mem[0,2,2,3]
	punpcklqdq	%xmm1, %xmm0            ## xmm0 = xmm0[0],xmm1[0]
	movdqu	%xmm0, -24(%r13,%rdx,4)
	pshufd	$232, 32(%r14,%rdx,8), %xmm0    ## xmm0 = mem[0,2,2,3]
	pshufd	$232, 48(%r14,%rdx,8), %xmm1    ## xmm1 = mem[0,2,2,3]
	punpcklqdq	%xmm1, %xmm0            ## xmm0 = xmm0[0],xmm1[0]
	movdqu	%xmm0, -8(%r13,%rdx,4)
	addq	$8, %rdx
	addq	$-2, %rsi
	jne	LBB0_77
LBB0_78:                                ##   in Loop: Header=BB0_15 Depth=1
	testb	$1, -112(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_80
## %bb.79:                              ##   in Loop: Header=BB0_15 Depth=1
	pshufd	$232, (%r14,%rdx,8), %xmm0      ## xmm0 = mem[0,2,2,3]
	pshufd	$232, 16(%r14,%rdx,8), %xmm1    ## xmm1 = mem[0,2,2,3]
	punpcklqdq	%xmm1, %xmm0            ## xmm0 = xmm0[0],xmm1[0]
	movdqu	%xmm0, (%rcx,%rdx,4)
LBB0_80:                                ##   in Loop: Header=BB0_15 Depth=1
	cmpq	%r12, %rdi
	je	LBB0_84
## %bb.81:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	leaq	(%rcx,%rsi,4), %rcx
LBB0_82:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	%r12, %rdx
	subq	%rsi, %rdx
	leaq	(%r14,%rsi,8), %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_83:                                ##   Parent Loop BB0_15 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rsi,%rdi,8), %ebx
	movl	%ebx, (%rcx,%rdi,4)
	incq	%rdi
	cmpq	%rdi, %rdx
	jne	LBB0_83
LBB0_84:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$0, 32(%rcx)
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_87
LBB0_85:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,8), %rdi
	movq	%r12, %rsi
	callq	_gl_swap4
	jmp	LBB0_87
LBB0_44:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	xorl	%eax, %eax
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_45:                                ##   Parent Loop BB0_15 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	pshufd	$232, (%r14,%rax,8), %xmm0      ## xmm0 = mem[0,2,2,3]
	pshufd	$232, 16(%r14,%rax,8), %xmm1    ## xmm1 = mem[0,2,2,3]
	punpcklqdq	%xmm1, %xmm0            ## xmm0 = xmm0[0],xmm1[0]
	movdqu	%xmm0, -24(%r13,%rax,4)
	pshufd	$232, 32(%r14,%rax,8), %xmm0    ## xmm0 = mem[0,2,2,3]
	pshufd	$232, 48(%r14,%rax,8), %xmm1    ## xmm1 = mem[0,2,2,3]
	punpcklqdq	%xmm1, %xmm0            ## xmm0 = xmm0[0],xmm1[0]
	movdqu	%xmm0, -8(%r13,%rax,4)
	addq	$8, %rax
	addq	$-2, %rcx
	jne	LBB0_45
LBB0_46:                                ##   in Loop: Header=BB0_15 Depth=1
	testb	$1, -112(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_48
## %bb.47:                              ##   in Loop: Header=BB0_15 Depth=1
	pshufd	$232, (%r14,%rax,8), %xmm0      ## xmm0 = mem[0,2,2,3]
	pshufd	$232, 16(%r14,%rax,8), %xmm1    ## xmm1 = mem[0,2,2,3]
	punpcklqdq	%xmm1, %xmm0            ## xmm0 = xmm0[0],xmm1[0]
	movdqu	%xmm0, (%rdi,%rax,4)
LBB0_48:                                ##   in Loop: Header=BB0_15 Depth=1
	cmpq	%r12, %rdx
	je	LBB0_52
## %bb.49:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdi,%rdx,4), %rax
LBB0_50:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	%r12, %rcx
	subq	%rdx, %rcx
	leaq	(%r14,%rdx,8), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_51:                                ##   Parent Loop BB0_15 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rdx,%rsi,8), %ebx
	movl	%ebx, (%rax,%rsi,4)
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_51
	jmp	LBB0_52
LBB0_59:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	xorl	%eax, %eax
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_60:                                ##   Parent Loop BB0_15 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	pshufd	$232, (%r14,%rax,8), %xmm0      ## xmm0 = mem[0,2,2,3]
	pshufd	$232, 16(%r14,%rax,8), %xmm1    ## xmm1 = mem[0,2,2,3]
	punpcklqdq	%xmm1, %xmm0            ## xmm0 = xmm0[0],xmm1[0]
	movdqu	%xmm0, -24(%r13,%rax,4)
	pshufd	$232, 32(%r14,%rax,8), %xmm0    ## xmm0 = mem[0,2,2,3]
	pshufd	$232, 48(%r14,%rax,8), %xmm1    ## xmm1 = mem[0,2,2,3]
	punpcklqdq	%xmm1, %xmm0            ## xmm0 = xmm0[0],xmm1[0]
	movdqu	%xmm0, -8(%r13,%rax,4)
	addq	$8, %rax
	addq	$-2, %rcx
	jne	LBB0_60
LBB0_61:                                ##   in Loop: Header=BB0_15 Depth=1
	testb	$1, -112(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_63
## %bb.62:                              ##   in Loop: Header=BB0_15 Depth=1
	pshufd	$232, (%r14,%rax,8), %xmm0      ## xmm0 = mem[0,2,2,3]
	pshufd	$232, 16(%r14,%rax,8), %xmm1    ## xmm1 = mem[0,2,2,3]
	punpcklqdq	%xmm1, %xmm0            ## xmm0 = xmm0[0],xmm1[0]
	movdqu	%xmm0, (%rdi,%rax,4)
LBB0_63:                                ##   in Loop: Header=BB0_15 Depth=1
	cmpq	%r12, %rdx
	je	LBB0_52
## %bb.64:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdi,%rdx,4), %rax
LBB0_65:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	%r12, %rcx
	subq	%rdx, %rcx
	leaq	(%r14,%rdx,8), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_66:                                ##   Parent Loop BB0_15 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rdx,%rsi,8), %ebx
	movl	%ebx, (%rax,%rsi,4)
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_66
LBB0_52:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, 32(%rax)
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_87
## %bb.53:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%r12, %rsi
	callq	_gl_swap2
	jmp	LBB0_87
LBB0_88:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_90
## %bb.89:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_90:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_39, LBB0_39-LJTI0_0
.set L0_0_set_67, LBB0_67-LJTI0_0
.set L0_0_set_38, LBB0_38-LJTI0_0
.set L0_0_set_54, LBB0_54-LJTI0_0
.set L0_0_set_71, LBB0_71-LJTI0_0
LJTI0_0:
	.long	L0_0_set_39
	.long	L0_0_set_67
	.long	L0_0_set_38
	.long	L0_0_set_54
	.long	L0_0_set_67
	.long	L0_0_set_71
	.long	L0_0_set_38
	.end_data_region
                                        ## -- End function
	.comm	_GL_INVALID_OPERATION,4,2       ## @GL_INVALID_OPERATION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"glReadPixels"

	.comm	_GL_INVALID_ENUM,4,2            ## @GL_INVALID_ENUM
L_.str.1:                               ## @.str.1
	.asciz	"glReadPixels(type)"

	.comm	_MAX_WIDTH,4,2                  ## @MAX_WIDTH
	.no_dead_strip	_read_stencil_pixels
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_stencil_pixels
_read_stencil_pixels:                   ; @read_stencil_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
	stur	x6, [x29, #-112]                ; 8-byte Folded Spill
	stur	x1, [x29, #-96]                 ; 8-byte Folded Spill
	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]
	ldr	x8, [x0, #72]
	ldr	x8, [x8]
	cmp	x8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, x5
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_4
; %bb.2:
	mov	w8, #1
	b	LBB0_5
LBB0_3:
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
Lloh5:
	adrp	x8, _GL_INVALID_OPERATION@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GL_INVALID_OPERATION@GOTPAGEOFF]
	b	LBB0_63
LBB0_4:
	ldr	x8, [x19, #48]
	cmp	x8, #0
	cset	w8, ne
LBB0_5:
	stur	w8, [x29, #-100]                ; 4-byte Folded Spill
	mov	x0, x21
	bl	_gl_sizeof_type
Lloh7:
	adrp	x8, _GL_INVALID_ENUM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GL_INVALID_ENUM@GOTPAGEOFF]
	cbz	x0, LBB0_62
; %bb.6:
	ldp	x1, x8, [x19]
	cmp	x8, #0
	csel	x8, x8, x23, gt
	stur	x8, [x29, #-120]                ; 8-byte Folded Spill
	cmp	x0, x1
	b.hs	LBB0_8
; %bb.7:
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	mul	x8, x8, x0
	udiv	x20, x1, x0
	mov	x0, x8
	bl	_CEILING
	mul	x8, x0, x20
	stur	x8, [x29, #-120]                ; 8-byte Folded Spill
LBB0_8:
	cmp	x22, #1
	b.lt	LBB0_60
; %bb.9:
	mov	x27, #0
	ldp	x8, x9, [x19, #16]
	ldur	x10, [x29, #-120]               ; 8-byte Folded Reload
	madd	x8, x8, x10, x9
	ldur	x9, [x29, #-112]                ; 8-byte Folded Reload
	add	x11, x9, x8, lsl #2
	add	x9, x9, x8, lsl #3
	lsl	x8, x8, #1
	stur	x8, [x29, #-128]                ; 8-byte Folded Spill
	lsl	x8, x10, #1
	stur	x8, [x29, #-136]                ; 8-byte Folded Spill
	lsl	x8, x23, #3
	stp	x8, x11, [x29, #-168]           ; 16-byte Folded Spill
	and	x8, x23, #0xfffffffffffffff8
	stp	x9, x8, [x29, #-152]            ; 16-byte Folded Spill
	add	x20, x11, #16
	lsl	x26, x10, #2
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	mul	x8, x27, x8
	ldur	x9, [x29, #-152]                ; 8-byte Folded Reload
	add	x0, x9, x8, lsl #3
	mov	x1, x28
	mov	x2, x23
	bl	_MEMCPY
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	sp, x25
	add	x27, x27, #1
	add	x24, x24, #1
	add	x20, x20, x26
	cmp	x27, x22
	b.eq	LBB0_60
LBB0_12:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
                                        ;     Child Loop BB0_20 Depth 2
                                        ;     Child Loop BB0_24 Depth 2
                                        ;     Child Loop BB0_42 Depth 2
                                        ;     Child Loop BB0_45 Depth 2
                                        ;     Child Loop BB0_54 Depth 2
                                        ;     Child Loop BB0_57 Depth 2
                                        ;     Child Loop BB0_49 Depth 2
                                        ;     Child Loop BB0_52 Depth 2
	mov	x25, sp
Lloh9:
	adrp	x8, _MAX_WIDTH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MAX_WIDTH@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh12:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh13:
	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
	mov	x0, x19
	mov	x1, x23
	ldur	x2, [x29, #-96]                 ; 8-byte Folded Reload
	mov	x3, x24
	mov	x4, x28
	bl	_gl_read_stencil_span
	ldur	w8, [x29, #-100]                ; 4-byte Folded Reload
	cbz	w8, LBB0_21
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	cmp	x23, #1
	b.lt	LBB0_21
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	ldp	x8, x9, [x19, #40]
	cmp	x23, #8
	b.hs	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x11, #0
	b	LBB0_19
LBB0_16:                                ;   in Loop: Header=BB0_12 Depth=1
	dup.2d	v0, x8
	dup.2d	v1, x9
	add	x10, x28, #32
	ldur	x11, [x29, #-144]               ; 8-byte Folded Reload
LBB0_17:                                ;   Parent Loop BB0_12 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_17
; %bb.18:                               ;   in Loop: Header=BB0_12 Depth=1
	ldur	x10, [x29, #-144]               ; 8-byte Folded Reload
	mov	x11, x10
	cmp	x10, x23
	b.eq	LBB0_21
LBB0_19:                                ;   in Loop: Header=BB0_12 Depth=1
	sub	x10, x23, x11
	add	x11, x28, x11, lsl #3
LBB0_20:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x12, [x11]
	lsl	x12, x12, x8
	add	x12, x12, x9
	str	x12, [x11], #8
	subs	x10, x10, #1
	b.ne	LBB0_20
LBB0_21:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_25
; %bb.22:                               ;   in Loop: Header=BB0_12 Depth=1
	cmp	x23, #1
	b.lt	LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x19, #56]
	mov	x9, x28
	mov	x10, x23
LBB0_24:                                ;   Parent Loop BB0_12 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_24
LBB0_25:                                ;   in Loop: Header=BB0_12 Depth=1
	sub	w8, w21, #128
	cmp	w8, #6
	b.hi	LBB0_34
; %bb.26:                               ;   in Loop: Header=BB0_12 Depth=1
	ldp	x10, x9, [x29, #-136]           ; 16-byte Folded Reload
	madd	x9, x10, x27, x9
	ldur	x10, [x29, #-112]               ; 8-byte Folded Reload
	add	x0, x10, x9, lsl #2
Lloh14:
	adrp	x11, lJTI0_0@PAGE
Lloh15:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x9, LBB0_10
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_27:                                ;   in Loop: Header=BB0_12 Depth=1
	cmp	x23, #1
	b.lt	LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x1, x28
	ldur	x2, [x29, #-168]                ; 8-byte Folded Reload
	bl	_memcpy
LBB0_29:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [x19, #32]
	cbz	w8, LBB0_11
; %bb.30:                               ;   in Loop: Header=BB0_12 Depth=1
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	mul	x8, x27, x8
	b	LBB0_47
LBB0_31:                                ;   in Loop: Header=BB0_12 Depth=1
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	mul	x8, x27, x8
	cmp	x23, #1
	b.lt	LBB0_46
; %bb.32:                               ;   in Loop: Header=BB0_12 Depth=1
	ldur	x9, [x29, #-160]                ; 8-byte Folded Reload
	add	x9, x9, x8, lsl #2
	cmp	x23, #8
	b.hs	LBB0_41
; %bb.33:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x11, #0
	b	LBB0_44
LBB0_34:                                ;   in Loop: Header=BB0_12 Depth=1
Lloh16:
	adrp	x8, _GL_INVALID_ENUM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GL_INVALID_ENUM@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
Lloh19:
	adrp	x2, l_.str.1@PAGE
Lloh20:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_gl_error
	b	LBB0_11
LBB0_35:                                ;   in Loop: Header=BB0_12 Depth=1
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	mul	x8, x27, x8
	ldur	x9, [x29, #-160]                ; 8-byte Folded Reload
	add	x0, x9, x8, lsl #2
	cmp	x23, #1
	b.lt	LBB0_58
; %bb.36:                               ;   in Loop: Header=BB0_12 Depth=1
	cmp	x23, #8
	b.hs	LBB0_48
; %bb.37:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x10, #0
	mov	x8, x0
	b	LBB0_51
LBB0_38:                                ;   in Loop: Header=BB0_12 Depth=1
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	mul	x8, x27, x8
	ldur	x9, [x29, #-160]                ; 8-byte Folded Reload
	add	x0, x9, x8, lsl #2
	cmp	x23, #1
	b.lt	LBB0_58
; %bb.39:                               ;   in Loop: Header=BB0_12 Depth=1
	cmp	x23, #8
	b.hs	LBB0_53
; %bb.40:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x10, #0
	mov	x8, x0
	b	LBB0_56
LBB0_41:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x10, x28, #32
	mov	x11, x20
	ldur	x13, [x29, #-144]               ; 8-byte Folded Reload
	mov	x12, x13
	add	x9, x9, x13, lsl #2
LBB0_42:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q0, q1, [x10, #-32]
	ldp	q2, q3, [x10], #64
	xtn.2s	v0, v0
	xtn.2s	v1, v1
	xtn.2s	v2, v2
	xtn.2s	v3, v3
	stp	d0, d1, [x11, #-16]
	stp	d2, d3, [x11], #32
	subs	x12, x12, #8
	b.ne	LBB0_42
; %bb.43:                               ;   in Loop: Header=BB0_12 Depth=1
	ldur	x10, [x29, #-144]               ; 8-byte Folded Reload
	mov	x11, x10
	cmp	x10, x23
	b.eq	LBB0_46
LBB0_44:                                ;   in Loop: Header=BB0_12 Depth=1
	sub	x10, x23, x11
	add	x11, x28, x11, lsl #3
LBB0_45:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x12, [x11], #8
	str	w12, [x9], #4
	subs	x10, x10, #1
	b.ne	LBB0_45
LBB0_46:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w9, [x19, #32]
	cbz	w9, LBB0_11
LBB0_47:                                ;   in Loop: Header=BB0_12 Depth=1
	ldur	x9, [x29, #-152]                ; 8-byte Folded Reload
	add	x0, x9, x8, lsl #3
	mov	x1, x23
	bl	_gl_swap4
	b	LBB0_11
LBB0_48:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x9, x28, #32
	mov	x10, x20
	ldur	x8, [x29, #-144]                ; 8-byte Folded Reload
	mov	x11, x8
	add	x8, x0, x8, lsl #2
LBB0_49:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q0, q1, [x9, #-32]
	ldp	q2, q3, [x9], #64
	xtn.2s	v0, v0
	xtn.2s	v1, v1
	xtn.2s	v2, v2
	xtn.2s	v3, v3
	stp	d0, d1, [x10, #-16]
	stp	d2, d3, [x10], #32
	subs	x11, x11, #8
	b.ne	LBB0_49
; %bb.50:                               ;   in Loop: Header=BB0_12 Depth=1
	ldur	x9, [x29, #-144]                ; 8-byte Folded Reload
	mov	x10, x9
	cmp	x9, x23
	b.eq	LBB0_58
LBB0_51:                                ;   in Loop: Header=BB0_12 Depth=1
	sub	x9, x23, x10
	add	x10, x28, x10, lsl #3
LBB0_52:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x11, [x10], #8
	str	w11, [x8], #4
	subs	x9, x9, #1
	b.ne	LBB0_52
	b	LBB0_58
LBB0_53:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x9, x28, #32
	mov	x10, x20
	ldur	x8, [x29, #-144]                ; 8-byte Folded Reload
	mov	x11, x8
	add	x8, x0, x8, lsl #2
LBB0_54:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q0, q1, [x9, #-32]
	ldp	q2, q3, [x9], #64
	xtn.2s	v0, v0
	xtn.2s	v1, v1
	xtn.2s	v2, v2
	xtn.2s	v3, v3
	stp	d0, d1, [x10, #-16]
	stp	d2, d3, [x10], #32
	subs	x11, x11, #8
	b.ne	LBB0_54
; %bb.55:                               ;   in Loop: Header=BB0_12 Depth=1
	ldur	x9, [x29, #-144]                ; 8-byte Folded Reload
	mov	x10, x9
	cmp	x9, x23
	b.eq	LBB0_58
LBB0_56:                                ;   in Loop: Header=BB0_12 Depth=1
	sub	x9, x23, x10
	add	x10, x28, x10, lsl #3
LBB0_57:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x11, [x10], #8
	str	w11, [x8], #4
	subs	x9, x9, #1
	b.ne	LBB0_57
LBB0_58:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [x19, #32]
	cbz	w8, LBB0_11
; %bb.59:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x1, x23
	bl	_gl_swap2
	b	LBB0_11
LBB0_60:
	ldur	x8, [x29, #-88]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_65
; %bb.61:
	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_62:
Lloh24:
	adrp	x2, l_.str.1@PAGE
Lloh25:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_63:
	ldr	w1, [x8]
	ldur	x8, [x29, #-88]
Lloh26:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_65
; %bb.64:
	mov	x0, x19
	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
	b	_gl_error
LBB0_65:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_35-LBB0_10)>>2
	.byte	(LBB0_27-LBB0_10)>>2
	.byte	(LBB0_10-LBB0_10)>>2
	.byte	(LBB0_38-LBB0_10)>>2
	.byte	(LBB0_27-LBB0_10)>>2
	.byte	(LBB0_31-LBB0_10)>>2
	.byte	(LBB0_10-LBB0_10)>>2
                                        ; -- End function
	.comm	_GL_INVALID_OPERATION,4,2       ; @GL_INVALID_OPERATION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"glReadPixels"

	.comm	_GL_INVALID_ENUM,4,2            ; @GL_INVALID_ENUM
l_.str.1:                               ; @.str.1
	.asciz	"glReadPixels(type)"

	.comm	_MAX_WIDTH,4,2                  ; @MAX_WIDTH
	.no_dead_strip	_read_stencil_pixels
.subsections_via_symbols
