	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_scalefactors
_read_scalefactors:                     ## @read_scalefactors
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
	movl	%r8d, %r12d
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movslq	%r8d, %rbx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rcx, %rdi
	movl	$2, %esi
	callq	_get_bits
	cltq
	shlq	$4, %rbx
	leaq	_read_scalefactors.mode_map(%rip), %rcx
	addq	%rbx, %rcx
	movl	(%rcx,%rax,4), %ebx
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	(%r13), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	testl	%r14d, %r14d
	je	LBB0_6
## %bb.1:
	cmpl	$4, %ebx
	je	LBB0_4
## %bb.2:
	testl	%r12d, %r12d
	jne	LBB0_6
## %bb.3:
	cmpl	$3, %ebx
	jne	LBB0_6
LBB0_4:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
LBB0_5:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_62
LBB0_6:
	cmpl	$4, %ebx
	ja	LBB0_15
## %bb.7:
	movl	%ebx, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:
	movq	_at9_tab_sf_weights@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movl	$3, %esi
	callq	_get_bits
	cltq
	movq	(%rbx,%rax,8), %r14
	movq	%r12, %rdi
	movl	$5, %esi
	callq	_get_bits
	movl	%eax, %ebx
	movq	%r12, %rdi
	movl	$2, %esi
	callq	_get_bits
	movl	%eax, %esi
	addl	$3, %esi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movl	%esi, %r13d
	callq	_get_bits
	movq	%r15, %rdx
	movl	%eax, %r15d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rcx
	movl	%r15d, (%rcx)
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movl	(%rdx), %edx
	cmpl	$2, %edx
	jl	LBB0_12
## %bb.9:
	movl	%ebx, -68(%rbp)                 ## 4-byte Spill
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	movl	$-1, %eax
	movl	%r13d, %ecx
	shll	%cl, %eax
	movslq	%r13d, %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	notl	%eax
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	movl	$1, %ebx
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%r13,%rax,4), %esi
	movq	%r12, %rdi
	movl	$9, %edx
	movl	$2, %ecx
	callq	_get_vlc2
	addl	%r15d, %eax
	andl	-96(%rbp), %eax                 ## 4-byte Folded Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	movslq	(%r14), %rdx
	movl	%eax, %r15d
	cmpq	%rdx, %rbx
	jl	LBB0_10
## %bb.11:
	movq	-104(%rbp), %r14                ## 8-byte Reload
	movl	-68(%rbp), %ebx                 ## 4-byte Reload
LBB0_12:
	testl	%edx, %edx
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	jle	LBB0_60
## %bb.13:
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %eax
	subl	(%r14,%rdx,4), %eax
	addl	%eax, (%rcx,%rdx,4)
	incq	%rdx
	movslq	(%rsi), %rax
	cmpq	%rax, %rdx
	jl	LBB0_14
	jmp	LBB0_56
LBB0_15:
	movl	(%r15), %eax
	jmp	LBB0_56
LBB0_16:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	$2, %esi
	callq	_get_bits
	movl	%eax, %r12d
	xorl	%r14d, %r14d
	cmpl	$2, %eax
	jg	LBB0_18
## %bb.17:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	$5, %esi
	callq	_get_bits
	movl	%eax, %r14d
LBB0_18:
	cmpl	$0, (%r15)
	jle	LBB0_60
## %bb.19:
	addl	$2, %r12d
	xorl	%ebx, %ebx
	movq	%r15, %r13
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_get_bits
	addl	%r14d, %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_20
	jmp	LBB0_56
LBB0_21:
	testl	%r12d, %r12d
	je	LBB0_23
## %bb.22:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	8(%r15), %rax
	movq	%r15, %rcx
	jmp	LBB0_24
LBB0_23:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, %r12
	addq	$8, %rax
	leaq	4(%r15), %rcx
LBB0_24:
	movq	(%rax), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	(%rcx), %r14d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	$2, %esi
	callq	_get_bits
	movl	%eax, %ebx
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movl	(%r15), %edi
	movl	%r14d, %esi
	callq	_FFMIN
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jle	LBB0_27
## %bb.25:
	addl	$2, %ebx
	movslq	%ebx, %r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	8(%rax), %r15
	movl	-80(%rbp), %ebx                 ## 4-byte Reload
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%r14,4), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	$9, %edx
	movl	$2, %ecx
	callq	_get_vlc2
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	addl	(%rcx,%r13,4), %eax
	movq	(%r12), %rcx
	movl	%eax, (%rcx,%r13,4)
	incq	%r13
	cmpq	%r13, %rbx
	jne	LBB0_26
