	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function apply_stencil_op_to_span
_apply_stencil_op_to_span:              ## @apply_stencil_op_to_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movl	%r8d, %ebx
	movq	%rsi, %r13
	movq	%rdi, %r12
	movl	(%rdi), %r15d
	movl	4(%rdi), %r14d
	movq	%rdx, %rdi
	movq	%rcx, %rsi
	callq	_STENCIL_ADDRESS
	addl	$-128, %ebx
	cmpl	$5, %ebx
	ja	LBB0_162
## %bb.1:
	movl	%r15d, %ecx
	notl	%ecx
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rbx,4), %rsi
	addq	%rdx, %rsi
	movl	%r14d, %ebx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmpq	*%rsi
LBB0_2:
	cmpl	$-1, %r15d
	je	LBB0_6
## %bb.3:
	testq	%r13, %r13
	je	LBB0_161
## %bb.4:
	cmpq	$1, %r13
	jne	LBB0_38
## %bb.5:
	xorl	%edx, %edx
LBB0_44:
	testb	$1, %r13b
	je	LBB0_161
## %bb.45:
	cmpl	$0, (%r14,%rdx,4)
	je	LBB0_161
## %bb.46:
	andl	%ecx, (%rax,%rdx,4)
	jmp	LBB0_161
LBB0_162:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gl_problem                     ## TAILCALL
LBB0_47:
	cmpl	$-1, %r15d
	je	LBB0_51
## %bb.48:
	testq	%r13, %r13
	je	LBB0_161
## %bb.49:
	andl	%r15d, %ebx
	cmpq	$1, %r13
	jne	LBB0_83
## %bb.50:
	xorl	%edx, %edx
LBB0_89:
	testb	$1, %r13b
	je	LBB0_161
## %bb.90:
	cmpl	$0, (%r14,%rdx,4)
	je	LBB0_161
## %bb.91:
	andl	(%rax,%rdx,4), %ecx
	orl	%ebx, %ecx
	movl	%ecx, (%rax,%rdx,4)
	jmp	LBB0_161
LBB0_136:
	cmpl	$-1, %r15d
	je	LBB0_140
## %bb.137:
	testq	%r13, %r13
	je	LBB0_161
## %bb.138:
	cmpq	$1, %r13
	jne	LBB0_152
## %bb.139:
	xorl	%ecx, %ecx
LBB0_158:
	testb	$1, %r13b
	je	LBB0_161
## %bb.159:
	cmpl	$0, (%r14,%rcx,4)
	je	LBB0_161
## %bb.160:
	xorl	%r15d, (%rax,%rcx,4)
	jmp	LBB0_161
LBB0_92:
	cmpl	$-1, %r15d
	je	LBB0_99
## %bb.93:
	testq	%r13, %r13
	je	LBB0_161
## %bb.94:
	xorl	%edx, %edx
	jmp	LBB0_95
	.p2align	4, 0x90
LBB0_98:                                ##   in Loop: Header=BB0_95 Depth=1
	incq	%rdx
	cmpq	%rdx, %r13
	je	LBB0_161
LBB0_95:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r14,%rdx,4)
	je	LBB0_98
## %bb.96:                              ##   in Loop: Header=BB0_95 Depth=1
	movl	(%rax,%rdx,4), %esi
	cmpl	$254, %esi
	jg	LBB0_98
## %bb.97:                              ##   in Loop: Header=BB0_95 Depth=1
	movl	%esi, %edi
	andl	%ecx, %edi
	incl	%esi
	andl	%r15d, %esi
	orl	%edi, %esi
	movl	%esi, (%rax,%rdx,4)
	jmp	LBB0_98
LBB0_114:
	cmpl	$-1, %r15d
	je	LBB0_121
## %bb.115:
	testq	%r13, %r13
	je	LBB0_161
## %bb.116:
	xorl	%edx, %edx
	jmp	LBB0_117
	.p2align	4, 0x90
LBB0_120:                               ##   in Loop: Header=BB0_117 Depth=1
	incq	%rdx
	cmpq	%rdx, %r13
	je	LBB0_161
LBB0_117:                               ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r14,%rdx,4)
	je	LBB0_120
## %bb.118:                             ##   in Loop: Header=BB0_117 Depth=1
	movl	(%rax,%rdx,4), %esi
	testl	%esi, %esi
	jle	LBB0_120
## %bb.119:                             ##   in Loop: Header=BB0_117 Depth=1
	movl	%esi, %edi
	andl	%ecx, %edi
	decl	%esi
	andl	%r15d, %esi
	orl	%edi, %esi
	movl	%esi, (%rax,%rdx,4)
	jmp	LBB0_120
LBB0_6:
	testq	%r13, %r13
	je	LBB0_161
## %bb.7:
	xorl	%ecx, %ecx
	cmpq	$8, %r13
	jb	LBB0_28
## %bb.8:
	movq	%rax, %rdx
	subq	%r14, %rdx
	cmpq	$32, %rdx
	jb	LBB0_28
