	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function on2avc_decode_quads
_on2avc_decode_quads:                   ## @on2avc_decode_quads
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	testl	%ecx, %ecx
	jle	LBB0_3
## %bb.1:
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r14
	movslq	%r8d, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rax,%rcx,4), %esi
	movq	%r15, %rdi
	movl	$9, %edx
	movl	$3, %ecx
	callq	_get_vlc2
	movl	%eax, %ebx
	movl	%eax, %edi
	shrl	$12, %edi
	andl	$15, %edi
	movl	$4, %esi
	callq	_sign_extend
	movl	%eax, %edi
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_on2avc_scale
	xorps	%xmm0, %xmm0
	cvtsi2ss	%eax, %xmm0
	movss	%xmm0, (%r13,%r12,4)
	movl	%ebx, %edi
	shrl	$8, %edi
	andl	$15, %edi
	movl	$4, %esi
	callq	_sign_extend
	movl	%eax, %edi
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_on2avc_scale
	xorps	%xmm0, %xmm0
	cvtsi2ss	%eax, %xmm0
	movss	%xmm0, 4(%r13,%r12,4)
	movl	%ebx, %edi
	shrl	$4, %edi
	andl	$15, %edi
	movl	$4, %esi
	callq	_sign_extend
	movl	%eax, %edi
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_on2avc_scale
	xorps	%xmm0, %xmm0
	cvtsi2ss	%eax, %xmm0
	movss	%xmm0, 8(%r13,%r12,4)
	andl	$15, %ebx
	movl	%ebx, %edi
	movl	$4, %esi
	callq	_sign_extend
	movl	%eax, %edi
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_on2avc_scale
	xorps	%xmm0, %xmm0
	cvtsi2ss	%eax, %xmm0
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movss	%xmm0, 12(%r13,%r12,4)
	addq	$4, %r12
	cmpl	%ecx, %r12d
	jl	LBB0_2
LBB0_3:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_on2avc_decode_quads
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function on2avc_decode_quads
_on2avc_decode_quads:                   ; @on2avc_decode_quads
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-96]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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 b8, -88
	.cfi_offset b9, -96
                                        ; kill: def $w4 killed $w4 def $x4
	cmp	w3, #1
	b.lt	LBB0_3
; %bb.1:
	fmov	s8, s0
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	x24, #0
	sxtw	x25, w4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x26, x20, x24, lsl #2
	ldr	x8, [x22]
	ldr	w1, [x8, x25, lsl #2]
	mov	x0, x21
	mov	w2, #9
	mov	w3, #3
	bl	_get_vlc2
	mov	x23, x0
	ubfx	w0, w0, #12, #4
	mov	w1, #4
	bl	_sign_extend
	fmov	s0, s8
	bl	_on2avc_scale
	scvtf	s0, w0
	str	s0, [x26]
	ubfx	w0, w23, #8, #4
	mov	w1, #4
	bl	_sign_extend
	fmov	s0, s8
	bl	_on2avc_scale
	scvtf	s0, w0
	str	s0, [x26, #4]
	ubfx	w0, w23, #4, #4
	mov	w1, #4
	bl	_sign_extend
	fmov	s0, s8
	bl	_on2avc_scale
	scvtf	s0, w0
	str	s0, [x26, #8]
	and	w0, w23, #0xf
	mov	w1, #4
	bl	_sign_extend
	fmov	s0, s8
	bl	_on2avc_scale
	scvtf	s0, w0
	str	s0, [x26, #12]
	add	x24, x24, #4
	cmp	w24, w19
	b.lt	LBB0_2
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #96               ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_on2avc_decode_quads
.subsections_via_symbols
