	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_subframe_audio
_parse_subframe_audio:                  ## @parse_subframe_audio
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rax
	movslq	%esi, %rsi
	movq	_DCA_SUBBAND_SAMPLES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rsi, -152(%rbp)                ## 8-byte Spill
	imull	(%rax,%rsi,4), %ecx
	movl	(%r8), %eax
	addl	%ecx, %eax
	cmpl	8(%rdi), %eax
	jle	LBB0_4
## %bb.1:
	movl	128(%r14), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
LBB0_2:
	callq	_av_log
	jmp	LBB0_3
LBB0_4:
	movq	%r9, %r13
	movq	%r8, %r15
	movl	%edx, -144(%rbp)                ## 4-byte Spill
	movq	%rcx, -168(%rbp)                ## 8-byte Spill
	leaq	132(%r14), %r12
	movq	%r12, %rdi
	callq	_get_bits_left
	testq	%rax, %rax
	js	LBB0_3
## %bb.5:
	movq	%r13, -136(%rbp)                ## 8-byte Spill
	movl	%ebx, -116(%rbp)                ## 4-byte Spill
	cmpl	%ebx, 12(%r14)
	movq	%r15, -160(%rbp)                ## 8-byte Spill
	jle	LBB0_14
## %bb.6:
	movslq	-116(%rbp), %rbx                ## 4-byte Folded Reload
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-128(%rbp), %rsp                ## 8-byte Reload
	incq	%rbx
	movslq	12(%r14), %rax
	cmpq	%rax, %rbx
	jge	LBB0_14
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movq	%rsp, -128(%rbp)                ## 8-byte Spill
	movq	_DCA_SUBBANDS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	16(%r14), %rax
	movq	24(%r14), %rcx
	movl	(%rax,%rbx,4), %r8d
	movl	(%rcx,%rbx,4), %r9d
	cmpl	%r9d, %r8d
	jge	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movslq	%r8d, %r15
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	movl	$10, %esi
	callq	_get_bits
	movl	%eax, (%r13,%r15,4)
	incq	%r15
	movq	24(%r14), %rax
	movslq	(%rax,%rbx,4), %r9
	cmpq	%r9, %r15
	jl	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	16(%r14), %rax
	movl	(%rax,%rbx,4), %r8d
	movq	-160(%rbp), %r15                ## 8-byte Reload
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpl	%r9d, %r8d
	jge	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	104(%r14), %r10
	movq	32(%r14), %rcx
	movq	96(%r14), %rdx
	movq	(%rdx,%rbx,8), %rdi
	movq	_ff_dca_high_freq_vq@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	(%rcx,%rbx,8), %rcx
	movl	(%r15), %eax
	movq	%r13, %rsi
                                        ## kill: def $r9d killed $r9d killed $r9
	pushq	-168(%rbp)                      ## 8-byte Folded Reload
	pushq	%rax
	callq	*8(%r10)
	addq	$16, %rsp
	jmp	LBB0_13
LBB0_14:
	movl	40(%r14), %ebx
	testl	%ebx, %ebx
	je	LBB0_23
## %bb.15:
	movq	_HEADER_CORE@GOTPCREL(%rip), %rax
	movl	-144(%rbp), %ecx                ## 4-byte Reload
	cmpl	%ecx, (%rax)
	jne	LBB0_23
## %bb.16:
	movq	(%r14), %rax
	movq	-152(%rbp), %rcx                ## 8-byte Reload
	imull	(%rax,%rcx,4), %ebx
	addl	%ebx, %ebx
	leaq	-112(%rbp), %r15
	movq	%r15, %rdi
	callq	_FF_ARRAY_ELEMS
	xorl	%edi, %edi
	cmpl	%eax, %ebx
	setbe	%dil
	callq	_av_assert1
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	movl	$8, %ecx
	callq	_get_array
	movq	%r12, %rdi
	movl	$8, %esi
	callq	_get_bits
	movl	%eax, %r15d
	movq	_ff_dca_scale_factor_quant7@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_FF_ARRAY_ELEMS
	cmpl	%eax, %r15d
	jae	LBB0_17
## %bb.18:
	movq	(%r13), %rax
	movl	%r15d, %ecx
	movl	(%rax,%rcx,4), %esi
	movl	$4697620, %edi                  ## imm = 0x47AE14
	callq	_mul23
	movl	%eax, %r15d
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %ecx
	testl	%ebx, %ebx
	jle	LBB0_22
