	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_coding_header
_parse_coding_header:                   ## @parse_coding_header
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r13d
	movq	%rdi, %r15
	leaq	96(%rdi), %r14
	movq	%r14, %rdi
	callq	_get_bits_count
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_get_bits_left
	testq	%rax, %rax
	js	LBB0_70
## %bb.1:
	cmpl	$128, %r13d
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_7
## %bb.2:
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	cmpl	$129, %r13d
	je	LBB0_10
## %bb.3:
	cmpl	$130, %r13d
	jne	LBB0_11
## %bb.4:
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_get_bits
	incl	%eax
	movl	%eax, 152(%r15)
	movq	%r14, %rdi
	movl	$3, %esi
	callq	_get_bits
	incl	%eax
	movl	%eax, (%r15)
	movq	_ff_dca_channels@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	8(%r15), %r8
	cmpl	(%rcx,%r8,4), %eax
	jne	LBB0_48
## %bb.5:
	movq	_DCA_CHANNELS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	$-2, %ecx
	xorl	%edi, %edi
	cmpl	%ecx, %eax
	setle	%dil
	callq	_av_assert1
	movq	_audio_mode_ch_mask@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%r15), %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, 16(%r15)
	cmpl	$0, 148(%r15)
	je	LBB0_11
## %bb.6:
	movq	_DCA_SPEAKER_MASK_LFE1@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 16(%r15)
	jmp	LBB0_11
LBB0_7:
	movq	%r14, %rdi
	movl	$7, %esi
	callq	_get_bits
	movq	%rax, %rbx
	incl	%ebx
	cmpl	$0, 144(%r15)
	je	LBB0_46
## %bb.8:
	movl	112(%r15), %edi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	leal	(%rdx,%rbx,8), %ecx
	movq	%r14, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_ff_dca_check_crc
	testl	%eax, %eax
	je	LBB0_46
## %bb.9:
	movl	112(%r15), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_69
LBB0_10:
	movq	_ff_dca_channels@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%r15), %rcx
	movl	(%rax,%rcx,4), %eax
	leal	1(%rax), %ecx
	movl	%ecx, (%r15)
	movq	_DCA_CHANNELS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	decl	%ecx
	xorl	%edi, %edi
	cmpl	%ecx, %eax
	setl	%dil
	callq	_av_assert1
	movq	_DCA_SPEAKER_MASK_Cs@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%r15)
LBB0_11:
	movl	(%r15), %eax
	cmpl	%ebx, %eax
	jle	LBB0_16
## %bb.12:
	movslq	%ebx, %rbx
	movq	_DCA_SUBBANDS@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	$5, %esi
	callq	_get_bits
	addq	$2, %rax
	movq	48(%r15), %rcx
	movq	%rax, (%rcx,%rbx,8)
	cmpq	(%r12), %rax
	jg	LBB0_45
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_13
## %bb.15:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_16:
	cmpl	%ebx, %eax
	jle	LBB0_20
## %bb.17:
	movslq	%ebx, %rbx
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	$5, %esi
	callq	_get_bits
	incq	%rax
	movq	128(%r15), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_18
## %bb.19:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_20:
	cmpl	%ebx, %eax
	jle	LBB0_25
## %bb.21:
	leal	-1(%rbx), %r12d
	movslq	%ebx, %rbx
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	$3, %esi
	callq	_get_bits
	testl	%eax, %eax
	movl	%r12d, %ecx
	cmovel	%eax, %ecx
	cmpl	$128, %r13d
	movl	$0, %edx
	cmovnel	%edx, %ecx
	addl	%eax, %ecx
	cmpl	(%r15), %ecx
	jg	LBB0_61
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	56(%r15), %rax
	movl	%ecx, (%rax,%rbx,4)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_22
## %bb.24:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_25:
	cmpl	%ebx, %eax
	jle	LBB0_29
## %bb.26:
	movslq	%ebx, %rbx
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_get_bits
	movq	64(%r15), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_27
## %bb.28:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_29:
	cmpl	%ebx, %eax
	jle	LBB0_34
## %bb.30:
	movslq	%ebx, %rbx
	.p2align	4, 0x90
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	$3, %esi
	callq	_get_bits
	movq	72(%r15), %rcx
	movq	%rax, (%rcx,%rbx,8)
	cmpq	$7, %rax
	je	LBB0_64
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_31
## %bb.33:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_34:
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	cmpl	%ebx, %eax
	jle	LBB0_39
## %bb.35:
	movslq	%ebx, %rbx
	.p2align	4, 0x90
LBB0_36:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	$3, %esi
	callq	_get_bits
	movq	80(%r15), %rcx
	movq	%rax, (%rcx,%rbx,8)
	cmpq	$7, %rax
	je	LBB0_68
## %bb.37:                              ##   in Loop: Header=BB0_36 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_36
## %bb.38:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_39:
	movq	_DCA_CODE_BOOKS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_58
## %bb.40:
	movslq	%ebx, %rdx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	movq	_ff_dca_quant_index_sel_nbits@GOTPCREL(%rip), %r12
	jmp	LBB0_42
	.p2align	4, 0x90
LBB0_41:                                ##   in Loop: Header=BB0_42 Depth=1
	incq	%r13
	movslq	%ecx, %rdx
	cmpq	%rdx, %r13
	jge	LBB0_49
LBB0_42:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_43 Depth 2
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	cmpl	-48(%rbp), %eax                 ## 4-byte Folded Reload
	jle	LBB0_41
	.p2align	4, 0x90
