	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function yuv_to_rgba
_yuv_to_rgba:                           ## @yuv_to_rgba
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %eax
	movzbl	%ah, %ecx
	movl	%ecx, %r12d
	movzbl	%al, %ebx
	shrl	$16, %eax
	movzbl	%al, %eax
	imull	$1164, %eax, %r15d              ## imm = 0x48C
	addl	$-128, %ebx
	imull	$2018, %ebx, %eax               ## imm = 0x7E2
	addl	%r15d, %eax
	addl	$-18624, %eax                   ## imm = 0xB740
	cltq
	imulq	$274877907, %rax, %rdi          ## imm = 0x10624DD3
	movq	%rdi, %rax
	shrq	$63, %rax
	sarq	$38, %rdi
	addl	%eax, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_av_clip_uint8
	movl	%eax, %r14d
	movl	%r12d, %ecx
	addl	$-128, %ecx
	imull	$-813, %ecx, %eax               ## imm = 0xFCD3
	movl	%ecx, %r12d
	imull	$-391, %ebx, %ecx               ## imm = 0xFE79
	addl	%r15d, %ecx
	addl	$-18624, %ecx                   ## imm = 0xB740
	addl	%eax, %ecx
	movslq	%ecx, %rax
	imulq	$274877907, %rax, %rdi          ## imm = 0x10624DD3
	movq	%rdi, %rax
	shrq	$63, %rax
	sarq	$38, %rdi
	addl	%eax, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_av_clip_uint8
	movl	%eax, %ebx
	imull	$1596, %r12d, %eax              ## imm = 0x63C
	addl	%r15d, %eax
	addl	$-18624, %eax                   ## imm = 0xB740
	cltq
	imulq	$274877907, %rax, %rdi          ## imm = 0x10624DD3
	movq	%rdi, %rax
	shrq	$63, %rax
	sarq	$38, %rdi
	addl	%eax, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_av_clip_uint8
	shll	$16, %eax
	shll	$8, %ebx
	orl	%r14d, %eax
	orl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_yuv_to_rgba
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function yuv_to_rgba
_yuv_to_rgba:                           ; @yuv_to_rgba
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ubfx	w8, w0, #16, #8
	ubfx	w20, w0, #8, #8
	and	w9, w0, #0xff
	mov	w10, #1164
	mov	w11, #-18624
	madd	w21, w8, w10, w11
	sub	w22, w9, #128
	mov	w8, #2018
	madd	w8, w22, w8, w21
	mov	w23, #19923
	movk	w23, #4194, lsl #16
	smull	x8, w8, w23
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w0, w8, w9
	bl	_av_clip_uint8
	mov	x19, x0
	sub	w24, w20, #128
	mov	w8, #-813
	mov	w9, #-391
	madd	w9, w22, w9, w21
	madd	w8, w24, w8, w9
	smull	x8, w8, w23
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w0, w8, w9
	bl	_av_clip_uint8
	mov	x20, x0
	mov	w8, #1596
	madd	w8, w24, w8, w21
	smull	x8, w8, w23
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w0, w8, w9
	bl	_av_clip_uint8
	orr	w8, w19, w20, lsl #8
	orr	w0, w8, w0, lsl #16
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_yuv_to_rgba
.subsections_via_symbols