## %bb.9:
	movq	%r13, %rcx
	andq	$-8, %rcx
	xorl	%edx, %edx
	pxor	%xmm0, %xmm0
	pcmpeqd	%xmm1, %xmm1
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_10 Depth=1
	addq	$8, %rdx
	cmpq	%rdx, %rcx
	je	LBB0_27
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%r14,%rdx,4), %xmm3
	movdqu	16(%r14,%rdx,4), %xmm2
	pcmpeqd	%xmm0, %xmm3
	movd	%xmm3, %esi
	notl	%esi
	testb	$1, %sil
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	$0, (%rax,%rdx,4)
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=1
	pxor	%xmm1, %xmm3
	pextrb	$4, %xmm3, %esi
	testb	$1, %sil
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	$0, 4(%rax,%rdx,4)
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=1
	pextrb	$8, %xmm3, %esi
	testb	$1, %sil
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	$0, 8(%rax,%rdx,4)
LBB0_16:                                ##   in Loop: Header=BB0_10 Depth=1
	pextrb	$12, %xmm3, %esi
	testb	$1, %sil
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	$0, 12(%rax,%rdx,4)
LBB0_18:                                ##   in Loop: Header=BB0_10 Depth=1
	pcmpeqd	%xmm0, %xmm2
	movd	%xmm2, %esi
	notl	%esi
	testb	$1, %sil
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	$0, 16(%rax,%rdx,4)
LBB0_20:                                ##   in Loop: Header=BB0_10 Depth=1
	pxor	%xmm1, %xmm2
	pextrb	$4, %xmm2, %esi
	testb	$1, %sil
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	$0, 20(%rax,%rdx,4)
LBB0_22:                                ##   in Loop: Header=BB0_10 Depth=1
	pextrb	$8, %xmm2, %esi
	testb	$1, %sil
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	$0, 24(%rax,%rdx,4)
LBB0_24:                                ##   in Loop: Header=BB0_10 Depth=1
	pextrb	$12, %xmm2, %esi
	testb	$1, %sil
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	$0, 28(%rax,%rdx,4)
	jmp	LBB0_26
LBB0_51:
	testq	%r13, %r13
	je	LBB0_161
## %bb.52:
	xorl	%ecx, %ecx
	cmpq	$8, %r13
	jb	LBB0_73
## %bb.53:
	movq	%rax, %rdx
	subq	%r14, %rdx
	cmpq	$32, %rdx
	jb	LBB0_73
## %bb.54:
	movq	%r13, %rcx
	andq	$-8, %rcx
	xorl	%edx, %edx
	pxor	%xmm0, %xmm0
	pcmpeqd	%xmm1, %xmm1
	jmp	LBB0_55
	.p2align	4, 0x90
LBB0_71:                                ##   in Loop: Header=BB0_55 Depth=1
	addq	$8, %rdx
	cmpq	%rdx, %rcx
	je	LBB0_72
LBB0_55:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%r14,%rdx,4), %xmm3
	movdqu	16(%r14,%rdx,4), %xmm2
	pcmpeqd	%xmm0, %xmm3
	movd	%xmm3, %esi
	notl	%esi
	testb	$1, %sil
	je	LBB0_57
## %bb.56:                              ##   in Loop: Header=BB0_55 Depth=1
	movl	%ebx, (%rax,%rdx,4)
LBB0_57:                                ##   in Loop: Header=BB0_55 Depth=1
	pxor	%xmm1, %xmm3
	pextrb	$4, %xmm3, %esi
	testb	$1, %sil
	je	LBB0_59
## %bb.58:                              ##   in Loop: Header=BB0_55 Depth=1
	movl	%ebx, 4(%rax,%rdx,4)
LBB0_59:                                ##   in Loop: Header=BB0_55 Depth=1
	pextrb	$8, %xmm3, %esi
	testb	$1, %sil
	je	LBB0_61
## %bb.60:                              ##   in Loop: Header=BB0_55 Depth=1
	movl	%ebx, 8(%rax,%rdx,4)
LBB0_61:                                ##   in Loop: Header=BB0_55 Depth=1
	pextrb	$12, %xmm3, %esi
	testb	$1, %sil
	je	LBB0_63
## %bb.62:                              ##   in Loop: Header=BB0_55 Depth=1
	movl	%ebx, 12(%rax,%rdx,4)
LBB0_63:                                ##   in Loop: Header=BB0_55 Depth=1
	pcmpeqd	%xmm0, %xmm2
	movd	%xmm2, %esi
	notl	%esi
	testb	$1, %sil
	je	LBB0_65
## %bb.64:                              ##   in Loop: Header=BB0_55 Depth=1
	movl	%ebx, 16(%rax,%rdx,4)
LBB0_65:                                ##   in Loop: Header=BB0_55 Depth=1
	pxor	%xmm1, %xmm2
	pextrb	$4, %xmm2, %esi
	testb	$1, %sil
	je	LBB0_67
## %bb.66:                              ##   in Loop: Header=BB0_55 Depth=1
	movl	%ebx, 20(%rax,%rdx,4)
LBB0_67:                                ##   in Loop: Header=BB0_55 Depth=1
	pextrb	$8, %xmm2, %esi
	testb	$1, %sil
	je	LBB0_69
## %bb.68:                              ##   in Loop: Header=BB0_55 Depth=1
	movl	%ebx, 24(%rax,%rdx,4)
LBB0_69:                                ##   in Loop: Header=BB0_55 Depth=1
	pextrb	$12, %xmm2, %esi
	testb	$1, %sil
	je	LBB0_71
