	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function planarToNv24Wrapper
_planarToNv24Wrapper:                   ## @planarToNv24Wrapper
	.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
	movl	%r8d, %r14d
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	16(%rbp), %rax
	movslq	4(%rax), %rbx
	movslq	%ecx, %rdx
	imulq	%rdx, %rbx
	shlq	$2, %rbx
	addq	8(%r9), %rbx
	movq	(%rsi), %rdi
	movl	(%r15), %esi
	movl	12(%r12), %r8d
	movq	(%r9), %r9
	movl	(%rax), %eax
	subq	$8, %rsp
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%r14d, %ecx
	pushq	%rax
	callq	_copyPlane
	addq	$16, %rsp
	movq	(%r12), %rax
	movq	_AV_PIX_FMT_NV24@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	sete	%dl
	movl	$2, %eax
	subq	%rdx, %rax
	movq	(%r13,%rax,8), %rdi
	movq	8(%r13,%rdx,8), %rsi
	movl	8(%r12), %ecx
	movl	(%r15,%rax,4), %r9d
	movl	4(%r15,%rdx,4), %r10d
	movq	16(%rbp), %rax
	movl	4(%rax), %eax
	movq	%rbx, %rdx
	movl	%r14d, %r8d
	pushq	%rax
	pushq	%r10
	callq	_interleaveBytes
	addq	$16, %rsp
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PIX_FMT_NV24,8,3            ## @AV_PIX_FMT_NV24
	.no_dead_strip	_planarToNv24Wrapper
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function planarToNv24Wrapper
_planarToNv24Wrapper:                   ; @planarToNv24Wrapper
	.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, x6
	mov	x20, x4
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	ldp	w6, w8, [x6]
	mul	w8, w8, w3
	ldp	x5, x9, [x5]
	add	x24, x9, w8, sxtw #2
	ldr	x0, [x1]
	ldr	w1, [x2]
	ldr	w4, [x23, #12]
	mov	x2, x3
	mov	x3, x20
	bl	_copyPlane
	ldr	x8, [x23]
Lloh0:
	adrp	x9, _AV_PIX_FMT_NV24@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_PIX_FMT_NV24@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	mov	w8, #1
	cinc	x9, x8, ne
	cinc	x8, x8, eq
	ldr	x0, [x22, x9, lsl #3]
	ldr	x1, [x22, x8, lsl #3]
	ldr	w3, [x23, #8]
	ldr	w5, [x21, x9, lsl #2]
	ldr	w6, [x21, x8, lsl #2]
	ldr	w7, [x19, #4]
	mov	x2, x24
	mov	x4, x20
	bl	_interleaveBytes
	mov	x0, x20
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_PIX_FMT_NV24,8,3            ; @AV_PIX_FMT_NV24
	.no_dead_strip	_planarToNv24Wrapper
.subsections_via_symbols