## %bb.19:
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	movslq	%ecx, %r13
	movl	%ebx, %eax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	shlq	$3, %r13
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movl	-112(%rbp,%rbx,4), %edi
	imull	%r15d, %edi
	sarl	$4, %edi
	callq	_clip23
	movq	144(%r14), %rcx
	addq	%r13, %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	cmpq	%rbx, -128(%rbp)                ## 8-byte Folded Reload
	jne	LBB0_20
## %bb.21:
	addl	-144(%rbp), %ebx                ## 4-byte Folded Reload
	movl	%ebx, %ecx
	movq	-136(%rbp), %rax                ## 8-byte Reload
LBB0_22:
	movl	%ecx, (%rax)
	movq	-160(%rbp), %r15                ## 8-byte Reload
LBB0_23:
	movl	(%r15), %eax
	movl	%eax, -136(%rbp)                ## 4-byte Spill
	movq	(%r14), %rax
	movq	-152(%rbp), %rcx                ## 8-byte Reload
	cmpl	$0, (%rax,%rcx,4)
	jle	LBB0_24
## %bb.36:
	movl	-116(%rbp), %r13d               ## 4-byte Reload
	movslq	%r13d, %rcx
	movq	%rcx, -176(%rbp)                ## 8-byte Spill
	xorl	%ecx, %ecx
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	leaq	-112(%rbp), %rbx
LBB0_37:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_39 Depth 2
                                        ##       Child Loop BB0_42 Depth 3
	cmpl	%r13d, 12(%r14)
	jle	LBB0_50
## %bb.38:                              ##   in Loop: Header=BB0_37 Depth=1
	movslq	-136(%rbp), %rax                ## 4-byte Folded Reload
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	-176(%rbp), %r15                ## 8-byte Reload
	movq	%r12, -184(%rbp)                ## 8-byte Spill
	jmp	LBB0_39
	.p2align	4, 0x90
LBB0_48:                                ##   in Loop: Header=BB0_39 Depth=2
	incq	%r15
	movslq	12(%r14), %rax
	cmpq	%rax, %r15
	movl	-116(%rbp), %r13d               ## 4-byte Reload
	movq	-184(%rbp), %r12                ## 8-byte Reload
	jge	LBB0_49
LBB0_39:                                ##   Parent Loop BB0_37 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_42 Depth 3
	movq	%r12, %rdi
	callq	_get_bits_left
	testq	%rax, %rax
	js	LBB0_3
## %bb.40:                              ##   in Loop: Header=BB0_39 Depth=2
	movq	16(%r14), %rax
	cmpl	$0, (%rax,%r15,4)
	jle	LBB0_48
## %bb.41:                              ##   in Loop: Header=BB0_39 Depth=2
	xorl	%r13d, %r13d
	jmp	LBB0_42
	.p2align	4, 0x90
LBB0_47:                                ##   in Loop: Header=BB0_42 Depth=3
	movq	%r12, %rbx
	movq	96(%r14), %rax
	movq	(%rax,%r15,8), %rax
	movq	(%rax,%r13,8), %rdi
	addq	-144(%rbp), %rdi                ## 8-byte Folded Reload
	movq	_DCA_SUBBAND_SAMPLES@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r12, %rsi
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%r8d, %r8d
	callq	_ff_dca_core_dequantize
	incq	%r13
	movq	16(%r14), %rax
	movslq	(%rax,%r15,4), %rax
	cmpq	%rax, %r13
	jge	LBB0_48
LBB0_42:                                ##   Parent Loop BB0_37 Depth=1
                                        ##     Parent Loop BB0_39 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	48(%r14), %rax
	movq	(%rax,%r15,8), %rax
	movq	%rbx, %rsi
	movl	(%rax,%r13,4), %ebx
	movq	%r14, %rdi
	movq	%rsi, %r12
	movl	%ebx, %edx
	movl	%r15d, %ecx
	callq	_extract_audio
	testl	%eax, %eax
	js	LBB0_34
## %bb.43:                              ##   in Loop: Header=BB0_42 Depth=3
	cmpl	$3, 56(%r14)
	movq	_ff_dca_lossy_quant@GOTPCREL(%rip), %rcx
	jne	LBB0_45