LBB0_43:                                ##   Parent Loop BB0_42 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r12), %rax
	movl	(%rax,%r13,4), %esi
	movq	%r14, %rdi
	callq	_get_bits
	movq	88(%r15), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movq	%rax, (%rcx,%r13,8)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_43
## %bb.44:                              ##   in Loop: Header=BB0_42 Depth=1
	movq	_DCA_CODE_BOOKS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	jmp	LBB0_41
LBB0_45:
	movl	112(%r15), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.8(%rip), %rdx
	jmp	LBB0_69
LBB0_46:
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	movq	%r14, %rdi
	movl	$3, %esi
	callq	_get_bits
	movq	%rax, %r12
	leal	1(%rax), %r13d
	movq	_DCA_XXCH_CHANNELS_MAX@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jle	LBB0_65
## %bb.47:
	movl	112(%r15), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%r13d, %edx
	callq	_avpriv_request_sample
	movq	_AVERROR_PATCHWELCOME@GOTPCREL(%rip), %rax
	jmp	LBB0_71
LBB0_48:
	movl	112(%r15), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str(%rip), %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_70
LBB0_49:
	testl	%ecx, %ecx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	jle	LBB0_58
## %bb.50:
	xorl	%r12d, %r12d
	movq	_ff_dca_quant_index_group_size@GOTPCREL(%rip), %rdi
	jmp	LBB0_53
	.p2align	4, 0x90
LBB0_51:                                ##   in Loop: Header=BB0_53 Depth=1
	movq	_DCA_CODE_BOOKS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
LBB0_52:                                ##   in Loop: Header=BB0_53 Depth=1
	incq	%r12
	movslq	%ecx, %rdx
	cmpq	%rdx, %r12
	jge	LBB0_58
LBB0_53:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_56 Depth 2
	cmpl	%esi, %eax
	jle	LBB0_52
## %bb.54:                              ##   in Loop: Header=BB0_53 Depth=1
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_56
	.p2align	4, 0x90
LBB0_55:                                ##   in Loop: Header=BB0_56 Depth=2
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_51
LBB0_56:                                ##   Parent Loop BB0_53 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	88(%r15), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movq	(%rcx,%r12,8), %rcx
	movq	(%rdi), %rdx
	cmpq	(%rdx,%r12,8), %rcx
	jae	LBB0_55
## %bb.57:                              ##   in Loop: Header=BB0_56 Depth=2
	movq	_ff_dca_scale_factor_adj@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %r13
	movq	%rdi, %r15
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_get_bits
	movq	%r15, %rdi
	movq	%r13, %r15
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rax,4), %eax
	movq	120(%r13), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movl	%eax, (%rcx,%r12,4)
	movl	(%r13), %eax
	jmp	LBB0_55
LBB0_58:
	cmpl	$128, -52(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_62
## %bb.59:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leal	(%rax,%rcx,8), %esi
	movq	%r14, %rdi
	callq	_ff_dca_seek_bits
	testq	%rax, %rax
	je	LBB0_75
## %bb.60:
	movl	112(%r15), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.12(%rip), %rdx
	jmp	LBB0_69
LBB0_61:
	movl	112(%r15), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.9(%rip), %rdx
	jmp	LBB0_69
LBB0_62:
	xorl	%ebx, %ebx
	cmpq	$0, 104(%r15)
	je	LBB0_72
## %bb.63:
	movq	%r14, %rdi
	movl	$16, %esi
	callq	_skip_bits
	jmp	LBB0_72
LBB0_64:
	movl	112(%r15), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.10(%rip), %rdx
	jmp	LBB0_69
LBB0_65:
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	_ff_dca_channels@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%r15), %rcx
	movl	(%rax,%rcx,4), %eax
	addl	%r13d, %eax
	movl	%eax, (%r15)
	movq	_DCA_CHANNELS@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	setle	%dil
	callq	_av_assert1
	movl	20(%r15), %esi
	movq	_DCA_SPEAKER_Cs@GOTPCREL(%rip), %rbx
	subl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_get_bits_long
	movb	(%rbx), %cl
	shll	%cl, %eax
	movl	%eax, 24(%r15)
	movl	%eax, %edi
	callq	_av_popcount
	cmpl	%r13d, %eax
	jne	LBB0_73
## %bb.66:
	movl	24(%r15), %ecx
	movl	28(%r15), %r8d
	testl	%r8d, %ecx
	je	LBB0_76
## %bb.67:
	movl	112(%r15), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_70
LBB0_68:
	movl	112(%r15), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.11(%rip), %rdx
LBB0_69:
	xorl	%eax, %eax
	callq	_av_log
LBB0_70:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
LBB0_71:
	movl	(%rax), %ebx
LBB0_72:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_73:
	movl	24(%r15), %ecx
	movl	112(%r15), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
LBB0_74:
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_70
LBB0_75:
	xorl	%ebx, %ebx
	jmp	LBB0_72
LBB0_76:
	orl	%r8d, %ecx
	movl	%ecx, 16(%r15)
	movq	%r14, %rdi
	callq	_get_bits1
	testl	%eax, %eax
	je	LBB0_83
## %bb.77:
	movq	32(%r15), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_get_bits1
	movl	%eax, 136(%r15)
	movq	%r14, %rdi
	movl	$6, %esi
	callq	_get_bits
	movq	_FF_DCA_DMIXTABLE_OFFSET@GOTPCREL(%rip), %rcx
	shll	$2, %eax
	subl	(%rcx), %eax
	addl	$-3, %eax
	movq	_FF_DCA_INV_DMIXTABLE_SIZE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jae	LBB0_85
