	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_dca_core_parse_exss         ## -- Begin function ff_dca_core_parse_exss
	.p2align	4, 0x90
_ff_dca_core_parse_exss:                ## @ff_dca_core_parse_exss
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %rdx
	movq	%rdi, %r14
	movq	72(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %r13
	testq	%r12, %r12
	je	LBB0_2
## %bb.1:
	movl	(%r12), %edi
	cmpl	$0, 4(%r13)
	jne	LBB0_10
	jmp	LBB0_3
LBB0_2:
	xorl	%edi, %edi
	cmpl	$0, 4(%r13)
	jne	LBB0_10
LBB0_3:
	movq	_DCA_EXSS_XXCH@GOTPCREL(%rip), %r15
	testl	%edi, (%r15)
	je	LBB0_6
## %bb.4:
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	leaq	24(%r14), %rdi
	movslq	4(%r12), %rax
	movq	%rdx, %r13
	leaq	(%rdx,%rax,4), %rsi
	movl	24(%r12), %edx
	callq	_init_get_bits8
	testl	%eax, %eax
	js	LBB0_21
## %bb.5:
	movq	%r14, %rdi
	callq	_parse_xxch_frame
	movl	%eax, %ebx
	movq	%r13, %rdx
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	testl	%ebx, %ebx
	js	LBB0_28
LBB0_8:
	movl	(%r15), %eax
LBB0_9:
	orl	%eax, 8(%r14)
LBB0_10:
	movq	_DCA_EXSS_XBR@GOTPCREL(%rip), %r15
	testl	%edi, (%r15)
	je	LBB0_14
## %bb.11:
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	leaq	24(%r14), %rdi
	movslq	8(%r12), %rax
	movq	%rdx, %r13
	leaq	(%rdx,%rax,4), %rsi
	movl	20(%r12), %edx
	callq	_init_get_bits8
	testl	%eax, %eax
	js	LBB0_21
## %bb.12:
	movq	%r14, %rdi
	callq	_parse_xbr_frame
	testl	%eax, %eax
	js	LBB0_20
## %bb.13:
	movl	(%r15), %eax
	orl	%eax, 8(%r14)
	movq	%r13, %rdx
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	-44(%rbp), %edi                 ## 4-byte Reload
LBB0_14:
	movq	_DCA_PACKET_XLL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_16
LBB0_15:
	xorl	%ebx, %ebx
	jmp	LBB0_34
LBB0_16:
	movq	_DCA_EXSS_X96@GOTPCREL(%rip), %r15
	testl	%edi, (%r15)
	je	LBB0_22
## %bb.17:
	leaq	24(%r14), %rdi
	movslq	12(%r12), %rax
	leaq	(%rdx,%rax,4), %rsi
	movl	16(%r12), %edx
	callq	_init_get_bits8
	testl	%eax, %eax
	js	LBB0_21
## %bb.18:
	movq	%r14, %rdi
	callq	_parse_x96_frame_exss
	testl	%eax, %eax
	jns	LBB0_25
	jmp	LBB0_32
LBB0_21:
	movl	%eax, %ebx
LBB0_34:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	64(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_26
## %bb.7:
	movl	28(%r14), %eax
	movl	%edi, %r15d
	leaq	24(%r14), %rdi
	movl	%eax, 24(%r14)
	movq	%rdx, %rbx
	callq	_skip_bits_long
	movq	%r14, %rdi
	callq	_parse_xxch_frame
	movl	%r15d, %edi
	movq	%rbx, %rdx
	movl	%eax, %ebx
	movq	_DCA_CSS_XXCH@GOTPCREL(%rip), %r15
	testl	%ebx, %ebx
	jns	LBB0_8
LBB0_28:
	movq	_AV_EF_EXPLODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, (%rcx)
	jne	LBB0_34
## %bb.29:
	movq	_ff_dca_channels@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14), %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, 48(%r14)
	movq	_audio_mode_ch_mask@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rcx,4), %eax
	movl	%eax, 32(%r14)
	cmpq	$0, 40(%r14)
	je	LBB0_10
## %bb.30:
	movq	_DCA_SPEAKER_MASK_LFE1@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 32(%r14)
	jmp	LBB0_10
LBB0_20:
	movl	%eax, %ebx
	movq	_AV_EF_EXPLODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, (%rcx)
	movq	%r13, %rdx
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	jne	LBB0_34
	jmp	LBB0_14
