	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function yuv2gbrp_full_X_c
_yuv2gbrp_full_X_c:                     ## @yuv2gbrp_full_X_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	$120, %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
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	40(%rbp), %r12
	movq	32(%rbp), %r14
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	movl	20(%rdi), %edi
	callq	_av_pix_fmt_desc_get
	movq	%r14, %rdx
	movq	_AV_PIX_FMT_FLAG_ALPHA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	setne	%cl
	testq	%r14, %r14
	setne	%r10b
	andb	%cl, %r10b
	movq	8(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	cmpl	$0, 48(%rbp)
	movb	%r10b, -41(%rbp)                ## 1-byte Spill
	jle	LBB0_38
## %bb.1:
	movq	%rbx, %r8
	movl	$30, %eax
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	subl	%edx, %eax
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	setg	%bl
	movb	$29, %cl
	subb	%dl, %cl
	movl	$1, %esi
	shll	%cl, %esi
	movl	%esi, -100(%rbp)                ## 4-byte Spill
	movl	$27, %ecx
	subl	%edx, %ecx
	movl	%ecx, -92(%rbp)                 ## 4-byte Spill
	movl	%eax, %eax
	movl	24(%rbp), %ecx
	leaq	-1(%rax), %rdx
	movq	%rdx, -120(%rbp)                ## 8-byte Spill
	movl	%eax, %edx
	andl	$3, %edx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, -144(%rbp)                ## 8-byte Spill
                                        ## kill: def $eax killed $eax killed $rax def $rax
	andl	$-4, %eax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
                                        ## kill: def $ecx killed $ecx killed $rcx def $rcx
	andl	$-2, %ecx
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	andb	%r10b, %bl
	movb	%bl, -42(%rbp)                  ## 1-byte Spill
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	movq	%r15, -152(%rbp)                ## 8-byte Spill
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movl	48(%rbp), %eax
	cmpq	%rax, %r13
	movq	-152(%rbp), %r15                ## 8-byte Reload
	je	LBB0_38
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_16 Depth 2
                                        ##     Child Loop BB0_23 Depth 2
                                        ##     Child Loop BB0_26 Depth 2
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r10d, %r11d
	cmpq	$3, -120(%rbp)                  ## 8-byte Folded Reload
	jae	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$512, %ebx                      ## imm = 0x200
	xorl	%eax, %eax
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$512, %ebx                      ## imm = 0x200
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$512, %ebx                      ## imm = 0x200
	xorl	%eax, %eax
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	-128(%rbp), %r10                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r15,%rax,8), %rcx
	movq	8(%r15,%rax,8), %rdx
	movl	(%r8,%rax,4), %esi
	movl	4(%r8,%rax,4), %edi
	imull	(%rcx,%r13,4), %esi
	addl	%ebx, %esi
	imull	(%rdx,%r13,4), %edi
	addl	%esi, %edi
	movq	16(%r15,%rax,8), %rcx
	movl	8(%r8,%rax,4), %edx
	imull	(%rcx,%r13,4), %edx
	movq	24(%r15,%rax,8), %rcx
	movl	12(%r8,%rax,4), %ebx
	imull	(%rcx,%r13,4), %ebx
	addl	%edi, %edx
	addl	%edx, %ebx
	addq	$4, %rax
	cmpq	%rax, %r10
	jne	LBB0_14
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%r12, %r12
	movl	%r11d, %r10d
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r8,%rax,4), %rcx
	leaq	(%r15,%rax,8), %rax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rax,%rdx,8), %rsi
	movl	(%rcx,%rdx,4), %edi
	imull	(%rsi,%r13,4), %edi
	addl	%edi, %ebx
	incq	%rdx
	cmpq	%rdx, %r12
	jne	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	24(%rbp), %eax
	testl	%eax, %eax
	jle	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$1, %eax
	jne	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$-67108352, %r12d               ## imm = 0xFC000200
	xorl	%eax, %eax
	movl	$-67108352, %r15d               ## imm = 0xFC000200
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$-67108352, %r15d               ## imm = 0xFC000200
	movl	$-67108352, %r12d               ## imm = 0xFC000200
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$-67108352, %ecx                ## imm = 0xFC000200
	xorl	%eax, %eax
	movl	$-67108352, %r15d               ## imm = 0xFC000200
	movq	16(%rbp), %r10
	movq	-136(%rbp), %r11                ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rsi,%rax,8), %rdx
	movq	8(%rsi,%rax,8), %r8
	movl	(%r9,%rax,4), %edi
	movl	4(%r9,%rax,4), %r12d
	movl	(%rdx,%r13,4), %edx
	imull	%edi, %edx
	addl	%r15d, %edx
	movq	(%r10,%rax,8), %rsi
	movq	8(%r10,%rax,8), %r9
	imull	(%rsi,%r13,4), %edi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	addl	%ecx, %edi
	movl	(%r8,%r13,4), %r15d
	imull	%r12d, %r15d
	imull	(%r9,%r13,4), %r12d
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	addl	%edx, %r15d
	addl	%edi, %r12d
	addq	$2, %rax
	movl	%r12d, %ecx
	cmpq	%rax, %r11
	jne	LBB0_16
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	24(%rbp), %ecx
	testb	$1, %cl
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movb	-41(%rbp), %r10b                ## 1-byte Reload
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rsi,%rax,8), %rcx
	movl	(%r9,%rax,4), %edx
	movl	(%rcx,%r13,4), %ecx
	imull	%edx, %ecx
	addl	%ecx, %r15d
	movq	16(%rbp), %rcx
	movq	(%rcx,%rax,8), %rax
	imull	(%rax,%r13,4), %edx
	addl	%edx, %r12d
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	sarl	$10, %ebx
	sarl	$10, %r15d
	sarl	$10, %r12d
	testb	%r10b, %r10b
	movl	$262144, %eax                   ## imm = 0x40000
	cmovnel	%eax, %r14d
	cmpb	$0, -42(%rbp)                   ## 1-byte Folded Reload
	movq	32(%rbp), %r9
	movq	-128(%rbp), %r11                ## 8-byte Reload
	je	LBB0_29
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$3, -120(%rbp)                  ## 8-byte Folded Reload
	jae	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$262144, %r14d                  ## imm = 0x40000
	xorl	%eax, %eax
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$262144, %r14d                  ## imm = 0x40000
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_23:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r9,%rax,8), %rcx
	movq	8(%r9,%rax,8), %rdx
	movl	(%r8,%rax,4), %esi
	movl	4(%r8,%rax,4), %edi
	imull	(%rcx,%r13,4), %esi
	addl	%r14d, %esi
	imull	(%rdx,%r13,4), %edi
	addl	%esi, %edi
	movq	16(%r9,%rax,8), %rcx
	movl	8(%r8,%rax,4), %edx
	imull	(%rcx,%r13,4), %edx
	movq	24(%r9,%rax,8), %rcx
	movl	12(%r8,%rax,4), %r14d
	imull	(%rcx,%r13,4), %r14d
	addl	%edi, %edx
	addl	%edx, %r14d
	addq	$4, %rax
	cmpq	%rax, %r11
	jne	LBB0_23
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=1
	testb	$3, -144(%rbp)                  ## 1-byte Folded Reload
	movq	-72(%rbp), %r11                 ## 8-byte Reload
	je	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r8,%rax,4), %rcx
	leaq	(%r9,%rax,8), %rax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_26:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rax,%rdx,8), %rsi
	movl	(%rcx,%rdx,4), %edi
	imull	(%rsi,%r13,4), %edi
	addl	%edi, %r14d
	incq	%rdx
	cmpq	%rdx, %r11
	jne	LBB0_26