## %bb.70:                              ##   in Loop: Header=BB0_55 Depth=1
	movl	%ebx, 28(%rax,%rdx,4)
	jmp	LBB0_71
LBB0_140:
	testq	%r13, %r13
	je	LBB0_161
## %bb.141:
	cmpq	$1, %r13
	jne	LBB0_143
## %bb.142:
	xorl	%ecx, %ecx
LBB0_149:
	testb	$1, %r13b
	je	LBB0_161
## %bb.150:
	cmpl	$0, (%r14,%rcx,4)
	je	LBB0_161
## %bb.151:
	notl	(%rax,%rcx,4)
	jmp	LBB0_161
LBB0_99:
	testq	%r13, %r13
	je	LBB0_161
## %bb.100:
	cmpq	$1, %r13
	jne	LBB0_102
## %bb.101:
	xorl	%ecx, %ecx
LBB0_110:
	testb	$1, %r13b
	je	LBB0_161
## %bb.111:
	cmpl	$0, (%r14,%rcx,4)
	je	LBB0_161
## %bb.112:
	movl	(%rax,%rcx,4), %edx
	cmpl	$254, %edx
	jg	LBB0_161
## %bb.113:
	incl	%edx
	movl	%edx, (%rax,%rcx,4)
	jmp	LBB0_161
LBB0_121:
	testq	%r13, %r13
	je	LBB0_161
## %bb.122:
	cmpq	$1, %r13
	jne	LBB0_124
## %bb.123:
	xorl	%ecx, %ecx
LBB0_132:
	testb	$1, %r13b
	je	LBB0_161
## %bb.133:
	cmpl	$0, (%r14,%rcx,4)
	je	LBB0_161
## %bb.134:
	movl	(%rax,%rcx,4), %edx
	testl	%edx, %edx
	jle	LBB0_161
## %bb.135:
	decl	%edx
	movl	%edx, (%rax,%rcx,4)
	jmp	LBB0_161
LBB0_38:
	movq	%r13, %rsi
	andq	$-2, %rsi
	xorl	%edx, %edx
	jmp	LBB0_39
	.p2align	4, 0x90
LBB0_43:                                ##   in Loop: Header=BB0_39 Depth=1
	addq	$2, %rdx
	cmpq	%rdx, %rsi
	je	LBB0_44
LBB0_39:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r14,%rdx,4)
	je	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_39 Depth=1
	andl	%ecx, (%rax,%rdx,4)
LBB0_41:                                ##   in Loop: Header=BB0_39 Depth=1
	cmpl	$0, 4(%r14,%rdx,4)
	je	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_39 Depth=1
	andl	%ecx, 4(%rax,%rdx,4)
	jmp	LBB0_43
LBB0_83:
	movq	%r13, %rsi
	andq	$-2, %rsi
	xorl	%edx, %edx
	jmp	LBB0_84
	.p2align	4, 0x90
LBB0_88:                                ##   in Loop: Header=BB0_84 Depth=1
	addq	$2, %rdx
	cmpq	%rdx, %rsi
	je	LBB0_89
LBB0_84:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r14,%rdx,4)
	je	LBB0_86
## %bb.85:                              ##   in Loop: Header=BB0_84 Depth=1
	movl	(%rax,%rdx,4), %edi
	andl	%ecx, %edi
	orl	%ebx, %edi
	movl	%edi, (%rax,%rdx,4)
LBB0_86:                                ##   in Loop: Header=BB0_84 Depth=1
	cmpl	$0, 4(%r14,%rdx,4)
	je	LBB0_88
## %bb.87:                              ##   in Loop: Header=BB0_84 Depth=1
	movl	4(%rax,%rdx,4), %edi
	andl	%ecx, %edi
	orl	%ebx, %edi
	movl	%edi, 4(%rax,%rdx,4)
	jmp	LBB0_88
LBB0_152:
	movq	%r13, %rdx
	andq	$-2, %rdx
	xorl	%ecx, %ecx
	jmp	LBB0_153
	.p2align	4, 0x90
LBB0_157:                               ##   in Loop: Header=BB0_153 Depth=1
	addq	$2, %rcx
	cmpq	%rcx, %rdx
	je	LBB0_158
LBB0_153:                               ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r14,%rcx,4)
	je	LBB0_155
## %bb.154:                             ##   in Loop: Header=BB0_153 Depth=1
	xorl	%r15d, (%rax,%rcx,4)
LBB0_155:                               ##   in Loop: Header=BB0_153 Depth=1
	cmpl	$0, 4(%r14,%rcx,4)
	je	LBB0_157
## %bb.156:                             ##   in Loop: Header=BB0_153 Depth=1
	xorl	%r15d, 4(%rax,%rcx,4)
	jmp	LBB0_157
LBB0_27:
	cmpq	%r13, %rcx
	je	LBB0_161
LBB0_28:
	movq	%rcx, %rdx
	notq	%rdx
	testb	$1, %r13b
	je	LBB0_32
## %bb.29:
	cmpl	$0, (%r14,%rcx,4)
	je	LBB0_31
## %bb.30:
	movl	$0, (%rax,%rcx,4)
LBB0_31:
	orq	$1, %rcx