LBB0_27:
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14), %eax
	movl	-80(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%eax, %ecx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jge	LBB0_56
## %bb.28:
	movslq	%ecx, %rbx
	.p2align	4, 0x90
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	$5, %esi
	callq	_get_bits
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_29
	jmp	LBB0_56
LBB0_30:
	testl	%r12d, %r12d
	je	LBB0_32
## %bb.31:
	movq	8(%r15), %rax
	jmp	LBB0_33
LBB0_32:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	$8, %rax
LBB0_33:
	xorl	%ecx, %ecx
	testl	%r12d, %r12d
	sete	%cl
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	(%r15,%rcx,4), %ebx
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movl	$5, %esi
	callq	_get_bits
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	movq	%r12, %rdi
	movl	$2, %esi
	callq	_get_bits
	movl	%eax, %r13d
	incl	%r13d
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movl	(%r15), %edi
	movl	%ebx, %esi
	callq	_FFMIN
	movl	%eax, %r15d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax), %rbx
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_get_bits
	movl	%eax, %r14d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rcx
	movl	%r14d, (%rcx)
	movl	%r15d, %r10d
	movl	%r15d, -68(%rbp)                ## 4-byte Spill
	cmpl	$2, %r15d
	jl	LBB0_36
## %bb.34:
	movl	$-1, %eax
	movl	%r13d, %ecx
	shll	%cl, %eax
	movslq	%r13d, %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	notl	%eax
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	movl	$1, %r15d
	.p2align	4, 0x90
LBB0_35:                                ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rbx,%rax,4), %esi
	movq	%r12, %rdi
	movl	$9, %edx
	movl	$2, %ecx
	movq	%r10, %r13
	callq	_get_vlc2
	movq	%r13, %r10
	movq	%r12, %rdx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	addl	%r14d, %eax
	andl	-96(%rbp), %eax                 ## 4-byte Folded Reload
	movq	(%r12), %rcx
	movq	%rdx, %r12
	movl	%eax, (%rcx,%r15,4)
	incq	%r15
	movl	%eax, %r14d
	cmpq	%r15, %r13
	jne	LBB0_35
LBB0_36:
	movl	-68(%rbp), %r9d                 ## 4-byte Reload
	testl	%r9d, %r9d
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	-104(%rbp), %r8d                ## 4-byte Reload
	jle	LBB0_53
## %bb.37:
	addl	$-16, %r8d
	cmpl	$8, %r9d
	jb	LBB0_38
## %bb.39:
	leaq	(%rbx,%r10,4), %rax
	cmpq	%rax, %rcx
	jae	LBB0_42
## %bb.40:
	leaq	(%rcx,%r10,4), %rax
	cmpq	%rax, %rbx
	jae	LBB0_42
LBB0_38:
	xorl	%eax, %eax
LBB0_49:
	movq	%rax, %rdx
	notq	%rdx
	testb	$1, %r10b
	je	LBB0_51
## %bb.50:
	movl	(%rbx,%rax,4), %esi
	addl	%r8d, %esi
	addl	%esi, (%rcx,%rax,4)
	orq	$1, %rax
LBB0_51:
	addq	%r10, %rdx
	je	LBB0_53
	.p2align	4, 0x90
LBB0_52:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%rax,4), %edx
	addl	%r8d, %edx
	addl	%edx, (%rcx,%rax,4)
	movl	4(%rbx,%rax,4), %edx
	addl	%r8d, %edx
	addl	%edx, 4(%rcx,%rax,4)
	addq	$2, %rax
	cmpq	%rax, %r10
	jne	LBB0_52
	jmp	LBB0_53
LBB0_42:
	movl	%r10d, %eax
	andl	$-8, %eax
	movd	%r8d, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	leaq	-8(%rax), %rdx
	movq	%rdx, %rsi
	shrq	$3, %rsi
	incq	%rsi
	testq	%rdx, %rdx
	je	LBB0_45
## %bb.43:
	movq	%rsi, %rdi
	andq	$-2, %rdi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_44:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%rbx,%rdx,4), %xmm1
	movdqu	16(%rbx,%rdx,4), %xmm2
	paddd	%xmm0, %xmm1
	paddd	%xmm0, %xmm2
	movdqu	(%rcx,%rdx,4), %xmm3
	paddd	%xmm1, %xmm3
	movdqu	16(%rcx,%rdx,4), %xmm1
	paddd	%xmm2, %xmm1
	movdqu	32(%rcx,%rdx,4), %xmm2
	movdqu	48(%rcx,%rdx,4), %xmm4
	movdqu	%xmm3, (%rcx,%rdx,4)
	movdqu	%xmm1, 16(%rcx,%rdx,4)
	movdqu	32(%rbx,%rdx,4), %xmm1
	movdqu	48(%rbx,%rdx,4), %xmm3
	paddd	%xmm0, %xmm1
	paddd	%xmm2, %xmm1
	paddd	%xmm0, %xmm3
	paddd	%xmm4, %xmm3
	movdqu	%xmm1, 32(%rcx,%rdx,4)
	movdqu	%xmm3, 48(%rcx,%rdx,4)
	addq	$16, %rdx
	addq	$-2, %rdi
	jne	LBB0_44
	jmp	LBB0_46
