	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function yuv2p010cX_c
_yuv2p010cX_c:                          ## @yuv2p010cX_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -88(%rbp)                  ## 8-byte Spill
	movl	16(%rbp), %eax
	testl	%eax, %eax
	jle	LBB0_11
## %bb.1:
	movq	%rcx, %r13
	movq	%rsi, %r15
	movl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	%edx, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, %r10d
	andl	$-2, %r10d
	xorl	%r14d, %r14d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%r10, -64(%rbp)                 ## 8-byte Spill
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$65536, %esi                    ## imm = 0x10000
	movl	$65536, %r12d                   ## imm = 0x10000
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	leaq	(%rbx,%r14,8), %rdi
	callq	_output_pixel
	leaq	(%rbx,%r14,8), %rdi
	addq	$4, %rdi
	movl	%r12d, %esi
	callq	_output_pixel
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	incq	%r14
	cmpq	-72(%rbp), %r14                 ## 8-byte Folded Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	-64(%rbp), %r10                 ## 8-byte Reload
	je	LBB0_11
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	testl	%edx, %edx
	jle	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$1, %edx
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$65536, %r12d                   ## imm = 0x10000
	xorl	%eax, %eax
	movl	$65536, %esi                    ## imm = 0x10000
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$65536, %ecx                    ## imm = 0x10000
	xorl	%eax, %eax
	movl	$65536, %esi                    ## imm = 0x10000
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r13,%rax,8), %rdx
	movq	8(%r13,%rax,8), %r9
	movl	(%r15,%rax,4), %ebx
	movl	4(%r15,%rax,4), %r12d
	movl	(%rdx,%r14,4), %edx
	imull	%ebx, %edx
	addl	%esi, %edx
	movq	(%r8,%rax,8), %rsi
	movq	8(%r8,%rax,8), %rdi
	imull	(%rsi,%r14,4), %ebx
	addl	%ecx, %ebx
	movl	(%r9,%r14,4), %esi
	imull	%r12d, %esi
	imull	(%rdi,%r14,4), %r12d
	addl	%edx, %esi
	addl	%ebx, %r12d
	addq	$2, %rax
	movl	%r12d, %ecx
	cmpq	%rax, %r10
	jne	LBB0_7
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	testb	$1, -56(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13,%rax,8), %rcx
	movl	(%r15,%rax,4), %edx
	movl	(%rcx,%r14,4), %ecx
	imull	%edx, %ecx
	addl	%ecx, %esi
	movq	(%r8,%rax,8), %rax
	imull	(%rax,%r14,4), %edx
	addl	%edx, %r12d
	jmp	LBB0_10
LBB0_11:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PIX_FMT_P010BE,8,3          ## @AV_PIX_FMT_P010BE
	.no_dead_strip	_yuv2p010cX_c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function yuv2p010cX_c
_yuv2p010cX_c:                          ; @yuv2p010cX_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
	str	x4, [sp, #24]                   ; 8-byte Folded Spill
	cmp	w6, #1
	b.lt	LBB0_12
; %bb.1:
	mov	x19, x5
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x26, #0
	mov	w27, w6
	mov	w28, w2
	and	x20, x28, #0xfffffffe
	add	x9, x1, #4
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	add	x8, x8, #8
	stp	x8, x9, [sp, #8]                ; 16-byte Folded Spill
	add	x8, x3, #8
	str	x8, [sp]                        ; 8-byte Folded Spill
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w1, #65536
	mov	w24, #65536
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x19, x26, lsl #3
	mov	x0, x25
	bl	_output_pixel
	add	x0, x25, #4
	mov	x1, x24
	bl	_output_pixel
	add	x26, x26, #1
	cmp	x26, x27
	b.eq	LBB0_12
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
	cmp	w22, #1
	b.lt	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	lsl	x8, x26, #2
	cmp	w22, #1
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x12, #0
	mov	w24, #65536
	mov	w1, #65536
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w9, #0
	mov	w10, #0
	mov	w11, #65536
	ldp	x12, x13, [sp]                  ; 16-byte Folded Reload
	ldr	x14, [sp, #16]                  ; 8-byte Folded Reload
	mov	x15, x20
	mov	w16, #65536
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	x17, x0, [x12, #-8]
	ldr	w17, [x17, x8]
	ldr	w0, [x0, x8]
	ldp	w1, w2, [x14, #-4]
	madd	w16, w1, w17, w16
	madd	w10, w2, w0, w10
	ldp	x17, x0, [x13, #-8]
	ldr	w17, [x17, x8]
	ldr	w0, [x0, x8]
	madd	w11, w17, w1, w11
	madd	w9, w0, w2, w9
	add	x14, x14, #8
	add	x13, x13, #16
	add	x12, x12, #16
	subs	x15, x15, #2
	b.ne	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w1, w10, w16
	add	w24, w9, w11
	mov	x12, x20
	cmp	x20, x28
	b.eq	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	lsl	x11, x12, #3
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	add	x9, x9, x11
	add	x10, x23, x12, lsl #2
	add	x11, x21, x11
	sub	x12, x28, x12
LBB0_11:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x13, [x11], #8
	ldr	w13, [x13, x8]
	ldr	w14, [x10], #4
	madd	w1, w14, w13, w1
	ldr	x13, [x9], #8
	ldr	w13, [x13, x8]
	madd	w24, w13, w14, w24
	subs	x12, x12, #1
	b.ne	LBB0_11
	b	LBB0_3
LBB0_12:
	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
	.comm	_AV_PIX_FMT_P010BE,8,3          ; @AV_PIX_FMT_P010BE
	.no_dead_strip	_yuv2p010cX_c
.subsections_via_symbols