LBB0_32:
	addq	%r13, %rdx
	jne	LBB0_33
	jmp	LBB0_161
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_33 Depth=1
	addq	$2, %rcx
	cmpq	%rcx, %r13
	je	LBB0_161
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r14,%rcx,4)
	je	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_33 Depth=1
	movl	$0, (%rax,%rcx,4)
LBB0_35:                                ##   in Loop: Header=BB0_33 Depth=1
	cmpl	$0, 4(%r14,%rcx,4)
	je	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_33 Depth=1
	movl	$0, 4(%rax,%rcx,4)
	jmp	LBB0_37
LBB0_72:
	cmpq	%r13, %rcx
	je	LBB0_161
LBB0_73:
	movq	%rcx, %rdx
	notq	%rdx
	testb	$1, %r13b
	je	LBB0_77
## %bb.74:
	cmpl	$0, (%r14,%rcx,4)
	je	LBB0_76
## %bb.75:
	movl	%ebx, (%rax,%rcx,4)
LBB0_76:
	orq	$1, %rcx
LBB0_77:
	addq	%r13, %rdx
	jne	LBB0_78
LBB0_161:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_82:                                ##   in Loop: Header=BB0_78 Depth=1
	addq	$2, %rcx
	cmpq	%rcx, %r13
	je	LBB0_161
LBB0_78:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r14,%rcx,4)
	je	LBB0_80
## %bb.79:                              ##   in Loop: Header=BB0_78 Depth=1
	movl	%ebx, (%rax,%rcx,4)
LBB0_80:                                ##   in Loop: Header=BB0_78 Depth=1
	cmpl	$0, 4(%r14,%rcx,4)
	je	LBB0_82
## %bb.81:                              ##   in Loop: Header=BB0_78 Depth=1
	movl	%ebx, 4(%rax,%rcx,4)
	jmp	LBB0_82
LBB0_143:
	movq	%r13, %rdx
	andq	$-2, %rdx
	xorl	%ecx, %ecx
	jmp	LBB0_144
	.p2align	4, 0x90
LBB0_148:                               ##   in Loop: Header=BB0_144 Depth=1
	addq	$2, %rcx
	cmpq	%rcx, %rdx
	je	LBB0_149
LBB0_144:                               ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r14,%rcx,4)
	je	LBB0_146
## %bb.145:                             ##   in Loop: Header=BB0_144 Depth=1
	notl	(%rax,%rcx,4)
LBB0_146:                               ##   in Loop: Header=BB0_144 Depth=1
	cmpl	$0, 4(%r14,%rcx,4)
	je	LBB0_148
## %bb.147:                             ##   in Loop: Header=BB0_144 Depth=1
	notl	4(%rax,%rcx,4)
	jmp	LBB0_148
LBB0_102:
	movq	%r13, %rdx
	andq	$-2, %rdx
	xorl	%ecx, %ecx
	jmp	LBB0_103
	.p2align	4, 0x90
LBB0_109:                               ##   in Loop: Header=BB0_103 Depth=1
	addq	$2, %rcx
	cmpq	%rcx, %rdx
	je	LBB0_110
LBB0_103:                               ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r14,%rcx,4)
	je	LBB0_106
## %bb.104:                             ##   in Loop: Header=BB0_103 Depth=1
	movl	(%rax,%rcx,4), %esi
	cmpl	$254, %esi
	jg	LBB0_106
## %bb.105:                             ##   in Loop: Header=BB0_103 Depth=1
	incl	%esi
	movl	%esi, (%rax,%rcx,4)
LBB0_106:                               ##   in Loop: Header=BB0_103 Depth=1
	cmpl	$0, 4(%r14,%rcx,4)
	je	LBB0_109
## %bb.107:                             ##   in Loop: Header=BB0_103 Depth=1
	movl	4(%rax,%rcx,4), %esi
	cmpl	$254, %esi
	jg	LBB0_109
## %bb.108:                             ##   in Loop: Header=BB0_103 Depth=1
	incl	%esi
	movl	%esi, 4(%rax,%rcx,4)
	jmp	LBB0_109
LBB0_124:
	movq	%r13, %rdx
	andq	$-2, %rdx
	xorl	%ecx, %ecx
	jmp	LBB0_125
	.p2align	4, 0x90
LBB0_131:                               ##   in Loop: Header=BB0_125 Depth=1
	addq	$2, %rcx
	cmpq	%rcx, %rdx
	je	LBB0_132
LBB0_125:                               ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r14,%rcx,4)
	je	LBB0_128
## %bb.126:                             ##   in Loop: Header=BB0_125 Depth=1
	movl	(%rax,%rcx,4), %esi
	testl	%esi, %esi
	jle	LBB0_128
## %bb.127:                             ##   in Loop: Header=BB0_125 Depth=1
	decl	%esi
	movl	%esi, (%rax,%rcx,4)
LBB0_128:                               ##   in Loop: Header=BB0_125 Depth=1
	cmpl	$0, 4(%r14,%rcx,4)
	je	LBB0_131
## %bb.129:                             ##   in Loop: Header=BB0_125 Depth=1
	movl	4(%rax,%rcx,4), %esi
	testl	%esi, %esi
	jle	LBB0_131
