	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function planarToP01xWrapper
_planarToP01xWrapper:                   ## @planarToP01xWrapper
	.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	$88, %rsp
	.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, -72(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r13d
	movq	%rdx, %r14
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	movq	%rdi, %rbx
	movq	16(%rbp), %r15
	movl	8(%rdi), %edi
	callq	_av_pix_fmt_desc_get
	movq	%rax, %r12
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	movl	4(%rbx), %edi
	callq	_av_pix_fmt_desc_get
	movq	%r15, %rcx
	movl	(%r15), %ebx
	movl	4(%r15), %r8d
	movl	%ebx, %ecx
	imull	%r13d, %ecx
	movslq	%ecx, %r15
	shlq	$2, %r15
	imull	%r8d, %r13d
	movl	%r13d, %ecx
	shrl	$31, %ecx
	addl	%r13d, %ecx
	sarl	%ecx
	movslq	%ecx, %rcx
	shlq	$2, %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	(%rax), %rcx
	movq	(%r12), %rax
	movl	4(%rcx), %r13d
	movl	12(%rcx), %r9d
	movl	(%rax), %r12d
	movl	8(%rax), %r11d
	movl	20(%rcx), %esi
	movl	16(%rax), %edx
	xorl	%edi, %edi
	testb	$1, (%r14)
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	jne	LBB0_5
## %bb.1:
	testb	$1, 4(%r14)
	jne	LBB0_5
## %bb.2:
	orl	8(%r14), %ebx
	testb	$1, %bl
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_6
## %bb.3:
	notl	%r8d
	andl	$1, %r8d
	movl	%r8d, %edi
	jmp	LBB0_6
LBB0_5:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_6:
	addl	(%rcx), %r13d
	addl	4(%rax), %r12d
	addl	8(%rcx), %r9d
	addl	12(%rax), %r11d
	movl	%r11d, -80(%rbp)                ## 4-byte Spill
	addl	16(%rcx), %esi
	addl	20(%rax), %edx
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	addq	(%rbx), %r15
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addq	8(%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r9d, %ebx
	movl	%esi, %r14d
	callq	_av_assert0
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_37
## %bb.7:
	subl	%r12d, %r13d
	subl	-80(%rbp), %ebx                 ## 4-byte Folded Reload
	subl	-48(%rbp), %r14d                ## 4-byte Folded Reload
	movq	-104(%rbp), %r11                ## 8-byte Reload
	movq	(%r11), %r8
	movd	%r13d, %xmm0
	movl	%ebx, -64(%rbp)                 ## 4-byte Spill
	movd	%ebx, %xmm1
	movl	%r14d, -60(%rbp)                ## 4-byte Spill
	movd	%r14d, %xmm2
	xorl	%r12d, %r12d
	pmovzxdq	%xmm0, %xmm0                    ## xmm0 = xmm0[0],zero,xmm0[1],zero
	pmovzxdq	%xmm1, %xmm1                    ## xmm1 = xmm1[0],zero,xmm1[1],zero
	pmovzxdq	%xmm2, %xmm2                    ## xmm2 = xmm2[0],zero,xmm2[1],zero
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	16(%rbp), %r9
	movl	%r13d, -84(%rbp)                ## 4-byte Spill
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_10 Depth=1
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movl	4(%r14), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movslq	%ecx, %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rax
	movq	-104(%rbp), %r11                ## 8-byte Reload
	movq	%rax, 8(%r11)
	movl	8(%r14), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movslq	%ecx, %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rax
	movq	%rax, 16(%r11)
	movq	16(%rbp), %r9
	movl	4(%r9), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movslq	%ecx, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	-120(%rbp), %r12                ## 8-byte Reload
LBB0_9:                                 ##   in Loop: Header=BB0_10 Depth=1
	movslq	%edx, %rax
	leaq	(%r8,%rax,4), %r8
	movslq	%r13d, %rax
	leaq	(%r15,%rax,4), %r15
	incl	%r12d
	cmpl	-72(%rbp), %r12d                ## 4-byte Folded Reload
	movl	-84(%rbp), %r13d                ## 4-byte Reload
	je	LBB0_36
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
                                        ##     Child Loop BB0_22 Depth 2
                                        ##     Child Loop BB0_30 Depth 2
                                        ##     Child Loop BB0_35 Depth 2
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edx
	testl	%edx, %edx
	jle	LBB0_23
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	leal	-1(%rdx), %r10d
	cmpl	$7, %r10d
	jb	LBB0_20
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r15, %rcx
	subq	%r8, %rcx
	cmpq	$32, %rcx
	jb	LBB0_20
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	incq	%r10
	movq	%r10, %rax
	movabsq	$8589934584, %rcx               ## imm = 0x1FFFFFFF8
	andq	%rcx, %rax
	leaq	-8(%rax), %rsi
	movq	%rsi, %rcx
	shrq	$3, %rcx
	incq	%rcx
	testq	%rsi, %rsi
	je	LBB0_32
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rcx, %rdi
	andq	$-2, %rdi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	(%r8,%rsi,4), %xmm3
	movdqu	16(%r8,%rsi,4), %xmm4
	pslld	%xmm0, %xmm3
	pslld	%xmm0, %xmm4
	movdqu	%xmm3, (%r15,%rsi,4)
	movdqu	%xmm4, 16(%r15,%rsi,4)
	movdqu	32(%r8,%rsi,4), %xmm3
	movdqu	48(%r8,%rsi,4), %xmm4
	pslld	%xmm0, %xmm3
	pslld	%xmm0, %xmm4
	movdqu	%xmm3, 32(%r15,%rsi,4)
	movdqu	%xmm4, 48(%r15,%rsi,4)
	addq	$16, %rsi
	addq	$-2, %rdi
	jne	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_10 Depth=1
	testb	$1, %cl
	je	LBB0_18
LBB0_17:                                ##   in Loop: Header=BB0_10 Depth=1
	movdqu	(%r8,%rsi,4), %xmm3
	movdqu	16(%r8,%rsi,4), %xmm4
	pslld	%xmm0, %xmm3
	pslld	%xmm0, %xmm4
	movdqu	%xmm3, (%r15,%rsi,4)
	movdqu	%xmm4, 16(%r15,%rsi,4)
LBB0_18:                                ##   in Loop: Header=BB0_10 Depth=1
	cmpq	%rax, %r10
	je	LBB0_23
## %bb.19:                              ##   in Loop: Header=BB0_10 Depth=1
	leaq	(%r8,%rax,4), %rsi
	leaq	(%r15,%rax,4), %rdi
	subl	%eax, %edx
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r8, %rsi
	movq	%r15, %rdi
LBB0_21:                                ##   in Loop: Header=BB0_10 Depth=1
	incl	%edx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rsi,%rbx), %eax
	movl	%r13d, %ecx
	shll	%cl, %eax
	movl	%eax, (%rdi,%rbx)
	addq	$4, %rbx
	decl	%edx
	cmpl	$1, %edx
	ja	LBB0_22
LBB0_23:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	(%r14), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%eax, %edx
	sarl	%edx
	movl	(%r9), %eax
	movl	%eax, %r13d
	shrl	$31, %r13d
	addl	%eax, %r13d
	sarl	%r13d
	testb	$1, %r12b
	jne	LBB0_9
## %bb.24:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r12, -120(%rbp)                ## 8-byte Spill
	movq	8(%r11), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	16(%r11), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %ecx
	cmpl	$2, %ecx
	jl	LBB0_8
## %bb.25:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	%ecx, %esi
	shrl	%esi
	leal	-1(%rsi), %r9d
	cmpl	$3, %r9d
	jae	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	-48(%rbp), %r10                 ## 8-byte Reload
	movq	-80(%rbp), %r11                 ## 8-byte Reload
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	-64(%rbp), %r12d                ## 4-byte Reload
	movl	-60(%rbp), %r9d                 ## 4-byte Reload
	jmp	LBB0_34
LBB0_27:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	%edx, -68(%rbp)                 ## 4-byte Spill
	cmpl	$2, %ecx
	movl	%esi, %ecx
	adcl	$-1, %ecx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rcx,8), %rbx
	addq	$8, %rbx
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rcx,4), %r10
	addq	$4, %r10
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	(%rdi,%rcx,4), %rcx
	addq	$4, %rcx
	cmpq	%r10, %rax
	setb	%r10b
	cmpq	%rbx, %rdx
	setb	%r11b
	cmpq	%rcx, %rax
	setb	%cl
	cmpq	%rbx, %rdi
	setb	%bl
	testb	%r11b, %r10b
	jne	LBB0_33
