	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nv24ToPlanarWrapper
_nv24ToPlanarWrapper:                   ## @nv24ToPlanarWrapper
	.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, %r10d
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	16(%rbp), %rax
	movslq	4(%rax), %r15
	movslq	%ecx, %rdx
	imulq	%rdx, %r15
	shlq	$2, %r15
	addq	8(%r9), %r15
	movslq	8(%rax), %rbx
	imulq	%rdx, %rbx
	shlq	$2, %rbx
	addq	16(%r9), %rbx
	movq	(%rsi), %rdi
	movl	(%r12), %esi
	movl	12(%r13), %r8d
	movq	(%r9), %r9
	movl	(%rax), %eax
	subq	$8, %rsp
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%r10d, -44(%rbp)                ## 4-byte Spill
	movl	%r10d, %ecx
	pushq	%rax
	callq	_copyPlane
	addq	$16, %rsp
	movq	(%r13), %rax
	movq	_AV_PIX_FMT_NV24@GOTPCREL(%rip), %rdx
	movq	8(%r14), %rdi
	movl	8(%r13), %ecx
	movl	4(%r12), %r9d
	cmpq	(%rdx), %rax
	jne	LBB0_2
## %bb.1:
	movq	16(%rbp), %rax
	movl	4(%rax), %r10d
	movl	8(%rax), %eax
	movq	%r15, %rsi
	movq	%rbx, %rdx
	jmp	LBB0_3
LBB0_2:
	movq	16(%rbp), %rdx
	movl	4(%rdx), %eax
	movl	8(%rdx), %r10d
	movq	%rbx, %rsi
	movq	%r15, %rdx
LBB0_3:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %r8d
	pushq	%rax
	pushq	%r10
	callq	_deinterleaveBytes
	addq	$16, %rsp
	movl	%ebx, %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	_nv24ToPlanarWrapper
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nv24ToPlanarWrapper
_nv24ToPlanarWrapper:                   ; @nv24ToPlanarWrapper
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x6
	mov	x19, x4
	mov	x23, x2
	mov	x24, x1
	mov	x25, x0
	ldp	w6, w8, [x6]
	mul	w9, w8, w3
	ldp	x8, x10, [x5]
	add	x21, x10, w9, sxtw #2
	ldr	x9, [x5, #16]
	ldr	w10, [x20, #8]
	mul	w10, w10, w3
	add	x22, x9, w10, sxtw #2
	ldr	x0, [x1]
	ldr	w1, [x2]
	ldr	w4, [x25, #12]
	mov	x2, x3
	mov	x3, x19
	mov	x5, x8
	bl	_copyPlane
Lloh0:
	adrp	x8, _AV_PIX_FMT_NV24@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_PIX_FMT_NV24@GOTPAGEOFF]
	ldr	x9, [x25]
Lloh2:
	ldr	x8, [x8]
	ldr	x0, [x24, #8]
	ldr	w3, [x25, #8]
	ldr	w5, [x23, #4]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	w6, w7, [x20, #4]
	mov	x1, x21
	mov	x2, x22
	b	LBB0_3
LBB0_2:
	ldp	w7, w6, [x20, #4]
	mov	x1, x22
	mov	x2, x21
LBB0_3:
	mov	x4, x19
	bl	_deinterleaveBytes
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 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	_nv24ToPlanarWrapper
.subsections_via_symbols
