	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function decode_plane
LCPI0_0:
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
LCPI0_1:
	.long	4294967280                      ## 0xfffffff0
	.long	4294967280                      ## 0xfffffff0
	.long	4294967280                      ## 0xfffffff0
	.long	4294967280                      ## 0xfffffff0
LCPI0_2:
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_decode_plane:                          ## @decode_plane
	.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	$312, %rsp                      ## imm = 0x138
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -116(%rbp)                ## 4-byte Spill
	movl	%r8d, -112(%rbp)                ## 4-byte Spill
	movl	%ecx, %r12d
	movl	%edx, %r15d
	movq	%rsi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rax
	movq	%rdi, -192(%rbp)                ## 8-byte Spill
	movq	$0, 24(%rdi)
	leal	48(,%r15,8), %edx
	xorl	%r14d, %r14d
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_memset
	movl	%r12d, -80(%rbp)                ## 4-byte Spill
	testl	%r12d, %r12d
	jle	LBB0_62
## %bb.1:
	movl	16(%rbp), %ecx
	movslq	%r15d, %r11
	leaq	(%rbx,%r11,4), %rax
	addq	$36, %rax
	addq	$12, %rbx
	movslq	%ecx, %r10
	movl	%r15d, %r12d
	movl	%r12d, %ecx
	andl	$-8, %ecx
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	addq	$-8, %rcx
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	movq	%rcx, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movl	%r12d, %ecx
	andl	$-4, %ecx
	movq	%rcx, -224(%rbp)                ## 8-byte Spill
	addq	$-4, %rcx
	movq	%rcx, -216(%rbp)                ## 8-byte Spill
	movq	%rcx, %rdx
	shrq	$2, %rdx
	incq	%rdx
	cmpl	$8, %r15d
	setb	%r9b
	cmpl	$1, %r10d
	setne	%cl
	sete	%r8b
	orb	%r9b, %cl
	movb	%cl, -65(%rbp)                  ## 1-byte Spill
	movl	%edi, %r9d
	andl	$3, %r9d
	movq	%rdi, %rcx
	andq	$-4, %rcx
	movq	%rcx, -240(%rbp)                ## 8-byte Spill
	movl	%r12d, %ecx
	andl	$3, %ecx
	movq	%rcx, -152(%rbp)                ## 8-byte Spill
	cmpl	$4, %r15d
	setae	%cl
	andb	%r8b, %cl
	movb	%cl, -66(%rbp)                  ## 1-byte Spill
	leal	-1(%r15), %ecx
	movslq	%ecx, %rcx
	movq	%rcx, -336(%rbp)                ## 8-byte Spill
	movslq	-112(%rbp), %rsi                ## 4-byte Folded Reload
	movl	-80(%rbp), %ecx                 ## 4-byte Reload
	movq	%rcx, -328(%rbp)                ## 8-byte Spill
	movq	%rdx, %rcx
	movq	%rdx, -208(%rbp)                ## 8-byte Spill
	andq	$-2, %rdx
	movq	%rdx, -200(%rbp)                ## 8-byte Spill
	movq	%r12, %rcx
	negq	%rcx
	movq	%rcx, -280(%rbp)                ## 8-byte Spill
	movabsq	$4611686018427387900, %rdx      ## imm = 0x3FFFFFFFFFFFFFFC
	orq	$2, %rdx
	movq	%rdi, %rcx
	movq	%rdi, -288(%rbp)                ## 8-byte Spill
	andq	%rdi, %rdx
	movq	%rdx, -264(%rbp)                ## 8-byte Spill
	movq	%r10, %rcx
	shlq	$7, %rcx
	movq	%rcx, -232(%rbp)                ## 8-byte Spill
	movq	%r10, %rcx
	shlq	$5, %rcx
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	movq	%r9, -272(%rbp)                 ## 8-byte Spill
	shlq	$5, %r9
	movq	%r9, -256(%rbp)                 ## 8-byte Spill
	movq	%r10, %rcx
	shlq	$4, %rcx
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	movq	%r10, %rcx
	shlq	$6, %rcx
	movq	%rcx, -248(%rbp)                ## 8-byte Spill
	leaq	(,%rsi,4), %rcx
	leaq	(,%r10,4), %rdx
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%r10, -88(%rbp)                 ## 8-byte Spill
	leaq	(,%r10,8), %rdx
	movq	%rdx, -344(%rbp)                ## 8-byte Spill
	leaq	16(%r13), %rdx
	movq	%rdx, -168(%rbp)                ## 8-byte Spill
	xorl	%edx, %edx
	movq	%rdx, -176(%rbp)                ## 8-byte Spill
	xorl	%edx, %edx
	movq	%rdx, -184(%rbp)                ## 8-byte Spill
	movq	%r13, %rdx
	xorl	%edi, %edi
	movq	%r15, %r14
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	movq	%r12, -160(%rbp)                ## 8-byte Spill
	movq	%rsi, -320(%rbp)                ## 8-byte Spill
	movq	%rcx, -312(%rbp)                ## 8-byte Spill
	movq	%r11, -304(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_44 Depth 2
                                        ##     Child Loop BB0_47 Depth 2
                                        ##     Child Loop BB0_51 Depth 2
                                        ##     Child Loop BB0_54 Depth 2
                                        ##     Child Loop BB0_18 Depth 2
                                        ##     Child Loop BB0_41 Depth 2
                                        ##     Child Loop BB0_24 Depth 2
                                        ##     Child Loop BB0_30 Depth 2
                                        ##     Child Loop BB0_33 Depth 2
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rcx, %r15
	imulq	%rdi, %r15
	addq	%r13, %r15
	movq	%rdi, -352(%rbp)                ## 8-byte Spill
	movq	%rdi, %r13
	imulq	%rsi, %r13
	movq	%rax, -64(%rbp)
	movq	%rbx, -56(%rbp)
	movl	(%rax), %ecx
	movl	%ecx, -4(%rbx)
	movq	-336(%rbp), %rcx                ## 8-byte Reload
	movl	(%rax,%rcx,4), %ecx
	movl	%ecx, (%rax,%r11,4)
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	movq	8(%rdi), %rax
	movl	(%rax), %r8d
	cmpl	$8, %r8d
	jg	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %esi
	leaq	-64(%rbp), %rdx
	movl	-116(%rbp), %ecx                ## 4-byte Reload
	movl	$8, %r8d
	callq	_decode_line
	testl	%eax, %eax
	js	LBB0_61
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rcx
	testl	%ecx, %ecx
	jle	LBB0_55
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax
	subq	%rax, %r15
	cmpq	$32, %r15
	setb	%cl
	orb	-65(%rbp), %cl                  ## 1-byte Folded Reload
	je	LBB0_22
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, -296(%rbp)                ## 8-byte Spill
	movq	%rdi, %r13
	movq	%r14, %rbx
	movl	%r14d, %esi
	leaq	-64(%rbp), %rdx
	movl	-116(%rbp), %ecx                ## 4-byte Reload
	callq	_decode_line
	testl	%eax, %eax
	js	LBB0_61
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 16(%r13)
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %r14
	testl	%r14d, %r14d
	movq	-160(%rbp), %r12                ## 8-byte Reload
	jle	LBB0_55
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %r10
	subq	%r10, %r15
	cmpq	$32, %r15
	setb	%cl
	orb	-65(%rbp), %cl                  ## 1-byte Folded Reload
	je	LBB0_34
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_49
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %r14
	testl	%r14d, %r14d
	movq	-160(%rbp), %r12                ## 8-byte Reload
	movdqa	LCPI0_2(%rip), %xmm11           ## xmm11 = [1065353216,1065353216,1065353216,1065353216]
	movq	-296(%rbp), %rdx                ## 8-byte Reload
	jle	LBB0_55
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-104(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%rdx,4), %rdi
	movq	-56(%rbp), %r9
	movq	-192(%rbp), %rcx                ## 8-byte Reload
	movq	8(%rcx), %r8
	cmpb	$0, -66(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_36
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	addq	%r12, %rdx
	leaq	(%rax,%rdx,4), %rcx
	leaq	(%r9,%r12,4), %rax
	cmpq	%rax, %rdi
	setb	%dl
	cmpq	%rcx, %r9
	setb	%bl
	leaq	4(%r8), %rax
	cmpq	%rax, %rdi
	setb	%al
	cmpq	%rcx, %r8
	setb	%cl
	testb	%bl, %dl
	jne	LBB0_36
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$0, %edx
	andb	%cl, %al
	jne	LBB0_37
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, -216(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_58
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movd	(%r8), %xmm1                    ## xmm1 = mem[0],zero,zero,zero
	pshufd	$0, %xmm1, %xmm2                ## xmm2 = xmm1[0,0,0,0]
	movdqa	LCPI0_0(%rip), %xmm8            ## xmm8 = [16,16,16,16]
	psubd	%xmm2, %xmm8
	paddd	%xmm1, %xmm1
	paddd	LCPI0_1(%rip), %xmm1
	pshufd	$0, %xmm1, %xmm9                ## xmm9 = xmm1[0,0,0,0]
	movq	-200(%rbp), %rcx                ## 8-byte Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	xorl	%eax, %eax
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	(%r9,%rax,4), %xmm3
	movdqa	%xmm8, %xmm2
	pslld	$23, %xmm2
	paddd	%xmm11, %xmm2
	cvttps2dq	%xmm2, %xmm2
	movdqa	%xmm3, %xmm4
	pmulld	%xmm2, %xmm4
	pshuflw	$254, %xmm9, %xmm10             ## xmm10 = xmm9[2,3,3,3,4,5,6,7]
	movdqa	%xmm3, %xmm6
	psrad	%xmm10, %xmm6
	pshufd	$238, %xmm9, %xmm7              ## xmm7 = xmm9[2,3,2,3]
	pshuflw	$254, %xmm7, %xmm0              ## xmm0 = xmm7[2,3,3,3,4,5,6,7]
	movdqa	%xmm3, %xmm1
	psrad	%xmm0, %xmm1
	pblendw	$15, %xmm6, %xmm1               ## xmm1 = xmm6[0,1,2,3],xmm1[4,5,6,7]
	pshuflw	$84, %xmm9, %xmm6               ## xmm6 = xmm9[0,1,1,1,4,5,6,7]
	movdqa	%xmm3, %xmm5
	psrad	%xmm6, %xmm5
	pshuflw	$84, %xmm7, %xmm7               ## xmm7 = xmm7[0,1,1,1,4,5,6,7]
	psrad	%xmm7, %xmm3
	pblendw	$15, %xmm5, %xmm3               ## xmm3 = xmm5[0,1,2,3],xmm3[4,5,6,7]
	pblendw	$204, %xmm1, %xmm3              ## xmm3 = xmm3[0,1],xmm1[2,3],xmm3[4,5],xmm1[6,7]
	por	%xmm4, %xmm3
	movdqu	%xmm3, (%rbx)
	movdqu	16(%r9,%rax,4), %xmm1
	pmulld	%xmm1, %xmm2
	movdqa	%xmm1, %xmm3
	psrad	%xmm0, %xmm3
	movdqa	%xmm1, %xmm0
	psrad	%xmm10, %xmm0
	movdqa	%xmm1, %xmm4
	psrad	%xmm7, %xmm4
	psrad	%xmm6, %xmm1
	pblendw	$240, %xmm3, %xmm0              ## xmm0 = xmm0[0,1,2,3],xmm3[4,5,6,7]
	pblendw	$240, %xmm4, %xmm1              ## xmm1 = xmm1[0,1,2,3],xmm4[4,5,6,7]
	pblendw	$204, %xmm0, %xmm1              ## xmm1 = xmm1[0,1],xmm0[2,3],xmm1[4,5],xmm0[6,7]
	por	%xmm2, %xmm1
	movdqu	%xmm1, (%rbx,%rsi)
	addq	$8, %rax
	addq	%rdx, %rbx
	addq	$-2, %rcx
	jne	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	testb	$1, -208(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_21
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movdqu	(%r9,%rax,4), %xmm0
	movd	(%r8), %xmm1                    ## xmm1 = mem[0],zero,zero,zero
	movdqa	LCPI0_0(%rip), %xmm2            ## xmm2 = [16,16,16,16]
	psubd	%xmm1, %xmm2
	pmovzxdq	%xmm2, %xmm2                    ## xmm2 = xmm2[0],zero,xmm2[1],zero
	movdqa	%xmm0, %xmm3
	pslld	%xmm2, %xmm3
	paddd	%xmm1, %xmm1
	paddd	LCPI0_1(%rip), %xmm1
	pmovzxdq	%xmm1, %xmm1                    ## xmm1 = xmm1[0],zero,xmm1[1],zero
	psrad	%xmm1, %xmm0
	por	%xmm3, %xmm0
	imulq	-88(%rbp), %rax                 ## 8-byte Folded Reload
	movdqu	%xmm0, (%rdi,%rax,4)
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-224(%rbp), %rax                ## 8-byte Reload
	movq	%rax, %rdx
	cmpq	%r12, %rax
	jne	LBB0_37
	jmp	LBB0_55
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, -136(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_42
## %bb.23:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-264(%rbp), %rdx                ## 8-byte Reload
	movq	-168(%rbp), %rsi                ## 8-byte Reload
	xorl	%ecx, %ecx
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movq	-248(%rbp), %rbx                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_24:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	(%rax,%rcx,4), %xmm0
	movups	16(%rax,%rcx,4), %xmm1
	movups	%xmm0, -16(%rsi)
	movups	%xmm1, (%rsi)
	movdqu	32(%rax,%rcx,4), %xmm0
	movdqu	48(%rax,%rcx,4), %xmm1
	movdqu	%xmm0, -16(%rsi,%rdi)
	movdqu	%xmm1, (%rsi,%rdi)
	addq	$16, %rcx
	addq	%rbx, %rsi
	addq	$-2, %rdx
	jne	LBB0_24
## %bb.25:                              ##   in Loop: Header=BB0_2 Depth=1
	testb	$1, -288(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_27
LBB0_26:                                ##   in Loop: Header=BB0_2 Depth=1
	movdqu	(%rax,%rcx,4), %xmm0
	movdqu	16(%rax,%rcx,4), %xmm1
	imulq	-88(%rbp), %rcx                 ## 8-byte Folded Reload
	addq	%r13, %rcx
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	movdqu	%xmm0, (%rdx,%rcx,4)
	movdqu	%xmm1, 16(%rdx,%rcx,4)
LBB0_27:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-144(%rbp), %rdx                ## 8-byte Reload
	movq	%rdx, %rcx
	cmpq	%r12, %rdx
	je	LBB0_55
LBB0_28:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, %r8
	notq	%r8
	addq	%r12, %r8
	testb	$3, %r12b
	je	LBB0_31
## %bb.29:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	imulq	%rcx, %rsi
	addq	-184(%rbp), %rsi                ## 8-byte Folded Reload
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	leaq	(%rdi,%rsi,4), %rsi
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_30:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rax,%rcx,4), %ebx
	movl	%ebx, (%rsi)
	incq	%rcx
	addq	%rdx, %rsi
	decq	%rdi
	jne	LBB0_30
LBB0_31:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$3, %r8
	jb	LBB0_55
## %bb.32:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	3(%rcx), %rdx
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	imulq	%rbx, %rdx
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	leaq	(%rsi,%rdx,4), %r8
	leaq	2(%rcx), %rdx
	imulq	%rbx, %rdx
	leaq	(%rsi,%rdx,4), %r9
	movq	%rbx, %rdx
	imulq	%rcx, %rdx
	leaq	(%rsi,%rdx,4), %rdi
	leaq	1(%rcx), %rdx
	imulq	%rbx, %rdx
	leaq	(%rsi,%rdx,4), %rbx
	movq	-176(%rbp), %rdx                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_33:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rax,%rcx,4), %esi
	movl	%esi, (%rdi,%rdx)
	movl	4(%rax,%rcx,4), %esi
	movl	%esi, (%rbx,%rdx)
	movl	8(%rax,%rcx,4), %esi
	movl	%esi, (%r9,%rdx)
	movl	12(%rax,%rcx,4), %esi
	movl	%esi, (%r8,%rdx)
	addq	$4, %rcx
	addq	-112(%rbp), %rdx                ## 8-byte Folded Reload
	cmpq	%rcx, %r12
	jne	LBB0_33
	jmp	LBB0_55
LBB0_34:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$24, -136(%rbp)                 ## 8-byte Folded Reload
	jae	LBB0_43
## %bb.35:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	jmp	LBB0_45
LBB0_36:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edx, %edx
LBB0_37:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rdx, %rbx
	testb	$1, %r12b
	je	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r9,%rdx,4), %esi
	movl	(%r8), %eax
	movb	$16, %cl
	subb	%al, %cl
	movl	%esi, %ebx
	shll	%cl, %ebx
	addl	%eax, %eax
	addb	$-16, %al
	movl	%eax, %ecx
	sarl	%cl, %esi
	orl	%ebx, %esi
	movq	%rdx, %rax
	imulq	-88(%rbp), %rax                 ## 8-byte Folded Reload
	movl	%esi, (%rdi,%rax,4)
	movq	%rdx, %rbx
	orq	$1, %rbx
LBB0_39:                                ##   in Loop: Header=BB0_2 Depth=1
	notq	%rdx
	cmpq	-280(%rbp), %rdx                ## 8-byte Folded Reload
	je	LBB0_55
## %bb.40:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, %r10
	imulq	%rbx, %r10
	leaq	1(%rbx), %r11
	imulq	%rax, %r11
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_41:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r9,%rbx,4), %edi
	movl	(%r8), %eax
	movb	$16, %cl
	subb	%al, %cl
	movl	%edi, %esi
	shll	%cl, %esi
	addl	%eax, %eax
	addb	$-16, %al
	movl	%eax, %ecx
	sarl	%cl, %edi
	orl	%esi, %edi
	movl	%edi, (%rdx,%r10)
	movl	4(%r9,%rbx,4), %esi
	movl	(%r8), %eax
	movb	$16, %cl
	subb	%al, %cl
	movl	%esi, %edi
	shll	%cl, %edi
	addl	%eax, %eax
	addb	$-16, %al
	movl	%eax, %ecx
	sarl	%cl, %esi
	orl	%edi, %esi
	movl	%esi, (%rdx,%r11)
	addq	$2, %rbx
	addq	-344(%rbp), %rdx                ## 8-byte Folded Reload
	cmpq	%rbx, %r12
	jne	LBB0_41
	jmp	LBB0_55
LBB0_42:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	testb	$1, -288(%rbp)                  ## 1-byte Folded Reload
	jne	LBB0_26
	jmp	LBB0_27
LBB0_43:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-240(%rbp), %rdx                ## 8-byte Reload
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	movq	%r9, %rsi
	xorl	%ecx, %ecx
	movq	-232(%rbp), %r8                 ## 8-byte Reload
	movq	-128(%rbp), %rax                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_44:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	(%r10,%rcx,4), %xmm0
	movups	16(%r10,%rcx,4), %xmm1
	movups	%xmm0, (%rsi)
	movups	%xmm1, 16(%rsi)
	movups	32(%r10,%rcx,4), %xmm0
	movups	48(%r10,%rcx,4), %xmm1
	leaq	(%rsi,%rax), %rdi
	movups	%xmm0, (%rsi,%rax)
	movups	%xmm1, 16(%rsi,%rax)
	movups	64(%r10,%rcx,4), %xmm0
	movups	80(%r10,%rcx,4), %xmm1
	leaq	(%rdi,%rax), %rbx
	movups	%xmm0, (%rax,%rdi)
	movups	%xmm1, 16(%rax,%rdi)
	movdqu	96(%r10,%rcx,4), %xmm0
	movdqu	112(%r10,%rcx,4), %xmm1
	movdqu	%xmm0, (%rax,%rbx)
	movdqu	%xmm1, 16(%rax,%rbx)
	addq	$32, %rcx
	addq	%r8, %rsi
	addq	$-4, %rdx
	jne	LBB0_44
LBB0_45:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, -272(%rbp)                  ## 8-byte Folded Reload
	movq	-256(%rbp), %rdi                ## 8-byte Reload
	je	LBB0_48
## %bb.46:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	imulq	%rcx, %rdx
	leaq	(%r10,%rcx,4), %rcx
	addq	$16, %rcx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_47:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	-16(%rcx,%rsi), %xmm0
	movdqu	(%rcx,%rsi), %xmm1
	movdqu	%xmm0, (%r9,%rdx)
	movdqu	%xmm1, 16(%r9,%rdx)
	addq	%rax, %rdx
	addq	$32, %rsi
	cmpq	%rsi, %rdi
	jne	LBB0_47
LBB0_48:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-144(%rbp), %rdx                ## 8-byte Reload
	movq	%rdx, %rcx
	cmpq	%r12, %rdx
	je	LBB0_55
LBB0_49:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, %rdx
	notq	%rdx
	addq	%r12, %rdx
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_52
## %bb.50:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	imulq	%rcx, %rsi
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rsi,4), %rsi
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_51:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r10,%rcx,4), %ebx
	movl	%ebx, (%rsi)
	incq	%rcx
	addq	%rax, %rsi
	decq	%rdi
	jne	LBB0_51
