	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_x96_frame_exss
_parse_x96_frame_exss:                  ## @parse_x96_frame_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_DCA_EXSS_CHSETS_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	shlq	$2, %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	leaq	16(%r14), %r13
	movq	%r13, %rdi
	callq	_get_bits_count
	movl	%eax, %ebx
	movq	%r13, %rdi
	movl	$32, %esi
	callq	_get_bits_long
	movq	_DCA_SYNCWORD_X96@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	%r13, %rdi
	movl	$6, %esi
	callq	_get_bits
                                        ## kill: def $eax killed $eax def $rax
	movl	12(%r14), %edi
	movl	%ebx, %edx
	addl	$32, %edx
	leal	(%rbx,%rax,8), %ebx
	addl	$8, %ebx
	movq	%r13, %rsi
	movl	%ebx, %ecx
	callq	_ff_dca_check_crc
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	12(%r14), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_22
LBB0_1:
	movl	12(%r14), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
LBB0_22:
	xorl	%eax, %eax
	callq	_av_log
LBB0_23:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_24:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_26
## %bb.25:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r13, %rdi
	movl	$4, %esi
	callq	_get_bits
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, (%r14)
	leal	-9(%rax), %ecx
	cmpl	$-9, %ecx
	ja	LBB0_6
## %bb.5:
	movl	12(%r14), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str.2(%rip), %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_23
LBB0_6:
	movl	%ebx, -68(%rbp)                 ## 4-byte Spill
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_get_bits1
	movl	%eax, 20(%r14)
	movq	%r13, %rdi
	movl	$2, %esi
	callq	_get_bits
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testl	%eax, %eax
	js	LBB0_11
## %bb.7:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leal	1(%rax), %r12d
	xorl	%ebx, %ebx
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	$12, %esi
	callq	_get_bits
	incl	%eax
	movl	%eax, (%r15,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_8
## %bb.9:
	xorl	%ebx, %ebx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	$3, %esi
	callq	_get_bits
	incl	%eax
	movl	%eax, (%r15,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_10
LBB0_11:
	movq	%r13, %rdi
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	callq	_ff_dca_seek_bits
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movl	12(%r14), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_22
LBB0_13:
	movq	%r14, %rdi
	callq	_alloc_x96_sample_buffer
	testl	%eax, %eax
	js	LBB0_24
## %bb.14:
	movl	$0, 4(%r14)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testl	%ecx, %ecx
	js	LBB0_15
## %bb.16:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	incl	%ecx
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_get_bits_count
	movl	%eax, %ecx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r15,4), %r12d
	addl	%ebx, %r12d
	cmpl	8(%r14), %r12d
	jg	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movl	%r12d, 4(%r14)
	movq	%r14, %rdi
	movl	$1, %esi
	movl	%ebx, %edx
	movq	%rcx, %rbx
	callq	_parse_x96_frame_data
	movq	%rbx, %rcx
	testl	%eax, %eax
	js	LBB0_24
LBB0_20:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r15,4), %eax
	leal	(%rcx,%rax,8), %esi
	movq	%r13, %rdi
	callq	_ff_dca_seek_bits
	testq	%rax, %rax
	jne	LBB0_21
## %bb.17:                              ##   in Loop: Header=BB0_18 Depth=1
	incq	%r15
	xorl	%eax, %eax
	movl	%r12d, %ebx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%r15, %rcx
	jne	LBB0_18
	jmp	LBB0_24
LBB0_15:
	xorl	%eax, %eax
	jmp	LBB0_24
LBB0_21:
	movl	12(%r14), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	jmp	LBB0_22
LBB0_26:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DCA_EXSS_CHSETS_MAX,4,2        ## @DCA_EXSS_CHSETS_MAX
	.comm	_DCA_SYNCWORD_X96,8,3           ## @DCA_SYNCWORD_X96
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid X96 sync word\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
L_.str.1:                               ## @.str.1
	.asciz	"Invalid X96 frame header checksum\n"

L_.str.2:                               ## @.str.2
	.asciz	"Invalid X96 revision (%d)\n"

L_.str.3:                               ## @.str.3
	.asciz	"Read past end of X96 frame header\n"

L_.str.4:                               ## @.str.4
	.asciz	"Read past end of X96 channel set\n"

	.no_dead_strip	_parse_x96_frame_exss
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_x96_frame_exss
_parse_x96_frame_exss:                  ; @parse_x96_frame_exss
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _DCA_EXSS_CHSETS_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DCA_EXSS_CHSETS_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x7fffffff0
	sub	x23, x9, x12
	mov	sp, x23
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x24, x8, x12
	mov	sp, x24
	add	x20, x0, #16
	mov	x0, x20
	bl	_get_bits_count
	mov	x21, x0
	mov	x0, x20
	mov	w1, #32
	bl	_get_bits_long
