	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_sbr_envelope
_read_sbr_envelope:                     ## @read_sbr_envelope
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	%r8d, %ecx
	xorl	$1, %ecx
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movl	(%rsi), %eax
	movl	%eax, %edx
	xorl	$1, %edx
	orl	%ecx, %edx
	sete	%r9b
	movq	32(%r13), %rdx
	movq	_vlc_sbr@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testl	%r8d, %r8d
	je	LBB0_6
## %bb.1:
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.3:
	movq	_T_HUFFMAN_ENV_BAL_3_0DB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rcx,%rax,8), %r8
	movq	_vlc_sbr_lav@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rbx
	leaq	(%rbx,%rax,4), %r10
	movq	_F_HUFFMAN_ENV_BAL_3_0DB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rcx,%rax,8), %rsi
	leaq	(%rbx,%rax,4), %rax
	movl	$5, %r15d
	jmp	LBB0_9
LBB0_6:
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.7:
	movq	_T_HUFFMAN_ENV_3_0DB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rcx,%rax,8), %r8
	movq	_vlc_sbr_lav@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rbx
	leaq	(%rbx,%rax,4), %r10
	movq	_F_HUFFMAN_ENV_3_0DB@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_T_HUFFMAN_ENV_BAL_1_5DB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rcx,%rax,8), %r8
	movq	_vlc_sbr_lav@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rbx
	leaq	(%rbx,%rax,4), %r10
	movq	_F_HUFFMAN_ENV_BAL_1_5DB@GOTPCREL(%rip), %rax
LBB0_5:
	movq	(%rax), %rax
	leaq	(%rcx,%rax,8), %rsi
	leaq	(%rbx,%rax,4), %rax
	movl	$6, %r15d
	jmp	LBB0_9
LBB0_8:
	movq	_T_HUFFMAN_ENV_1_5DB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rcx,%rax,8), %r8
	movq	_vlc_sbr_lav@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rbx
	leaq	(%rbx,%rax,4), %r10
	movq	_F_HUFFMAN_ENV_1_5DB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rcx,%rax,8), %rsi
	leaq	(%rbx,%rax,4), %rax
	movl	$7, %r15d
LBB0_9:
	movl	(%r13), %ebx
	testl	%ebx, %ebx
	jle	LBB0_34
## %bb.10:
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	xorl	%ebx, %ebx
	movb	%r9b, %bl
	movl	4(%rcx), %edx
	incl	%ebx
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	(%r8), %rbx
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %rdi
	movq	%rdi, -120(%rbp)                ## 8-byte Spill
	movl	(%rax), %eax
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	movl	(%r10), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	%edx, %eax
	andl	$1, %eax
	andl	$1, %edx
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	negl	%eax
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	xorl	%r14d, %r14d
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	-48(%rbp), %r15d                ## 4-byte Reload
LBB0_33:                                ##   in Loop: Header=BB0_11 Depth=1
	movslq	(%r13), %rbx
	movq	%r12, %r14
	cmpq	%rbx, %r12
	jge	LBB0_34
