	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_aux_data
_parse_aux_data:                        ## @parse_aux_data
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	28(%rdi), %r13
	movq	%r13, %rdi
	callq	_get_bits_left
	testq	%rax, %rax
	js	LBB0_17
## %bb.1:
	movq	%r13, %rdi
	movl	$6, %esi
	callq	_skip_bits
	movq	%r13, %rdi
	callq	_get_bits_count
	negl	%eax
	andl	$31, %eax
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_skip_bits_long
	movq	%r13, %rdi
	movl	$32, %esi
	callq	_get_bits_long
	movq	_DCA_SYNCWORD_REV1AUX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.3:
	movq	%r13, %rdi
	callq	_get_bits_count
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	callq	_get_bits1
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r13, %rdi
	movl	$47, %esi
	callq	_skip_bits_long
LBB0_5:
	movq	%r13, %rdi
	callq	_get_bits1
	movq	%rax, 40(%r14)
	testq	%rax, %rax
	je	LBB0_13
## %bb.6:
	movq	%r13, %rdi
	movl	$3, %esi
	callq	_get_bits
	movq	%rax, (%r14)
	movq	_DCA_DMIX_TYPE_COUNT@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jbe	LBB0_7
## %bb.8:
	movq	_ff_dca_dmix_primary_nch@GOTPCREL(%rip), %rdx
	movq	_ff_dca_channels@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	8(%r14), %rsi
	movl	(%rcx,%rsi,4), %ecx
	cmpl	$1, 32(%r14)
	sbbl	$-1, %ecx
	movq	(%rdx), %rdx
	imull	(%rdx,%rax,4), %ecx
	testl	%ecx, %ecx
	jle	LBB0_13