## %bb.78:
	movq	_ff_dca_inv_dmixtable@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, %eax
	movl	(%rcx,%rax,4), %eax
	movl	%eax, 140(%r15)
	cmpl	$2147483646, %r12d              ## imm = 0x7FFFFFFE
	ja	LBB0_86
## %bb.79:
	movl	%r13d, %r13d
	xorl	%ebx, %ebx
LBB0_80:                                ## =>This Inner Loop Header: Depth=1
	movl	20(%r15), %esi
	movq	%r14, %rdi
	callq	_get_bits_long
	movl	28(%r15), %ecx
	notl	%ecx
	testl	%ecx, %eax
	jne	LBB0_98
## %bb.81:                              ##   in Loop: Header=BB0_80 Depth=1
	movq	40(%r15), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r13
	jne	LBB0_80
## %bb.82:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movl	20(%r15), %eax
	xorl	%ebx, %ebx
	movl	%eax, %ecx
	jmp	LBB0_89
LBB0_83:
	movl	$0, 136(%r15)
LBB0_84:
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_11
LBB0_85:
	movl	112(%r15), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str.5(%rip), %rdx
	movl	%eax, %ecx
	jmp	LBB0_74
LBB0_86:
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_11
LBB0_87:                                ##   in Loop: Header=BB0_89 Depth=1
	xorl	%ecx, %ecx
LBB0_88:                                ##   in Loop: Header=BB0_89 Depth=1
	incq	%rbx
	cmpq	-64(%rbp), %rbx                 ## 8-byte Folded Reload
	je	LBB0_84
LBB0_89:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_94 Depth 2
	testl	%ecx, %ecx
	je	LBB0_87
## %bb.90:                              ##   in Loop: Header=BB0_89 Depth=1
	xorl	%r12d, %r12d
	jmp	LBB0_94
LBB0_91:                                ##   in Loop: Header=BB0_94 Depth=2
	xorl	%ecx, %ecx
LBB0_92:                                ##   in Loop: Header=BB0_94 Depth=2
	movl	%ecx, (%r13)
	addq	$4, %r13
	movl	20(%r15), %eax
LBB0_93:                                ##   in Loop: Header=BB0_94 Depth=2
	incl	%r12d
	movl	%eax, %ecx
	cmpl	%eax, %r12d
	jae	LBB0_88
LBB0_94:                                ##   Parent Loop BB0_89 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	40(%r15), %rcx
	movl	(%rcx,%rbx,4), %ecx
	btl	%r12d, %ecx
	jae	LBB0_93
## %bb.95:                              ##   in Loop: Header=BB0_94 Depth=2
	movq	%r14, %rdi
	movl	$7, %esi
	callq	_get_bits
	movl	%eax, %ecx
	andl	$63, %ecx
	je	LBB0_91
## %bb.96:                              ##   in Loop: Header=BB0_94 Depth=2
	leal	-3(,%rcx,4), %ecx
	movq	_FF_DCA_DMIXTABLE_SIZE@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jae	LBB0_99
## %bb.97:                              ##   in Loop: Header=BB0_94 Depth=2
	sarl	$6, %eax
	decl	%eax
	movq	_ff_dca_dmixtable@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%ecx, %ecx
	movl	(%rdx,%rcx,4), %ecx
	xorl	%eax, %ecx
	subl	%eax, %ecx
	jmp	LBB0_92
LBB0_98:
	movl	112(%r15), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str.6(%rip), %rdx
	movl	%eax, %ecx
	jmp	LBB0_74
LBB0_99:
	movl	112(%r15), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.7(%rip), %rdx
	jmp	LBB0_74
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_ff_dca_channels,8,3            ## @ff_dca_channels
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid number of primary audio channels (%d) for audio channel arrangement (%d)\n"

	.comm	_DCA_CHANNELS,4,2               ## @DCA_CHANNELS
	.comm	_audio_mode_ch_mask,8,3         ## @audio_mode_ch_mask
	.comm	_DCA_SPEAKER_MASK_LFE1,4,2      ## @DCA_SPEAKER_MASK_LFE1
	.comm	_DCA_SPEAKER_MASK_Cs,4,2        ## @DCA_SPEAKER_MASK_Cs
L_.str.1:                               ## @.str.1
	.asciz	"Invalid XXCH channel set header checksum\n"

	.comm	_DCA_XXCH_CHANNELS_MAX,4,2      ## @DCA_XXCH_CHANNELS_MAX
L_.str.2:                               ## @.str.2
	.asciz	"%d XXCH channels"

	.comm	_AVERROR_PATCHWELCOME,4,2       ## @AVERROR_PATCHWELCOME
	.comm	_DCA_SPEAKER_Cs,4,2             ## @DCA_SPEAKER_Cs
L_.str.3:                               ## @.str.3
	.asciz	"Invalid XXCH speaker layout mask (%#x)\n"

L_.str.4:                               ## @.str.4
	.asciz	"XXCH speaker layout mask (%#x) overlaps with core (%#x)\n"

	.comm	_FF_DCA_DMIXTABLE_OFFSET,4,2    ## @FF_DCA_DMIXTABLE_OFFSET
	.comm	_FF_DCA_INV_DMIXTABLE_SIZE,4,2  ## @FF_DCA_INV_DMIXTABLE_SIZE