LBB0_22:
	movq	16(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.23:
	movl	28(%r14), %eax
	leaq	24(%r14), %rdi
	movl	%eax, 24(%r14)
	callq	_skip_bits_long
	movq	%r14, %rdi
	callq	_parse_x96_frame
	testl	%eax, %eax
	js	LBB0_32
## %bb.24:
	movq	_DCA_CSS_X96@GOTPCREL(%rip), %r15
LBB0_25:
	movl	(%r15), %eax
	orl	%eax, 8(%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_34
LBB0_26:
	movq	56(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_35
## %bb.27:
	movl	28(%r14), %eax
	movl	%edi, %r15d
	leaq	24(%r14), %rdi
	movl	%eax, 24(%r14)
	movq	%rdx, %rbx
	callq	_skip_bits_long
	movq	%r14, %rdi
	callq	_parse_xch_frame
	movl	%r15d, %edi
	movq	%rbx, %rdx
	movl	%eax, %ebx
	movq	_DCA_CSS_XCH@GOTPCREL(%rip), %r15
	testl	%ebx, %ebx
	jns	LBB0_8
	jmp	LBB0_28
LBB0_32:
	movl	%eax, %ebx
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	cmpl	%eax, %ebx
	je	LBB0_34
## %bb.33:
	movq	_AV_EF_EXPLODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, (%rcx)
	jne	LBB0_34
	jmp	LBB0_15
LBB0_35:
	xorl	%eax, %eax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_DCA_EXSS_XXCH,4,2              ## @DCA_EXSS_XXCH
	.comm	_DCA_CSS_XXCH,4,2               ## @DCA_CSS_XXCH
	.comm	_DCA_CSS_XCH,4,2                ## @DCA_CSS_XCH
	.comm	_AV_EF_EXPLODE,4,2              ## @AV_EF_EXPLODE
	.comm	_ff_dca_channels,8,3            ## @ff_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_EXSS_XBR,4,2               ## @DCA_EXSS_XBR
	.comm	_DCA_PACKET_XLL,4,2             ## @DCA_PACKET_XLL
	.comm	_DCA_EXSS_X96,4,2               ## @DCA_EXSS_X96
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_DCA_CSS_X96,4,2                ## @DCA_CSS_X96
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_dca_core_parse_exss         ; -- Begin function ff_dca_core_parse_exss
	.p2align	2
_ff_dca_core_parse_exss:                ; @ff_dca_core_parse_exss
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x23, [x0, #72]
	ldr	x25, [x23, #8]
	cbz	x2, LBB0_2
; %bb.1:
	ldr	w24, [x20]
	ldr	w8, [x25, #4]
	cbnz	w8, LBB0_8
	b	LBB0_3
LBB0_2:
	mov	w24, #0
	ldr	w8, [x25, #4]
	cbnz	w8, LBB0_8
LBB0_3:
Lloh0:
	adrp	x8, _DCA_EXSS_XXCH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DCA_EXSS_XXCH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_20
; %bb.4:
	add	x0, x19, #24
	ldrsw	x8, [x20, #4]
	add	x1, x21, x8, lsl #2
	ldr	w2, [x20, #24]
	bl	_init_get_bits8
	tbnz	w0, #31, LBB0_18
; %bb.5:
	mov	x0, x19
	bl	_parse_xxch_frame
	mov	x22, x0
Lloh3:
	adrp	x8, _DCA_EXSS_XXCH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DCA_EXSS_XXCH@GOTPAGEOFF]
	tbnz	w22, #31, LBB0_22
LBB0_6:
	ldr	w8, [x8]
LBB0_7:
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
LBB0_8:
Lloh5:
	adrp	x26, _DCA_EXSS_XBR@GOTPAGE
Lloh6:
	ldr	x26, [x26, _DCA_EXSS_XBR@GOTPAGEOFF]
	ldr	w8, [x26]
	tst	w8, w24
	b.eq	LBB0_12
; %bb.9:
	add	x0, x19, #24
	ldrsw	x8, [x20, #8]
	add	x1, x21, x8, lsl #2
	ldr	w2, [x20, #20]
	bl	_init_get_bits8
	tbnz	w0, #31, LBB0_18
; %bb.10:
	mov	x0, x19
	bl	_parse_xbr_frame
	tbnz	w0, #31, LBB0_25
; %bb.11:
	ldr	w8, [x26]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
LBB0_12:
	ldr	w8, [x25]
Lloh7:
	adrp	x9, _DCA_PACKET_XLL@GOTPAGE
Lloh8:
	ldr	x9, [x9, _DCA_PACKET_XLL@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
LBB0_13:
	mov	w22, #0
	b	LBB0_19
LBB0_14:
Lloh10:
	adrp	x8, _DCA_EXSS_X96@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DCA_EXSS_X96@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_26
; %bb.15:
	add	x0, x19, #24
	ldp	w8, w2, [x20, #12]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	add	x1, x21, x8, lsl #2
	bl	_init_get_bits8
	tbnz	w0, #31, LBB0_18
; %bb.16:
	mov	x0, x19
	bl	_parse_x96_frame_exss
	tbnz	w0, #31, LBB0_32
; %bb.17:
Lloh13:
	adrp	x8, _DCA_EXSS_X96@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DCA_EXSS_X96@GOTPAGEOFF]
	b	LBB0_29
LBB0_18:
	mov	x22, x0
LBB0_19:
	mov	x0, x22
	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
LBB0_20:
	ldr	x1, [x19, #64]
	cbz	x1, LBB0_30
; %bb.21:
	ldr	w8, [x19, #28]
	mov	x0, x19
	str	w8, [x0, #24]!
	bl	_skip_bits_long
	mov	x0, x19
	bl	_parse_xxch_frame
	mov	x22, x0
Lloh15:
	adrp	x8, _DCA_CSS_XXCH@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DCA_CSS_XXCH@GOTPAGEOFF]
	tbz	w22, #31, LBB0_6
LBB0_22:
	ldr	w8, [x23]
Lloh17:
	adrp	x9, _AV_EF_EXPLODE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _AV_EF_EXPLODE@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_19
; %bb.23:
Lloh20:
	adrp	x8, _ff_dca_channels@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ff_dca_channels@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	ldr	x9, [x19]
	lsl	x9, x9, #2
	ldr	w8, [x8, x9]
Lloh23:
	adrp	x10, _audio_mode_ch_mask@GOTPAGE
Lloh24:
	ldr	x10, [x10, _audio_mode_ch_mask@GOTPAGEOFF]
	str	w8, [x19, #48]
Lloh25:
	ldr	x8, [x10]
	ldr	w8, [x8, x9]
	str	w8, [x19, #32]
	ldr	x9, [x19, #40]
	cbz	x9, LBB0_8
; %bb.24:
Lloh26:
	adrp	x9, _DCA_SPEAKER_MASK_LFE1@GOTPAGE
Lloh27:
	ldr	x9, [x9, _DCA_SPEAKER_MASK_LFE1@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19, #32]
	b	LBB0_8
LBB0_25:
	mov	x22, x0
	ldr	w8, [x23]
Lloh29:
	adrp	x9, _AV_EF_EXPLODE@GOTPAGE
Lloh30:
	ldr	x9, [x9, _AV_EF_EXPLODE@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_19
	b	LBB0_12
LBB0_26:
	ldr	x1, [x19, #16]
	cbz	x1, LBB0_13
; %bb.27:
	ldr	w8, [x19, #28]
	mov	x0, x19
	str	w8, [x0, #24]!
	bl	_skip_bits_long
	mov	x0, x19
	bl	_parse_x96_frame
	tbnz	w0, #31, LBB0_32
; %bb.28:
Lloh32:
	adrp	x8, _DCA_CSS_X96@GOTPAGE
Lloh33:
	ldr	x8, [x8, _DCA_CSS_X96@GOTPAGEOFF]
LBB0_29:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
	mov	w22, #0
	b	LBB0_19
LBB0_30:
	ldr	x1, [x19, #56]
	cbz	x1, LBB0_34
; %bb.31:
	ldr	w8, [x19, #28]
	mov	x0, x19
	str	w8, [x0, #24]!
	bl	_skip_bits_long
	mov	x0, x19
	bl	_parse_xch_frame
	mov	x22, x0
Lloh34:
	adrp	x8, _DCA_CSS_XCH@GOTPAGE
Lloh35:
	ldr	x8, [x8, _DCA_CSS_XCH@GOTPAGEOFF]
	tbz	w22, #31, LBB0_6
	b	LBB0_22
LBB0_32:
	mov	x22, x0
Lloh36:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	bl	_AVERROR
	cmp	w22, w0
	b.eq	LBB0_19
; %bb.33:
	ldr	w8, [x23]
Lloh39:
	adrp	x9, _AV_EF_EXPLODE@GOTPAGE
Lloh40:
	ldr	x9, [x9, _AV_EF_EXPLODE@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_19
	b	LBB0_13
LBB0_34:
	mov	w8, #0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_DCA_EXSS_XXCH,4,2              ; @DCA_EXSS_XXCH
	.comm	_DCA_CSS_XXCH,4,2               ; @DCA_CSS_XXCH
	.comm	_DCA_CSS_XCH,4,2                ; @DCA_CSS_XCH
	.comm	_AV_EF_EXPLODE,4,2              ; @AV_EF_EXPLODE
	.comm	_ff_dca_channels,8,3            ; @ff_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_EXSS_XBR,4,2               ; @DCA_EXSS_XBR
	.comm	_DCA_PACKET_XLL,4,2             ; @DCA_PACKET_XLL
	.comm	_DCA_EXSS_X96,4,2               ; @DCA_EXSS_X96
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_DCA_CSS_X96,4,2                ; @DCA_CSS_X96
.subsections_via_symbols