LBB0_45:
	xorl	%edx, %edx
LBB0_46:
	testb	$1, %sil
	je	LBB0_48
## %bb.47:
	movdqu	(%rbx,%rdx,4), %xmm1
	movdqu	16(%rbx,%rdx,4), %xmm2
	paddd	%xmm0, %xmm1
	paddd	%xmm0, %xmm2
	movdqu	(%rcx,%rdx,4), %xmm0
	paddd	%xmm1, %xmm0
	movdqu	16(%rcx,%rdx,4), %xmm1
	paddd	%xmm2, %xmm1
	movdqu	%xmm0, (%rcx,%rdx,4)
	movdqu	%xmm1, 16(%rcx,%rdx,4)
LBB0_48:
	cmpq	%r10, %rax
	jne	LBB0_49
LBB0_53:
	movl	(%r14), %eax
	cmpl	%eax, %r9d
	jge	LBB0_56
## %bb.54:
	movslq	%r9d, %rbx
	.p2align	4, 0x90
LBB0_55:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	$5, %esi
	callq	_get_bits
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_55
LBB0_56:
	testl	%eax, %eax
	jle	LBB0_60
## %bb.57:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rsi
	movl	%eax, %eax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_58:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$32, (%rsi,%rcx,4)
	jae	LBB0_5
## %bb.59:                              ##   in Loop: Header=BB0_58 Depth=1
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_58
	jmp	LBB0_61
LBB0_60:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
LBB0_61:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdi
	movl	$8, %edx
	callq	_memcpy
	xorl	%eax, %eax
LBB0_62:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_16
	.long	L0_0_set_21
	.long	L0_0_set_30
	.long	L0_0_set_23
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @read_scalefactors.mode_map
_read_scalefactors.mode_map:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
	.long	0                               ## 0x0
	.long	2                               ## 0x2
	.long	3                               ## 0x3
	.long	4                               ## 0x4

	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid scalefactor coding mode!\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_at9_tab_sf_weights,8,3         ## @at9_tab_sf_weights
	.no_dead_strip	_read_scalefactors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_scalefactors
_read_scalefactors:                     ; @read_scalefactors
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.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
	mov	x24, x5
	mov	x22, x4
	mov	x21, x3
	mov	x19, x2
	mov	x20, x1
	mov	x23, x0
	mov	x0, x3
	mov	w1, #2
	bl	_get_bits
Lloh0:
	adrp	x8, _read_scalefactors.mode_map@PAGE