LBB0_11:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_20 Depth 2
                                        ##     Child Loop BB0_24 Depth 2
                                        ##     Child Loop BB0_15 Depth 2
                                        ##     Child Loop BB0_30 Depth 2
	movq	24(%r13), %rax
	cmpq	$0, (%rax,%r14,8)
	je	LBB0_28
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	8(%r13), %rdx
	leaq	1(%r14), %r12
	movq	8(%rdx,%r14,8), %rax
	cmpq	(%rdx,%r14,8), %rax
	jne	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	$0, (%rcx,%rax,4)
	jle	LBB0_33
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	16(%r13), %rdx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rdx,%r14,8), %rax
	movl	(%rax,%rbx,4), %r15d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	$9, %edx
	movl	$3, %ecx
	callq	_get_vlc2
	subl	-52(%rbp), %eax                 ## 4-byte Folded Reload
	imull	-44(%rbp), %eax                 ## 4-byte Folded Reload
	addl	%r15d, %eax
	movq	16(%r13), %rdx
	movq	8(%rdx,%r14,8), %rcx
	movl	%eax, (%rcx,%rbx,4)
	cmpl	$128, %eax
	jae	LBB0_21
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=2
	incq	%rbx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rcx
	movq	8(%r13), %rax
	movq	8(%rax,%r14,8), %rax
	movslq	(%rcx,%rax,4), %rax
	cmpq	%rax, %rbx
	jl	LBB0_15
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	callq	_get_bits
	imull	-44(%rbp), %eax                 ## 4-byte Folded Reload
	movq	16(%r13), %rcx
	leaq	1(%r14), %r12
	movq	8(%rcx,%r14,8), %rcx
	movl	%eax, (%rcx)
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	movq	8(%r13), %rdx
	movq	8(%rdx,%r14,8), %rdx
	cmpl	$2, (%rcx,%rdx,4)
	jl	LBB0_33
## %bb.29:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_30:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%eax, %r15d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	movl	$9, %edx
	movl	$3, %ecx
	callq	_get_vlc2
	subl	-96(%rbp), %eax                 ## 4-byte Folded Reload
	imull	-44(%rbp), %eax                 ## 4-byte Folded Reload
	addl	%r15d, %eax
	movq	16(%r13), %rcx
	movq	8(%rcx,%r14,8), %rcx
	movl	%eax, (%rcx,%rbx,4)
	cmpl	$128, %eax
	jae	LBB0_21
## %bb.31:                              ##   in Loop: Header=BB0_30 Depth=2
	incq	%rbx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	movq	8(%r13), %rdx
	movq	8(%rdx,%r14,8), %rdx
	movslq	(%rcx,%rdx,4), %rdx
	cmpq	%rdx, %rbx
	jl	LBB0_30
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_11 Depth=1
	testq	%rax, %rax
	je	LBB0_22
## %bb.18:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	$0, (%rcx,%rax,4)
	jle	LBB0_33
## %bb.19:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	16(%r13), %rdx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_20:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-112(%rbp), %rax                ## 8-byte Reload
	addl	%ebx, %eax
	shrl	%eax
	movq	(%rdx,%r14,8), %rcx
	movl	(%rcx,%rax,4), %r15d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	$9, %edx
	movl	$3, %ecx
	callq	_get_vlc2
	subl	-52(%rbp), %eax                 ## 4-byte Folded Reload
	imull	-44(%rbp), %eax                 ## 4-byte Folded Reload
	addl	%r15d, %eax
	movq	16(%r13), %rdx
	movq	8(%rdx,%r14,8), %rcx
	movl	%eax, (%rcx,%rbx,4)
	cmpl	$128, %eax
	jae	LBB0_21
## %bb.27:                              ##   in Loop: Header=BB0_20 Depth=2
	incq	%rbx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rcx
	movq	8(%r13), %rax
	movq	8(%rax,%r14,8), %rax
	movslq	(%rcx,%rax,4), %rax
	cmpq	%rax, %rbx
	jl	LBB0_20
	jmp	LBB0_32
LBB0_22:                                ##   in Loop: Header=BB0_11 Depth=1
	cmpl	$0, (%rcx)
	jle	LBB0_33
## %bb.23:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	movq	16(%r13), %rdx
	movl	-92(%rbp), %r15d                ## 4-byte Reload
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_24:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testq	%r12, %r12
	movq	(%rdx,%r14,8), %rax
	movslq	%r15d, %rcx
	cmoveq	%r12, %rcx
	movl	(%rax,%rcx,4), %ebx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	$9, %edx
	movl	$3, %ecx
	callq	_get_vlc2
	subl	-52(%rbp), %eax                 ## 4-byte Folded Reload
	imull	-44(%rbp), %eax                 ## 4-byte Folded Reload
	addl	%ebx, %eax
	movq	16(%r13), %rdx
	movq	8(%rdx,%r14,8), %rcx
	movl	%eax, (%rcx,%r12,4)
	cmpl	$128, %eax
	jae	LBB0_21
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=2
	incq	%r12
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rcx
	movq	8(%r13), %rax
	movq	8(%rax,%r14,8), %rax
	movslq	(%rcx,%rax,4), %rax
	addl	$2, %r15d
	cmpq	%rax, %r12
	jl	LBB0_24
