	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function yuv2rgb
_yuv2rgb:                               ## @yuv2rgb
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %ebx
	movl	%ecx, %r15d
	movl	%edx, %r12d
	movl	%esi, %r13d
	movq	%rdi, %r14
	imull	$91881, %r8d, %edi              ## imm = 0x166E9
	addl	$32768, %edi                    ## imm = 0x8000
	sarl	$16, %edi
	addl	%edx, %edi
	callq	_av_clip_uint8
	movslq	%r13d, %r13
	movl	%eax, (%r14,%r13,4)
	imull	$-22554, %r15d, %eax            ## imm = 0xA7E6
	imull	$-46802, %ebx, %ecx             ## imm = 0xFFFF492E
	leal	(%rax,%rcx), %edi
	addl	$32768, %edi                    ## imm = 0x8000
	sarl	$16, %edi
	addl	%r12d, %edi
	callq	_av_clip_uint8
	movl	%eax, 4(%r14)
	imull	$116130, %r15d, %edi            ## imm = 0x1C5A2
	addl	$32768, %edi                    ## imm = 0x8000
	sarl	$16, %edi
	addl	%r12d, %edi
	callq	_av_clip_uint8
	movl	$2, %ecx
	subl	%r13d, %ecx
	movslq	%ecx, %rcx
	movl	%eax, (%r14,%rcx,4)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_yuv2rgb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function yuv2rgb
_yuv2rgb:                               ; @yuv2rgb
	.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
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	mov	w8, #26345
	movk	w8, #1, lsl #16
	orr	w24, wzr, #0x8000
	madd	w8, w4, w8, w24
	add	w0, w2, w8, asr #16
	bl	_av_clip_uint8
	str	w0, [x23, w22, sxtw #2]
	mov	w8, #-22554
	mov	w9, #-46802
	mul	w9, w19, w9
	madd	w8, w20, w8, w9
	add	w8, w8, #8, lsl #12             ; =32768
	add	w0, w21, w8, asr #16
	bl	_av_clip_uint8
	str	w0, [x23, #4]
	mov	w8, #50594
	movk	w8, #1, lsl #16
	madd	w8, w20, w8, w24
	add	w0, w21, w8, asr #16
	bl	_av_clip_uint8
	mov	w8, #2
	sub	x8, x8, w22, sxtw
	str	w0, [x23, x8, lsl #2]
	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	_yuv2rgb
.subsections_via_symbols