Lloh10:
	adrp	x8, _DCA_SYNCWORD_X96@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DCA_SYNCWORD_X96@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x20
	mov	w1, #6
	bl	_get_bits
	ldr	w8, [x19, #12]
	add	w2, w21, #32
	add	w9, w21, w0, lsl #3
	add	w21, w9, #8
	mov	x0, x8
	mov	x1, x20
	mov	x3, x21
	bl	_ff_dca_check_crc
	cbz	x0, LBB0_8
; %bb.2:
	ldr	w0, [x19, #12]
Lloh13:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x2, l_.str.1@PAGE
Lloh17:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:
	ldr	w0, [x19, #12]
Lloh18:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x2, l_.str@PAGE
Lloh22:
	add	x2, x2, l_.str@PAGEOFF
LBB0_4:
	bl	_av_log
LBB0_5:
Lloh23:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
LBB0_6:
	ldur	x8, [x29, #-88]
Lloh26:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.7:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	x0, x20
	mov	w1, #4
	bl	_get_bits
                                        ; kill: def $w0 killed $w0 def $x0
	str	w0, [x19]
	sub	w8, w0, #9
	cmn	w8, #9
	b.hi	LBB0_10
; %bb.9:
	ldr	w8, [x19, #12]
Lloh29:
	adrp	x9, _AV_LOG_ERROR@GOTPAGE
Lloh30:
	ldr	x9, [x9, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x9]
	str	x0, [sp, #-16]!
Lloh32:
	adrp	x2, l_.str.2@PAGE
Lloh33:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x8
	bl	_av_log
	add	sp, sp, #16
	b	LBB0_5
LBB0_10:
	mov	x0, x20
	bl	_get_bits1
	str	w0, [x19, #20]
	mov	x0, x20
	mov	w1, #2
	bl	_get_bits
	mov	x22, x0
	tbnz	w0, #31, LBB0_15
; %bb.11:
	add	w25, w22, #1
	mov	x26, x25
	mov	x27, x23
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	w1, #12
	bl	_get_bits
	add	w8, w0, #1
	str	w8, [x27], #4
	subs	x26, x26, #1
	b.ne	LBB0_12
; %bb.13:
	mov	x26, x24
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	w1, #3
	bl	_get_bits
	add	w8, w0, #1
	str	w8, [x26], #4
	subs	x25, x25, #1
	b.ne	LBB0_14
LBB0_15:
	mov	x0, x20
	mov	x1, x21
	bl	_ff_dca_seek_bits
	cbz	x0, LBB0_17
; %bb.16:
	ldr	w0, [x19, #12]
Lloh34:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh35:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
Lloh37:
	adrp	x2, l_.str.3@PAGE
Lloh38:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_4
LBB0_17:
	mov	x0, x19
	bl	_alloc_x96_sample_buffer
	tbnz	w0, #31, LBB0_6
; %bb.18:
	str	wzr, [x19, #4]
	tbnz	w22, #31, LBB0_24
; %bb.19:
	mov	w21, #0
	add	w25, w22, #1
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_get_bits_count
	mov	x22, x0
	ldr	w8, [x24]
	ldr	w9, [x19, #8]
	add	w26, w8, w21
	cmp	w26, w9
	b.gt	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	str	w26, [x19, #4]
	mov	x0, x19
	mov	w1, #1
	mov	x2, x21
	bl	_parse_x96_frame_data
	tbnz	w0, #31, LBB0_6
LBB0_22:                                ;   in Loop: Header=BB0_20 Depth=1
	ldr	w8, [x23]
	add	w1, w22, w8, lsl #3
	mov	x0, x20
	bl	_ff_dca_seek_bits
	cbnz	x0, LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_20 Depth=1
	add	x23, x23, #4
	add	x24, x24, #4
	mov	x21, x26
	subs	x25, x25, #1
	b.ne	LBB0_20
	b	LBB0_6
LBB0_24:
	mov	w0, #0
	b	LBB0_6
LBB0_25:
	ldr	w0, [x19, #12]
Lloh39:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh40:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
Lloh42:
	adrp	x2, l_.str.4@PAGE
Lloh43:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_4
LBB0_26:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_DCA_EXSS_CHSETS_MAX,4,2        ; @DCA_EXSS_CHSETS_MAX
	.comm	_DCA_SYNCWORD_X96,8,3           ; @DCA_SYNCWORD_X96
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid X96 sync word\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
l_.str.1:                               ; @.str.1
	.asciz	"Invalid X96 frame header checksum\n"

l_.str.2:                               ; @.str.2
	.asciz	"Invalid X96 revision (%d)\n"

l_.str.3:                               ; @.str.3
	.asciz	"Read past end of X96 frame header\n"

l_.str.4:                               ; @.str.4
	.asciz	"Read past end of X96 channel set\n"

	.no_dead_strip	_parse_x96_frame_exss
.subsections_via_symbols
