	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uyvytoyuv422_c
_uyvytoyuv422_c:                        ## @uyvytoyuv422_c
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r15d
	movq	%rcx, %rbx
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r14
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movl	%r8d, %edi
	movl	$1, %esi
	callq	_AV_CEIL_RSHIFT
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%r15d, %r15d
	jle	LBB0_3
## %bb.1:
	movslq	32(%rbp), %rax
	movslq	16(%rbp), %rcx
	movslq	24(%rbp), %rdx
	shlq	$2, %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	shlq	$2, %rdx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	shlq	$2, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	4(%rbx), %rdi
	movq	%r14, %rsi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_extract_even_c
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_extract_even2_c
	addq	-64(%rbp), %r14                 ## 8-byte Folded Reload
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addq	%rax, %r13
	addq	%rax, %r12
	addq	-72(%rbp), %rbx                 ## 8-byte Folded Reload
	decl	%r15d
	jne	LBB0_2
LBB0_3:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_uyvytoyuv422_c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uyvytoyuv422_c
_uyvytoyuv422_c:                        ; @uyvytoyuv422_c
	.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	x26, x7
	mov	x27, x6
	mov	x19, x5
	mov	x21, x3
	stp	x1, x2, [sp, #8]                ; 16-byte Folded Spill
	mov	x24, x0
	str	w4, [sp, #28]                   ; 4-byte Folded Spill
	mov	x0, x4
	mov	w1, #1
	bl	_AV_CEIL_RSHIFT
	cmp	w19, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x25, x0
	mov	x28, #0
	sbfiz	x22, x27, #2, #32
	ldr	w8, [x29, #16]
	sbfiz	x23, x26, #2, #32
	sbfiz	x20, x8, #2, #32
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	add	x26, x8, x28
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	add	x27, x8, x28
	add	x0, x21, #4
	mov	x1, x24
	ldr	w2, [sp, #28]                   ; 4-byte Folded Reload
	bl	_extract_even_c
	mov	x0, x21
	mov	x1, x26
	mov	x2, x27
	mov	x3, x25
	bl	_extract_even2_c
	add	x24, x24, x22
	add	x28, x28, x23
	add	x21, x21, x20
	subs	w19, w19, #1
	b.ne	LBB0_2
LBB0_3:
	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	_uyvytoyuv422_c
.subsections_via_symbols