L_.str.5:                               ## @.str.5
	.asciz	"Invalid XXCH downmix scale index (%d)\n"

	.comm	_ff_dca_inv_dmixtable,8,3       ## @ff_dca_inv_dmixtable
L_.str.6:                               ## @.str.6
	.asciz	"Invalid XXCH downmix channel mapping mask (%#x)\n"

	.comm	_FF_DCA_DMIXTABLE_SIZE,4,2      ## @FF_DCA_DMIXTABLE_SIZE
L_.str.7:                               ## @.str.7
	.asciz	"Invalid XXCH downmix coefficient index (%d)\n"

	.comm	_ff_dca_dmixtable,8,3           ## @ff_dca_dmixtable
	.comm	_DCA_SUBBANDS,8,3               ## @DCA_SUBBANDS
L_.str.8:                               ## @.str.8
	.asciz	"Invalid subband activity count\n"

L_.str.9:                               ## @.str.9
	.asciz	"Invalid joint intensity coding index\n"

L_.str.10:                              ## @.str.10
	.asciz	"Invalid scale factor code book\n"

L_.str.11:                              ## @.str.11
	.asciz	"Invalid bit allocation quantizer select\n"

	.comm	_DCA_CODE_BOOKS,4,2             ## @DCA_CODE_BOOKS
	.comm	_ff_dca_quant_index_sel_nbits,8,3 ## @ff_dca_quant_index_sel_nbits
	.comm	_ff_dca_quant_index_group_size,8,3 ## @ff_dca_quant_index_group_size
	.comm	_ff_dca_scale_factor_adj,8,3    ## @ff_dca_scale_factor_adj
L_.str.12:                              ## @.str.12
	.asciz	"Read past end of XXCH channel set header\n"

	.no_dead_strip	_parse_coding_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_coding_header
_parse_coding_header:                   ; @parse_coding_header
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x22, x2
	mov	x21, x1
	mov	x19, x0
	add	x20, x0, #96
	mov	x0, x20
	bl	_get_bits_count
	mov	x26, x0
	mov	x0, x20
	bl	_get_bits_left
	tbnz	x0, #63, LBB0_74
; %bb.1:
	cmp	w21, #128
	b.eq	LBB0_8
; %bb.2:
	cmp	w21, #129
	b.eq	LBB0_11
; %bb.3:
	cmp	w21, #130
	b.ne	LBB0_7
; %bb.4:
	mov	x0, x20
	mov	w1, #4
	bl	_get_bits
	add	w8, w0, #1
	str	w8, [x19, #152]
	mov	x0, x20
	mov	w1, #3
	bl	_get_bits
	add	w8, w0, #1
Lloh0:
	adrp	x9, _ff_dca_channels@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ff_dca_channels@GOTPAGEOFF]
	str	w8, [x19]