## %bb.28:                              ##   in Loop: Header=BB0_10 Depth=1
	andb	%bl, %cl
	jne	LBB0_33
## %bb.29:                              ##   in Loop: Header=BB0_10 Depth=1
	incq	%r9
	movabsq	$8589934584, %rax               ## imm = 0x1FFFFFFF8
	leaq	4(%rax), %rcx
	andq	%r9, %rcx
	leaq	(%rdi,%rcx,4), %r10
	leaq	(%rdx,%rcx,4), %r11
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	leaq	(%rbx,%rcx,8), %r14
	subl	%ecx, %esi
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_30:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rdx,%r12,4), %xmm3            ## xmm3 = mem[0],zero
	movq	8(%rdx,%r12,4), %xmm4           ## xmm4 = mem[0],zero
	pslld	%xmm1, %xmm3
	pslld	%xmm1, %xmm4
	movq	(%rdi,%r12,4), %xmm5            ## xmm5 = mem[0],zero
	movq	8(%rdi,%r12,4), %xmm6           ## xmm6 = mem[0],zero
	pslld	%xmm2, %xmm5
	punpckldq	%xmm5, %xmm3            ## xmm3 = xmm3[0],xmm5[0],xmm3[1],xmm5[1]
	pslld	%xmm2, %xmm6
	punpckldq	%xmm6, %xmm4            ## xmm4 = xmm4[0],xmm6[0],xmm4[1],xmm6[1]
	movdqu	%xmm3, (%rbx,%r12,8)
	movdqu	%xmm4, 16(%rbx,%r12,8)
	addq	$4, %r12
	cmpq	%r12, %rcx
	jne	LBB0_30