LBB0_52:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$3, %rdx
	jb	LBB0_55
## %bb.53:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	3(%rcx), %r8
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	imulq	%rax, %r8
	leaq	2(%rcx), %r9
	imulq	%rax, %r9
	movq	%rax, %rdi
	imulq	%rcx, %rdi
	leaq	1(%rcx), %rbx
	imulq	%rax, %rbx
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_54:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r10,%rcx,4), %esi
	movl	%esi, (%rdx,%rdi)
	movl	4(%r10,%rcx,4), %esi
	movl	%esi, (%rdx,%rbx)
	movl	8(%r10,%rcx,4), %esi
	movl	%esi, (%rdx,%r9)
	movl	12(%r10,%rcx,4), %esi
	movl	%esi, (%rdx,%r8)
	addq	$4, %rcx
	addq	-112(%rbp), %rdx                ## 8-byte Folded Reload
	cmpq	%rcx, %r12
	jne	LBB0_54
	.p2align	4, 0x90
LBB0_55:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-352(%rbp), %rdi                ## 8-byte Reload
	incq	%rdi
	cmpq	-328(%rbp), %rdi                ## 8-byte Folded Reload
	je	LBB0_59
## %bb.56:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rbx
	movq	-56(%rbp), %rax
	movq	-312(%rbp), %rcx                ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	addq	%rcx, %rdx
	addq	%rcx, -168(%rbp)                ## 8-byte Folded Spill
	movq	-320(%rbp), %rsi                ## 8-byte Reload
	addq	%rsi, -184(%rbp)                ## 8-byte Folded Spill
	addq	%rcx, -176(%rbp)                ## 8-byte Folded Spill
	movq	-104(%rbp), %r13                ## 8-byte Reload
	movq	-304(%rbp), %r11                ## 8-byte Reload
	jmp	LBB0_2
