	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function planar8ToP01xleWrapper
_planar8ToP01xleWrapper:                ## @planar8ToP01xleWrapper
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r14d
	movl	%ecx, %r15d
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %rax
	movq	(%r9), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	8(%r9), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	(%rax), %r13d
	movl	4(%rax), %ebx
	movl	%ebx, %edi
	notl	%edi
	andl	$1, %edi
	xorl	%eax, %eax
	testb	$1, %r13b
	cmovnel	%eax, %edi
	callq	_av_assert0
	movq	%r12, %rdx
	xorl	%r12d, %r12d
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	testl	%r14d, %r14d
	jle	LBB0_13
## %bb.1:
	imull	%r15d, %ebx
	movl	%ebx, %eax
	shrl	$31, %eax
	addl	%ebx, %eax
	sarl	%eax
	cltq
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	imull	%r15d, %r13d
	movslq	%r13d, %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %r13
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movslq	4(%rcx), %rax
	leaq	(%r12,%rax,4), %rax
	movq	%rax, 8(%rdx)
	movslq	8(%rcx), %rax
	leaq	(%r13,%rax,4), %rax
	movq	%rax, 16(%rdx)
	movq	16(%rbp), %rax
	movl	4(%rax), %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), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	-104(%rbp), %r13                ## 8-byte Reload
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movslq	%esi, %rax
	leaq	(%r13,%rax,4), %r13
	incl	%r12d
	cmpl	-52(%rbp), %r12d                ## 4-byte Folded Reload
	je	LBB0_13
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##     Child Loop BB0_9 Depth 2
	movq	(%rdx), %r14
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r15d
	testl	%r15d, %r15d
	jle	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%r15d
	movl	%r13d, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r14), %eax
	addq	$4, %r14
	movl	%eax, %esi
	shll	$8, %esi
	orl	%eax, %esi
	movl	%ebx, %edi
	callq	_output_pixel
	addl	$4, %ebx
	decl	%r15d
	cmpl	$1, %r15d
	ja	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %r14
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax), %rax
	leaq	(%r14,%rax,4), %rax
	movq	%rax, (%rdx)
	movq	16(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	shrl	$31, %esi
	addl	%eax, %esi
	sarl	%esi
	testb	$1, %r12b
	jne	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rdx), %r12
	movq	16(%rdx), %r13
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r14d
	cmpl	$2, %r14d
	jl	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%esi, -68(%rbp)                 ## 4-byte Spill
	shrl	%r14d
	incl	%r14d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
                                        ## kill: def $ebx killed $ebx killed $rbx def $rbx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r12,%r15), %eax
	movl	%eax, %esi
	shll	$8, %esi
	orl	%eax, %esi
	movl	%ebx, %edi
	callq	_output_pixel
	movl	(%r13,%r15), %eax
	leal	4(%rbx), %edi
	movl	%eax, %esi
	shll	$8, %esi
	orl	%eax, %esi
	callq	_output_pixel
	addq	$4, %r15
	addl	$8, %ebx
	decl	%r14d
	cmpl	$1, %r14d
	ja	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	8(%rdx), %r12
	movq	16(%rdx), %r13
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	jmp	LBB0_11
LBB0_13:
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_planar8ToP01xleWrapper
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function planar8ToP01xleWrapper
_planar8ToP01xleWrapper:                ; @planar8ToP01xleWrapper
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x6
	mov	x25, x4
	mov	x24, x3
	mov	x21, x2
	mov	x22, x1
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	ldp	x20, x26, [x5]
	ldp	w23, w27, [x6]
	mvn	w8, w27
	and	w8, w8, #0x1
	tst	w23, #0x1
	csel	w0, w8, wzr, eq
	bl	_av_assert0
	str	w25, [sp, #12]                  ; 4-byte Folded Spill
	cmp	w25, #1
	b.lt	LBB0_13
; %bb.1:
	mov	w25, #0
	mul	w8, w27, w24
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	add	x8, x26, w8, sxtw #2
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	mul	w8, w23, w24
	add	x27, x20, w8, sxtw #2
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldpsw	x8, x9, [x21, #4]
	add	x8, x20, x8, lsl #2
	add	x9, x26, x9, lsl #2
	stp	x8, x9, [x22, #8]
	ldr	w8, [x19, #4]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	add	x9, x9, w8, sxtw #2
	str	x9, [sp, #16]                   ; 8-byte Folded Spill
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	asr	w8, w28, #1
	add	x27, x27, w8, sxtw #2
	add	w25, w25, #1
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w25, w8
	b.eq	LBB0_13
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
	ldr	x20, [x22]
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w23, w8, #1
	mov	x24, x27
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x20], #4
	orr	w1, w8, w8, lsl #8
	mov	x0, x24
	bl	_output_pixel
	add	w24, w24, #4
	sub	w23, w23, #1
	cmp	w23, #1
	b.hi	LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x20, [x22]
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrsw	x8, [x21]
	add	x8, x20, x8, lsl #2
	str	x8, [x22]
	ldr	w8, [x19]
	cmp	w8, #0
	cinc	w28, w8, lt
	tbnz	w25, #0, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	x20, x26, [x22, #8]
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	lsr	w8, w8, #1
	add	w23, w8, #1
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	mov	x24, x8
LBB0_11:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x20], #4
	orr	w1, w8, w8, lsl #8
	mov	x0, x24
	bl	_output_pixel
	ldr	w8, [x26], #4
	add	w0, w24, #4
	orr	w1, w8, w8, lsl #8
	bl	_output_pixel
	add	w24, w24, #8
	sub	w23, w23, #1
	cmp	w23, #1
	b.hi	LBB0_11
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	ldp	x20, x26, [x22, #8]
	b	LBB0_2
LBB0_13:
	ldr	w0, [sp, #12]                   ; 4-byte Folded Reload
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_planar8ToP01xleWrapper
.subsections_via_symbols