## %bb.31:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpq	%rcx, %r9
	movl	-64(%rbp), %r12d                ## 4-byte Reload
	movl	-60(%rbp), %r9d                 ## 4-byte Reload
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	je	LBB0_8
	jmp	LBB0_34
LBB0_32:                                ##   in Loop: Header=BB0_10 Depth=1
	xorl	%esi, %esi
	testb	$1, %cl
	jne	LBB0_17
	jmp	LBB0_18
LBB0_33:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%rdi, %r10
	movq	%rdx, %r11
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	-64(%rbp), %r12d                ## 4-byte Reload
	movl	-60(%rbp), %r9d                 ## 4-byte Reload
	movl	-68(%rbp), %edx                 ## 4-byte Reload
LBB0_34:                                ##   in Loop: Header=BB0_10 Depth=1
	incl	%esi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_35:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r11,%rbx), %eax
	movl	%r12d, %ecx
	shll	%cl, %eax
	movl	%eax, (%r14,%rbx,2)
	movl	(%r10,%rbx), %eax
	movl	%r9d, %ecx
	shll	%cl, %eax
	movl	%eax, 4(%r14,%rbx,2)
	addq	$4, %rbx
	decl	%esi
	cmpl	$1, %esi
	ja	LBB0_35
	jmp	LBB0_8
LBB0_36:
	movq	%r8, (%r11)
