	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function render16_yuy2
_render16_yuy2:                         ## @render16_yuy2
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r8d killed $r8d def $r8
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	testl	%ecx, %ecx
	je	LBB0_6
## %bb.1:
	movq	32(%rdi), %rax
	movq	(%rax), %rax
	shrl	%r8d
	subl	%edx, %r8d
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	xorl	%r8d, %r8d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rsi,%rcx,8), %rsi
	movl	(%rdi), %ecx
	subl	%edx, %ecx
	shll	$2, %ecx
	leaq	(%rax,%rcx,4), %rax
	incl	%r8d
	cmpl	-44(%rbp), %r8d                 ## 4-byte Folded Reload
	je	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	testl	%edx, %edx
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rdi), %r10
	movq	8(%rdi), %r11
	movq	16(%rdi), %r14
	movl	%edx, %r15d
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rsi), %rbx
	addq	$8, %rsi
	movl	(%r10,%rbx,4), %r12d
	movl	(%r14,%rbx,4), %r13d
	movl	(%r11,%rbx,4), %ebx
	movl	(%rdi), %r9d
	leal	(%r9,%r9), %ecx
	movl	%r12d, (%rax,%rcx,4)
	movl	%r12d, (%rax)
	movl	%r13d, 4(%rax,%rcx,4)
	movl	%r13d, 4(%rax)
	leal	2(%r9,%r9), %ecx
	movl	%r12d, (%rax,%rcx,4)
	movl	%r12d, 8(%rax)
	movl	%ebx, 4(%rax,%rcx,4)
	movl	%ebx, 12(%rax)
	addq	$16, %rax
	decl	%r15d
	jne	LBB0_4
	jmp	LBB0_5
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_render16_yuy2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function render16_yuy2
_render16_yuy2:                         ; @render16_yuy2
	.cfi_startproc
; %bb.0:
	cbz	w3, LBB0_6
; %bb.1:
	mov	w8, #0
	ldr	x9, [x0, #32]
	ldr	x9, [x9]
	lsr	w10, w4, #1
	sub	w10, w10, w2
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x1, x1, x10, lsl #3
	ldr	w11, [x0]
	sub	w11, w11, w2
	lsl	w11, w11, #2
	add	x9, x9, w11, uxtw #2
	add	w8, w8, #1
	cmp	w8, w3
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	cbz	w2, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x13, x11, [x0, #16]
	mov	x12, x2
	ldr	x14, [x0, #8]
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x15, [x1], #8
	lsl	x15, x15, #2
	ldr	w16, [x11, x15]
	ldr	w17, [x13, x15]
	ldr	w15, [x14, x15]
	ldr	w4, [x0]
	lsl	w4, w4, #1
	add	x5, x9, w4, uxtw #2
	stp	w16, w17, [x5]
	stp	w16, w17, [x9]
	add	w17, w4, #2
	add	x17, x9, w17, uxtw #2
	str	w16, [x17]
	str	w16, [x9, #8]
	str	w15, [x17, #4]
	str	w15, [x9, #12]
	add	x9, x9, #16
	subs	w12, w12, #1
	b.ne	LBB0_5
	b	LBB0_2
LBB0_6:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_render16_yuy2
.subsections_via_symbols