Lloh2:
	ldr	x10, [x9]
	ldr	x9, [x19, #8]
	ldr	w10, [x10, x9, lsl #2]
	cmp	w8, w10
	b.ne	LBB0_50
; %bb.5:
Lloh3:
	adrp	x9, _DCA_CHANNELS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DCA_CHANNELS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	sub	w9, w9, #2
	cmp	w8, w9
	cset	w0, le
	bl	_av_assert1
Lloh6:
	adrp	x8, _audio_mode_ch_mask@GOTPAGE
Lloh7:
	ldr	x8, [x8, _audio_mode_ch_mask@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
	ldr	w8, [x8, x9, lsl #2]
	str	w8, [x19, #16]
	ldr	w9, [x19, #148]
	cbz	w9, LBB0_7
; %bb.6:
	mov	w28, #0
Lloh9:
	adrp	x9, _DCA_SPEAKER_MASK_LFE1@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DCA_SPEAKER_MASK_LFE1@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	b	LBB0_12
LBB0_7:
	mov	w28, #0
	b	LBB0_13
LBB0_8:
	mov	x0, x20
	mov	w1, #7
	bl	_get_bits
	add	w28, w0, #1
	ldr	w8, [x19, #144]
	cbz	w8, LBB0_48
; %bb.9:
	ldr	w0, [x19, #112]
	add	w3, w26, w28, lsl #3
	mov	x1, x20
	mov	x2, x26
	bl	_ff_dca_check_crc
	cbz	w0, LBB0_48
; %bb.10:
	ldr	w0, [x19, #112]
Lloh12:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x2, l_.str.1@PAGE
Lloh16:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_73
LBB0_11:
Lloh17:
	adrp	x8, _ff_dca_channels@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ff_dca_channels@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
	ldr	w8, [x8, x9, lsl #2]
	add	w9, w8, #1
	str	w9, [x19]
Lloh20:
	adrp	x9, _DCA_CHANNELS@GOTPAGE
Lloh21:
	ldr	x9, [x9, _DCA_CHANNELS@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	sub	w9, w9, #1
	cmp	w8, w9
	cset	w0, lt
	bl	_av_assert1
	mov	w28, #0
Lloh23:
	adrp	x8, _DCA_SPEAKER_MASK_Cs@GOTPAGE
Lloh24:
	ldr	x8, [x8, _DCA_SPEAKER_MASK_Cs@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
LBB0_12:
	orr	w8, w9, w8
	str	w8, [x19, #16]
LBB0_13:
	ldr	w8, [x19]
	cmp	w8, w22
	b.le	LBB0_18
; %bb.14:
	sxtw	x23, w22
Lloh26:
	adrp	x24, _DCA_SUBBANDS@GOTPAGE
Lloh27:
	ldr	x24, [x24, _DCA_SUBBANDS@GOTPAGEOFF]
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	w1, #5
	bl	_get_bits
	add	x8, x0, #2
	ldr	x9, [x19, #48]
	str	x8, [x9, x23, lsl #3]
	ldr	x9, [x24]
	cmp	x8, x9
	b.gt	LBB0_47
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x19]
	cmp	x23, x8
	b.lt	LBB0_15
; %bb.17:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
LBB0_18:
	cmp	w8, w22
	b.le	LBB0_22
; %bb.19:
	mov	x8, x22
	sxtw	x23, w8
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	w1, #5
	bl	_get_bits
	add	x8, x0, #1
	ldr	x9, [x19, #128]
	str	x8, [x9, x23, lsl #3]
	add	x23, x23, #1
	ldrsw	x8, [x19]
	cmp	x23, x8
	b.lt	LBB0_20
; %bb.21:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
LBB0_22:
	cmp	w8, w22
	b.le	LBB0_27
; %bb.23:
	sub	w23, w22, #1
	mov	x8, x22
	sxtw	x24, w8
	mov	w25, #128
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	w1, #3
	bl	_get_bits
	cmp	w0, #0
	ccmp	w21, w25, #0, ne
	csel	w8, w23, wzr, eq
	ldr	w9, [x19]
	add	w8, w8, w0
	cmp	w8, w9
	b.gt	LBB0_63
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	x9, [x19, #56]
	str	w8, [x9, x24, lsl #2]
	add	x24, x24, #1
	ldrsw	x8, [x19]
	cmp	x24, x8
	b.lt	LBB0_24
; %bb.26:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
LBB0_27:
	cmp	w8, w22
	b.le	LBB0_31
; %bb.28:
	mov	x8, x22
	sxtw	x23, w8
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	w1, #2
	bl	_get_bits
	ldr	x8, [x19, #64]
	str	x0, [x8, x23, lsl #3]
	add	x23, x23, #1
	ldrsw	x8, [x19]
	cmp	x23, x8
	b.lt	LBB0_29
; %bb.30:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
LBB0_31:
	cmp	w8, w22
	b.le	LBB0_36
; %bb.32:
	mov	x8, x22
	sxtw	x23, w8
LBB0_33:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	w1, #3
	bl	_get_bits
	ldr	x8, [x19, #72]
	str	x0, [x8, x23, lsl #3]
	cmp	x0, #7
	b.eq	LBB0_67
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x19]
	cmp	x23, x8
	b.lt	LBB0_33
; %bb.35:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
LBB0_36:
	stp	w26, w21, [sp, #24]             ; 8-byte Folded Spill
	cmp	w8, w22
	b.le	LBB0_41
; %bb.37:
	mov	x8, x22
	sxtw	x23, w8
LBB0_38:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	w1, #3
	bl	_get_bits
	ldr	x8, [x19, #80]
	str	x0, [x8, x23, lsl #3]
	cmp	x0, #7
	b.eq	LBB0_71
; %bb.39:                               ;   in Loop: Header=BB0_38 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x19]
	cmp	x23, x8
	b.lt	LBB0_38
; %bb.40:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
LBB0_41:
	str	w28, [sp, #20]                  ; 4-byte Folded Spill
Lloh28:
	adrp	x24, _DCA_CODE_BOOKS@GOTPAGE
Lloh29:
	ldr	x24, [x24, _DCA_CODE_BOOKS@GOTPAGEOFF]
	ldr	w9, [x24]
	cmp	w9, #1
	b.lt	LBB0_60
; %bb.42:
	mov	x26, #0
	mov	x10, x22
	sxtw	x23, w10
Lloh30:
	adrp	x27, _ff_dca_quant_index_sel_nbits@GOTPAGE
Lloh31:
	ldr	x27, [x27, _ff_dca_quant_index_sel_nbits@GOTPAGEOFF]
	b	LBB0_44
LBB0_43:                                ;   in Loop: Header=BB0_44 Depth=1
	add	x26, x26, #1
	cmp	x26, w9, sxtw
	b.ge	LBB0_51
LBB0_44:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_45 Depth 2
	mov	x25, x23
	cmp	w8, w22
	b.le	LBB0_43
LBB0_45:                                ;   Parent Loop BB0_44 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x27]
	ldr	w1, [x8, x26, lsl #2]
	mov	x0, x20
	bl	_get_bits
	ldr	x8, [x19, #88]
	ldr	x8, [x8, x25, lsl #3]
	str	x0, [x8, x26, lsl #3]
	add	x25, x25, #1
	ldrsw	x8, [x19]
	cmp	x25, x8
	b.lt	LBB0_45
; %bb.46:                               ;   in Loop: Header=BB0_44 Depth=1
	ldr	w9, [x24]
	b	LBB0_43
LBB0_47:
	ldr	w0, [x19, #112]
Lloh32:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
Lloh35:
	adrp	x2, l_.str.8@PAGE
Lloh36:
	add	x2, x2, l_.str.8@PAGEOFF
	b	LBB0_73
LBB0_48:
	mov	x0, x20
	mov	w1, #3
	bl	_get_bits
	mov	x25, x0
	add	w24, w25, #1
Lloh37:
	adrp	x8, _DCA_XXCH_CHANNELS_MAX@GOTPAGE
Lloh38:
	ldr	x8, [x8, _DCA_XXCH_CHANNELS_MAX@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	cmp	w24, w8
	b.le	LBB0_68
; %bb.49:
	ldr	w0, [x19, #112]
Lloh40:
	adrp	x1, l_.str.2@PAGE
Lloh41:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x24
	bl	_avpriv_request_sample
Lloh42:
	adrp	x8, _AVERROR_PATCHWELCOME@GOTPAGE
Lloh43:
	ldr	x8, [x8, _AVERROR_PATCHWELCOME@GOTPAGEOFF]
	b	LBB0_75
LBB0_50:
	ldr	w0, [x19, #112]
Lloh44:
	adrp	x10, _AV_LOG_ERROR@GOTPAGE
Lloh45:
	ldr	x10, [x10, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x10]
	stp	x8, x9, [sp]
Lloh47:
	adrp	x2, l_.str@PAGE
Lloh48:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_73
LBB0_51:
	cmp	w9, #1
	b.lt	LBB0_60
; %bb.52:
	mov	x27, #0
Lloh49:
	adrp	x28, _ff_dca_quant_index_group_size@GOTPAGE
Lloh50:
	ldr	x28, [x28, _ff_dca_quant_index_group_size@GOTPAGEOFF]
Lloh51:
	adrp	x26, _ff_dca_scale_factor_adj@GOTPAGE
Lloh52:
	ldr	x26, [x26, _ff_dca_scale_factor_adj@GOTPAGEOFF]
	b	LBB0_55
LBB0_53:                                ;   in Loop: Header=BB0_55 Depth=1
	ldr	w9, [x24]
LBB0_54:                                ;   in Loop: Header=BB0_55 Depth=1
	add	x27, x27, #1
	cmp	x27, w9, sxtw
	b.ge	LBB0_60
LBB0_55:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_58 Depth 2
	cmp	w8, w22
	b.le	LBB0_54
; %bb.56:                               ;   in Loop: Header=BB0_55 Depth=1
	mov	x25, x23
	b	LBB0_58
LBB0_57:                                ;   in Loop: Header=BB0_58 Depth=2
	add	x25, x25, #1
	cmp	x25, w8, sxtw
	b.ge	LBB0_53
LBB0_58:                                ;   Parent Loop BB0_55 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x19, #88]
	ldr	x9, [x9, x25, lsl #3]
	lsl	x10, x27, #3
	ldr	x9, [x9, x10]
	ldr	x11, [x28]
	ldr	x10, [x11, x10]
	cmp	x9, x10
	b.hs	LBB0_57
; %bb.59:                               ;   in Loop: Header=BB0_58 Depth=2
	ldr	x21, [x26]
	mov	x0, x20
	mov	w1, #2
	bl	_get_bits
	ldr	w8, [x21, x0, lsl #2]
	ldr	x9, [x19, #120]
	ldr	x9, [x9, x25, lsl #3]
	str	w8, [x9, x27, lsl #2]
	ldr	w8, [x19]
	b	LBB0_57
LBB0_60:
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cmp	w8, #128
	b.ne	LBB0_64
; %bb.61:
	ldp	w9, w8, [sp, #20]               ; 8-byte Folded Reload
	add	w1, w8, w9, lsl #3
	mov	x0, x20
	bl	_ff_dca_seek_bits
	cbz	x0, LBB0_76
; %bb.62:
	ldr	w0, [x19, #112]
Lloh53:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh54:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
Lloh56:
	adrp	x2, l_.str.12@PAGE
Lloh57:
	add	x2, x2, l_.str.12@PAGEOFF
	b	LBB0_73
LBB0_63:
	ldr	w0, [x19, #112]
Lloh58:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh59:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh60:
	ldr	w1, [x8]
Lloh61:
	adrp	x2, l_.str.9@PAGE
Lloh62:
	add	x2, x2, l_.str.9@PAGEOFF
	b	LBB0_73
LBB0_64:
	ldr	x8, [x19, #104]
	cbz	x8, LBB0_66
; %bb.65:
	mov	x0, x20
	mov	w1, #16
	bl	_skip_bits
LBB0_66:
	mov	w0, #0
	b	LBB0_76
LBB0_67:
	ldr	w0, [x19, #112]
Lloh63:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh64:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh65:
	ldr	w1, [x8]
Lloh66:
	adrp	x2, l_.str.10@PAGE
Lloh67:
	add	x2, x2, l_.str.10@PAGEOFF
	b	LBB0_73
LBB0_68:
Lloh68:
	adrp	x8, _ff_dca_channels@GOTPAGE
Lloh69:
	ldr	x8, [x8, _ff_dca_channels@GOTPAGEOFF]
Lloh70:
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
	ldr	w8, [x8, x9, lsl #2]
	add	w8, w8, w24
	str	w8, [x19]
Lloh71:
	adrp	x9, _DCA_CHANNELS@GOTPAGE
Lloh72:
	ldr	x9, [x9, _DCA_CHANNELS@GOTPAGEOFF]
Lloh73:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, le
	bl	_av_assert1
	ldr	w8, [x19, #20]
Lloh74:
	adrp	x23, _DCA_SPEAKER_Cs@GOTPAGE
Lloh75:
	ldr	x23, [x23, _DCA_SPEAKER_Cs@GOTPAGEOFF]
	ldr	w9, [x23]
	sub	w1, w8, w9
	mov	x0, x20
	bl	_get_bits_long
	ldr	w8, [x23]
	lsl	w0, w0, w8
	str	w0, [x19, #24]
	bl	_av_popcount
	cmp	w0, w24
	b.ne	LBB0_72
; %bb.69:
	ldp	w8, w9, [x19, #24]
	tst	w8, w9
	b.eq	LBB0_77
; %bb.70:
	ldr	w0, [x19, #112]
Lloh76:
	adrp	x10, _AV_LOG_ERROR@GOTPAGE
Lloh77:
	ldr	x10, [x10, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh78:
	ldr	w1, [x10]
	stp	x8, x9, [sp]
Lloh79:
	adrp	x2, l_.str.4@PAGE
Lloh80:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_73
LBB0_71:
	ldr	w0, [x19, #112]
Lloh81:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh82:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh83:
	ldr	w1, [x8]
Lloh84:
	adrp	x2, l_.str.11@PAGE
Lloh85:
	add	x2, x2, l_.str.11@PAGEOFF
	b	LBB0_73
LBB0_72:
	ldr	w0, [x19, #112]
Lloh86:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh87:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh88:
	ldr	w1, [x8]
	ldr	w8, [x19, #24]
	str	x8, [sp]
Lloh89:
	adrp	x2, l_.str.3@PAGE
Lloh90:
	add	x2, x2, l_.str.3@PAGEOFF
LBB0_73:
	bl	_av_log
LBB0_74:
Lloh91:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh92:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
LBB0_75:
	ldr	w0, [x8]
LBB0_76:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_77:
	orr	w8, w8, w9
	str	w8, [x19, #16]
	mov	x0, x20
	bl	_get_bits1
	cbz	w0, LBB0_84
; %bb.78:
	ldr	x27, [x19, #32]
	mov	x0, x20
	bl	_get_bits1
	str	w0, [x19, #136]
	mov	x0, x20
	mov	w1, #6
	bl	_get_bits
Lloh93:
	adrp	x8, _FF_DCA_DMIXTABLE_OFFSET@GOTPAGE
Lloh94:
	ldr	x8, [x8, _FF_DCA_DMIXTABLE_OFFSET@GOTPAGEOFF]
Lloh95:
	ldr	w8, [x8]
	lsl	w9, w0, #2
	sub	w8, w9, w8
	sub	w8, w8, #3
Lloh96:
	adrp	x9, _FF_DCA_INV_DMIXTABLE_SIZE@GOTPAGE
Lloh97:
	ldr	x9, [x9, _FF_DCA_INV_DMIXTABLE_SIZE@GOTPAGEOFF]
Lloh98:
	ldr	w9, [x9]
	cmp	w8, w9
	b.hs	LBB0_85
; %bb.79:
Lloh99:
	adrp	x9, _ff_dca_inv_dmixtable@GOTPAGE
Lloh100:
	ldr	x9, [x9, _ff_dca_inv_dmixtable@GOTPAGEOFF]
Lloh101:
	ldr	x9, [x9]
	ldr	w8, [x9, w8, uxtw #2]
	str	w8, [x19, #140]
	mov	w8, #2147483646
	cmp	w25, w8
	b.hi	LBB0_13
; %bb.80:
	mov	x23, #0
LBB0_81:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x19, #20]
	mov	x0, x20
	bl	_get_bits_long
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x19, #28]
	bics	wzr, w0, w8
	b.ne	LBB0_96
; %bb.82:                               ;   in Loop: Header=BB0_81 Depth=1
	ldr	x8, [x19, #40]
	str	w0, [x8, x23, lsl #2]
	add	x23, x23, #1
	cmp	x24, x23
	b.ne	LBB0_81
; %bb.83:
	str	w28, [sp, #20]                  ; 4-byte Folded Spill
	mov	x23, x26
	mov	x25, #0
	ldr	w8, [x19, #20]
Lloh102:
	adrp	x28, _FF_DCA_DMIXTABLE_SIZE@GOTPAGE
Lloh103:
	ldr	x28, [x28, _FF_DCA_DMIXTABLE_SIZE@GOTPAGEOFF]
	mov	x9, x8
	b	LBB0_87
LBB0_84:
	str	wzr, [x19, #136]
	b	LBB0_13
LBB0_85:
	ldr	w0, [x19, #112]
Lloh104:
	adrp	x9, _AV_LOG_ERROR@GOTPAGE
Lloh105:
	ldr	x9, [x9, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh106:
	ldr	w1, [x9]
	str	x8, [sp]
Lloh107:
	adrp	x2, l_.str.5@PAGE
Lloh108:
	add	x2, x2, l_.str.5@PAGEOFF
	b	LBB0_73
LBB0_86:                                ;   in Loop: Header=BB0_87 Depth=1
	add	x25, x25, #1
	cmp	x25, x24
	b.eq	LBB0_97
LBB0_87:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_92 Depth 2
	cbz	w9, LBB0_86
; %bb.88:                               ;   in Loop: Header=BB0_87 Depth=1
	mov	w26, #0
	b	LBB0_92
LBB0_89:                                ;   in Loop: Header=BB0_92 Depth=2
	asr	w9, w0, #6
	sub	w9, w9, #1
Lloh109:
	adrp	x10, _ff_dca_dmixtable@GOTPAGE
Lloh110:
	ldr	x10, [x10, _ff_dca_dmixtable@GOTPAGEOFF]
Lloh111:
	ldr	x10, [x10]
	ldr	w8, [x10, w8, uxtw #2]
	eor	w8, w8, w9
	sub	w8, w8, w9
LBB0_90:                                ;   in Loop: Header=BB0_92 Depth=2
	str	w8, [x27], #4
	ldr	w8, [x19, #20]
LBB0_91:                                ;   in Loop: Header=BB0_92 Depth=2
	add	w26, w26, #1
	mov	x9, x8
	cmp	w26, w8
	b.hs	LBB0_86
LBB0_92:                                ;   Parent Loop BB0_87 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x19, #40]
	ldr	w9, [x9, x25, lsl #2]
	lsr	w9, w9, w26
	tbz	w9, #0, LBB0_91
; %bb.93:                               ;   in Loop: Header=BB0_92 Depth=2
	mov	x0, x20
	mov	w1, #7
	bl	_get_bits
	ands	w8, w0, #0x3f
	b.eq	LBB0_90
; %bb.94:                               ;   in Loop: Header=BB0_92 Depth=2
	lsl	w8, w8, #2
	sub	w8, w8, #3
	ldr	w9, [x28]
	cmp	w8, w9
	b.lo	LBB0_89
; %bb.95:
	ldr	w0, [x19, #112]
Lloh112:
	adrp	x9, _AV_LOG_ERROR@GOTPAGE
Lloh113:
	ldr	x9, [x9, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh114:
	ldr	w1, [x9]
	str	x8, [sp]
Lloh115:
	adrp	x2, l_.str.7@PAGE
Lloh116:
	add	x2, x2, l_.str.7@PAGEOFF
	b	LBB0_73
LBB0_96:
	ldr	w8, [x19, #112]
Lloh117:
	adrp	x9, _AV_LOG_ERROR@GOTPAGE
Lloh118:
	ldr	x9, [x9, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh119:
	ldr	w1, [x9]
	str	x0, [sp]
Lloh120:
	adrp	x2, l_.str.6@PAGE
Lloh121:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x8
	b	LBB0_73
LBB0_97:
	mov	x26, x23
	ldr	w28, [sp, #20]                  ; 4-byte Folded Reload
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpAdd	Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGot	Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGot	Lloh102, Lloh103
	.loh AdrpAdd	Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.loh AdrpAdd	Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh112, Lloh113, Lloh114
	.loh AdrpAdd	Lloh120, Lloh121
	.loh AdrpLdrGotLdr	Lloh117, Lloh118, Lloh119
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_ff_dca_channels,8,3            ; @ff_dca_channels
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid number of primary audio channels (%d) for audio channel arrangement (%d)\n"

	.comm	_DCA_CHANNELS,4,2               ; @DCA_CHANNELS
	.comm	_audio_mode_ch_mask,8,3         ; @audio_mode_ch_mask
	.comm	_DCA_SPEAKER_MASK_LFE1,4,2      ; @DCA_SPEAKER_MASK_LFE1
	.comm	_DCA_SPEAKER_MASK_Cs,4,2        ; @DCA_SPEAKER_MASK_Cs
l_.str.1:                               ; @.str.1
	.asciz	"Invalid XXCH channel set header checksum\n"

	.comm	_DCA_XXCH_CHANNELS_MAX,4,2      ; @DCA_XXCH_CHANNELS_MAX
l_.str.2:                               ; @.str.2
	.asciz	"%d XXCH channels"

	.comm	_AVERROR_PATCHWELCOME,4,2       ; @AVERROR_PATCHWELCOME
	.comm	_DCA_SPEAKER_Cs,4,2             ; @DCA_SPEAKER_Cs
l_.str.3:                               ; @.str.3
	.asciz	"Invalid XXCH speaker layout mask (%#x)\n"

l_.str.4:                               ; @.str.4
	.asciz	"XXCH speaker layout mask (%#x) overlaps with core (%#x)\n"

	.comm	_FF_DCA_DMIXTABLE_OFFSET,4,2    ; @FF_DCA_DMIXTABLE_OFFSET
	.comm	_FF_DCA_INV_DMIXTABLE_SIZE,4,2  ; @FF_DCA_INV_DMIXTABLE_SIZE
l_.str.5:                               ; @.str.5
	.asciz	"Invalid XXCH downmix scale index (%d)\n"

	.comm	_ff_dca_inv_dmixtable,8,3       ; @ff_dca_inv_dmixtable
l_.str.6:                               ; @.str.6
	.asciz	"Invalid XXCH downmix channel mapping mask (%#x)\n"

	.comm	_FF_DCA_DMIXTABLE_SIZE,4,2      ; @FF_DCA_DMIXTABLE_SIZE
l_.str.7:                               ; @.str.7
	.asciz	"Invalid XXCH downmix coefficient index (%d)\n"

	.comm	_ff_dca_dmixtable,8,3           ; @ff_dca_dmixtable
	.comm	_DCA_SUBBANDS,8,3               ; @DCA_SUBBANDS
l_.str.8:                               ; @.str.8
	.asciz	"Invalid subband activity count\n"

l_.str.9:                               ; @.str.9
	.asciz	"Invalid joint intensity coding index\n"

l_.str.10:                              ; @.str.10
	.asciz	"Invalid scale factor code book\n"

l_.str.11:                              ; @.str.11
	.asciz	"Invalid bit allocation quantizer select\n"

	.comm	_DCA_CODE_BOOKS,4,2             ; @DCA_CODE_BOOKS
	.comm	_ff_dca_quant_index_sel_nbits,8,3 ; @ff_dca_quant_index_sel_nbits
	.comm	_ff_dca_quant_index_group_size,8,3 ; @ff_dca_quant_index_group_size
	.comm	_ff_dca_scale_factor_adj,8,3    ; @ff_dca_scale_factor_adj
l_.str.12:                              ; @.str.12
	.asciz	"Read past end of XXCH channel set header\n"

	.no_dead_strip	_parse_coding_header
.subsections_via_symbols