LBB0_58:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	testb	$1, -208(%rbp)                  ## 1-byte Folded Reload
	jne	LBB0_20
	jmp	LBB0_21
LBB0_61:
	movl	%eax, %r14d
	jmp	LBB0_62
LBB0_59:
	xorl	%r14d, %r14d
LBB0_62:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_64
## %bb.63:
	movl	%r14d, %eax
	addq	$312, %rsp                      ## imm = 0x138
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_64:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_decode_plane
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_plane
_decode_plane:                          ; @decode_plane
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	mov	x23, x6
	str	w5, [sp, #84]                   ; 4-byte Folded Spill
	mov	x25, x4
	mov	x28, x3
	mov	x20, x2
	mov	x24, 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	x26, [x0]
	str	xzr, [x0, #24]
	lsl	w8, w2, #3
	add	w2, w8, #48
	mov	x0, x26
	mov	w1, #0
	bl	_memset
	cmp	w28, #1
	b.lt	LBB0_34
; %bb.1:
	mov	x27, #0
	sxtw	x10, w20
	add	x8, x26, x10, lsl #2
	add	x8, x8, #36
	add	x9, x26, #12
	str	x10, [sp, #72]                  ; 8-byte Folded Spill
	sub	x10, x10, #1
	str	x10, [sp, #64]                  ; 8-byte Folded Spill
	sxtw	x10, w23
	str	x10, [sp, #24]                  ; 8-byte Folded Spill
	sxtw	x10, w25
	str	x10, [sp, #8]                   ; 8-byte Folded Spill
	mov	w13, w20
	sbfiz	x25, x25, #2, #32
	cmp	w20, #16
	cset	w10, lo
	cmp	w20, #15
	cset	w11, hi
	cmp	w23, #1
	cset	w12, ne
	orr	w10, w10, w12
	str	w10, [sp, #36]                  ; 4-byte Folded Spill
	and	x10, x13, #0xfffffff0
	stp	x10, x13, [sp, #40]             ; 16-byte Folded Spill
	cset	w10, eq
	and	w10, w11, w10
	str	w10, [sp, #20]                  ; 4-byte Folded Spill
	add	x19, x24, #32
	sbfiz	x26, x23, #6, #32
	sbfiz	x23, x23, #2, #32
	mov	x21, x24
	mov	w10, w28
	str	x10, [sp, #56]                  ; 8-byte Folded Spill
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_25 Depth 2
                                        ;     Child Loop BB0_28 Depth 2
                                        ;     Child Loop BB0_17 Depth 2
                                        ;     Child Loop BB0_31 Depth 2
                                        ;     Child Loop BB0_20 Depth 2
                                        ;     Child Loop BB0_23 Depth 2
	stp	x8, x9, [sp, #88]
	ldr	w10, [x8]
	stur	w10, [x9, #-4]
	ldp	x9, x10, [sp, #64]              ; 16-byte Folded Reload
	ldr	w9, [x8, x9, lsl #2]
	mov	x28, x24
	madd	x24, x25, x27, x24
	str	w9, [x8, x10, lsl #2]
	ldr	x8, [x22, #8]
	ldr	w4, [x8]
	add	x2, sp, #88
	mov	x0, x22
	mov	x1, x20
	cmp	w4, #8
	b.gt	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w3, [sp, #84]                   ; 4-byte Folded Reload
	mov	w4, #8
	bl	_decode_line
	tbnz	w0, #31, LBB0_35
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w20, #1
	b.lt	LBB0_32
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #96]
	sub	x9, x24, x8
	cmp	x9, #64
	cset	w9, lo
	ldr	w10, [sp, #36]                  ; 4-byte Folded Reload
	orr	w9, w10, w9
	tbz	w9, #0, LBB0_19
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x10, #0
	b	LBB0_22
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w3, [sp, #84]                   ; 4-byte Folded Reload
	bl	_decode_line
	tbnz	w0, #31, LBB0_35
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x22, #16]
	mov	w15, #16
	cmp	w20, #1
	cbz	x8, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	b.lt	LBB0_32
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #96]
	sub	x9, x24, x8
	cmp	x9, #64
	cset	w9, lo
	ldr	w10, [sp, #36]                  ; 4-byte Folded Reload
	orr	w9, w10, w9
	tbz	w9, #0, LBB0_24
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x10, #0
	b	LBB0_27
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	b.lt	LBB0_32
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [sp, #96]
	ldr	x8, [x22, #8]
	ldr	w10, [sp, #20]                  ; 4-byte Folded Reload
	cbz	w10, LBB0_29
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x11, #0
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
	mul	x10, x27, x10
	mov	x13, x28
	add	x12, x28, x10, lsl #2
	ldr	x14, [sp, #48]                  ; 8-byte Folded Reload
	add	x10, x10, x14
	add	x13, x28, x10, lsl #2
	add	x14, x9, x14, lsl #2
	add	x10, x8, #4
	cmp	x12, x10
	ccmp	x8, x13, #2, lo
	cset	w10, lo
	cmp	x9, x13
	ccmp	x12, x14, #2, lo
	b.lo	LBB0_30
; %bb.15:                               ;   in Loop: Header=BB0_2 Depth=1
	tbnz	w10, #0, LBB0_30
; %bb.16:                               ;   in Loop: Header=BB0_2 Depth=1
	ld1r.4s	{ v1 }, [x8]
	movi.4s	v0, #16
	sub.4s	v0, v0, v1
	shl.4s	v1, v1, #1
	mvni.4s	v2, #15
	add.4s	v1, v1, v2
	add	x10, x9, #32
	mov	x11, x19
	ldr	x12, [sp, #40]                  ; 8-byte Folded Reload
LBB0_17:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q2, q3, [x10, #-32]
	ldp	q4, q5, [x10], #64
	ushl.4s	v6, v2, v0
	ushl.4s	v7, v3, v0
	ushl.4s	v16, v4, v0
	ushl.4s	v17, v5, v0
	neg.4s	v18, v1
	sshl.4s	v2, v2, v18
	sshl.4s	v3, v3, v18
	sshl.4s	v4, v4, v18
	sshl.4s	v5, v5, v18
	orr.16b	v2, v2, v6
	orr.16b	v3, v3, v7
	orr.16b	v4, v4, v16
	stp	q2, q3, [x11, #-32]
	orr.16b	v2, v5, v17
	stp	q4, q2, [x11]
	add	x11, x11, x26
	subs	x12, x12, #16
	b.ne	LBB0_17
; %bb.18:                               ;   in Loop: Header=BB0_2 Depth=1
	ldp	x12, x10, [sp, #40]             ; 16-byte Folded Reload
	mov	x11, x12
	cmp	x12, x10
	b.ne	LBB0_30
	b	LBB0_32
LBB0_19:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x8, #32
	mov	x10, x19
	ldr	x11, [sp, #40]                  ; 8-byte Folded Reload
LBB0_20:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q0, q1, [x9, #-32]
	ldp	q2, q3, [x9], #64
	stp	q0, q1, [x10, #-32]
	stp	q2, q3, [x10]
	add	x10, x10, x26
	subs	x11, x11, #16
	b.ne	LBB0_20
; %bb.21:                               ;   in Loop: Header=BB0_2 Depth=1
	ldp	x11, x9, [sp, #40]              ; 16-byte Folded Reload
	mov	x10, x11
	cmp	x11, x9
	b.eq	LBB0_32
LBB0_22:                                ;   in Loop: Header=BB0_2 Depth=1
	mul	x9, x23, x10
	add	x8, x8, x10, lsl #2
	ldr	x11, [sp, #48]                  ; 8-byte Folded Reload
	sub	x10, x11, x10
LBB0_23:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w11, [x8], #4
	str	w11, [x21, x9]
	add	x9, x9, x23
	subs	x10, x10, #1
	b.ne	LBB0_23
	b	LBB0_32
LBB0_24:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x8, #32
	mov	x10, x19
	ldr	x11, [sp, #40]                  ; 8-byte Folded Reload
LBB0_25:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q0, q1, [x9, #-32]
	ldp	q2, q3, [x9], #64
	stp	q0, q1, [x10, #-32]
	stp	q2, q3, [x10]
	add	x10, x10, x26
	subs	x11, x11, #16
	b.ne	LBB0_25
; %bb.26:                               ;   in Loop: Header=BB0_2 Depth=1
	ldp	x11, x9, [sp, #40]              ; 16-byte Folded Reload
	mov	x10, x11
	cmp	x11, x9
	b.eq	LBB0_32
LBB0_27:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	mul	x9, x9, x10
	add	x9, x21, x9, lsl #2
	add	x8, x8, x10, lsl #2
	ldr	x11, [sp, #48]                  ; 8-byte Folded Reload
	sub	x10, x11, x10
LBB0_28:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w11, [x8], #4
	str	w11, [x9]
	add	x9, x9, x23
	subs	x10, x10, #1
	b.ne	LBB0_28
	b	LBB0_32
LBB0_29:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x11, #0
LBB0_30:                                ;   in Loop: Header=BB0_2 Depth=1
	mul	x10, x23, x11
	add	x9, x9, x11, lsl #2
	ldr	x12, [sp, #48]                  ; 8-byte Folded Reload
	sub	x11, x12, x11
LBB0_31:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w12, [x9], #4
	ldr	w13, [x8]
	sub	w14, w15, w13
	lsl	w14, w12, w14
	lsl	w13, w13, #1
	sub	w13, w13, #16
	asr	w12, w12, w13
	orr	w12, w12, w14
	str	w12, [x21, x10]
	add	x10, x10, x23
	subs	x11, x11, #1
	b.ne	LBB0_31
LBB0_32:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x27, x27, #1
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	cmp	x27, x8
	b.eq	LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_2 Depth=1
	ldp	x9, x8, [sp, #88]
	add	x19, x19, x25
	add	x21, x21, x25
	mov	x24, x28
	b	LBB0_2
LBB0_34:
	mov	w0, #0
LBB0_35:
	ldur	x8, [x29, #-88]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_37
; %bb.36:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_37:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_decode_plane
.subsections_via_symbols
