	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_dca_parse_core_frame_header ## -- Begin function ff_dca_parse_core_frame_header
	.p2align	4, 0x90
_ff_dca_parse_core_frame_header:        ## @ff_dca_parse_core_frame_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	movl	$32, %esi
	callq	_get_bits_long
	movq	_DCA_SYNCWORD_CORE_BE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	callq	_get_bits1
	movq	%rax, 176(%r14)
	movq	%rbx, %rdi
	movl	$5, %esi
	callq	_get_bits
	incq	%rax
	movq	%rax, (%r14)
	movq	_DCA_PCMBLOCK_SAMPLES@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_5
## %bb.2:
	movq	%rbx, %rdi
	callq	_get_bits1
	movq	%rax, 96(%r14)
	movq	%rbx, %rdi
	movl	$7, %esi
	callq	_get_bits
	incl	%eax
	movl	%eax, 8(%r14)
	movq	_DCA_SUBBAND_SAMPLES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	decl	%ecx
	testl	%eax, %ecx
	je	LBB0_8
## %bb.3:
	movq	_DCA_PARSE_ERROR_PCM_BLOCKS@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_DCA_PARSE_ERROR_SYNC_WORD@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_DCA_PARSE_ERROR_DEFICIT_SAMPLES@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	movq	%rbx, %rdi
	movl	$14, %esi
	callq	_get_bits
	incl	%eax
	movl	%eax, 12(%r14)
	cmpl	$95, %eax
	jg	LBB0_10
## %bb.9:
	movq	_DCA_PARSE_ERROR_FRAME_SIZE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_10:
	movq	%rbx, %rdi
	movl	$6, %esi
	callq	_get_bits
	movq	%rax, 16(%r14)
	movq	_DCA_AMODE_COUNT@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jle	LBB0_14
## %bb.11:
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_get_bits
	movq	%rax, 24(%r14)
	movq	_avpriv_dca_sample_rates@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rcx,%rax,4)
	je	LBB0_15
## %bb.12:
	movq	%rbx, %rdi
	movl	$5, %esi
	callq	_get_bits
	movq	%rax, 168(%r14)
	movq	%rbx, %rdi
	callq	_get_bits1
	testq	%rax, %rax
	je	LBB0_16
## %bb.13:
	movq	_DCA_PARSE_ERROR_RESERVED_BIT@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_14:
	movq	_DCA_PARSE_ERROR_AMODE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_15:
	movq	_DCA_PARSE_ERROR_SAMPLE_RATE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_16:
	movq	%rbx, %rdi
	callq	_get_bits1
	movq	%rax, 160(%r14)
	movq	%rbx, %rdi
	callq	_get_bits1
	movq	%rax, 152(%r14)
	movq	%rbx, %rdi
	callq	_get_bits1
	movq	%rax, 144(%r14)
	movq	%rbx, %rdi
	callq	_get_bits1
	movq	%rax, 136(%r14)
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_get_bits
	movq	%rax, 128(%r14)
	movq	%rbx, %rdi
	callq	_get_bits1
	movq	%rax, 120(%r14)
	movq	%rbx, %rdi
	callq	_get_bits1
	movq	%rax, 112(%r14)
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_get_bits
	movq	%rax, 32(%r14)
	movq	_DCA_LFE_FLAG_INVALID@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_18
## %bb.17:
	movq	_DCA_PARSE_ERROR_LFE_FLAG@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_18:
	movq	%rbx, %rdi
	callq	_get_bits1
	movq	%rax, 104(%r14)
	cmpq	$0, 96(%r14)
	je	LBB0_20
## %bb.19:
	movq	%rbx, %rdi
	movl	$16, %esi
	callq	_skip_bits
