	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_depth_stencil_span          ## -- Begin function gl_depth_stencil_span
	.p2align	4, 0x90
_gl_depth_stencil_span:                 ## @gl_depth_stencil_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, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	16(%rdi), %rax
	movq	_GL_FALSE@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_3
## %bb.1:
	movl	(%rdi), %r8d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_21
## %bb.2:
	movq	%r13, %r9
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_apply_stencil_op_to_span       ## TAILCALL
LBB0_3:
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	_MAX_WIDTH@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movl	(%rbx), %ebx
	shlq	$2, %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%rbx, %rax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.4:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(,%rax,4), %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	___bzero
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	___bzero
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	callq	_memcpy
LBB0_5:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	8(%rdi), %rax
	testq	%rax, %rax
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rsi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	%r13, %r9
	callq	*%rax
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
LBB0_7:
	testq	%rbx, %rbx
	je	LBB0_19
## %bb.8:
	cmpq	$1, %rbx
	jne	LBB0_10
## %bb.9:
	xorl	%eax, %eax
LBB0_16:
	testb	$1, %bl
	je	LBB0_19
## %bb.17:
	cmpl	$0, (%r12,%rax,4)
	je	LBB0_19
## %bb.18:
	cmpl	$0, (%r13,%rax,4)
	movq	%r14, %rdx
	cmoveq	%r15, %rdx
	movl	$1, (%rdx,%rax,4)
LBB0_19:
	movl	4(%rdi), %r8d
	movq	%rbx, %rsi
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edx
	movq	%rdi, %rbx
	movl	%ecx, %r12d
	movq	%r15, %r9
	callq	_apply_stencil_op_to_span
	movl	(%rbx), %r8d
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	movl	%r12d, %ecx
	movq	%r14, %r9
	callq	_apply_stencil_op_to_span
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	movq	-88(%rbp), %rsp                 ## 8-byte Reload
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%rbx, %rsi
	andq	$-2, %rsi
	xorl	%eax, %eax
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	addq	$2, %rax
	cmpq	%rax, %rsi
	je	LBB0_16
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r12,%rax,4)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	$0, (%r13,%rax,4)
	movq	%r14, %rdx
	cmoveq	%r15, %rdx
	movl	$1, (%rdx,%rax,4)
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	cmpl	$0, 4(%r12,%rax,4)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	$0, 4(%r13,%rax,4)
	movq	%r14, %rdx
	cmoveq	%r15, %rdx
	movl	$1, 4(%rdx,%rax,4)
	jmp	LBB0_15
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_FALSE,8,3                   ## @GL_FALSE
	.comm	_MAX_WIDTH,4,2                  ## @MAX_WIDTH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_depth_stencil_span          ; -- Begin function gl_depth_stencil_span
	.p2align	2
_gl_depth_stencil_span:                 ; @gl_depth_stencil_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	x23, x5
	mov	x19, x3
	mov	x20, x2
	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]
	ldr	x8, [x0, #16]
Lloh3:
	adrp	x9, _GL_FALSE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GL_FALSE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	w4, [x22]
	ldur	x8, [x29, #-88]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.2:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	mov	x5, x23
	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	_apply_stencil_op_to_span
LBB0_3:
	mov	x28, sp
Lloh9:
	adrp	x12, _MAX_WIDTH@GOTPAGE
Lloh10:
	ldr	x12, [x12, _MAX_WIDTH@GOTPAGEOFF]
	ldr	w8, [x12]
	lsl	x8, x8, #2
	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, #0x7fffffff0
	sub	x24, x9, x8
	mov	sp, x24
	ldr	w8, [x12]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh13:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh14:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x7fffffff0
	sub	x25, x9, x12
	mov	sp, x25
	mov	x9, x8
Lloh15:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh16:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x27, x8, x12
	mov	sp, x27
	cbz	x21, LBB0_5
; %bb.4:
	stur	x28, [x29, #-96]                ; 8-byte Folded Spill
	lsl	x28, x21, #2
	mov	x0, x25
	mov	x1, x28
	mov	x26, x4
	bl	_bzero
	mov	x0, x24
	mov	x1, x28
	bl	_bzero
	mov	x0, x27
	mov	x1, x23
	mov	x2, x28
	ldur	x28, [x29, #-96]                ; 8-byte Folded Reload
	bl	_memcpy
	mov	x4, x26
LBB0_5:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_7
; %bb.6:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	mov	x5, x23
	blr	x8
LBB0_7:
	cbz	x21, LBB0_12
; %bb.8:
	mov	x8, #0
	mov	w9, #1
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x8, x8, #1
	cmp	x21, x8
	b.eq	LBB0_12
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x27, x8, lsl #2]
	cbz	w10, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	lsl	x10, x8, #2
	ldr	w11, [x23, x10]
	cmp	w11, #0
	csel	x11, x25, x24, eq
	str	w9, [x11, x10]
	b	LBB0_9
LBB0_12:
	ldr	w4, [x22, #4]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	mov	x5, x25
	bl	_apply_stencil_op_to_span
	ldr	w4, [x22]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	mov	x5, x24
	bl	_apply_stencil_op_to_span
	ldur	x8, [x29, #-88]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	mov	sp, x28
	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_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_FALSE,8,3                   ; @GL_FALSE
	.comm	_MAX_WIDTH,4,2                  ; @MAX_WIDTH
.subsections_via_symbols