## %bb.44:                              ##   in Loop: Header=BB0_42 Depth=3
	movq	_ff_dca_lossless_quant@GOTPCREL(%rip), %rcx
LBB0_45:                                ##   in Loop: Header=BB0_42 Depth=3
	movslq	%ebx, %rdi
	movq	(%rcx), %rcx
	movl	(%rcx,%rdi,4), %edx
	movq	64(%r14), %rcx
	movq	-152(%rbp), %rsi                ## 8-byte Reload
	movq	(%rcx,%rsi,8), %rcx
	movq	(%rcx,%r15,8), %rcx
	movl	(%rcx,%r13,4), %ecx
	testl	%ecx, %ecx
	setne	%bl
	cmpl	%ecx, -128(%rbp)                ## 4-byte Folded Reload
	setge	%cl
	andb	%bl, %cl
	movq	32(%r14), %rsi
	movq	(%rsi,%r15,8), %rsi
	movq	(%rsi,%r13,8), %rsi
	movzbl	%cl, %ecx
	movl	(%rsi,%rcx,4), %ecx
	testl	%eax, %eax
	je	LBB0_47
## %bb.46:                              ##   in Loop: Header=BB0_42 Depth=3
	movq	72(%r14), %rax
	movq	(%rax,%r15,8), %rax
	imull	-4(%rax,%rdi,4), %ecx
	sarl	$22, %ecx
	movl	%ecx, %edi
	movl	%edx, %ebx
	callq	_clip23
	movl	%ebx, %edx
	movq	%rax, %rcx
	jmp	LBB0_47
LBB0_49:                                ##   in Loop: Header=BB0_37 Depth=1
	movq	(%r14), %rax
	movq	-160(%rbp), %r15                ## 8-byte Reload
LBB0_50:                                ##   in Loop: Header=BB0_37 Depth=1
	movq	-152(%rbp), %rcx                ## 8-byte Reload
	movl	(%rax,%rcx,4), %ecx
	leal	-1(%rcx), %edx
	cmpl	%edx, -128(%rbp)                ## 4-byte Folded Reload
	je	LBB0_52
## %bb.51:                              ##   in Loop: Header=BB0_37 Depth=1
	cmpq	$0, 136(%r14)
	je	LBB0_54
LBB0_52:                                ##   in Loop: Header=BB0_37 Depth=1
	movq	%r12, %rdi
	movl	$16, %esi
	callq	_get_bits
	cmpl	$65535, %eax                    ## imm = 0xFFFF
	jne	LBB0_55
## %bb.53:                              ##   in Loop: Header=BB0_37 Depth=1
	movq	(%r14), %rax
	movq	-152(%rbp), %rcx                ## 8-byte Reload
	movl	(%rax,%rcx,4), %ecx
LBB0_54:                                ##   in Loop: Header=BB0_37 Depth=1
	movq	_DCA_SUBBAND_SAMPLES@GOTPCREL(%rip), %rdx
	movl	-136(%rbp), %esi                ## 4-byte Reload
	addl	(%rdx), %esi
	movl	%esi, -136(%rbp)                ## 4-byte Spill
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	incl	%edx
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	cmpl	%ecx, %edx
	jl	LBB0_37
	jmp	LBB0_25
LBB0_3:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_34:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_56
## %bb.35:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	movl	-116(%rbp), %r13d               ## 4-byte Reload
LBB0_25:
	movl	12(%r14), %ecx
	cmpl	%r13d, %ecx
	movq	-168(%rbp), %r12                ## 8-byte Reload
	jle	LBB0_28
## %bb.26:
	movslq	%r13d, %rbx
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%r14), %rax
	movq	96(%r14), %rcx
	movq	(%rcx,%rbx,8), %rdi
	movq	120(%r14), %rcx
	movl	(%rcx,%rbx,4), %esi
	movq	112(%r14), %rcx
	movl	(%rcx,%rbx,4), %edx
	movl	(%rax,%rbx,4), %r8d
	movl	(%r15), %r9d
	subq	$8, %rsp
	xorl	%ecx, %ecx
	pushq	%r12
	callq	_inverse_adpcm
	addq	$16, %rsp
	incq	%rbx
	movslq	12(%r14), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_27
LBB0_28:
	cmpl	%r13d, %ecx
	jle	LBB0_33