LBB0_27:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$134217728, %r14d               ## imm = 0x8000000
	jb	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %edi
	movl	$27, %esi
	callq	_av_clip_uintp2
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movb	-41(%rbp), %r10b                ## 1-byte Reload
	movl	%eax, %r14d
LBB0_29:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-112(%rbp), %rax                ## 8-byte Reload
	subl	24(%rax), %ebx
	imull	(%rax), %ebx
	addl	-100(%rbp), %ebx                ## 4-byte Folded Reload
	movl	4(%rax), %ecx
	imull	%r12d, %ecx
	addl	%ebx, %ecx
	imull	8(%rax), %r12d
	addl	%ebx, %r12d
	movl	12(%rax), %edx
	imull	%r15d, %edx
	addl	%r12d, %edx
	imull	16(%rax), %r15d
	addl	%ebx, %r15d
	movl	%ecx, %ebx
	movl	%ecx, %eax
	orl	%r15d, %eax
	orl	%edx, %eax
	cmpl	$1073741824, %eax               ## imm = 0x40000000
	jae	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%edx, %r12d
	movl	%ebx, %edi
	movl	$30, %esi
	callq	_av_clip_uintp2
	movl	%eax, %ebx
	movl	%r12d, %edi
	movl	$30, %esi
	callq	_av_clip_uintp2
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	%r15d, %edi
	movl	$30, %esi
	callq	_av_clip_uintp2
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movb	-41(%rbp), %r10b                ## 1-byte Reload
	movl	%eax, %r15d