LBB0_20:
	movq	%rbx, %rdi
	callq	_get_bits1
	movq	%rax, 88(%r14)
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_get_bits
	movq	%rax, 80(%r14)
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_get_bits
	movq	%rax, 72(%r14)
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_get_bits
	movq	%rax, 40(%r14)
	movq	_ff_dca_bits_per_sample@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rcx,%rax,4)
	je	LBB0_22
## %bb.21:
	movq	%rbx, %rdi
	callq	_get_bits1
	movq	%rax, 64(%r14)
	movq	%rbx, %rdi
	callq	_get_bits1
	movq	%rax, 56(%r14)
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_get_bits
	movq	%rax, 48(%r14)
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_22:
	movq	_DCA_PARSE_ERROR_PCM_RES@GOTPCREL(%rip), %rax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_DCA_SYNCWORD_CORE_BE,8,3       ## @DCA_SYNCWORD_CORE_BE
	.comm	_DCA_PARSE_ERROR_SYNC_WORD,4,2  ## @DCA_PARSE_ERROR_SYNC_WORD
	.comm	_DCA_PCMBLOCK_SAMPLES,8,3       ## @DCA_PCMBLOCK_SAMPLES
	.comm	_DCA_PARSE_ERROR_DEFICIT_SAMPLES,4,2 ## @DCA_PARSE_ERROR_DEFICIT_SAMPLES
	.comm	_DCA_SUBBAND_SAMPLES,4,2        ## @DCA_SUBBAND_SAMPLES
	.comm	_DCA_PARSE_ERROR_PCM_BLOCKS,4,2 ## @DCA_PARSE_ERROR_PCM_BLOCKS
	.comm	_DCA_PARSE_ERROR_FRAME_SIZE,4,2 ## @DCA_PARSE_ERROR_FRAME_SIZE
	.comm	_DCA_AMODE_COUNT,8,3            ## @DCA_AMODE_COUNT
	.comm	_DCA_PARSE_ERROR_AMODE,4,2      ## @DCA_PARSE_ERROR_AMODE
	.comm	_avpriv_dca_sample_rates,8,3    ## @avpriv_dca_sample_rates
	.comm	_DCA_PARSE_ERROR_SAMPLE_RATE,4,2 ## @DCA_PARSE_ERROR_SAMPLE_RATE
	.comm	_DCA_PARSE_ERROR_RESERVED_BIT,4,2 ## @DCA_PARSE_ERROR_RESERVED_BIT
	.comm	_DCA_LFE_FLAG_INVALID,8,3       ## @DCA_LFE_FLAG_INVALID
	.comm	_DCA_PARSE_ERROR_LFE_FLAG,4,2   ## @DCA_PARSE_ERROR_LFE_FLAG
	.comm	_ff_dca_bits_per_sample,8,3     ## @ff_dca_bits_per_sample
	.comm	_DCA_PARSE_ERROR_PCM_RES,4,2    ## @DCA_PARSE_ERROR_PCM_RES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_dca_parse_core_frame_header ; -- Begin function ff_dca_parse_core_frame_header
	.p2align	2
_ff_dca_parse_core_frame_header:        ; @ff_dca_parse_core_frame_header
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	mov	w1, #32
	bl	_get_bits_long