## %bb.29:
	movslq	%r13d, %rbx
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_30 Depth=1
	incq	%rbx
	movslq	%ecx, %rax
	cmpq	%rax, %rbx
	jge	LBB0_33
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	movq	80(%r14), %rax
	movl	(%rax,%rbx,4), %eax
	testl	%eax, %eax
	jle	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_30 Depth=1
	decl	%eax
	movq	104(%r14), %r10
	movq	96(%r14), %rcx
	movq	(%rcx,%rbx,8), %rdi
	movq	(%rcx,%rax,8), %rsi
	movq	24(%r14), %r8
	movq	88(%r14), %rcx
	movl	(%rcx,%rbx,4), %edx
	movl	(%r8,%rbx,4), %ecx
	movl	(%r8,%rax,4), %r8d
	movl	(%r15), %r9d
	subq	$8, %rsp
	pushq	%r12
	callq	*(%r10)
	addq	$16, %rsp
	movl	12(%r14), %ecx
	jmp	LBB0_32
LBB0_33:
	movl	-136(%rbp), %eax                ## 4-byte Reload
	movl	%eax, (%r15)
	xorl	%eax, %eax
	jmp	LBB0_34
LBB0_17:
	movl	128(%r14), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_2
LBB0_55:
	movl	128(%r14), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_2
LBB0_56:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DCA_SUBBAND_SAMPLES,4,2        ## @DCA_SUBBAND_SAMPLES
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Subband sample buffer overflow\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_DCA_SUBBANDS,4,2               ## @DCA_SUBBANDS
	.comm	_ff_dca_high_freq_vq,4,2        ## @ff_dca_high_freq_vq
	.comm	_HEADER_CORE,4,2                ## @HEADER_CORE
	.comm	_ff_dca_scale_factor_quant7,8,3 ## @ff_dca_scale_factor_quant7
L_.str.1:                               ## @.str.1
	.asciz	"Invalid LFE scale factor index\n"

	.comm	_ff_dca_lossless_quant,8,3      ## @ff_dca_lossless_quant
	.comm	_ff_dca_lossy_quant,8,3         ## @ff_dca_lossy_quant
L_.str.2:                               ## @.str.2
	.asciz	"DSYNC check failed\n"

	.no_dead_strip	_parse_subframe_audio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_subframe_audio