Lloh1:
	add	x8, x8, _read_scalefactors.mode_map@PAGEOFF
	add	x8, x8, w22, sxtw #4
	ldr	w25, [x8, w0, sxtw #2]
	ldr	x0, [x19]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	cbz	w24, LBB0_6
; %bb.1:
	cmp	w25, #4
	b.eq	LBB0_4
; %bb.2:
	cbnz	w22, LBB0_6
; %bb.3:
	cmp	w25, #3
	b.ne	LBB0_6
LBB0_4:
	ldr	w0, [x23, #8]
Lloh2:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
LBB0_5:
Lloh7:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	b	LBB0_54
LBB0_6:
	cmp	w25, #4
	b.hi	LBB0_14
; %bb.7:
Lloh10:
	adrp	x8, lJTI0_0@PAGE
Lloh11:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x9, LBB0_8
	ldrb	w10, [x8, x25]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_8:
Lloh12:
	adrp	x8, _at9_tab_sf_weights@GOTPAGE
Lloh13:
	ldr	x8, [x8, _at9_tab_sf_weights@GOTPAGEOFF]
Lloh14:
	ldr	x22, [x8]
	mov	x0, x21
	mov	w1, #3
	bl	_get_bits
	ldr	x25, [x22, w0, sxtw #3]
	mov	x0, x21
	mov	w1, #5
	bl	_get_bits
	mov	x22, x0
	mov	x0, x21
	mov	w1, #2
	bl	_get_bits
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	add	x24, x8, #3
	ldr	x8, [x23]
	ldr	x26, [x8]
	mov	x0, x21
	mov	x1, x24
	bl	_get_bits
	ldr	x8, [x19]
	str	w0, [x8]
	ldr	w9, [x20]
	cmp	w9, #1
	b.le	LBB0_11
; %bb.9:
	mov	x23, x0
	mov	w8, #-1
	lsl	w8, w8, w24
	mvn	w27, w8
	mov	w28, #1
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x26, x24, lsl #2]
	mov	x0, x21
	mov	w2, #9
	mov	w3, #2
	bl	_get_vlc2
	add	w8, w0, w23
	and	w23, w8, w27
	ldr	x8, [x19]
	str	w23, [x8, x28, lsl #2]
	add	x28, x28, #1
	ldrsw	x9, [x20]
	cmp	x28, x9
	b.lt	LBB0_10
LBB0_11:
	cmp	w9, #1
	b.lt	LBB0_52
; %bb.12:
	mov	x10, #0
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	lsl	x9, x10, #2
	ldr	w11, [x25, x9]
	ldr	w12, [x8, x9]
	sub	w11, w22, w11
	add	w11, w11, w12
	str	w11, [x8, x9]
	add	x10, x10, #1
	ldrsw	x9, [x20]
	cmp	x10, x9
	b.lt	LBB0_13
	b	LBB0_48
LBB0_14:
	ldr	w9, [x20]
	b	LBB0_48
LBB0_15:
	mov	x0, x21
	mov	w1, #2
	bl	_get_bits
	mov	x23, x0
	cmp	w0, #2
	b.gt	LBB0_28
; %bb.16:
	mov	x0, x21
	mov	w1, #5
	bl	_get_bits
	mov	x22, x0
	b	LBB0_29
LBB0_17:
	cbz	w22, LBB0_19
; %bb.18:
	ldr	x8, [x20, #8]
	mov	x9, x20
	b	LBB0_20
LBB0_19:
	add	x8, x19, #8
	add	x9, x20, #4
LBB0_20:
	ldr	x25, [x8]
	ldr	w22, [x9]
	mov	x0, x21
	mov	w1, #2
	bl	_get_bits
	mov	x24, x0
	ldr	w0, [x20]
	mov	x1, x22
	bl	_FFMIN
	mov	x22, x0
	cmp	w0, #1
	b.lt	LBB0_23
; %bb.21:
	mov	x26, #0
	sxtw	x8, w24
	add	x24, x8, #2
	ldr	x8, [x23]
	ldr	x23, [x8, #8]
	mov	w8, w22
	lsl	x27, x8, #2
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23, x24, lsl #2]
	mov	x0, x21
	mov	w2, #9
	mov	w3, #2
	bl	_get_vlc2
	ldr	w8, [x25, x26]
	add	w8, w8, w0
	ldr	x9, [x19]
	str	w8, [x9, x26]
	add	x26, x26, #4
	cmp	x27, x26
	b.ne	LBB0_22
LBB0_23:
	ldr	w9, [x20]
	cmp	w22, w9
	b.ge	LBB0_48
; %bb.24:
	sxtw	x22, w22
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	w1, #5
	bl	_get_bits
	ldr	x8, [x19]
	str	w0, [x8, x22, lsl #2]
	add	x22, x22, #1
	ldrsw	x9, [x20]
	cmp	x22, x9
	b.lt	LBB0_25
	b	LBB0_47
LBB0_26:
	cbz	w22, LBB0_32
; %bb.27:
	ldr	x8, [x20, #8]
	b	LBB0_33
LBB0_28:
	mov	w22, #0
LBB0_29:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_52
; %bb.30:
	mov	x24, #0
	add	w23, w23, #2
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x23
	bl	_get_bits
	add	w8, w0, w22
	ldr	x9, [x19]
	str	w8, [x9, x24, lsl #2]
	add	x24, x24, #1
	ldrsw	x9, [x20]
	cmp	x24, x9
	b.lt	LBB0_31
	b	LBB0_47
LBB0_32:
	add	x8, x19, #8
LBB0_33:
	cmp	w22, #0
	cset	w9, eq
	ldr	x24, [x8]
	ldr	w22, [x20, w9, uxtw #2]
	mov	x0, x21
	mov	w1, #5
	bl	_get_bits
	mov	x26, x0
	mov	x0, x21
	mov	w1, #2
	bl	_get_bits
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	add	x25, x8, #1
	ldr	w0, [x20]
	mov	x1, x22
	bl	_FFMIN
	mov	x22, x0
	ldr	x8, [x23]
	ldr	x27, [x8]
	mov	x0, x21
	mov	x1, x25
	bl	_get_bits
	ldr	x9, [x19]
	str	w0, [x9]
	cmp	w22, #1
	b.le	LBB0_37
; %bb.34:
	mov	x23, x0
	str	w26, [sp, #4]                   ; 4-byte Folded Spill
	str	x24, [sp, #8]                   ; 8-byte Folded Spill
	mov	w8, #-1
	lsl	w8, w8, w25
	mvn	w28, w8
	mov	w8, w22
	lsl	x26, x8, #2
	mov	w24, #4
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x27, x25, lsl #2]
	mov	x0, x21
	mov	w2, #9
	mov	w3, #2
	bl	_get_vlc2
	add	w8, w0, w23
	and	w23, w8, w28
	ldr	x9, [x19]
	str	w23, [x9, x24]
	add	x24, x24, #4
	cmp	x26, x24
	b.ne	LBB0_35
; %bb.36:
	ldr	x24, [sp, #8]                   ; 8-byte Folded Reload
	ldr	w26, [sp, #4]                   ; 4-byte Folded Reload
LBB0_37:
	cmp	w22, #1
	b.lt	LBB0_44
; %bb.38:
	sub	w8, w26, #16
	mov	w10, w22
	cmp	w22, #16
	b.lo	LBB0_41
; %bb.39:
	lsl	x11, x10, #2
	add	x12, x24, x11
	cmp	x9, x12
	b.hs	LBB0_55
; %bb.40:
	add	x11, x9, x11
	cmp	x24, x11
	b.hs	LBB0_55
LBB0_41:
	mov	x11, #0
LBB0_42:
	lsl	x12, x11, #2
	add	x9, x9, x12
	add	x12, x24, x12
	sub	x10, x10, x11
LBB0_43:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x12], #4
	ldr	w13, [x9]
	add	w11, w8, w11
	add	w11, w11, w13
	str	w11, [x9], #4
	subs	x10, x10, #1
	b.ne	LBB0_43
LBB0_44:
	ldr	w9, [x20]
	cmp	w22, w9
	b.ge	LBB0_48
; %bb.45:
	sxtw	x22, w22
LBB0_46:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	w1, #5
	bl	_get_bits
	ldr	x8, [x19]
	str	w0, [x8, x22, lsl #2]
	add	x22, x22, #1
	ldrsw	x9, [x20]
	cmp	x22, x9
	b.lt	LBB0_46
LBB0_47:
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
LBB0_48:
	cmp	w9, #0
	b.le	LBB0_52
; %bb.49:
	mov	x8, #0
	ldr	x1, [x19]
	mov	w9, w9
	lsl	x9, x9, #2
LBB0_50:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x1, x8]
	cmp	w10, #32
	b.hs	LBB0_5
; %bb.51:                               ;   in Loop: Header=BB0_50 Depth=1
	add	x8, x8, #4
	cmp	x9, x8
	b.ne	LBB0_50
	b	LBB0_53
LBB0_52:
	ldr	x1, [x19]
LBB0_53:
	ldr	x0, [x19, #8]
	mov	w2, #8
	bl	_memcpy
	mov	w0, #0
LBB0_54:
	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
	add	sp, sp, #112
	ret
LBB0_55:
	and	x11, x10, #0xfffffff0
	dup.4s	v0, w8
	add	x12, x9, #32
	add	x13, x24, #32
	mov	x14, x11
LBB0_56:                                ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x13, #-32]
	ldp	q3, q4, [x13], #64
	add.4s	v1, v0, v1
	add.4s	v2, v0, v2
	add.4s	v3, v0, v3
	add.4s	v4, v0, v4
	ldp	q5, q6, [x12, #-32]
	ldp	q7, q16, [x12]
	add.4s	v1, v1, v5
	add.4s	v2, v2, v6
	add.4s	v3, v3, v7
	add.4s	v4, v4, v16
	stp	q1, q2, [x12, #-32]
	stp	q3, q4, [x12], #64
	subs	x14, x14, #16
	b.ne	LBB0_56
; %bb.57:
	cmp	x11, x10
	b.eq	LBB0_44
	b	LBB0_42
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_15-LBB0_8)>>2
	.byte	(LBB0_17-LBB0_8)>>2
	.byte	(LBB0_26-LBB0_8)>>2
	.byte	(LBB0_19-LBB0_8)>>2
                                        ; -- End function
	.p2align	2                               ; @read_scalefactors.mode_map
_read_scalefactors.mode_map:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.long	0                               ; 0x0
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.long	4                               ; 0x4

	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid scalefactor coding mode!\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_at9_tab_sf_weights,8,3         ; @at9_tab_sf_weights
	.no_dead_strip	_read_scalefactors
.subsections_via_symbols
