	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dcadec_decode_frame
_dcadec_decode_frame:                   ## @dcadec_decode_frame
	.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	(%rcx), %r12d
	movq	_MIN_PACKET_SIZE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jl	LBB0_14
## %bb.1:
	movq	_MAX_PACKET_SIZE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jg	LBB0_14
## %bb.2:
	movq	%rcx, %r15
	movq	%rdx, %r13
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rax
	movq	8(%rcx), %r14
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_AV_RB32
	movq	_DCA_SYNCWORD_CORE_BE@GOTPCREL(%rip), %rdx
	movq	_DCA_SYNCWORD_SUBSTREAM@GOTPCREL(%rip), %rcx
	cmpq	(%rdx), %rax
	je	LBB0_17
## %bb.3:
	cmpq	(%rcx), %rax
	je	LBB0_17
## %bb.4:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	leaq	72(%rbx), %rdi
	leaq	80(%rbx), %rsi
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movl	%r12d, %edx
	callq	_av_fast_padded_malloc
	movq	72(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_18
## %bb.5:
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	%r13d, %eax
	shrl	$31, %eax
	movq	_MIN_PACKET_SIZE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r12d
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	jl	LBB0_12
## %bb.6:
	testl	%r13d, %r13d
	jns	LBB0_12
## %bb.7:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_avpriv_dca_convert_bitstream
	movl	%eax, %r13d
	shrl	$31, %eax
	movq	_MIN_PACKET_SIZE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r12d
	jle	LBB0_12
## %bb.8:
	testl	%r13d, %r13d
	jns	LBB0_12
## %bb.9:
	movslq	%r12d, %r15
	addq	$4, %r14
	decl	%r12d
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdx
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_avpriv_dca_convert_bitstream
	movl	%eax, %r13d
	movq	_MIN_PACKET_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%r15, %rcx
	subq	%rax, %rcx
	movl	%r13d, %eax
	shrl	$31, %eax
	cmpq	%rcx, %rbx
	jge	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	addq	$4, %r14
	decl	%r12d
	incq	%rbx
	testl	%r13d, %r13d
	js	LBB0_10
LBB0_12:
	testb	%al, %al
	je	LBB0_19
## %bb.13:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_av_log
	jmp	LBB0_60
LBB0_14:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
LBB0_15:
	callq	_av_log
LBB0_16:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_60
LBB0_17:
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movl	%r12d, %r13d
	jmp	LBB0_20
LBB0_18:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_19:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r14
	movq	-104(%rbp), %r15                ## 8-byte Reload
LBB0_20:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	$0, (%rbx)
	movq	%r14, %rdi
	callq	_AV_RB32
	movq	_DCA_SYNCWORD_CORE_BE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_23
## %bb.21:
	leaq	16(%rbx), %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	callq	_ff_dca_core_parse
	testl	%eax, %eax
	js	LBB0_50
## %bb.22:
	movq	_DCA_PACKET_CORE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	movl	24(%rbx), %edi
	movl	$4, %esi
	callq	_FFALIGN
	leal	-4(%r13), %ecx
	xorl	%edx, %edx
	cmpl	%eax, %ecx
	cmovgl	%eax, %edx
	subl	%edx, %r13d
	movslq	%edx, %rax
	leaq	(%r14,%rax,4), %r14
LBB0_23:
	cmpq	$0, 8(%rbx)
	je	LBB0_27
LBB0_24:
	movl	(%rbx), %eax
	movq	_DCA_PACKET_LBR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_37
## %bb.25:
	addq	$56, %rbx
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_ff_dca_lbr_filter_frame
	testl	%eax, %eax
	jns	LBB0_59
	jmp	LBB0_50
LBB0_27:
	movq	%r14, %rdi
	callq	_AV_RB32
	movq	_DCA_SYNCWORD_SUBSTREAM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_51
## %bb.28:
	leaq	64(%rbx), %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	callq	_ff_dca_exss_parse
	testl	%eax, %eax
	js	LBB0_61
## %bb.29:
	movq	_DCA_PACKET_EXSS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	movq	64(%rbx), %r12
	testq	%r12, %r12
	je	LBB0_51
## %bb.30:
	movq	_DCA_EXSS_XLL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_34
## %bb.31:
	leaq	32(%rbx), %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_ff_dca_xll_parse
	testl	%eax, %eax
	js	LBB0_71
## %bb.32:
	movq	_DCA_PACKET_XLL@GOTPCREL(%rip), %rcx
	movl	(%rbx), %eax
	orl	(%rcx), %eax
LBB0_33:
	movl	%eax, (%rbx)
LBB0_34:
	movq	_DCA_EXSS_LBR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_52
## %bb.35:
	leaq	56(%rbx), %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_ff_dca_lbr_parse
	testl	%eax, %eax
	js	LBB0_75
## %bb.36:
	movq	_DCA_PACKET_LBR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	jmp	LBB0_52
LBB0_37:
	movq	_DCA_PACKET_XLL@GOTPCREL(%rip), %rdx
	movq	_DCA_PACKET_CORE@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	testl	%eax, (%rdx)
	je	LBB0_55
## %bb.38:
	testl	%eax, %ecx
	je	LBB0_44
## %bb.39:
	movq	48(%rbx), %rax
	movl	$-1, %esi
	cmpl	$96000, (%rax)                  ## imm = 0x17700
	jne	LBB0_41
## %bb.40:
	xorl	%eax, %eax
	cmpl	$48000, 16(%rbx)                ## imm = 0xBB80
	sete	%al
	leal	(%rax,%rax), %esi
	decl	%esi
LBB0_41:
	leaq	16(%rbx), %rdi
	callq	_ff_dca_core_filter_fixed
	testl	%eax, %eax
	js	LBB0_50
## %bb.42:
	movq	_DCA_PACKET_RESIDUAL@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, -52(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_67
LBB0_43:
	orl	%eax, (%rbx)
LBB0_44:
	leaq	32(%rbx), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_ff_dca_xll_filter_frame
	testl	%eax, %eax
	jns	LBB0_59
## %bb.45:
	movl	%eax, %r13d
	movl	(%r12), %eax
	testl	%eax, (%rbx)
	je	LBB0_60
## %bb.46:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_60
## %bb.47:
	movq	_AV_EF_EXPLODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, (%rcx)
	jne	LBB0_60
## %bb.48:
	addq	$16, %rbx
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_ff_dca_core_filter_frame
	testl	%eax, %eax
	jns	LBB0_59
	jmp	LBB0_50
LBB0_55:
	testl	%eax, %ecx
	je	LBB0_64
## %bb.56:
	leaq	16(%rbx), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_ff_dca_core_filter_frame
	testl	%eax, %eax
	js	LBB0_50
## %bb.57:
	movq	_DCA_FILTER_MODE_FIXED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 20(%rbx)
	je	LBB0_59
## %bb.58:
	movq	_DCA_PACKET_RESIDUAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_59:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	movl	(%r15), %r13d
	jmp	LBB0_60
LBB0_61:
	movl	%eax, %r13d
	movq	_AV_EF_EXPLODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, (%rcx)
	jne	LBB0_60
LBB0_51:
	xorl	%r12d, %r12d
LBB0_52:
	movq	_DCA_PACKET_CORE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_24
## %bb.53:
	leaq	16(%rbx), %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_ff_dca_core_parse_exss
	testl	%eax, %eax
	jns	LBB0_24
LBB0_50:
	movl	%eax, %r13d
LBB0_60:
	movl	%r13d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_64:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_av_log
	cmpq	$0, 8(%rbx)
	je	LBB0_16
## %bb.65:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	movq	%r14, %rdi
	jmp	LBB0_15
LBB0_67:
	cmpq	$0, 32(%rbx)
	jle	LBB0_43
## %bb.68:
	cmpl	$2, 40(%rbx)
	jl	LBB0_43
## %bb.69:
	movq	_AV_LOG_VERBOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_av_log
	movq	_DCA_PACKET_RECOVERY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	movl	(%r14), %eax
	jmp	LBB0_43
LBB0_71:
	movl	%eax, %r13d
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	cmpl	%eax, %r13d
	jne	LBB0_77
## %bb.72:
	movq	_DCA_PACKET_XLL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, -52(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_77
## %bb.73:
	movl	(%rbx), %eax
	movq	_DCA_PACKET_CORE@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_77
## %bb.74:
	movq	_DCA_PACKET_RECOVERY@GOTPCREL(%rip), %rdx
	orl	%ecx, %eax
	orl	(%rdx), %eax
	jmp	LBB0_33
LBB0_75:
	movl	%eax, %r13d
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	cmpl	%eax, %r13d
	je	LBB0_60
## %bb.76:
	movq	_AV_EF_EXPLODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, (%rcx)
	jne	LBB0_60
	jmp	LBB0_52
LBB0_77:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	cmpl	%eax, %r13d
	je	LBB0_60
## %bb.78:
	movq	_AV_EF_EXPLODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, (%rcx)
	jne	LBB0_60
	jmp	LBB0_34
	.cfi_endproc
                                        ## -- End function
	.comm	_MIN_PACKET_SIZE,4,2            ## @MIN_PACKET_SIZE
	.comm	_MAX_PACKET_SIZE,4,2            ## @MAX_PACKET_SIZE
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid packet size\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_DCA_SYNCWORD_CORE_BE,8,3       ## @DCA_SYNCWORD_CORE_BE
	.comm	_DCA_SYNCWORD_SUBSTREAM,8,3     ## @DCA_SYNCWORD_SUBSTREAM
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"Not a valid DCA frame\n"

	.comm	_DCA_PACKET_CORE,4,2            ## @DCA_PACKET_CORE
	.comm	_AV_EF_EXPLODE,4,2              ## @AV_EF_EXPLODE
	.comm	_DCA_PACKET_EXSS,4,2            ## @DCA_PACKET_EXSS
	.comm	_DCA_EXSS_XLL,4,2               ## @DCA_EXSS_XLL
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_DCA_PACKET_XLL,4,2             ## @DCA_PACKET_XLL
	.comm	_DCA_PACKET_RECOVERY,4,2        ## @DCA_PACKET_RECOVERY
	.comm	_DCA_EXSS_LBR,4,2               ## @DCA_EXSS_LBR
	.comm	_DCA_PACKET_LBR,4,2             ## @DCA_PACKET_LBR
	.comm	_DCA_PACKET_RESIDUAL,4,2        ## @DCA_PACKET_RESIDUAL
	.comm	_AV_LOG_VERBOSE,4,2             ## @AV_LOG_VERBOSE
L_.str.2:                               ## @.str.2
	.asciz	"Forcing XLL recovery mode\n"

	.comm	_DCA_FILTER_MODE_FIXED,4,2      ## @DCA_FILTER_MODE_FIXED
L_.str.3:                               ## @.str.3
	.asciz	"No valid DCA sub-stream found\n"

	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
L_.str.4:                               ## @.str.4
	.asciz	"Consider disabling 'core_only' option\n"

	.no_dead_strip	_dcadec_decode_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dcadec_decode_frame
_dcadec_decode_frame:                   ; @dcadec_decode_frame
	.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	x21, x0
	ldr	w27, [x3]
Lloh0:
	adrp	x20, _MIN_PACKET_SIZE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MIN_PACKET_SIZE@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh2:
	adrp	x9, _MAX_PACKET_SIZE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MAX_PACKET_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w27, w8
	ccmp	w27, w9, #0, ge
	b.le	LBB0_4
; %bb.1:
Lloh5:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
LBB0_2:
	mov	x0, x21
	bl	_av_log
LBB0_3:
Lloh10:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
	b	LBB0_52
LBB0_4:
	mov	x22, x2
	mov	x26, x1
	ldr	x28, [x21, #8]
	str	x3, [sp, #40]                   ; 8-byte Folded Spill
	ldr	x23, [x3, #8]
	ldr	w24, [x28]
	mov	x0, x23
	bl	_AV_RB32
Lloh12:
	adrp	x19, _DCA_SYNCWORD_CORE_BE@GOTPAGE
Lloh13:
	ldr	x19, [x19, _DCA_SYNCWORD_CORE_BE@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh14:
	adrp	x25, _DCA_SYNCWORD_SUBSTREAM@GOTPAGE
Lloh15:
	ldr	x25, [x25, _DCA_SYNCWORD_SUBSTREAM@GOTPAGEOFF]
	ldr	x9, [x25]
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	b.ne	LBB0_6
; %bb.5:
	str	w24, [sp, #36]                  ; 4-byte Folded Spill
	mov	x24, x27
	b	LBB0_18
LBB0_6:
	str	x26, [sp, #24]                  ; 8-byte Folded Spill
	add	x25, x28, #72
	add	x26, x28, #80
	mov	x0, x25
	mov	x1, x26
	mov	x2, x27
	bl	_av_fast_padded_malloc
	ldr	x2, [x28, #72]
	cbz	x2, LBB0_16
; %bb.7:
	str	w24, [sp, #36]                  ; 4-byte Folded Spill
Lloh16:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh18:
	ldr	w24, [x8]
	ldr	w9, [x20]
	lsr	w8, w24, #31
	cmp	w27, w9
	stp	x22, x21, [sp, #8]              ; 16-byte Folded Spill
	b.lt	LBB0_14
; %bb.8:
	tbz	w24, #31, LBB0_14
; %bb.9:
	ldr	w3, [x26]
	mov	x0, x23
	mov	x1, x27
	bl	_avpriv_dca_convert_bitstream
	mov	x24, x0
	ldr	w9, [x20]
	lsr	w8, w0, #31
	cmp	w27, w9
	b.le	LBB0_14
; %bb.10:
	tbz	w24, #31, LBB0_14
; %bb.11:
	sxtw	x21, w27
	add	x23, x23, #4
	sub	w27, w27, #1
	mov	w22, #1
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x2, [x25]
	ldr	w3, [x26]
	mov	x0, x23
	mov	x1, x27
	bl	_avpriv_dca_convert_bitstream
	mov	x24, x0
	ldrsw	x9, [x20]
	lsr	w8, w0, #31
	sub	x9, x21, x9
	cmp	x22, x9
	b.ge	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x23, x23, #4
	sub	w27, w27, #1
	add	x22, x22, #1
	tbnz	w24, #31, LBB0_12
LBB0_14:
	cbz	w8, LBB0_17
; %bb.15:
Lloh19:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
Lloh22:
	adrp	x2, l_.str.1@PAGE
Lloh23:
	add	x2, x2, l_.str.1@PAGEOFF
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	bl	_av_log
	b	LBB0_53
LBB0_16:
Lloh24:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	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
	b	_AVERROR
LBB0_17:
	ldr	x23, [x25]
	ldp	x22, x21, [sp, #8]              ; 16-byte Folded Reload
	ldr	x26, [sp, #24]                  ; 8-byte Folded Reload
Lloh27:
	adrp	x25, _DCA_SYNCWORD_SUBSTREAM@GOTPAGE
Lloh28:
	ldr	x25, [x25, _DCA_SYNCWORD_SUBSTREAM@GOTPAGEOFF]
LBB0_18:
	str	wzr, [x28]
	mov	x0, x23
	bl	_AV_RB32
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_21
; %bb.19:
	add	x0, x28, #16
	mov	x1, x23
	mov	x2, x24
	bl	_ff_dca_core_parse
	tbnz	w0, #31, LBB0_58
; %bb.20:
Lloh29:
	adrp	x8, _DCA_PACKET_CORE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _DCA_PACKET_CORE@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	ldr	w9, [x28]
	orr	w8, w9, w8
	str	w8, [x28]
	ldr	w0, [x28, #24]
	mov	w1, #4
	bl	_FFALIGN
	sub	w8, w24, #4
	cmp	w8, w0
	csel	w8, w0, wzr, gt
	sub	w24, w24, w8
	add	x23, x23, w8, sxtw #2
LBB0_21:
	ldr	x8, [x28, #8]
	cbz	x8, LBB0_24
LBB0_22:
	ldr	w8, [x28]
Lloh32:
	adrp	x9, _DCA_PACKET_LBR@GOTPAGE
Lloh33:
	ldr	x9, [x9, _DCA_PACKET_LBR@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_34
; %bb.23:
	add	x0, x28, #56
	mov	x1, x26
	bl	_ff_dca_lbr_filter_frame
	tbz	w0, #31, LBB0_51
	b	LBB0_58
LBB0_24:
	mov	x0, x23
	bl	_AV_RB32
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_43
; %bb.25:
	add	x0, x28, #64
	mov	x1, x23
	mov	x2, x24
	bl	_ff_dca_exss_parse
	tbnz	w0, #31, LBB0_42
; %bb.26:
Lloh35:
	adrp	x8, _DCA_PACKET_EXSS@GOTPAGE
Lloh36:
	ldr	x8, [x8, _DCA_PACKET_EXSS@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	ldr	w9, [x28]
	orr	w8, w9, w8
	str	w8, [x28]
	ldr	x25, [x28, #64]
	cbz	x25, LBB0_44
; %bb.27:
	ldr	w8, [x25]
Lloh38:
	adrp	x9, _DCA_EXSS_XLL@GOTPAGE
Lloh39:
	ldr	x9, [x9, _DCA_EXSS_XLL@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_31
; %bb.28:
	add	x0, x28, #32
	mov	x1, x23
	mov	x2, x25
	bl	_ff_dca_xll_parse
	tbnz	w0, #31, LBB0_64
; %bb.29:
Lloh41:
	adrp	x8, _DCA_PACKET_XLL@GOTPAGE
Lloh42:
	ldr	x8, [x8, _DCA_PACKET_XLL@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	ldr	w9, [x28]
	orr	w8, w9, w8
LBB0_30:
	str	w8, [x28]
LBB0_31:
	ldr	w8, [x25]
Lloh44:
	adrp	x9, _DCA_EXSS_LBR@GOTPAGE
Lloh45:
	ldr	x9, [x9, _DCA_EXSS_LBR@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_44
; %bb.32:
	add	x0, x28, #56
	mov	x1, x23
	mov	x2, x25
	bl	_ff_dca_lbr_parse
	tbnz	w0, #31, LBB0_68
; %bb.33:
Lloh47:
	adrp	x8, _DCA_PACKET_LBR@GOTPAGE
Lloh48:
	ldr	x8, [x8, _DCA_PACKET_LBR@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	ldr	w9, [x28]
	orr	w8, w9, w8
	str	w8, [x28]
	b	LBB0_44
LBB0_34:
Lloh50:
	adrp	x9, _DCA_PACKET_XLL@GOTPAGE
Lloh51:
	ldr	x9, [x9, _DCA_PACKET_XLL@GOTPAGEOFF]
Lloh52:
	ldr	w10, [x9]
Lloh53:
	adrp	x20, _DCA_PACKET_CORE@GOTPAGE
Lloh54:
	ldr	x20, [x20, _DCA_PACKET_CORE@GOTPAGEOFF]
	ldr	w9, [x20]
	and	w9, w9, w8
	tst	w10, w8
	b.eq	LBB0_38
; %bb.35:
	cbz	w9, LBB0_50
; %bb.36:
	ldr	x8, [x28, #48]
	ldr	w8, [x8]
	sub	w8, w8, #23, lsl #12            ; =94208
	cmp	w8, #1792
	b.ne	LBB0_46
; %bb.37:
	ldr	w8, [x28, #16]
	mov	w9, #48000
	cmp	w8, w9
	mov	w8, #1
	cneg	w1, w8, ne
	b	LBB0_47
LBB0_38:
	cbz	w9, LBB0_59
; %bb.39:
	add	x0, x28, #16
	mov	x1, x26
	bl	_ff_dca_core_filter_frame
	tbnz	w0, #31, LBB0_58
; %bb.40:
	ldr	w8, [x28, #20]
Lloh55:
	adrp	x9, _DCA_FILTER_MODE_FIXED@GOTPAGE
Lloh56:
	ldr	x9, [x9, _DCA_FILTER_MODE_FIXED@GOTPAGEOFF]
Lloh57:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_51
; %bb.41:
Lloh58:
	adrp	x8, _DCA_PACKET_RESIDUAL@GOTPAGE
Lloh59:
	ldr	x8, [x8, _DCA_PACKET_RESIDUAL@GOTPAGEOFF]
Lloh60:
	ldr	w8, [x8]
	ldr	w9, [x28]
	orr	w8, w9, w8
	str	w8, [x28]
	b	LBB0_51
LBB0_42:
	mov	x24, x0
	ldr	w8, [x21]
Lloh61:
	adrp	x9, _AV_EF_EXPLODE@GOTPAGE
Lloh62:
	ldr	x9, [x9, _AV_EF_EXPLODE@GOTPAGEOFF]
Lloh63:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_53
LBB0_43:
	mov	x25, #0
LBB0_44:
	ldr	w8, [x28]
Lloh64:
	adrp	x9, _DCA_PACKET_CORE@GOTPAGE
Lloh65:
	ldr	x9, [x9, _DCA_PACKET_CORE@GOTPAGEOFF]
Lloh66:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_22
; %bb.45:
	add	x0, x28, #16
	mov	x1, x23
	mov	x2, x25
	bl	_ff_dca_core_parse_exss
	tbz	w0, #31, LBB0_22
	b	LBB0_58
LBB0_46:
	mov	w1, #-1
LBB0_47:
	add	x0, x28, #16
	bl	_ff_dca_core_filter_fixed
	tbnz	w0, #31, LBB0_58
; %bb.48:
	mov	x23, x21
Lloh67:
	adrp	x21, _DCA_PACKET_RESIDUAL@GOTPAGE
Lloh68:
	ldr	x21, [x21, _DCA_PACKET_RESIDUAL@GOTPAGEOFF]
	ldr	w8, [x21]
	ldr	w9, [sp, #36]                   ; 4-byte Folded Reload
	tst	w8, w9
	b.eq	LBB0_61
LBB0_49:
	ldr	w9, [x28]
	orr	w8, w9, w8
	str	w8, [x28]
	mov	x21, x23
LBB0_50:
	add	x0, x28, #32
	mov	x1, x26
	bl	_ff_dca_xll_filter_frame
	tbnz	w0, #31, LBB0_54
LBB0_51:
	mov	w8, #1
	str	w8, [x22]
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
LBB0_52:
	ldr	w24, [x8]
LBB0_53:
	mov	x0, x24
	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
LBB0_54:
	mov	x24, x0
	ldr	w8, [x28]
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_53
; %bb.55:
Lloh69:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh70:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh71:
	ldr	w8, [x8]
	cmp	w24, w8
	b.ne	LBB0_53
; %bb.56:
	ldr	w8, [x21]
Lloh72:
	adrp	x9, _AV_EF_EXPLODE@GOTPAGE
Lloh73:
	ldr	x9, [x9, _AV_EF_EXPLODE@GOTPAGEOFF]
Lloh74:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_53
; %bb.57:
	add	x0, x28, #16
	mov	x1, x26
	bl	_ff_dca_core_filter_frame
	tbz	w0, #31, LBB0_51
LBB0_58:
	mov	x24, x0
	b	LBB0_53
LBB0_59:
Lloh75:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh76:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh77:
	ldr	w1, [x8]
Lloh78:
	adrp	x2, l_.str.3@PAGE
Lloh79:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_av_log
	ldr	x8, [x28, #8]
	cbz	x8, LBB0_3
; %bb.60:
Lloh80:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh81:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh82:
	ldr	w1, [x8]
Lloh83:
	adrp	x2, l_.str.4@PAGE
Lloh84:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_2
LBB0_61:
	ldr	x9, [x28, #32]
	cmp	x9, #1
	b.lt	LBB0_49
; %bb.62:
	ldr	w9, [x28, #40]
	cmp	w9, #2
	b.lt	LBB0_49
; %bb.63:
Lloh85:
	adrp	x8, _AV_LOG_VERBOSE@GOTPAGE
Lloh86:
	ldr	x8, [x8, _AV_LOG_VERBOSE@GOTPAGEOFF]
Lloh87:
	ldr	w1, [x8]
Lloh88:
	adrp	x2, l_.str.2@PAGE
Lloh89:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x23
	bl	_av_log
Lloh90:
	adrp	x8, _DCA_PACKET_RECOVERY@GOTPAGE
Lloh91:
	ldr	x8, [x8, _DCA_PACKET_RECOVERY@GOTPAGEOFF]
Lloh92:
	ldr	w8, [x8]
	ldr	w9, [x28]
	orr	w8, w9, w8
	str	w8, [x28]
	ldr	w8, [x21]
	b	LBB0_49
LBB0_64:
	mov	x24, x0
Lloh93:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh94:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh95:
	ldr	w0, [x8]
	bl	_AVERROR
	cmp	w24, w0
	b.ne	LBB0_70
; %bb.65:
Lloh96:
	adrp	x8, _DCA_PACKET_XLL@GOTPAGE
Lloh97:
	ldr	x8, [x8, _DCA_PACKET_XLL@GOTPAGEOFF]
Lloh98:
	ldr	w8, [x8]
	ldr	w9, [sp, #36]                   ; 4-byte Folded Reload
	tst	w8, w9
	b.eq	LBB0_70
; %bb.66:
	ldr	w9, [x28]
Lloh99:
	adrp	x10, _DCA_PACKET_CORE@GOTPAGE
Lloh100:
	ldr	x10, [x10, _DCA_PACKET_CORE@GOTPAGEOFF]
Lloh101:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_70
; %bb.67:
Lloh102:
	adrp	x10, _DCA_PACKET_RECOVERY@GOTPAGE
Lloh103:
	ldr	x10, [x10, _DCA_PACKET_RECOVERY@GOTPAGEOFF]
Lloh104:
	ldr	w10, [x10]
	orr	w8, w9, w8
	orr	w8, w8, w10
	b	LBB0_30
LBB0_68:
	mov	x24, x0
Lloh105:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh106:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh107:
	ldr	w0, [x8]
	bl	_AVERROR
	cmp	w24, w0
	b.eq	LBB0_53
; %bb.69:
	ldr	w8, [x21]
Lloh108:
	adrp	x9, _AV_EF_EXPLODE@GOTPAGE
Lloh109:
	ldr	x9, [x9, _AV_EF_EXPLODE@GOTPAGEOFF]
Lloh110:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_53
	b	LBB0_44
LBB0_70:
Lloh111:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh112:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh113:
	ldr	w0, [x8]
	bl	_AVERROR
	cmp	w24, w0
	b.eq	LBB0_53
; %bb.71:
	ldr	w8, [x21]
Lloh114:
	adrp	x9, _AV_EF_EXPLODE@GOTPAGE
Lloh115:
	ldr	x9, [x9, _AV_EF_EXPLODE@GOTPAGEOFF]
Lloh116:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_53
	b	LBB0_31
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.cfi_endproc
                                        ; -- End function
	.comm	_MIN_PACKET_SIZE,4,2            ; @MIN_PACKET_SIZE
	.comm	_MAX_PACKET_SIZE,4,2            ; @MAX_PACKET_SIZE
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid packet size\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_DCA_SYNCWORD_CORE_BE,8,3       ; @DCA_SYNCWORD_CORE_BE
	.comm	_DCA_SYNCWORD_SUBSTREAM,8,3     ; @DCA_SYNCWORD_SUBSTREAM
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"Not a valid DCA frame\n"

	.comm	_DCA_PACKET_CORE,4,2            ; @DCA_PACKET_CORE
	.comm	_AV_EF_EXPLODE,4,2              ; @AV_EF_EXPLODE
	.comm	_DCA_PACKET_EXSS,4,2            ; @DCA_PACKET_EXSS
	.comm	_DCA_EXSS_XLL,4,2               ; @DCA_EXSS_XLL
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_DCA_PACKET_XLL,4,2             ; @DCA_PACKET_XLL
	.comm	_DCA_PACKET_RECOVERY,4,2        ; @DCA_PACKET_RECOVERY
	.comm	_DCA_EXSS_LBR,4,2               ; @DCA_EXSS_LBR
	.comm	_DCA_PACKET_LBR,4,2             ; @DCA_PACKET_LBR
	.comm	_DCA_PACKET_RESIDUAL,4,2        ; @DCA_PACKET_RESIDUAL
	.comm	_AV_LOG_VERBOSE,4,2             ; @AV_LOG_VERBOSE
l_.str.2:                               ; @.str.2
	.asciz	"Forcing XLL recovery mode\n"

	.comm	_DCA_FILTER_MODE_FIXED,4,2      ; @DCA_FILTER_MODE_FIXED
l_.str.3:                               ; @.str.3
	.asciz	"No valid DCA sub-stream found\n"

	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
l_.str.4:                               ; @.str.4
	.asciz	"Consider disabling 'core_only' option\n"

	.no_dead_strip	_dcadec_decode_frame
.subsections_via_symbols