_parse_subframe_audio:                  ; @parse_subframe_audio
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [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 w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #96
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x8, [x0]
	ldr	w8, [x8, w1, sxtw #2]
Lloh3:
	adrp	x9, _DCA_SUBBAND_SAMPLES@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DCA_SUBBAND_SAMPLES@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	mul	w21, w9, w8
	ldr	w8, [x4]
	ldr	w9, [x0, #8]
	add	w8, w8, w21
	cmp	w8, w9
	b.le	LBB0_3
; %bb.1:
	ldr	w0, [x20, #128]
Lloh6:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
LBB0_2:
	bl	_av_log
	b	LBB0_38
LBB0_3:
	mov	x24, x5
	mov	x19, x4
	mov	x22, x3
	mov	x25, x2
	mov	x26, x1
	add	x23, x20, #132
	mov	x0, x23
	bl	_get_bits_left
	tbnz	x0, #63, LBB0_38
; %bb.4:
	stur	w25, [x29, #-168]               ; 4-byte Folded Spill
	stur	x24, [x29, #-176]               ; 8-byte Folded Spill
	ldr	w8, [x20, #12]
	stur	x22, [x29, #-160]               ; 8-byte Folded Spill
	cmp	w8, w22
	b.le	LBB0_13
; %bb.5:
	ldur	x8, [x29, #-160]                ; 8-byte Folded Reload
	sxtw	x22, w8
Lloh11:
	adrp	x28, _DCA_SUBBANDS@GOTPAGE
Lloh12:
	ldr	x28, [x28, _DCA_SUBBANDS@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	sp, x25
	add	x22, x22, #1
	ldrsw	x8, [x20, #12]
	cmp	x22, x8
	b.ge	LBB0_13
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	mov	x25, sp
	ldr	w8, [x28]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh13:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh14:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x27, x9, x8
	mov	sp, x27
	lsl	x8, x22, #2
	ldp	x9, x10, [x20, #16]
	ldr	w4, [x9, x8]
	ldr	w5, [x10, x8]
	cmp	w4, w5
	b.ge	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	sxtw	x24, w4
LBB0_9:                                 ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x23
	mov	w1, #10
	bl	_get_bits
	str	w0, [x27, x24, lsl #2]
	add	x24, x24, #1
	ldr	x8, [x20, #24]
	ldrsw	x5, [x8, x22, lsl #2]
	cmp	x24, x5
	b.lt	LBB0_9
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x20, #16]
	ldr	w4, [x8, x22, lsl #2]
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w4, w5
	b.ge	LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	ldp	x9, x8, [x20, #96]
	lsl	x10, x22, #3
	ldr	x0, [x9, x10]
	ldr	x8, [x8, #8]
Lloh15:
	adrp	x9, _ff_dca_high_freq_vq@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ff_dca_high_freq_vq@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x9]
	ldr	x9, [x20, #32]
	ldr	x3, [x9, x10]
	ldr	w6, [x19]
	mov	x1, x27
                                        ; kill: def $w4 killed $w4 killed $x4
                                        ; kill: def $w5 killed $w5 killed $x5
	mov	x7, x21
	blr	x8
	b	LBB0_6
LBB0_13:
	sxtw	x27, w26
	ldr	w8, [x20, #40]
	cbz	w8, LBB0_20
; %bb.14:
Lloh18:
	adrp	x9, _HEADER_CORE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _HEADER_CORE@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	ldur	w10, [x29, #-168]               ; 4-byte Folded Reload
	cmp	w9, w10
	b.ne	LBB0_20
; %bb.15:
	ldr	x9, [x20]
	ldr	w9, [x9, x27, lsl #2]
	mul	w8, w8, w9
	lsl	w25, w8, #1
	sub	x0, x29, #152
	bl	_FF_ARRAY_ELEMS
	cmp	w25, w0
	cset	w0, ls
	bl	_av_assert1
	sub	x1, x29, #152
	mov	x0, x23
	mov	x2, x25
	mov	w3, #8
	bl	_get_array
	mov	x0, x23
	mov	w1, #8
	bl	_get_bits
	mov	x26, x0
Lloh21:
	adrp	x22, _ff_dca_scale_factor_quant7@GOTPAGE
Lloh22:
	ldr	x22, [x22, _ff_dca_scale_factor_quant7@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_FF_ARRAY_ELEMS
	cmp	w26, w0
	b.hs	LBB0_51
; %bb.16:
	ldr	x8, [x22]
	ldr	w1, [x8, w26, uxtw #2]
	mov	w0, #44564
	movk	w0, #71, lsl #16
	bl	_mul23
	ldur	x8, [x29, #-176]                ; 8-byte Folded Reload
	ldr	w22, [x8]
	cmp	w25, #1
	b.lt	LBB0_19
; %bb.17:
	mov	x26, x0
	sxtw	x8, w22
	lsl	x24, x8, #3
	sub	x28, x29, #152
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x28], #4
	mul	w8, w8, w26
	asr	w0, w8, #4
	bl	_clip23
	ldr	x8, [x20, #144]
	str	x0, [x8, x24]
	add	x24, x24, #8
	add	w22, w22, #1
	subs	x25, x25, #1
	b.ne	LBB0_18
LBB0_19:
	ldur	x8, [x29, #-176]                ; 8-byte Folded Reload
	str	w22, [x8]
LBB0_20:
	ldr	w24, [x19]
	ldr	x8, [x20]
	ldr	w9, [x8, x27, lsl #2]
	cmp	w9, #1
	b.lt	LBB0_41
; %bb.21:
	mov	w22, #0
	ldur	x25, [x29, #-160]               ; 8-byte Folded Reload
	mov	x9, x25
	sxtw	x9, w9
	stur	x9, [x29, #-168]                ; 8-byte Folded Spill
	mov	w26, #65535
LBB0_22:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_25 Depth 2
                                        ;       Child Loop BB0_29 Depth 3
	ldr	w9, [x20, #12]
	cmp	w9, w25
	b.le	LBB0_33
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	stur	x24, [x29, #-176]               ; 8-byte Folded Spill
	sxtw	x26, w24
	ldur	x24, [x29, #-168]               ; 8-byte Folded Reload
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=2
	add	x24, x24, #1
	ldrsw	x8, [x20, #12]
	cmp	x24, x8
	ldur	x25, [x29, #-160]               ; 8-byte Folded Reload
	b.ge	LBB0_32
LBB0_25:                                ;   Parent Loop BB0_22 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_29 Depth 3
	mov	x0, x23
	bl	_get_bits_left
	tbnz	x0, #63, LBB0_38
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=2
	ldr	x8, [x20, #16]
	ldr	w8, [x8, x24, lsl #2]
	cmp	w8, #1
	b.lt	LBB0_24
; %bb.27:                               ;   in Loop: Header=BB0_25 Depth=2
	mov	x28, #0
	b	LBB0_29
LBB0_28:                                ;   in Loop: Header=BB0_29 Depth=3
	ldr	x8, [x20, #96]
	ldr	x8, [x8, x24, lsl #3]
	ldr	x8, [x8, x28, lsl #3]
	add	x0, x8, x26
Lloh23:
	adrp	x8, _DCA_SUBBAND_SAMPLES@GOTPAGE
Lloh24:
	ldr	x8, [x8, _DCA_SUBBAND_SAMPLES@GOTPAGEOFF]
Lloh25:
	ldr	w5, [x8]
	sub	x1, x29, #152
	mov	x2, x25
                                        ; kill: def $w3 killed $w3 killed $x3
	mov	w4, #0
	bl	_ff_dca_core_dequantize
	add	x28, x28, #1
	ldr	x8, [x20, #16]
	ldrsw	x8, [x8, x24, lsl #2]
	cmp	x28, x8
	b.ge	LBB0_24
LBB0_29:                                ;   Parent Loop BB0_22 Depth=1
                                        ;     Parent Loop BB0_25 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x8, [x20, #48]
	ldr	x8, [x8, x24, lsl #3]
	ldr	w25, [x8, x28, lsl #2]
	sub	x1, x29, #152
	mov	x0, x20
	mov	x2, x25
	mov	x3, x24
	bl	_extract_audio
	tbnz	w0, #31, LBB0_39
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=3
	sxtw	x8, w25
	ldr	w9, [x20, #56]
	cmp	w9, #3
Lloh26:
	adrp	x9, _ff_dca_lossless_quant@GOTPAGE
Lloh27:
	ldr	x9, [x9, _ff_dca_lossless_quant@GOTPAGEOFF]
Lloh28:
	adrp	x10, _ff_dca_lossy_quant@GOTPAGE
Lloh29:
	ldr	x10, [x10, _ff_dca_lossy_quant@GOTPAGEOFF]
	csel	x9, x9, x10, eq
	ldr	x9, [x9]
	ldr	w25, [x9, x8, lsl #2]
	ldr	x9, [x20, #64]
	ldr	x9, [x9, x27, lsl #3]
	lsl	x10, x24, #3
	ldr	x9, [x9, x10]
	ldr	w9, [x9, x28, lsl #2]
	cmp	w9, #0
	ccmp	w22, w9, #8, ne
	cset	w9, ge
	ldr	x11, [x20, #32]
	ldr	x10, [x11, x10]
	ldr	x10, [x10, x28, lsl #3]
	ldr	w3, [x10, w9, uxtw #2]
	cbz	w0, LBB0_28
; %bb.31:                               ;   in Loop: Header=BB0_29 Depth=3
	ldr	x9, [x20, #72]
	ldr	x9, [x9, x24, lsl #3]
	sub	w8, w8, #1
	ldr	w8, [x9, w8, sxtw #2]
	mul	w8, w8, w3
	asr	w0, w8, #22
	bl	_clip23
	mov	x3, x0
	b	LBB0_28
LBB0_32:                                ;   in Loop: Header=BB0_22 Depth=1
	ldr	x8, [x20]
	ldur	x24, [x29, #-176]               ; 8-byte Folded Reload
	mov	w26, #65535
LBB0_33:                                ;   in Loop: Header=BB0_22 Depth=1
	ldr	w9, [x8, x27, lsl #2]
	sub	w10, w9, #1
	cmp	w22, w10
	b.eq	LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	x10, [x20, #136]
	cbz	x10, LBB0_37
LBB0_35:                                ;   in Loop: Header=BB0_22 Depth=1
	mov	x0, x23
	mov	w1, #16
	bl	_get_bits
	cmp	w0, w26
	b.ne	LBB0_52
; %bb.36:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	x8, [x20]
	ldr	w9, [x8, x27, lsl #2]
LBB0_37:                                ;   in Loop: Header=BB0_22 Depth=1
Lloh30:
	adrp	x10, _DCA_SUBBAND_SAMPLES@GOTPAGE
Lloh31:
	ldr	x10, [x10, _DCA_SUBBAND_SAMPLES@GOTPAGEOFF]
Lloh32:
	ldr	w10, [x10]
	add	w24, w10, w24
	add	w22, w22, #1
	cmp	w22, w9
	b.lt	LBB0_22
	b	LBB0_42
LBB0_38:
Lloh33:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh34:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
LBB0_39:
	ldur	x8, [x29, #-88]
Lloh36:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh37:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_53
; %bb.40:
	sub	sp, x29, #80
	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	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_41:
	ldur	x25, [x29, #-160]               ; 8-byte Folded Reload
LBB0_42:
	ldr	w8, [x20, #12]
	cmp	w8, w25
	b.le	LBB0_45
; %bb.43:
	mov	x8, x25
	sxtw	x22, w8
LBB0_44:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #96]
	ldr	x0, [x8, x22, lsl #3]
	lsl	x8, x22, #2
	ldp	x10, x9, [x20, #112]
	ldr	w1, [x9, x8]
	ldr	w2, [x10, x8]
	ldr	x9, [x20, #24]
	ldr	w4, [x9, x8]
	ldr	w5, [x19]
	mov	w3, #0
	mov	x6, x21
	bl	_inverse_adpcm
	add	x22, x22, #1
	ldrsw	x8, [x20, #12]
	cmp	x22, x8
	b.lt	LBB0_44
LBB0_45:
	cmp	w8, w25
	b.le	LBB0_50
; %bb.46:
	mov	x9, x25
	sxtw	x22, w9
	b	LBB0_48
LBB0_47:                                ;   in Loop: Header=BB0_48 Depth=1
	add	x22, x22, #1
	cmp	x22, w8, sxtw
	b.ge	LBB0_50
LBB0_48:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #80]
	ldr	w9, [x9, x22, lsl #2]
	subs	w9, w9, #1
	b.lt	LBB0_47
; %bb.49:                               ;   in Loop: Header=BB0_48 Depth=1
	ldp	x10, x8, [x20, #96]
	ldr	x11, [x20, #88]
	ldr	x0, [x10, x22, lsl #3]
	ldr	x8, [x8]
	ldr	x1, [x10, w9, uxtw #3]
	lsl	x10, x22, #2
	ldr	w2, [x11, x10]
	ldr	x11, [x20, #24]
	ldr	w3, [x11, x10]
	ldr	w4, [x11, w9, uxtw #2]
	ldr	w5, [x19]
	mov	x6, x21
	blr	x8
	ldr	w8, [x20, #12]
	b	LBB0_47
LBB0_50:
	mov	w0, #0
	str	w24, [x19]
	b	LBB0_39
LBB0_51:
	ldr	w0, [x20, #128]
Lloh39:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh40:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
Lloh42:
	adrp	x2, l_.str.1@PAGE
Lloh43:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_52:
	ldr	w0, [x20, #128]
Lloh44:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh45:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
Lloh47:
	adrp	x2, l_.str.2@PAGE
Lloh48:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_2
LBB0_53:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_DCA_SUBBAND_SAMPLES,4,2        ; @DCA_SUBBAND_SAMPLES
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Subband sample buffer overflow\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_DCA_SUBBANDS,4,2               ; @DCA_SUBBANDS
	.comm	_ff_dca_high_freq_vq,4,2        ; @ff_dca_high_freq_vq
	.comm	_HEADER_CORE,4,2                ; @HEADER_CORE
	.comm	_ff_dca_scale_factor_quant7,8,3 ; @ff_dca_scale_factor_quant7
l_.str.1:                               ; @.str.1
	.asciz	"Invalid LFE scale factor index\n"

	.comm	_ff_dca_lossless_quant,8,3      ; @ff_dca_lossless_quant
	.comm	_ff_dca_lossy_quant,8,3         ; @ff_dca_lossy_quant
l_.str.2:                               ; @.str.2
	.asciz	"DSYNC check failed\n"

	.no_dead_strip	_parse_subframe_audio
.subsections_via_symbols