## %bb.9:
	movl	%ecx, %r12d
	xorl	%ebx, %ebx
	movq	_FF_DCA_DMIXTABLE_SIZE@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	$9, %esi
	callq	_get_bits
	movzbl	%al, %ecx
	cmpl	(%r15), %ecx
	jae	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	sarl	$8, %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
	movq	16(%r14), %rax
	movl	%ecx, (%rax,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_10
LBB0_13:
	movq	%r13, %rdi
	callq	_get_bits_count
	negl	%eax
	andl	$7, %eax
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_skip_bits
	movq	%r13, %rdi
	movl	$16, %esi
	callq	_skip_bits
	movl	24(%r14), %r12d
	movq	%r13, %rdi
	callq	_get_bits_count
	movl	%r12d, %edi
	movq	%r13, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%eax, %ecx
	callq	_ff_dca_check_crc
	testq	%rax, %rax
	je	LBB0_14
## %bb.15:
	movl	24(%r14), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_16
LBB0_2:
	movl	24(%r14), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_16
LBB0_7:
	movl	24(%r14), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_16
LBB0_14:
	xorl	%eax, %eax
	jmp	LBB0_18
LBB0_11:
	movl	24(%r14), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
LBB0_16:
	callq	_av_log
LBB0_17:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_DCA_SYNCWORD_REV1AUX,8,3       ## @DCA_SYNCWORD_REV1AUX
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid auxiliary data sync word\n"

	.comm	_DCA_DMIX_TYPE_COUNT,8,3        ## @DCA_DMIX_TYPE_COUNT
L_.str.1:                               ## @.str.1
	.asciz	"Invalid primary channel set downmix type\n"

	.comm	_ff_dca_dmix_primary_nch,8,3    ## @ff_dca_dmix_primary_nch
	.comm	_ff_dca_channels,8,3            ## @ff_dca_channels
	.comm	_FF_DCA_DMIXTABLE_SIZE,4,2      ## @FF_DCA_DMIXTABLE_SIZE
L_.str.2:                               ## @.str.2
	.asciz	"Invalid downmix coefficient index\n"

	.comm	_ff_dca_dmixtable,8,3           ## @ff_dca_dmixtable
L_.str.3:                               ## @.str.3
	.asciz	"Invalid auxiliary data checksum\n"

	.no_dead_strip	_parse_aux_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_aux_data
_parse_aux_data:                        ; @parse_aux_data
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	add	x20, x0, #28
	mov	x0, x20
	bl	_get_bits_left
	tbnz	x0, #63, LBB0_16
; %bb.1:
	mov	x0, x20
	mov	w1, #6
	bl	_skip_bits
	mov	x0, x20
	bl	_get_bits_count
	neg	w8, w0
	and	w1, w8, #0x1f
	mov	x0, x20
	bl	_skip_bits_long
	mov	x0, x20
	mov	w1, #32
	bl	_get_bits_long
Lloh0:
	adrp	x8, _DCA_SYNCWORD_REV1AUX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DCA_SYNCWORD_REV1AUX@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_12
; %bb.2:
	mov	x0, x20
	bl	_get_bits_count
	mov	x21, x0
	mov	x0, x20
	bl	_get_bits1
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x20
	mov	w1, #47
	bl	_skip_bits_long
LBB0_4:
	mov	x0, x20
	bl	_get_bits1
	str	x0, [x19, #40]
	cbz	x0, LBB0_10
; %bb.5:
	mov	x0, x20
	mov	w1, #3
	bl	_get_bits
	str	x0, [x19]
Lloh3:
	adrp	x8, _DCA_DMIX_TYPE_COUNT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DCA_DMIX_TYPE_COUNT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ls	LBB0_13
; %bb.6:
Lloh6:
	adrp	x8, _ff_dca_dmix_primary_nch@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ff_dca_dmix_primary_nch@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	w8, [x8, x0, lsl #2]
Lloh9:
	adrp	x9, _ff_dca_channels@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ff_dca_channels@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	x10, [x19, #8]
	ldr	w9, [x9, x10, lsl #2]
	ldr	w10, [x19, #32]
	cmp	w10, #0
	cinc	w9, w9, ne
	mul	w8, w9, w8
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.7:
	mov	x22, #0
	lsl	x23, x8, #2
Lloh12:
	adrp	x24, _FF_DCA_DMIXTABLE_SIZE@GOTPAGE
Lloh13:
	ldr	x24, [x24, _FF_DCA_DMIXTABLE_SIZE@GOTPAGEOFF]
Lloh14:
	adrp	x25, _ff_dca_dmixtable@GOTPAGE
Lloh15:
	ldr	x25, [x25, _ff_dca_dmixtable@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	w1, #9
	bl	_get_bits
	and	w8, w0, #0xff
	ldr	w9, [x24]
	cmp	w8, w9
	b.hs	LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	asr	w9, w0, #8
	sub	w9, w9, #1
	ldr	x10, [x25]
	ldr	w8, [x10, w8, uxtw #2]
	eor	w8, w8, w9
	sub	w8, w8, w9
	ldr	x9, [x19, #16]
	str	w8, [x9, x22]
	add	x22, x22, #4
	cmp	x23, x22
	b.ne	LBB0_8
LBB0_10:
	mov	x0, x20
	bl	_get_bits_count
	neg	w8, w0
	and	w1, w8, #0x7
	mov	x0, x20
	bl	_skip_bits
	mov	x0, x20
	mov	w1, #16
	bl	_skip_bits
	ldr	w22, [x19, #24]
	mov	x0, x20
	bl	_get_bits_count
	mov	x3, x0
	mov	x0, x22
	mov	x1, x20
	mov	x2, x21
	bl	_ff_dca_check_crc
	cbz	x0, LBB0_17
; %bb.11:
	ldr	w0, [x19, #24]
Lloh16:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x2, l_.str.3@PAGE
Lloh20:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_15
LBB0_12:
	ldr	w0, [x19, #24]
Lloh21:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x2, l_.str@PAGE
Lloh25:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_15
LBB0_13:
	ldr	w0, [x19, #24]
Lloh26:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
Lloh29:
	adrp	x2, l_.str.1@PAGE
Lloh30:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_15
LBB0_14:
	ldr	w0, [x19, #24]
Lloh31:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh32:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
Lloh34:
	adrp	x2, l_.str.2@PAGE
Lloh35:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_15:
	bl	_av_log
LBB0_16:
Lloh36:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh37:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
LBB0_17:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_DCA_SYNCWORD_REV1AUX,8,3       ; @DCA_SYNCWORD_REV1AUX
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid auxiliary data sync word\n"

	.comm	_DCA_DMIX_TYPE_COUNT,8,3        ; @DCA_DMIX_TYPE_COUNT
l_.str.1:                               ; @.str.1
	.asciz	"Invalid primary channel set downmix type\n"

	.comm	_ff_dca_dmix_primary_nch,8,3    ; @ff_dca_dmix_primary_nch
	.comm	_ff_dca_channels,8,3            ; @ff_dca_channels
	.comm	_FF_DCA_DMIXTABLE_SIZE,4,2      ; @FF_DCA_DMIXTABLE_SIZE
l_.str.2:                               ; @.str.2
	.asciz	"Invalid downmix coefficient index\n"

	.comm	_ff_dca_dmixtable,8,3           ; @ff_dca_dmixtable
l_.str.3:                               ; @.str.3
	.asciz	"Invalid auxiliary data checksum\n"

	.no_dead_strip	_parse_aux_data
.subsections_via_symbols