Lloh0:
	adrp	x8, _DCA_SYNCWORD_CORE_BE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DCA_SYNCWORD_CORE_BE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.1:
	mov	x0, x20
	bl	_get_bits1
	str	x0, [x19, #176]
	mov	x0, x20
	mov	w1, #5
	bl	_get_bits
	add	x8, x0, #1
	str	x8, [x19]
Lloh3:
	adrp	x9, _DCA_PCMBLOCK_SAMPLES@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DCA_PCMBLOCK_SAMPLES@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.2:
	mov	x0, x20
	bl	_get_bits1
	str	x0, [x19, #96]
	mov	x0, x20
	mov	w1, #7
	bl	_get_bits
	add	w8, w0, #1
	str	w8, [x19, #8]
Lloh6:
	adrp	x9, _DCA_SUBBAND_SAMPLES@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DCA_SUBBAND_SAMPLES@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	sub	w9, w9, #1
	tst	w9, w8
	b.eq	LBB0_8
; %bb.3:
Lloh9:
	adrp	x8, _DCA_PARSE_ERROR_PCM_BLOCKS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DCA_PARSE_ERROR_PCM_BLOCKS@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh11:
	adrp	x8, _DCA_PARSE_ERROR_SYNC_WORD@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DCA_PARSE_ERROR_SYNC_WORD@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh13:
	adrp	x8, _DCA_PARSE_ERROR_DEFICIT_SAMPLES@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DCA_PARSE_ERROR_DEFICIT_SAMPLES@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	x0, x20
	mov	w1, #14
	bl	_get_bits
	add	w8, w0, #1
	str	w8, [x19, #12]
	cmp	w8, #95
	b.gt	LBB0_10
; %bb.9:
Lloh15:
	adrp	x8, _DCA_PARSE_ERROR_FRAME_SIZE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DCA_PARSE_ERROR_FRAME_SIZE@GOTPAGEOFF]
	b	LBB0_6
LBB0_10:
	mov	x0, x20
	mov	w1, #6
	bl	_get_bits
	str	x0, [x19, #16]
Lloh17:
	adrp	x8, _DCA_AMODE_COUNT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DCA_AMODE_COUNT@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	cmp	x8, x0
	b.le	LBB0_14
; %bb.11:
	mov	x0, x20
	mov	w1, #4
	bl	_get_bits
	str	x0, [x19, #24]
Lloh20:
	adrp	x8, _avpriv_dca_sample_rates@GOTPAGE
Lloh21:
	ldr	x8, [x8, _avpriv_dca_sample_rates@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	ldr	w8, [x8, x0, lsl #2]
	cbz	w8, LBB0_15
; %bb.12:
	mov	x0, x20
	mov	w1, #5
	bl	_get_bits
	str	x0, [x19, #168]
	mov	x0, x20
	bl	_get_bits1
	cbz	x0, LBB0_16
; %bb.13:
Lloh23:
	adrp	x8, _DCA_PARSE_ERROR_RESERVED_BIT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _DCA_PARSE_ERROR_RESERVED_BIT@GOTPAGEOFF]
	b	LBB0_6
LBB0_14:
Lloh25:
	adrp	x8, _DCA_PARSE_ERROR_AMODE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _DCA_PARSE_ERROR_AMODE@GOTPAGEOFF]
	b	LBB0_6
LBB0_15:
Lloh27:
	adrp	x8, _DCA_PARSE_ERROR_SAMPLE_RATE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _DCA_PARSE_ERROR_SAMPLE_RATE@GOTPAGEOFF]
	b	LBB0_6
LBB0_16:
	mov	x0, x20
	bl	_get_bits1
	str	x0, [x19, #160]
	mov	x0, x20
	bl	_get_bits1
	str	x0, [x19, #152]
	mov	x0, x20
	bl	_get_bits1
	str	x0, [x19, #144]
	mov	x0, x20
	bl	_get_bits1
	str	x0, [x19, #136]
	mov	x0, x20
	mov	w1, #3
	bl	_get_bits
	str	x0, [x19, #128]
	mov	x0, x20
	bl	_get_bits1
	str	x0, [x19, #120]
	mov	x0, x20
	bl	_get_bits1
	str	x0, [x19, #112]
	mov	x0, x20
	mov	w1, #2
	bl	_get_bits
	str	x0, [x19, #32]
Lloh29:
	adrp	x8, _DCA_LFE_FLAG_INVALID@GOTPAGE
Lloh30:
	ldr	x8, [x8, _DCA_LFE_FLAG_INVALID@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_18
; %bb.17:
Lloh32:
	adrp	x8, _DCA_PARSE_ERROR_LFE_FLAG@GOTPAGE
Lloh33:
	ldr	x8, [x8, _DCA_PARSE_ERROR_LFE_FLAG@GOTPAGEOFF]
	b	LBB0_6
LBB0_18:
	mov	x0, x20
	bl	_get_bits1
	str	x0, [x19, #104]
	ldr	x8, [x19, #96]
	cbz	x8, LBB0_20
; %bb.19:
	mov	x0, x20
	mov	w1, #16
	bl	_skip_bits
LBB0_20:
	mov	x0, x20
	bl	_get_bits1
	str	x0, [x19, #88]
	mov	x0, x20
	mov	w1, #4
	bl	_get_bits
	str	x0, [x19, #80]
	mov	x0, x20
	mov	w1, #2
	bl	_get_bits
	str	x0, [x19, #72]
	mov	x0, x20
	mov	w1, #3
	bl	_get_bits
	str	x0, [x19, #40]
Lloh34:
	adrp	x8, _ff_dca_bits_per_sample@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ff_dca_bits_per_sample@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
	ldr	w8, [x8, x0, lsl #2]
	cbz	w8, LBB0_22
; %bb.21:
	mov	x0, x20
	bl	_get_bits1
	str	x0, [x19, #64]
	mov	x0, x20
	bl	_get_bits1
	str	x0, [x19, #56]
	mov	x0, x20
	mov	w1, #4
	bl	_get_bits
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19, #48]
	b	LBB0_7
LBB0_22:
Lloh37:
	adrp	x8, _DCA_PARSE_ERROR_PCM_RES@GOTPAGE
Lloh38:
	ldr	x8, [x8, _DCA_PARSE_ERROR_PCM_RES@GOTPAGEOFF]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_DCA_SYNCWORD_CORE_BE,8,3       ; @DCA_SYNCWORD_CORE_BE
	.comm	_DCA_PARSE_ERROR_SYNC_WORD,4,2  ; @DCA_PARSE_ERROR_SYNC_WORD
	.comm	_DCA_PCMBLOCK_SAMPLES,8,3       ; @DCA_PCMBLOCK_SAMPLES
	.comm	_DCA_PARSE_ERROR_DEFICIT_SAMPLES,4,2 ; @DCA_PARSE_ERROR_DEFICIT_SAMPLES
	.comm	_DCA_SUBBAND_SAMPLES,4,2        ; @DCA_SUBBAND_SAMPLES
	.comm	_DCA_PARSE_ERROR_PCM_BLOCKS,4,2 ; @DCA_PARSE_ERROR_PCM_BLOCKS
	.comm	_DCA_PARSE_ERROR_FRAME_SIZE,4,2 ; @DCA_PARSE_ERROR_FRAME_SIZE
	.comm	_DCA_AMODE_COUNT,8,3            ; @DCA_AMODE_COUNT
	.comm	_DCA_PARSE_ERROR_AMODE,4,2      ; @DCA_PARSE_ERROR_AMODE
	.comm	_avpriv_dca_sample_rates,8,3    ; @avpriv_dca_sample_rates
	.comm	_DCA_PARSE_ERROR_SAMPLE_RATE,4,2 ; @DCA_PARSE_ERROR_SAMPLE_RATE
	.comm	_DCA_PARSE_ERROR_RESERVED_BIT,4,2 ; @DCA_PARSE_ERROR_RESERVED_BIT
	.comm	_DCA_LFE_FLAG_INVALID,8,3       ; @DCA_LFE_FLAG_INVALID
	.comm	_DCA_PARSE_ERROR_LFE_FLAG,4,2   ; @DCA_PARSE_ERROR_LFE_FLAG
	.comm	_ff_dca_bits_per_sample,8,3     ; @ff_dca_bits_per_sample
	.comm	_DCA_PARSE_ERROR_PCM_RES,4,2    ; @DCA_PARSE_ERROR_PCM_RES
.subsections_via_symbols