LBB0_37:
	movl	-72(%rbp), %eax                 ## 4-byte Reload
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_planarToP01xWrapper
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function planarToP01xWrapper
_planarToP01xWrapper:                   ; @planarToP01xWrapper
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x20, x6
	mov	x25, x5
	mov	x19, x4
	mov	x24, x3
	mov	x22, x2
	mov	x21, x1
	mov	x23, x0
	ldr	w0, [x0, #8]
	bl	_av_pix_fmt_desc_get
	mov	x26, x0
	ldr	w0, [x23, #4]
	bl	_av_pix_fmt_desc_get
	ldp	w12, w10, [x20]
	stp	w12, w24, [sp, #56]             ; 8-byte Folded Spill
	mul	w8, w10, w24
	cmp	w8, #0
	cinc	w8, w8, lt
	str	w8, [sp, #52]                   ; 4-byte Folded Spill
	ldr	x9, [x0]
	ldr	x8, [x26]
	ldrb	w11, [x22]
	tbnz	w11, #0, LBB0_3
; %bb.1:
	ldrb	w11, [x22, #4]
	tbnz	w11, #0, LBB0_3
; %bb.2:
	ldr	w11, [x22, #8]
	orr	w11, w11, w12
	mvn	w10, w10
	and	w10, w10, #0x1
	tst	w11, #0x1
	csel	w0, wzr, w10, ne
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldr	x11, [x25]
	ldr	x10, [x25, #8]
	stp	x10, x11, [sp, #16]             ; 16-byte Folded Spill
	ldr	w11, [x9]
	ldp	w10, w25, [x9, #4]
	str	w10, [sp, #4]                   ; 4-byte Folded Spill
	ldr	w10, [x8]
	str	w10, [sp, #48]                  ; 4-byte Folded Spill
	ldr	w10, [x8, #4]
	str	w10, [sp, #40]                  ; 4-byte Folded Spill
	ldp	w26, w27, [x9, #12]
	ldr	w10, [x8, #8]
	str	w10, [sp, #44]                  ; 4-byte Folded Spill
	ldr	w10, [x8, #12]
	str	w10, [sp, #36]                  ; 4-byte Folded Spill
	ldr	w28, [x9, #20]
	ldp	w9, w24, [x8, #16]
	stp	w9, w11, [sp, #8]               ; 8-byte Folded Spill
	bl	_av_assert0
	cmp	w19, #1
	b.lt	LBB0_29
; %bb.5:
	mov	w8, #0
	ldp	w10, w9, [sp, #56]              ; 8-byte Folded Reload
	mul	w9, w10, w9
	ldp	w14, w10, [sp, #48]             ; 8-byte Folded Reload
	asr	w10, w10, #1
	ldr	x11, [sp, #24]                  ; 8-byte Folded Reload
	add	x9, x11, w9, sxtw #2
	ldr	x11, [sp, #16]                  ; 8-byte Folded Reload
	add	x10, x11, w10, sxtw #2
	ldr	w11, [sp, #12]                  ; 4-byte Folded Reload
	ldr	w12, [sp, #4]                   ; 4-byte Folded Reload
	add	w11, w12, w11
	add	w12, w26, w25
	add	w13, w28, w27
	ldr	w15, [sp, #40]                  ; 4-byte Folded Reload
	add	w14, w14, w15
	sub	w11, w11, w14
	ldr	w14, [sp, #44]                  ; 4-byte Folded Reload
	ldr	w15, [sp, #36]                  ; 4-byte Folded Reload
	add	w14, w14, w15
	sub	w12, w12, w14
	ldr	w14, [sp, #8]                   ; 4-byte Folded Reload
	add	w14, w14, w24
	sub	w14, w13, w14
	ldr	x13, [x21]
	dup.4s	v0, w11
	dup.4s	v1, w12
	dup.4s	v2, w14
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldp	w1, w2, [x22, #4]
	cmp	w1, #0
	cinc	w1, w1, lt
	asr	w1, w1, #1
	add	x0, x0, w1, sxtw #2
	cmp	w2, #0
	cinc	w1, w2, lt
	asr	w1, w1, #1
	add	x17, x17, w1, sxtw #2
	stp	x0, x17, [x21, #8]
	ldr	w17, [x20, #4]
	cmp	w17, #0
	cinc	w17, w17, lt
	asr	w17, w17, #1
	add	x10, x10, w17, sxtw #2
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	asr	w15, w15, #1
	add	x13, x13, w15, sxtw #2
	asr	w15, w16, #1
	add	w8, w8, #1
	add	x9, x9, w15, sxtw #2
	cmp	w8, w19
	b.eq	LBB0_28
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
                                        ;     Child Loop BB0_16 Depth 2
                                        ;     Child Loop BB0_23 Depth 2
                                        ;     Child Loop BB0_27 Depth 2
	ldr	w17, [x23]
	subs	w0, w17, #1
	b.lt	LBB0_17
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w0, #15
	b.lo	LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	sub	x1, x9, x13
	mov	x15, x13
	mov	x16, x9
	cmp	x1, #64
	b.lo	LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x0, x0, #1
	and	x1, x0, #0x1fffffff0
	lsl	x16, x1, #2
	add	x15, x13, x16
	add	x16, x9, x16
	sub	w17, w17, w1
	add	x2, x13, #32
	add	x3, x9, #32
	mov	x4, x1
LBB0_12:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q3, q4, [x2, #-32]
	ldp	q5, q6, [x2], #64
	ushl.4s	v3, v3, v0
	ushl.4s	v4, v4, v0
	ushl.4s	v5, v5, v0
	ushl.4s	v6, v6, v0
	stp	q3, q4, [x3, #-32]
	stp	q5, q6, [x3], #64
	subs	x4, x4, #16
	b.ne	LBB0_12
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	x0, x1
	b.ne	LBB0_15
	b	LBB0_17
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x15, x13
	mov	x16, x9
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=1
	add	w17, w17, #1
LBB0_16:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x15], #4
	lsl	w0, w0, w11
	str	w0, [x16], #4
	sub	w17, w17, #1
	cmp	w17, #1
	b.hi	LBB0_16
LBB0_17:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w15, [x22]
	cmp	w15, #0
	cinc	w15, w15, lt
	ldr	w16, [x20]
	cmp	w16, #0
	cinc	w16, w16, lt
	tbnz	w8, #0, LBB0_7
; %bb.18:                               ;   in Loop: Header=BB0_8 Depth=1
	ldp	x0, x17, [x21, #8]
	ldr	w2, [x23]
	cmp	w2, #2
	b.lt	LBB0_6
; %bb.19:                               ;   in Loop: Header=BB0_8 Depth=1
	lsr	w1, w2, #1
	sub	w5, w1, #1
	cmp	w5, #7
	b.lo	LBB0_25
; %bb.20:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	w2, #1
	cset	w2, hi
	sub	w2, w1, w2
	add	x3, x10, w2, uxtw #3
	add	x3, x3, #8
	lsl	x2, x2, #2
	add	x4, x0, x2
	add	x4, x4, #4
	add	x2, x17, x2
	add	x2, x2, #4
	cmp	x10, x2
	ccmp	x17, x3, #2, lo
	cset	w6, lo
	cmp	x0, x3
	ccmp	x10, x4, #2, lo
	b.lo	LBB0_25
; %bb.21:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x2, x17
	mov	x3, x0
	mov	x4, x10
	tbnz	w6, #0, LBB0_26
; %bb.22:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x5, x5, #1
	and	x6, x5, #0x1fffffff8
	lsl	x3, x6, #2
	add	x2, x17, x3
	add	x3, x0, x3
	add	x4, x10, x6, lsl #3
	sub	w1, w1, w6
	add	x7, x10, #32
	add	x24, x0, #16
	add	x25, x17, #16
	mov	x26, x6
LBB0_23:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q3, q4, [x24, #-16]
	ushl.4s	v5, v3, v1
	ldur	q3, [x25, #-16]
	ushl.4s	v6, v3, v2
	ldr	q3, [x25], #32
	sub	x27, x7, #32
	st2.4s	{ v5, v6 }, [x27]
	ushl.4s	v4, v4, v1
	ushl.4s	v5, v3, v2
	st2.4s	{ v4, v5 }, [x7]
	add	x7, x7, #64
	add	x24, x24, #32
	subs	x26, x26, #8
	b.ne	LBB0_23
; %bb.24:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	x5, x6
	b.eq	LBB0_6
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x2, x17
	mov	x3, x0
	mov	x4, x10
LBB0_26:                                ;   in Loop: Header=BB0_8 Depth=1
	add	w1, w1, #1
LBB0_27:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w5, [x3], #4
	lsl	w5, w5, w12
	str	w5, [x4]
	ldr	w5, [x2], #4
	lsl	w5, w5, w14
	str	w5, [x4, #4]
	sub	w1, w1, #1
	add	x4, x4, #8
	cmp	w1, #1
	b.hi	LBB0_27
	b	LBB0_6
LBB0_28:
	str	x13, [x21]
LBB0_29:
	mov	x0, x19
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_planarToP01xWrapper
.subsections_via_symbols