## %bb.130:                             ##   in Loop: Header=BB0_125 Depth=1
	decl	%esi
	movl	%esi, 4(%rax,%rcx,4)
	jmp	LBB0_131
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_47, LBB0_47-LJTI0_0
.set L0_0_set_161, LBB0_161-LJTI0_0
.set L0_0_set_136, LBB0_136-LJTI0_0
.set L0_0_set_92, LBB0_92-LJTI0_0
.set L0_0_set_114, LBB0_114-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_47
	.long	L0_0_set_161
	.long	L0_0_set_136
	.long	L0_0_set_92
	.long	L0_0_set_114
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Bad stencilop in apply_stencil_op_to_span"

	.no_dead_strip	_apply_stencil_op_to_span
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function apply_stencil_op_to_span
_apply_stencil_op_to_span:              ; @apply_stencil_op_to_span
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x5
	mov	x22, x4
	mov	x20, x1
	mov	x21, x0
	ldp	w24, w23, [x0]
	mov	x0, x2
	mov	x1, x3
	bl	_STENCIL_ADDRESS
	sub	w9, w22, #128
	cmp	w9, #5
	b.hi	LBB0_7
; %bb.1:
	mvn	w8, w24
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrh	w12, [x10, x9, lsl #1]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	cmn	w24, #1
	b.eq	LBB0_31
; %bb.3:
	cbnz	x20, LBB0_5
	b	LBB0_125
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x0, x0, #4
	add	x19, x19, #4
	subs	x20, x20, #1
	b.eq	LBB0_125
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x19]
	cbz	w9, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x0]
	and	w9, w9, w8
	str	w9, [x0]
	b	LBB0_4
LBB0_7:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_gl_problem
LBB0_8:
	cmn	w24, #1
	b.eq	LBB0_68
; %bb.9:
	cbz	x20, LBB0_125
; %bb.10:
	and	w9, w23, w24
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x0, x0, #4
	add	x19, x19, #4
	subs	x20, x20, #1
	b.eq	LBB0_125
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x19]
	cbz	w10, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w10, [x0]
	and	w10, w10, w8
	orr	w10, w10, w9
	str	w10, [x0]
	b	LBB0_11
LBB0_14:
	cmn	w24, #1
	b.eq	LBB0_105
; %bb.15:
	cbnz	x20, LBB0_17
	b	LBB0_125
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x0, x0, #4
	add	x19, x19, #4
	subs	x20, x20, #1
	b.eq	LBB0_125
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
	cbz	w8, LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	w8, [x0]
	eor	w8, w8, w24
	str	w8, [x0]
	b	LBB0_16
LBB0_19:
	cmn	w24, #1
	b.eq	LBB0_109
; %bb.20:
	cbnz	x20, LBB0_22
	b	LBB0_125
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=1
	add	x0, x0, #4
	add	x19, x19, #4
	subs	x20, x20, #1
	b.eq	LBB0_125
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x19]
	cbz	w9, LBB0_21
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	w9, [x0]
	cmp	w9, #254
	b.gt	LBB0_21
; %bb.24:                               ;   in Loop: Header=BB0_22 Depth=1
	and	w10, w9, w8
	add	w9, w9, #1
	and	w9, w9, w24
	orr	w9, w9, w10
	str	w9, [x0]
	b	LBB0_21
LBB0_25:
	cmn	w24, #1
	b.eq	LBB0_114
; %bb.26:
	cbnz	x20, LBB0_28
	b	LBB0_125
LBB0_27:                                ;   in Loop: Header=BB0_28 Depth=1
	add	x0, x0, #4
	add	x19, x19, #4
	subs	x20, x20, #1
	b.eq	LBB0_125
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x19]
	cbz	w9, LBB0_27
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	w9, [x0]
	subs	w10, w9, #1
	b.lt	LBB0_27
; %bb.30:                               ;   in Loop: Header=BB0_28 Depth=1
	and	w9, w9, w8
	and	w10, w10, w24
	orr	w9, w10, w9
	str	w9, [x0]
	b	LBB0_27
LBB0_31:
	cbz	x20, LBB0_125
; %bb.32:
	mov	x8, #0
	cmp	x20, #16
	b.lo	LBB0_120
; %bb.33:
	sub	x9, x0, x19
	cmp	x9, #64
	b.lo	LBB0_120
; %bb.34:
	and	x8, x20, #0xfffffffffffffff0
	add	x9, x19, #32
	add	x10, x0, #32
	mov	x11, x8
	b	LBB0_36
LBB0_35:                                ;   in Loop: Header=BB0_36 Depth=1
	add	x9, x9, #64
	add	x10, x10, #64
	subs	x11, x11, #16
	b.eq	LBB0_119