LBB0_32:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	40(%rbp), %r12
	cmpl	$8, -48(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_33
## %bb.34:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	sarl	$22, %ecx
	movq	(%r12), %rax
	movl	%ecx, (%rax,%r13,4)
	sarl	$22, %r15d
	movq	8(%r12), %rax
	movl	%r15d, (%rax,%r13,4)
	sarl	$22, %ebx
	movq	16(%r12), %rax
	movl	%ebx, (%rax,%r13,4)
	movl	$19, %ecx
	testb	%r10b, %r10b
	je	LBB0_37
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-96(%rbp), %ecx                 ## 4-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	sarl	%cl, %edx
	movq	(%r12), %rax
	movl	%edx, (%rax,%r13,4)
	sarl	%cl, %r15d
	movq	8(%r12), %rax
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %ebx
	movl	%r15d, (%rax,%r13,4)
	movq	16(%r12), %rax
	movl	%ebx, (%rax,%r13,4)
	movl	-92(%rbp), %ecx                 ## 4-byte Reload
	testb	%r10b, %r10b
	je	LBB0_37
LBB0_36:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %eax
	movq	24(%r12), %rcx
	movl	%eax, (%rcx,%r13,4)
	jmp	LBB0_37
LBB0_38:
	cmpl	$8, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_45
## %bb.39:
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	20(%rax), %edi
	callq	_isBE
	testl	%eax, %eax
	sete	%al
	movq	_HAVE_BIGENDIAN@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	sete	%cl
	cmpb	%cl, %al
	je	LBB0_45
## %bb.40:
	cmpl	$0, 48(%rbp)
	jle	LBB0_45
## %bb.41:
	movl	48(%rbp), %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_42
	.p2align	4, 0x90
LBB0_44:                                ##   in Loop: Header=BB0_42 Depth=1
	incq	%rbx
	cmpq	%rbx, %r14
	je	LBB0_45
LBB0_42:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_av_bswap16
	movq	(%r12), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movq	8(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_av_bswap16
	movq	8(%r12), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movq	16(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_av_bswap16
	movq	16(%r12), %rcx
	movl	%eax, (%rcx,%rbx,4)
	cmpb	$0, -41(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_42 Depth=1
	movq	24(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_av_bswap16
	movq	24(%r12), %rcx
	movl	%eax, (%rcx,%rbx,4)
	jmp	LBB0_44
LBB0_45:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PIX_FMT_FLAG_ALPHA,4,2      ## @AV_PIX_FMT_FLAG_ALPHA
	.comm	_HAVE_BIGENDIAN,4,2             ## @HAVE_BIGENDIAN
	.no_dead_strip	_yuv2gbrp_full_X_c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function yuv2gbrp_full_X_c
_yuv2gbrp_full_X_c:                     ; @yuv2gbrp_full_X_c
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #272
	.cfi_def_cfa_offset 272
	stp	x28, x27, [sp, #176]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #192]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #208]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #224]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #240]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #256]            ; 16-byte Folded Spill
	add	x29, sp, #256
	.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
	stur	w7, [x29, #-124]                ; 4-byte Folded Spill
	stp	x5, x6, [sp, #72]               ; 16-byte Folded Spill
	stp	x2, x4, [sp, #56]               ; 16-byte Folded Spill
	mov	x24, x3
	str	x1, [sp, #112]                  ; 8-byte Folded Spill
	mov	x21, x0
	ldr	w19, [x29, #32]
	ldp	x20, x23, [x29, #16]
	ldr	w0, [x0, #20]
	bl	_av_pix_fmt_desc_get
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _AV_PIX_FMT_FLAG_ALPHA@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_PIX_FMT_FLAG_ALPHA@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	str	x20, [sp, #40]                  ; 8-byte Folded Spill
	ccmp	x20, #0, #4, ne
	cset	w25, ne
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
	stur	w8, [x29, #-108]                ; 4-byte Folded Spill
	stur	x19, [x29, #-120]               ; 8-byte Folded Spill
	cmp	w19, #1
	b.lt	LBB0_37
; %bb.1:
	mov	x26, #0
	mov	w27, #0
	mov	w8, #30
	ldur	w11, [x29, #-108]               ; 4-byte Folded Reload
	sub	w8, w8, w11
	str	w8, [sp, #52]                   ; 4-byte Folded Spill
	cmp	w24, #0
	cset	w8, gt
	mov	w9, #29
	sub	w9, w9, w11
	mov	w10, #1
	lsl	w9, w10, w9
	str	w9, [sp, #128]                  ; 4-byte Folded Spill
	mov	w9, #27
	sub	w9, w9, w11
	str	w9, [sp, #48]                   ; 4-byte Folded Spill
	mov	w10, w24
	ldur	w9, [x29, #-124]                ; 4-byte Folded Reload
	mov	w9, w9
	stur	x10, [x29, #-96]                ; 8-byte Folded Spill
	and	x10, x10, #0xfffffffe
	stur	x10, [x29, #-104]               ; 8-byte Folded Spill
	str	x9, [sp, #104]                  ; 8-byte Folded Spill
	and	x9, x9, #0xfffffffe
	and	w8, w25, w8
	str	w8, [sp, #124]                  ; 4-byte Folded Spill
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	add	x10, x8, #8
	ldr	x8, [sp, #112]                  ; 8-byte Folded Reload
	add	x8, x8, #4
	stp	x8, x9, [sp, #88]               ; 16-byte Folded Spill
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	add	x8, x8, #4
	stp	x8, x10, [sp, #24]              ; 16-byte Folded Spill
	ldr	x8, [sp, #80]                   ; 8-byte Folded Reload
	add	x9, x8, #8
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	add	x8, x8, #8
	stp	x8, x9, [sp, #8]                ; 16-byte Folded Spill
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	add	x8, x8, #8
	str	x8, [sp]                        ; 8-byte Folded Spill
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	asr	w8, w27, w8
	ldr	x9, [x23, #24]
	str	w8, [x9, x26, lsl #2]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x26, x26, #1
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	cmp	x26, x8
	b.eq	LBB0_37
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;     Child Loop BB0_12 Depth 2
                                        ;     Child Loop BB0_17 Depth 2
                                        ;     Child Loop BB0_20 Depth 2
                                        ;     Child Loop BB0_25 Depth 2
                                        ;     Child Loop BB0_28 Depth 2
	lsl	x19, x26, #2
	cmp	w24, #1
	b.lt	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w24, #1
	b.ne	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x10, #0
	mov	w20, #512
	b	LBB0_11
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w20, #512
	b	LBB0_13
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #0
	mov	w9, #512
	ldur	x10, [x29, #-104]               ; 8-byte Folded Reload
	ldr	x11, [sp, #88]                  ; 8-byte Folded Reload
	ldr	x12, [sp, #32]                  ; 8-byte Folded Reload
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	x13, x14, [x12, #-8]
	ldr	w13, [x13, x19]
	ldr	w14, [x14, x19]
	ldp	w15, w16, [x11, #-4]
	madd	w9, w15, w13, w9
	madd	w8, w16, w14, w8
	add	x12, x12, #16
	add	x11, x11, #8
	subs	x10, x10, #2
	b.ne	LBB0_9
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	add	w20, w8, w9
	ldp	x9, x8, [x29, #-104]            ; 16-byte Folded Reload
	mov	x10, x9
	cmp	x9, x8
	b.eq	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #112]                  ; 8-byte Folded Reload
	add	x8, x8, x10, lsl #2
	ldur	x9, [x29, #-96]                 ; 8-byte Folded Reload
	sub	x9, x9, x10
	ldr	x11, [sp, #56]                  ; 8-byte Folded Reload
	add	x10, x11, x10, lsl #3
LBB0_12:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x11, [x10], #8
	ldr	w11, [x11, x26, lsl #2]
	ldr	w12, [x8], #4
	madd	w20, w12, w11, w20
	subs	x9, x9, #1
	b.ne	LBB0_12
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w22, #512
	movk	w22, #64512, lsl #16
	mov	w28, #512
	movk	w28, #64512, lsl #16
	ldur	w8, [x29, #-124]                ; 4-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	b.ne	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x11, #0
	mov	w28, #512
	movk	w28, #64512, lsl #16
	mov	w22, #512
	movk	w22, #64512, lsl #16
	b	LBB0_19
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #0
	mov	w9, #0
	ldp	x10, x12, [sp, #8]              ; 16-byte Folded Reload
	ldr	x13, [sp, #24]                  ; 8-byte Folded Reload
	ldr	x14, [sp, #96]                  ; 8-byte Folded Reload
	mov	w11, #512
	movk	w11, #64512, lsl #16
	mov	w15, #512
	movk	w15, #64512, lsl #16
LBB0_17:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	x16, x17, [x10, #-8]
	ldr	w16, [x16, x19]
	ldr	w17, [x17, x19]
	ldp	w0, w1, [x13, #-4]
	madd	w15, w0, w16, w15
	madd	w9, w1, w17, w9
	ldp	x16, x17, [x12, #-8]
	ldr	w16, [x16, x19]
	ldr	w17, [x17, x19]
	madd	w11, w16, w0, w11
	madd	w8, w17, w1, w8
	add	x13, x13, #8
	add	x12, x12, #16
	add	x10, x10, #16
	subs	x14, x14, #2
	b.ne	LBB0_17
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	add	w22, w9, w15
	add	w28, w8, w11
	ldp	x9, x8, [sp, #96]               ; 16-byte Folded Reload
	mov	x11, x9
	cmp	x9, x8
	b.eq	LBB0_21
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
	lsl	x10, x11, #3
	ldp	x12, x8, [sp, #72]              ; 16-byte Folded Reload
	add	x8, x8, x10
	ldr	x9, [sp, #64]                   ; 8-byte Folded Reload
	add	x9, x9, x11, lsl #2
	add	x10, x12, x10
	ldr	x12, [sp, #104]                 ; 8-byte Folded Reload
	sub	x11, x12, x11
LBB0_20:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x12, [x10], #8
	ldr	w12, [x12, x19]
	ldr	w13, [x9], #4
	madd	w22, w13, w12, w22
	ldr	x12, [x8], #8
	ldr	w12, [x12, x19]
	madd	w28, w12, w13, w28
	subs	x11, x11, #1
	b.ne	LBB0_20
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w25, #0
	mov	w8, #262144
	csel	w27, w8, w27, ne
	ldr	w8, [sp, #124]                  ; 4-byte Folded Reload
	cbz	w8, LBB0_31
; %bb.22:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w24, #2
	b.hs	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x10, #0
	mov	w27, #262144
	b	LBB0_27
LBB0_24:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #0
	mov	w9, #262144
	ldur	x10, [x29, #-104]               ; 8-byte Folded Reload
	ldr	x11, [sp, #88]                  ; 8-byte Folded Reload
	ldr	x12, [sp]                       ; 8-byte Folded Reload
LBB0_25:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	x13, x14, [x12, #-8]
	ldr	w13, [x13, x19]
	ldr	w14, [x14, x19]
	ldp	w15, w16, [x11, #-4]
	madd	w9, w15, w13, w9
	madd	w8, w16, w14, w8
	add	x12, x12, #16
	add	x11, x11, #8
	subs	x10, x10, #2
	b.ne	LBB0_25
; %bb.26:                               ;   in Loop: Header=BB0_4 Depth=1
	add	w27, w8, w9
	ldp	x9, x8, [x29, #-104]            ; 16-byte Folded Reload
	mov	x10, x9
	cmp	x9, x8
	b.eq	LBB0_29
LBB0_27:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #112]                  ; 8-byte Folded Reload
	add	x8, x8, x10, lsl #2
	ldur	x9, [x29, #-96]                 ; 8-byte Folded Reload
	sub	x9, x9, x10
	ldr	x11, [sp, #40]                  ; 8-byte Folded Reload
	add	x10, x11, x10, lsl #3
LBB0_28:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x11, [x10], #8
	ldr	w11, [x11, x26, lsl #2]
	ldr	w12, [x8], #4
	madd	w27, w12, w11, w27
	subs	x9, x9, #1
	b.ne	LBB0_28
LBB0_29:                                ;   in Loop: Header=BB0_4 Depth=1
	lsr	w8, w27, #27
	cbz	w8, LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x27
	mov	w1, #27
	bl	_av_clip_uintp2
	mov	x27, x0
LBB0_31:                                ;   in Loop: Header=BB0_4 Depth=1
	asr	w8, w20, #10
	asr	w9, w28, #10
	ldr	w10, [x21, #24]
	sub	w8, w8, w10
	ldp	w10, w11, [x21]
	ldr	w12, [sp, #128]                 ; 4-byte Folded Reload
	madd	w8, w8, w10, w12
	madd	w28, w11, w9, w8
	ldp	w10, w11, [x21, #8]
	madd	w9, w10, w9, w8
	asr	w10, w22, #10
	madd	w22, w11, w10, w9
	ldr	w9, [x21, #16]
	madd	w20, w9, w10, w8
	orr	w8, w22, w28
	orr	w8, w8, w20
	lsr	w8, w8, #30
	cbz	w8, LBB0_33
; %bb.32:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x28
	mov	w1, #30
	bl	_av_clip_uintp2
	mov	x28, x0
	mov	x0, x22
	mov	w1, #30
	bl	_av_clip_uintp2
	mov	x22, x0
	mov	x0, x20
	mov	w1, #30
	bl	_av_clip_uintp2
	mov	x20, x0
LBB0_33:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	w8, [x29, #-108]                ; 4-byte Folded Reload
	cmp	w8, #8
	b.ne	LBB0_36
; %bb.34:                               ;   in Loop: Header=BB0_4 Depth=1
	asr	w8, w22, #22
	ldp	x9, x10, [x23]
	str	w8, [x9, x19]
	asr	w8, w20, #22
	str	w8, [x10, x19]
	asr	w8, w28, #22
	ldr	x9, [x23, #16]
	str	w8, [x9, x19]
	cbz	w25, LBB0_3
; %bb.35:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #19
	b	LBB0_2
LBB0_36:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w11, [sp, #52]                  ; 4-byte Folded Reload
	asr	w8, w22, w11
	ldp	x9, x10, [x23]
	str	w8, [x9, x19]
	asr	w8, w20, w11
	str	w8, [x10, x19]
	asr	w8, w28, w11
	ldr	x9, [x23, #16]
	str	w8, [x9, x19]
	ldr	w8, [sp, #48]                   ; 4-byte Folded Reload
	tbnz	w25, #0, LBB0_2
	b	LBB0_3
LBB0_37:
	ldur	w8, [x29, #-108]                ; 4-byte Folded Reload
	cmp	w8, #8
	b.eq	LBB0_39
; %bb.38:
	ldr	w0, [x21, #20]
	bl	_isBE
	cmp	w0, #0
Lloh3:
	adrp	x8, _HAVE_BIGENDIAN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HAVE_BIGENDIAN@GOTPAGEOFF]
	cset	w9, eq
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w8, eq
	cmp	w9, w8
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	ccmp	w8, #1, #8, ne
	b.ge	LBB0_40
LBB0_39:
	ldp	x29, x30, [sp, #256]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #240]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #224]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #208]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #192]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #272
	ret
LBB0_40:
	mov	x19, #0
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	lsl	x20, x8, #2
	b	LBB0_42
LBB0_41:                                ;   in Loop: Header=BB0_42 Depth=1
	add	x19, x19, #4
	cmp	x20, x19
	b.eq	LBB0_39
LBB0_42:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	w0, [x8, x19]
	bl	_av_bswap16
	ldp	x8, x9, [x23]
	str	w0, [x8, x19]
	ldr	w0, [x9, x19]
	bl	_av_bswap16
	ldp	x8, x9, [x23, #8]
	str	w0, [x8, x19]
	ldr	w0, [x9, x19]
	bl	_av_bswap16
	ldr	x8, [x23, #16]
	str	w0, [x8, x19]
	cbz	w25, LBB0_41
; %bb.43:                               ;   in Loop: Header=BB0_42 Depth=1
	ldr	x8, [x23, #24]
	ldr	w0, [x8, x19]
	bl	_av_bswap16
	ldr	x8, [x23, #24]
	str	w0, [x8, x19]
	b	LBB0_41
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_PIX_FMT_FLAG_ALPHA,4,2      ; @AV_PIX_FMT_FLAG_ALPHA
	.comm	_HAVE_BIGENDIAN,4,2             ; @HAVE_BIGENDIAN
	.no_dead_strip	_yuv2gbrp_full_X_c
.subsections_via_symbols