## %bb.26:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	movq	-104(%rbp), %r12                ## 8-byte Reload
	jmp	LBB0_33
LBB0_21:
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str(%rip), %rdx
	movl	%eax, %ecx
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_35
LBB0_34:
	movslq	%ebx, %rax
	movq	16(%r13), %rcx
	movq	(%rcx), %rdi
	movq	(%rcx,%rax,8), %rsi
	movl	$8, %edx
	callq	_memcpy
	xorl	%eax, %eax
LBB0_35:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vlc_sbr,8,3                    ## @vlc_sbr
	.comm	_T_HUFFMAN_ENV_BAL_3_0DB,8,3    ## @T_HUFFMAN_ENV_BAL_3_0DB
	.comm	_vlc_sbr_lav,8,3                ## @vlc_sbr_lav
	.comm	_F_HUFFMAN_ENV_BAL_3_0DB,8,3    ## @F_HUFFMAN_ENV_BAL_3_0DB
	.comm	_T_HUFFMAN_ENV_BAL_1_5DB,8,3    ## @T_HUFFMAN_ENV_BAL_1_5DB
	.comm	_F_HUFFMAN_ENV_BAL_1_5DB,8,3    ## @F_HUFFMAN_ENV_BAL_1_5DB
	.comm	_T_HUFFMAN_ENV_3_0DB,8,3        ## @T_HUFFMAN_ENV_3_0DB
	.comm	_F_HUFFMAN_ENV_3_0DB,8,3        ## @F_HUFFMAN_ENV_3_0DB
	.comm	_T_HUFFMAN_ENV_1_5DB,8,3        ## @T_HUFFMAN_ENV_1_5DB
	.comm	_F_HUFFMAN_ENV_1_5DB,8,3        ## @F_HUFFMAN_ENV_1_5DB
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"env_facs_q %d is invalid\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.no_dead_strip	_read_sbr_envelope
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_sbr_envelope
_read_sbr_envelope:                     ; @read_sbr_envelope
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x19, x3
	mov	x21, x2
	mov	x22, x1
	ldr	w9, [x1]
	cmp	w9, #1
	ccmp	w4, #1, #0, eq
	mov	w8, #1
	cinc	w27, w8, eq
	ldr	x10, [x3, #32]
Lloh0:
	adrp	x8, _vlc_sbr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _vlc_sbr@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	w4, LBB0_4
; %bb.1:
	cbz	w9, LBB0_4
; %bb.2:
	cbz	x10, LBB0_6
; %bb.3:
Lloh3:
	adrp	x9, _T_HUFFMAN_ENV_BAL_3_0DB@GOTPAGE
Lloh4:
	ldr	x9, [x9, _T_HUFFMAN_ENV_BAL_3_0DB@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x9]
	add	x9, x8, x10, lsl #3
Lloh6:
	adrp	x11, _vlc_sbr_lav@GOTPAGE
Lloh7:
	ldr	x11, [x11, _vlc_sbr_lav@GOTPAGEOFF]
Lloh8:
	ldr	x12, [x11]
	add	x10, x12, x10, lsl #2
Lloh9:
	adrp	x11, _F_HUFFMAN_ENV_BAL_3_0DB@GOTPAGE
Lloh10:
	ldr	x11, [x11, _F_HUFFMAN_ENV_BAL_3_0DB@GOTPAGEOFF]
Lloh11:
	ldr	x13, [x11]
	add	x11, x8, x13, lsl #3
	add	x12, x12, x13, lsl #2
	mov	w24, #5
	b	LBB0_9
LBB0_4:
	cbz	x10, LBB0_8
; %bb.5:
Lloh12:
	adrp	x9, _T_HUFFMAN_ENV_3_0DB@GOTPAGE
Lloh13:
	ldr	x9, [x9, _T_HUFFMAN_ENV_3_0DB@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x9]
	add	x9, x8, x10, lsl #3
Lloh15:
	adrp	x11, _vlc_sbr_lav@GOTPAGE
Lloh16:
	ldr	x11, [x11, _vlc_sbr_lav@GOTPAGEOFF]
Lloh17:
	ldr	x12, [x11]
	add	x10, x12, x10, lsl #2
Lloh18:
	adrp	x11, _F_HUFFMAN_ENV_3_0DB@GOTPAGE
Lloh19:
	ldr	x11, [x11, _F_HUFFMAN_ENV_3_0DB@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh20:
	adrp	x9, _T_HUFFMAN_ENV_BAL_1_5DB@GOTPAGE
Lloh21:
	ldr	x9, [x9, _T_HUFFMAN_ENV_BAL_1_5DB@GOTPAGEOFF]
Lloh22:
	ldr	x10, [x9]
	add	x9, x8, x10, lsl #3
Lloh23:
	adrp	x11, _vlc_sbr_lav@GOTPAGE
Lloh24:
	ldr	x11, [x11, _vlc_sbr_lav@GOTPAGEOFF]
Lloh25:
	ldr	x12, [x11]
	add	x10, x12, x10, lsl #2
Lloh26:
	adrp	x11, _F_HUFFMAN_ENV_BAL_1_5DB@GOTPAGE
Lloh27:
	ldr	x11, [x11, _F_HUFFMAN_ENV_BAL_1_5DB@GOTPAGEOFF]
LBB0_7:
	ldr	x13, [x11]
	add	x11, x8, x13, lsl #3
	add	x12, x12, x13, lsl #2
	mov	w24, #6
	b	LBB0_9
LBB0_8:
Lloh28:
	adrp	x9, _T_HUFFMAN_ENV_1_5DB@GOTPAGE
Lloh29:
	ldr	x9, [x9, _T_HUFFMAN_ENV_1_5DB@GOTPAGEOFF]
Lloh30:
	ldr	x10, [x9]
	add	x9, x8, x10, lsl #3
Lloh31:
	adrp	x11, _vlc_sbr_lav@GOTPAGE
Lloh32:
	ldr	x11, [x11, _vlc_sbr_lav@GOTPAGEOFF]
Lloh33:
	ldr	x12, [x11]
	add	x10, x12, x10, lsl #2
Lloh34:
	adrp	x11, _F_HUFFMAN_ENV_1_5DB@GOTPAGE
Lloh35:
	ldr	x11, [x11, _F_HUFFMAN_ENV_1_5DB@GOTPAGEOFF]
Lloh36:
	ldr	x13, [x11]
	add	x11, x8, x13, lsl #3
	add	x12, x12, x13, lsl #2
	mov	w24, #7
LBB0_9:
	ldr	w13, [x19]
	cmp	w13, #1
	b.lt	LBB0_33
; %bb.10:
	mov	x28, #0
	ldr	x8, [x22, #8]
	ldr	w13, [x8, #4]
	and	w14, w13, #0x1
	ldr	x9, [x9]
	str	x9, [sp, #40]                   ; 8-byte Folded Spill
	ldr	x9, [x11]
	stp	x9, x0, [sp, #8]                ; 16-byte Folded Spill
	ldr	w9, [x12]
	str	w9, [sp, #36]                   ; 4-byte Folded Spill
	ldr	w20, [x10]
	and	x9, x13, #0x1
	str	x9, [sp, #24]                   ; 8-byte Folded Spill
	neg	w9, w14
	str	w9, [sp]                        ; 4-byte Folded Spill
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	w24, [sp, #4]                   ; 4-byte Folded Reload
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	ldrsw	x13, [x19]
	mov	x28, x23
	cmp	x23, x13
	b.ge	LBB0_33
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_26 Depth 2
                                        ;     Child Loop BB0_31 Depth 2
                                        ;     Child Loop BB0_17 Depth 2
                                        ;     Child Loop BB0_21 Depth 2
	ldr	x9, [x19, #24]
	ldr	x9, [x9, x28, lsl #3]
	cbz	x9, LBB0_19
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x10, [x19, #8]
	add	x23, x28, #1
	ldr	x9, [x10, x23, lsl #3]
	ldr	x10, [x10, x28, lsl #3]
	cmp	x9, x10
	b.ne	LBB0_23
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w9, [x8, x9, lsl #2]
	cmp	w9, #1
	b.lt	LBB0_12
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	str	w24, [sp, #4]                   ; 4-byte Folded Spill
	mov	x25, #0
	ldr	x9, [x19, #16]
LBB0_17:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x9, x28, lsl #3]
	lsl	x26, x25, #2
	ldr	w24, [x8, x26]
	mov	x0, x21
	ldr	x1, [sp, #40]                   ; 8-byte Folded Reload
	mov	w2, #9
	mov	w3, #3
	bl	_get_vlc2
	sub	w8, w0, w20
	madd	w3, w8, w27, w24
	ldr	x9, [x19, #16]
	ldr	x8, [x9, x23, lsl #3]
	str	w3, [x8, x26]
	cmp	w3, #128
	b.hs	LBB0_34
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=2
	add	x25, x25, #1
	ldr	x8, [x22, #8]
	ldr	x10, [x19, #8]
	ldr	x10, [x10, x23, lsl #3]
	ldrsw	x10, [x8, x10, lsl #2]
	cmp	x25, x10
	b.lt	LBB0_17
	b	LBB0_11
LBB0_19:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x21
	mov	x1, x24
	bl	_get_bits
	mul	w26, w0, w27
	add	x23, x28, #1
	lsl	x9, x23, #3
	ldp	x10, x8, [x19, #8]
	ldr	x8, [x8, x9]
	str	w26, [x8]
	ldr	x8, [x22, #8]
	ldr	x9, [x10, x9]
	ldr	w9, [x8, x9, lsl #2]
	cmp	w9, #2
	b.lt	LBB0_12
; %bb.20:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	w25, #1
	ldr	x28, [sp, #8]                   ; 8-byte Folded Reload
LBB0_21:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x21
	mov	x1, x28
	mov	w2, #9
	mov	w3, #3
	bl	_get_vlc2
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	sub	w8, w0, w8
	madd	w26, w8, w27, w26
	ldr	x8, [x19, #16]
	ldr	x8, [x8, x23, lsl #3]
	str	w26, [x8, x25, lsl #2]
	cmp	w26, #128
	b.hs	LBB0_35
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=2
	add	x25, x25, #1
	ldr	x8, [x22, #8]
	ldr	x9, [x19, #8]
	ldr	x9, [x9, x23, lsl #3]
	ldrsw	x9, [x8, x9, lsl #2]
	cmp	x25, x9
	b.lt	LBB0_21
	b	LBB0_12
LBB0_23:                                ;   in Loop: Header=BB0_13 Depth=1
	cbz	x9, LBB0_29
; %bb.24:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w9, [x8, x9, lsl #2]
	cmp	w9, #1
	b.lt	LBB0_12
; %bb.25:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x26, x24
	mov	x25, #0
	ldr	x9, [x19, #16]
LBB0_26:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	add	w8, w8, w25
	lsr	w8, w8, #1
	ldr	x9, [x9, x28, lsl #3]
	ldr	w24, [x9, w8, uxtw #2]
	mov	x0, x21
	ldr	x1, [sp, #40]                   ; 8-byte Folded Reload
	mov	w2, #9
	mov	w3, #3
	bl	_get_vlc2
	sub	w8, w0, w20
	madd	w3, w8, w27, w24
	ldr	x9, [x19, #16]
	ldr	x8, [x9, x23, lsl #3]
	str	w3, [x8, x25, lsl #2]
	cmp	w3, #128
	b.hs	LBB0_34
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=2
	add	x25, x25, #1
	ldr	x8, [x22, #8]
	ldr	x10, [x19, #8]
	ldr	x10, [x10, x23, lsl #3]
	ldrsw	x10, [x8, x10, lsl #2]
	cmp	x25, x10
	b.lt	LBB0_26
; %bb.28:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x24, x26
	b	LBB0_12
LBB0_29:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_12
; %bb.30:                               ;   in Loop: Header=BB0_13 Depth=1
	str	w24, [sp, #4]                   ; 4-byte Folded Spill
	mov	x26, #0
	ldr	x9, [x19, #16]
	ldr	w25, [sp]                       ; 4-byte Folded Reload
LBB0_31:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x9, x28, lsl #3]
	sxtw	x9, w25
	cmp	x26, #0
	csel	x9, xzr, x9, eq
	ldr	w24, [x8, x9, lsl #2]
	mov	x0, x21
	ldr	x1, [sp, #40]                   ; 8-byte Folded Reload
	mov	w2, #9
	mov	w3, #3
	bl	_get_vlc2
	sub	w8, w0, w20
	madd	w3, w8, w27, w24
	ldr	x9, [x19, #16]
	ldr	x8, [x9, x23, lsl #3]
	str	w3, [x8, x26, lsl #2]
	cmp	w3, #128
	b.hs	LBB0_34
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=2
	add	x26, x26, #1
	ldr	x8, [x22, #8]
	ldr	x10, [x19, #8]
	ldr	x10, [x10, x23, lsl #3]
	ldrsw	x10, [x8, x10, lsl #2]
	add	w25, w25, #2
	cmp	x26, x10
	b.lt	LBB0_31
	b	LBB0_11
LBB0_33:
	ldr	x8, [x19, #16]
	ldr	x0, [x8]
	ldr	x1, [x8, w13, sxtw #3]
	mov	w2, #8
	bl	_memcpy
	mov	w0, #0
	b	LBB0_37
LBB0_34:
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	ldr	w0, [x8]
Lloh37:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh38:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
Lloh40:
	adrp	x2, l_.str@PAGE
Lloh41:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_36
LBB0_35:
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	ldr	w0, [x8]
Lloh42:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh43:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
Lloh45:
	adrp	x2, l_.str@PAGE
Lloh46:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x26
LBB0_36:
	bl	_av_log
Lloh47:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh48:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
LBB0_37:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_vlc_sbr,8,3                    ; @vlc_sbr
	.comm	_T_HUFFMAN_ENV_BAL_3_0DB,8,3    ; @T_HUFFMAN_ENV_BAL_3_0DB
	.comm	_vlc_sbr_lav,8,3                ; @vlc_sbr_lav
	.comm	_F_HUFFMAN_ENV_BAL_3_0DB,8,3    ; @F_HUFFMAN_ENV_BAL_3_0DB
	.comm	_T_HUFFMAN_ENV_BAL_1_5DB,8,3    ; @T_HUFFMAN_ENV_BAL_1_5DB
	.comm	_F_HUFFMAN_ENV_BAL_1_5DB,8,3    ; @F_HUFFMAN_ENV_BAL_1_5DB
	.comm	_T_HUFFMAN_ENV_3_0DB,8,3        ; @T_HUFFMAN_ENV_3_0DB
	.comm	_F_HUFFMAN_ENV_3_0DB,8,3        ; @F_HUFFMAN_ENV_3_0DB
	.comm	_T_HUFFMAN_ENV_1_5DB,8,3        ; @T_HUFFMAN_ENV_1_5DB
	.comm	_F_HUFFMAN_ENV_1_5DB,8,3        ; @F_HUFFMAN_ENV_1_5DB
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"env_facs_q %d is invalid\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.no_dead_strip	_read_sbr_envelope
.subsections_via_symbols