LBB0_36:                                ; =>This Inner Loop Header: Depth=1
	ldp	q3, q2, [x9, #-32]
	ldp	q1, q0, [x9]
	cmtst.4s	v3, v3, v3
	xtn.4h	v3, v3
	umov.h	w12, v3[0]
	tbnz	w12, #0, LBB0_55
; %bb.37:                               ;   in Loop: Header=BB0_36 Depth=1
	umov.h	w12, v3[1]
	tbnz	w12, #0, LBB0_56
LBB0_38:                                ;   in Loop: Header=BB0_36 Depth=1
	umov.h	w12, v3[2]
	tbnz	w12, #0, LBB0_57
LBB0_39:                                ;   in Loop: Header=BB0_36 Depth=1
	umov.h	w12, v3[3]
	tbz	w12, #0, LBB0_41
LBB0_40:                                ;   in Loop: Header=BB0_36 Depth=1
	stur	wzr, [x10, #-20]
LBB0_41:                                ;   in Loop: Header=BB0_36 Depth=1
	cmtst.4s	v2, v2, v2
	xtn.4h	v2, v2
	umov.h	w12, v2[0]
	tbnz	w12, #0, LBB0_58
; %bb.42:                               ;   in Loop: Header=BB0_36 Depth=1
	umov.h	w12, v2[1]
	tbnz	w12, #0, LBB0_59
LBB0_43:                                ;   in Loop: Header=BB0_36 Depth=1
	umov.h	w12, v2[2]
	tbnz	w12, #0, LBB0_60
LBB0_44:                                ;   in Loop: Header=BB0_36 Depth=1
	umov.h	w12, v2[3]
	tbz	w12, #0, LBB0_46
LBB0_45:                                ;   in Loop: Header=BB0_36 Depth=1
	stur	wzr, [x10, #-4]
LBB0_46:                                ;   in Loop: Header=BB0_36 Depth=1
	cmtst.4s	v1, v1, v1
	xtn.4h	v1, v1
	umov.h	w12, v1[0]
	tbnz	w12, #0, LBB0_61
; %bb.47:                               ;   in Loop: Header=BB0_36 Depth=1
	umov.h	w12, v1[1]
	tbnz	w12, #0, LBB0_62
LBB0_48:                                ;   in Loop: Header=BB0_36 Depth=1
	umov.h	w12, v1[2]
	tbnz	w12, #0, LBB0_63
LBB0_49:                                ;   in Loop: Header=BB0_36 Depth=1
	umov.h	w12, v1[3]
	tbz	w12, #0, LBB0_51
LBB0_50:                                ;   in Loop: Header=BB0_36 Depth=1
	str	wzr, [x10, #12]
LBB0_51:                                ;   in Loop: Header=BB0_36 Depth=1
	cmtst.4s	v0, v0, v0
	xtn.4h	v0, v0
	umov.h	w12, v0[0]
	tbnz	w12, #0, LBB0_64
; %bb.52:                               ;   in Loop: Header=BB0_36 Depth=1
	umov.h	w12, v0[1]
	tbnz	w12, #0, LBB0_65
LBB0_53:                                ;   in Loop: Header=BB0_36 Depth=1
	umov.h	w12, v0[2]
	tbnz	w12, #0, LBB0_66
LBB0_54:                                ;   in Loop: Header=BB0_36 Depth=1
	umov.h	w12, v0[3]
	tbz	w12, #0, LBB0_35
	b	LBB0_67
LBB0_55:                                ;   in Loop: Header=BB0_36 Depth=1
	stur	wzr, [x10, #-32]
	umov.h	w12, v3[1]
	tbz	w12, #0, LBB0_38
LBB0_56:                                ;   in Loop: Header=BB0_36 Depth=1
	stur	wzr, [x10, #-28]
	umov.h	w12, v3[2]
	tbz	w12, #0, LBB0_39
LBB0_57:                                ;   in Loop: Header=BB0_36 Depth=1
	stur	wzr, [x10, #-24]
	umov.h	w12, v3[3]
	tbnz	w12, #0, LBB0_40
	b	LBB0_41
LBB0_58:                                ;   in Loop: Header=BB0_36 Depth=1
	stur	wzr, [x10, #-16]
	umov.h	w12, v2[1]
	tbz	w12, #0, LBB0_43
LBB0_59:                                ;   in Loop: Header=BB0_36 Depth=1
	stur	wzr, [x10, #-12]
	umov.h	w12, v2[2]
	tbz	w12, #0, LBB0_44
LBB0_60:                                ;   in Loop: Header=BB0_36 Depth=1
	stur	wzr, [x10, #-8]
	umov.h	w12, v2[3]
	tbnz	w12, #0, LBB0_45
	b	LBB0_46
LBB0_61:                                ;   in Loop: Header=BB0_36 Depth=1
	str	wzr, [x10]
	umov.h	w12, v1[1]
	tbz	w12, #0, LBB0_48
LBB0_62:                                ;   in Loop: Header=BB0_36 Depth=1
	str	wzr, [x10, #4]
	umov.h	w12, v1[2]
	tbz	w12, #0, LBB0_49
LBB0_63:                                ;   in Loop: Header=BB0_36 Depth=1
	str	wzr, [x10, #8]
	umov.h	w12, v1[3]
	tbnz	w12, #0, LBB0_50
	b	LBB0_51
LBB0_64:                                ;   in Loop: Header=BB0_36 Depth=1
	str	wzr, [x10, #16]
	umov.h	w12, v0[1]
	tbz	w12, #0, LBB0_53
LBB0_65:                                ;   in Loop: Header=BB0_36 Depth=1
	str	wzr, [x10, #20]
	umov.h	w12, v0[2]
	tbz	w12, #0, LBB0_54
LBB0_66:                                ;   in Loop: Header=BB0_36 Depth=1
	str	wzr, [x10, #24]
	umov.h	w12, v0[3]
	tbz	w12, #0, LBB0_35
LBB0_67:                                ;   in Loop: Header=BB0_36 Depth=1
	str	wzr, [x10, #28]
	b	LBB0_35
LBB0_68:
	cbz	x20, LBB0_125
; %bb.69:
	mov	x8, #0
	cmp	x20, #16
	b.lo	LBB0_126
; %bb.70:
	sub	x9, x0, x19
	cmp	x9, #64
	b.lo	LBB0_126
; %bb.71:
	and	x8, x20, #0xfffffffffffffff0
	add	x9, x19, #32
	add	x10, x0, #32
	mov	x11, x8
	b	LBB0_73
LBB0_72:                                ;   in Loop: Header=BB0_73 Depth=1
	add	x9, x9, #64
	add	x10, x10, #64
	subs	x11, x11, #16
	b.eq	LBB0_124
LBB0_73:                                ; =>This Inner Loop Header: Depth=1
	ldp	q3, q2, [x9, #-32]
	ldp	q1, q0, [x9]
	cmtst.4s	v3, v3, v3
	xtn.4h	v3, v3
	umov.h	w12, v3[0]
	tbnz	w12, #0, LBB0_92
; %bb.74:                               ;   in Loop: Header=BB0_73 Depth=1
	umov.h	w12, v3[1]
	tbnz	w12, #0, LBB0_93
LBB0_75:                                ;   in Loop: Header=BB0_73 Depth=1
	umov.h	w12, v3[2]
	tbnz	w12, #0, LBB0_94
LBB0_76:                                ;   in Loop: Header=BB0_73 Depth=1
	umov.h	w12, v3[3]
	tbz	w12, #0, LBB0_78
LBB0_77:                                ;   in Loop: Header=BB0_73 Depth=1
	stur	w23, [x10, #-20]
LBB0_78:                                ;   in Loop: Header=BB0_73 Depth=1
	cmtst.4s	v2, v2, v2
	xtn.4h	v2, v2
	umov.h	w12, v2[0]
	tbnz	w12, #0, LBB0_95
; %bb.79:                               ;   in Loop: Header=BB0_73 Depth=1
	umov.h	w12, v2[1]
	tbnz	w12, #0, LBB0_96
LBB0_80:                                ;   in Loop: Header=BB0_73 Depth=1
	umov.h	w12, v2[2]
	tbnz	w12, #0, LBB0_97
LBB0_81:                                ;   in Loop: Header=BB0_73 Depth=1
	umov.h	w12, v2[3]
	tbz	w12, #0, LBB0_83
LBB0_82:                                ;   in Loop: Header=BB0_73 Depth=1
	stur	w23, [x10, #-4]
LBB0_83:                                ;   in Loop: Header=BB0_73 Depth=1
	cmtst.4s	v1, v1, v1
	xtn.4h	v1, v1
	umov.h	w12, v1[0]
	tbnz	w12, #0, LBB0_98
; %bb.84:                               ;   in Loop: Header=BB0_73 Depth=1
	umov.h	w12, v1[1]
	tbnz	w12, #0, LBB0_99
LBB0_85:                                ;   in Loop: Header=BB0_73 Depth=1
	umov.h	w12, v1[2]
	tbnz	w12, #0, LBB0_100
LBB0_86:                                ;   in Loop: Header=BB0_73 Depth=1
	umov.h	w12, v1[3]
	tbz	w12, #0, LBB0_88
LBB0_87:                                ;   in Loop: Header=BB0_73 Depth=1
	str	w23, [x10, #12]
LBB0_88:                                ;   in Loop: Header=BB0_73 Depth=1
	cmtst.4s	v0, v0, v0
	xtn.4h	v0, v0
	umov.h	w12, v0[0]
	tbnz	w12, #0, LBB0_101
; %bb.89:                               ;   in Loop: Header=BB0_73 Depth=1
	umov.h	w12, v0[1]
	tbnz	w12, #0, LBB0_102
LBB0_90:                                ;   in Loop: Header=BB0_73 Depth=1
	umov.h	w12, v0[2]
	tbnz	w12, #0, LBB0_103
LBB0_91:                                ;   in Loop: Header=BB0_73 Depth=1
	umov.h	w12, v0[3]
	tbz	w12, #0, LBB0_72
	b	LBB0_104
LBB0_92:                                ;   in Loop: Header=BB0_73 Depth=1
	stur	w23, [x10, #-32]
	umov.h	w12, v3[1]
	tbz	w12, #0, LBB0_75
LBB0_93:                                ;   in Loop: Header=BB0_73 Depth=1
	stur	w23, [x10, #-28]
	umov.h	w12, v3[2]
	tbz	w12, #0, LBB0_76
LBB0_94:                                ;   in Loop: Header=BB0_73 Depth=1
	stur	w23, [x10, #-24]
	umov.h	w12, v3[3]
	tbnz	w12, #0, LBB0_77
	b	LBB0_78
LBB0_95:                                ;   in Loop: Header=BB0_73 Depth=1
	stur	w23, [x10, #-16]
	umov.h	w12, v2[1]
	tbz	w12, #0, LBB0_80
LBB0_96:                                ;   in Loop: Header=BB0_73 Depth=1
	stur	w23, [x10, #-12]
	umov.h	w12, v2[2]
	tbz	w12, #0, LBB0_81
LBB0_97:                                ;   in Loop: Header=BB0_73 Depth=1
	stur	w23, [x10, #-8]
	umov.h	w12, v2[3]
	tbnz	w12, #0, LBB0_82
	b	LBB0_83
LBB0_98:                                ;   in Loop: Header=BB0_73 Depth=1
	str	w23, [x10]
	umov.h	w12, v1[1]
	tbz	w12, #0, LBB0_85
LBB0_99:                                ;   in Loop: Header=BB0_73 Depth=1
	str	w23, [x10, #4]
	umov.h	w12, v1[2]
	tbz	w12, #0, LBB0_86
LBB0_100:                               ;   in Loop: Header=BB0_73 Depth=1
	str	w23, [x10, #8]
	umov.h	w12, v1[3]
	tbnz	w12, #0, LBB0_87
	b	LBB0_88
LBB0_101:                               ;   in Loop: Header=BB0_73 Depth=1
	str	w23, [x10, #16]
	umov.h	w12, v0[1]
	tbz	w12, #0, LBB0_90
LBB0_102:                               ;   in Loop: Header=BB0_73 Depth=1
	str	w23, [x10, #20]
	umov.h	w12, v0[2]
	tbz	w12, #0, LBB0_91
LBB0_103:                               ;   in Loop: Header=BB0_73 Depth=1
	str	w23, [x10, #24]
	umov.h	w12, v0[3]
	tbz	w12, #0, LBB0_72
LBB0_104:                               ;   in Loop: Header=BB0_73 Depth=1
	str	w23, [x10, #28]
	b	LBB0_72
LBB0_105:
	cbnz	x20, LBB0_107
	b	LBB0_125
LBB0_106:                               ;   in Loop: Header=BB0_107 Depth=1
	add	x0, x0, #4
	add	x19, x19, #4
	subs	x20, x20, #1
	b.eq	LBB0_125
LBB0_107:                               ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
	cbz	w8, LBB0_106
; %bb.108:                              ;   in Loop: Header=BB0_107 Depth=1
	ldr	w8, [x0]
	mvn	w8, w8
	str	w8, [x0]
	b	LBB0_106
LBB0_109:
	cbnz	x20, LBB0_111
	b	LBB0_125
LBB0_110:                               ;   in Loop: Header=BB0_111 Depth=1
	add	x0, x0, #4
	add	x19, x19, #4
	subs	x20, x20, #1
	b.eq	LBB0_125
LBB0_111:                               ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
	cbz	w8, LBB0_110
; %bb.112:                              ;   in Loop: Header=BB0_111 Depth=1
	ldr	w8, [x0]
	cmp	w8, #254
	b.gt	LBB0_110
; %bb.113:                              ;   in Loop: Header=BB0_111 Depth=1
	add	w8, w8, #1
	str	w8, [x0]
	b	LBB0_110
LBB0_114:
	cbnz	x20, LBB0_116
	b	LBB0_125
LBB0_115:                               ;   in Loop: Header=BB0_116 Depth=1
	add	x0, x0, #4
	add	x19, x19, #4
	subs	x20, x20, #1
	b.eq	LBB0_125
LBB0_116:                               ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
	cbz	w8, LBB0_115
; %bb.117:                              ;   in Loop: Header=BB0_116 Depth=1
	ldr	w8, [x0]
	subs	w8, w8, #1
	b.lt	LBB0_115
; %bb.118:                              ;   in Loop: Header=BB0_116 Depth=1
	str	w8, [x0]
	b	LBB0_115
LBB0_119:
	cmp	x8, x20
	b.eq	LBB0_125
LBB0_120:
	sub	x9, x20, x8
	lsl	x10, x8, #2
	add	x8, x0, x10
	add	x10, x19, x10
	b	LBB0_122
LBB0_121:                               ;   in Loop: Header=BB0_122 Depth=1
	add	x8, x8, #4
	add	x10, x10, #4
	subs	x9, x9, #1
	b.eq	LBB0_125
LBB0_122:                               ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10]
	cbz	w11, LBB0_121
; %bb.123:                              ;   in Loop: Header=BB0_122 Depth=1
	str	wzr, [x8]
	b	LBB0_121
LBB0_124:
	cmp	x8, x20
	b.ne	LBB0_126
LBB0_125:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_126:
	sub	x9, x20, x8
	lsl	x10, x8, #2
	add	x8, x0, x10
	add	x10, x19, x10
	b	LBB0_128
LBB0_127:                               ;   in Loop: Header=BB0_128 Depth=1
	add	x8, x8, #4
	add	x10, x10, #4
	subs	x9, x9, #1
	b.eq	LBB0_125
LBB0_128:                               ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10]
	cbz	w11, LBB0_127
; %bb.129:                              ;   in Loop: Header=BB0_128 Depth=1
	str	w23, [x8]
	b	LBB0_127
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
	.section	__TEXT,__const
	.p2align	1
lJTI0_0:
	.short	(LBB0_2-LBB0_2)>>2
	.short	(LBB0_8-LBB0_2)>>2
	.short	(LBB0_125-LBB0_2)>>2
	.short	(LBB0_14-LBB0_2)>>2
	.short	(LBB0_19-LBB0_2)>>2
	.short	(LBB0_25-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Bad stencilop in apply_stencil_op_to_span"

	.no_dead_strip	_apply_stencil_op_to_span
.subsections_via_symbols
