	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function update_sono_yuv
LCPI0_0:
	.long	0x41800000                      ## float 16
LCPI0_1:
	.long	0x43000000                      ## float 128
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_update_sono_yuv:                       ## @update_sono_yuv
	.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	4(%rdi), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jle	LBB0_6
## %bb.1:
	movq	%rsi, %rbx
	movq	8(%rdi), %rax
	movq	16(%rdi), %rcx
	movslq	8(%rax), %r15
	movslq	%edx, %rdx
	imulq	%rdx, %r15
	shlq	$2, %r15
	addq	16(%rcx), %r15
	movl	(%rdi), %esi
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movslq	4(%rax), %r13
	imulq	%rdx, %r13
	shlq	$2, %r13
	addq	8(%rcx), %r13
	movslq	(%rax), %r14
	imulq	%rdx, %r14
	shlq	$2, %r14
	addq	(%rcx), %r14
	addq	$40, %rbx
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2ssq	-8(%rbx), %xmm0
	movss	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	addss	%xmm1, %xmm0
	cvttss2si	%xmm0, %rdi
	callq	_lrintf
	movl	%eax, 4(%r13)
	xorps	%xmm0, %xmm0
	cvtsi2ssq	-16(%rbx), %xmm0
	addq	$8, %r13
	addss	LCPI0_1(%rip), %xmm0
	cvttss2si	%xmm0, %rdi
	callq	_lrintf
	movl	%eax, 4(%r15)
	addq	$8, %r15
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$2, %r12
	addq	$48, %rbx
	cmpl	%r12d, -48(%rbp)                ## 4-byte Folded Reload
	jle	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2ssq	-24(%rbx), %xmm0
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	addss	%xmm1, %xmm0
	cvttss2si	%xmm0, %rdi
	callq	_lrintf
	movl	%eax, (%r14,%r12,4)
	xorps	%xmm0, %xmm0
	cvtsi2ssq	-32(%rbx), %xmm0
	movss	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	addss	%xmm1, %xmm0
	cvttss2si	%xmm0, %rdi
	callq	_lrintf
	movl	%eax, (%r13)
	xorps	%xmm0, %xmm0
	cvtsi2ssq	-40(%rbx), %xmm0
	addss	LCPI0_1(%rip), %xmm0
	cvttss2si	%xmm0, %rdi
	callq	_lrintf
	movl	%eax, (%r15)
	xorps	%xmm0, %xmm0
	cvtsi2ssq	(%rbx), %xmm0
	addss	LCPI0_0(%rip), %xmm0
	cvttss2si	%xmm0, %rdi
	callq	_lrintf
	movl	%eax, 4(%r14,%r12,4)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	_AV_PIX_FMT_YUV444P@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$4, %r13
	addq	$4, %r15
	jmp	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PIX_FMT_YUV444P,4,2         ## @AV_PIX_FMT_YUV444P
	.no_dead_strip	_update_sono_yuv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_sono_yuv
_update_sono_yuv:                       ; @update_sono_yuv
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	ldr	w19, [x0, #4]
	cmp	w19, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x20, #0
	ldp	x9, x8, [x0, #8]
	ldr	x10, [x8, #16]
	ldr	w11, [x9, #8]
	mul	w11, w11, w2
	add	x21, x10, w11, sxtw #2
	ldp	w9, w10, [x9]
	mul	w10, w10, w2
	ldp	x8, x11, [x8]
	add	x26, x11, w10, sxtw #2
	ldr	w22, [x0]
	mul	w9, w9, w2
	add	x23, x8, w9, sxtw #2
	add	x24, x1, #24
	fmov	s8, #16.00000000
	movi.2s	v9, #67, lsl #24
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x24, #8]
	scvtf	s0, x8
	fadd	s0, s0, s9
	fcvtzs	x0, s0
	bl	_lrintf
	add	x25, x26, #8
	str	w0, [x26, #4]
	ldr	x8, [x24]
	scvtf	s0, x8
	fadd	s0, s0, s9
	fcvtzs	x0, s0
	bl	_lrintf
	str	w0, [x21, #4]
	add	x21, x21, #8
	mov	x26, x25
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #2
	add	x24, x24, #48
	cmp	w19, w20
	b.le	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x25, x23, x20, lsl #2
	ldur	x8, [x24, #-8]
	scvtf	s0, x8
	fadd	s0, s0, s8
	fcvtzs	x0, s0
	bl	_lrintf
	str	w0, [x25]
	ldur	x8, [x24, #-16]
	scvtf	s0, x8
	fadd	s0, s0, s9
	fcvtzs	x0, s0
	bl	_lrintf
	mov	x27, x26
	str	w0, [x27], #4
	ldur	x8, [x24, #-24]
	scvtf	s0, x8
	fadd	s0, s0, s9
	fcvtzs	x0, s0
	bl	_lrintf
	mov	x28, x21
	str	w0, [x28], #4
	ldr	x8, [x24, #16]
	scvtf	s0, x8
	fadd	s0, s0, s8
	fcvtzs	x0, s0
	bl	_lrintf
	str	w0, [x25, #4]
Lloh0:
	adrp	x8, _AV_PIX_FMT_YUV444P@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_PIX_FMT_YUV444P@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w22, w8
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x26, x27
	mov	x21, x28
	b	LBB0_3
LBB0_6:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_PIX_FMT_YUV444P,4,2         ; @AV_PIX_FMT_YUV444P
	.no_dead_strip	_update_sono_yuv
.subsections_via_symbols
