	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_x96_subframe_audio
_parse_x96_subframe_audio:              ## @parse_x96_subframe_audio
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rax
	movslq	%esi, %rcx
	movq	_DCA_SUBBAND_SAMPLES@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r12d
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	imull	(%rax,%rcx,4), %r12d
	movl	(%rbx), %eax
	addl	%r12d, %eax
	cmpl	8(%rdi), %eax
	jle	LBB0_2
## %bb.1:
	movl	104(%r14), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
LBB0_55:
	callq	_av_log
	jmp	LBB0_56
LBB0_2:
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	leaq	108(%r14), %rdi
	movq	%rdi, -120(%rbp)                ## 8-byte Spill
	callq	_get_bits_left
	testq	%rax, %rax
	js	LBB0_56
## %bb.3:
	movl	12(%r14), %esi
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, %esi
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, -128(%rbp)                ## 8-byte Spill
	jle	LBB0_23
## %bb.4:
	leal	(,%r12,4), %ecx
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movslq	%eax, %rdx
	movq	24(%r14), %rcx
	movl	%r12d, %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	12(%r14), %esi
	movq	-88(%rbp), %r12                 ## 8-byte Reload
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%rdx
	movslq	%esi, %rax
	cmpq	%rax, %rdx
	jge	LBB0_23
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
                                        ##       Child Loop BB0_16 Depth 3
                                        ##         Child Loop BB0_18 Depth 4
                                        ##       Child Loop BB0_22 Depth 3
	movslq	16(%r14), %rdi
	cmpl	(%rcx,%rdx,4), %edi
	jge	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	jmp	LBB0_11
LBB0_9:                                 ##   in Loop: Header=BB0_11 Depth=2
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_memset
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	incq	%rdi
	movq	24(%r14), %rcx
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	movslq	(%rcx,%rdx,4), %rax
	cmpq	%rax, %rdi
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	jge	LBB0_5
LBB0_11:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_16 Depth 3
                                        ##         Child Loop BB0_18 Depth 4
                                        ##       Child Loop BB0_22 Depth 3
	movq	32(%r14), %rax
	movq	40(%r14), %rcx
	movq	(%rax,%rdx,8), %rax
	movslq	(%rbx), %r15
	shlq	$2, %r15
	addq	(%rax,%rdi,8), %r15
	movq	(%rcx,%rdx,8), %rax
	movl	%edi, %ecx
	sarl	%ecx
	movslq	%ecx, %rcx
	movq	(%rax,%rcx,8), %rax
	movl	%edi, %ecx
	andl	$1, %ecx
	movl	(%rax,%rcx,4), %r13d
	movq	48(%r14), %rax
	movq	(%rax,%rdx,8), %rax
	movl	(%rax,%rdi,4), %eax
	testl	%eax, %eax
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_19
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	cmpl	$1, %eax
	jne	LBB0_10
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	(%r14), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$0, (%rax,%rcx,4)
	jle	LBB0_10
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=2
	xorl	%ebx, %ebx
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_16 Depth=3
	movl	-96(%rbp), %ebx                 ## 4-byte Reload
	incl	%ebx
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	(%r14), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rax,%rcx,4), %eax
	movl	%eax, %ecx
	incl	%ecx
	shrl	$31, %ecx
	addl	%ecx, %eax
	incl	%eax
	sarl	%eax
	cmpl	%eax, %ebx
	jge	LBB0_10
LBB0_16:                                ##   Parent Loop BB0_7 Depth=1
                                        ##     Parent Loop BB0_11 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_18 Depth 4
	movq	_ff_dca_high_freq_vq@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movl	$10, %esi
	callq	_get_bits
	cltq
	movq	(%r14,%rax,8), %r12
	movl	%ebx, -96(%rbp)                 ## 4-byte Spill
	movl	%ebx, %eax
	shll	$4, %eax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, %r14d
	subl	%eax, %r14d
	movl	%r14d, %edi
	movl	$16, %esi
	callq	_FFMIN
	testl	%eax, %eax
	jle	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=3
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_7 Depth=1
                                        ##     Parent Loop BB0_11 Depth=2
                                        ##       Parent Loop BB0_16 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	movl	(%r12,%rbx,4), %edi
	imull	%r13d, %edi
	addl	$8, %edi
	sarl	$4, %edi
	callq	_clip23
	movl	%eax, (%r15)
	addq	$4, %r15
	incq	%rbx
	movl	%r14d, %edi
	movl	$16, %esi
	callq	_FFMIN
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_18
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_11 Depth=2
	cmpl	$2, %r13d
	jl	LBB0_9
## %bb.20:                              ##   in Loop: Header=BB0_11 Depth=2
	cmpl	$0, -88(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_10
## %bb.21:                              ##   in Loop: Header=BB0_11 Depth=2
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_7 Depth=1
                                        ##     Parent Loop BB0_11 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%r14, %rdi
	callq	_rand_x96
	movl	%eax, %edi
	movl	%r13d, %esi
	callq	_mul31
	movl	%eax, (%r15,%rbx,4)
	incq	%rbx
	cmpq	%rbx, -112(%rbp)                ## 8-byte Folded Reload
	jne	LBB0_22
	jmp	LBB0_10
LBB0_23:
	movl	(%rbx), %r13d
	movq	(%r14), %rcx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rcx,%rax,4)
	jle	LBB0_43
## %bb.24:
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movslq	%eax, %r15
	xorl	%edi, %edi
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
LBB0_25:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_28 Depth 2
                                        ##       Child Loop BB0_32 Depth 3
	cmpl	%eax, %esi
	jle	LBB0_37
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	movl	%edi, -56(%rbp)                 ## 4-byte Spill
	movl	%r13d, -104(%rbp)               ## 4-byte Spill
	movslq	%r13d, %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_28 Depth=2
	incq	%r15
	movslq	12(%r14), %rax
	cmpq	%rax, %r15
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	jge	LBB0_36
LBB0_28:                                ##   Parent Loop BB0_25 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_32 Depth 3
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	callq	_get_bits_left
	testq	%rax, %rax
	js	LBB0_56
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=2
	movslq	16(%r14), %r12
	movq	24(%r14), %rax
	cmpl	(%rax,%r15,4), %r12d
	jl	LBB0_32
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_32 Depth=3
	movl	%r14d, %ecx
	movq	(%rax), %rax
	movl	(%rax,%rcx,4), %edx
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	32(%rbx), %rax
	movq	40(%rbx), %rcx
	movq	(%rcx,%r15,8), %rcx
	movl	%r12d, %esi
	sarl	%esi
	movslq	%esi, %rsi
	movq	(%rcx,%rsi,8), %rcx
	movl	%r12d, %esi
	andl	$1, %esi
	movl	(%rcx,%rsi,4), %ecx
	movq	(%rax,%r15,8), %rax
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	leaq	(,%rsi,4), %rdi
	addq	(%rax,%r12,8), %rdi
	movq	_DCA_SUBBAND_SAMPLES@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r13, %rsi
	xorl	%r8d, %r8d
	callq	_ff_dca_core_dequantize
	movq	-96(%rbp), %r13                 ## 8-byte Reload
LBB0_31:                                ##   in Loop: Header=BB0_32 Depth=3
	movq	%r13, %rsp
	incq	%r12
	movq	24(%rbx), %rax
	movslq	(%rax,%r15,4), %rax
	cmpq	%rax, %r12
	movq	%rbx, %r14
	jge	LBB0_27
LBB0_32:                                ##   Parent Loop BB0_25 Depth=1
                                        ##     Parent Loop BB0_28 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%rsp, %r13
	movq	48(%r14), %rax
	movq	(%rax,%r15,8), %rax
	movq	%r14, %rbx
	movl	(%rax,%r12,4), %r14d
	movq	_DCA_SUBBAND_SAMPLES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rsi
	cmpl	$2, %r14d
	jl	LBB0_31
## %bb.33:                              ##   in Loop: Header=BB0_32 Depth=3
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	decl	%r14d
	movq	%rbx, %rdi
	movq	%rsi, %r13
	movl	%r14d, %edx
	movl	%r15d, %ecx
	callq	_extract_audio
	testl	%eax, %eax
	js	LBB0_42
## %bb.34:                              ##   in Loop: Header=BB0_32 Depth=3
	cmpl	$3, 56(%rbx)
	movq	_ff_dca_lossy_quant@GOTPCREL(%rip), %rax
	jne	LBB0_30
## %bb.35:                              ##   in Loop: Header=BB0_32 Depth=3
	movq	_ff_dca_lossless_quant@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_36:                                ##   in Loop: Header=BB0_25 Depth=1
	movq	(%r14), %rcx
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movl	-104(%rbp), %r13d               ## 4-byte Reload
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_25 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rcx,%rax,4), %edx
	leal	-1(%rdx), %eax
	cmpl	%eax, %edi
	je	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_25 Depth=1
	cmpq	$0, 112(%r14)
	je	LBB0_41
LBB0_39:                                ##   in Loop: Header=BB0_25 Depth=1
	movl	%edi, %r15d
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movl	$16, %esi
	callq	_get_bits
	cmpl	$65535, %eax                    ## imm = 0xFFFF
	jne	LBB0_54
## %bb.40:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	(%r14), %rcx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rcx,%rax,4), %edx
	movl	%r15d, %edi
	movq	-72(%rbp), %r15                 ## 8-byte Reload
LBB0_41:                                ##   in Loop: Header=BB0_25 Depth=1
	movq	_DCA_SUBBAND_SAMPLES@GOTPCREL(%rip), %rax
	addl	(%rax), %r13d
	incl	%edi
	movl	12(%r14), %esi
	cmpl	%edx, %edi
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	jl	LBB0_25
	jmp	LBB0_44
LBB0_56:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_57:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_59
## %bb.58:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_42:
	movq	-96(%rbp), %rsp                 ## 8-byte Reload
	jmp	LBB0_57
LBB0_43:
	movl	-52(%rbp), %eax                 ## 4-byte Reload
LBB0_44:
	cmpl	%eax, %esi
	jle	LBB0_48
## %bb.45:
	movslq	%eax, %r14
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_46:                                ## =>This Inner Loop Header: Depth=1
	movq	32(%r15), %rax
	movq	(%rax,%r14,8), %rdi
	movq	96(%r15), %rax
	movl	(%rax,%r14,4), %esi
	movq	88(%r15), %rax
	movl	(%rax,%r14,4), %edx
	movl	16(%r15), %ecx
	movq	24(%r15), %rax
	movl	(%rax,%r14,4), %r8d
	movl	(%rbx), %r9d
	subq	$8, %rsp
	pushq	%r12
	callq	_inverse_adpcm
	addq	$16, %rsp
	incq	%r14
	movslq	12(%r15), %rsi
	cmpq	%rsi, %r14
	jl	LBB0_46
## %bb.47:
	movl	-52(%rbp), %eax                 ## 4-byte Reload
LBB0_48:
	cmpl	%eax, %esi
	jle	LBB0_53
## %bb.49:
	movslq	%eax, %r14
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_51
	.p2align	4, 0x90
LBB0_50:                                ##   in Loop: Header=BB0_51 Depth=1
	incq	%r14
	movslq	%esi, %rax
	cmpq	%rax, %r14
	jge	LBB0_53
LBB0_51:                                ## =>This Inner Loop Header: Depth=1
	movq	64(%r15), %rax
	movl	(%rax,%r14,4), %eax
	testl	%eax, %eax
	jle	LBB0_50
## %bb.52:                              ##   in Loop: Header=BB0_51 Depth=1
	decl	%eax
	movq	80(%r15), %r10
	movq	24(%r15), %r8
	movq	32(%r15), %rcx
	movq	(%rcx,%r14,8), %rdi
	movq	(%rcx,%rax,8), %rsi
	movq	72(%r15), %rcx
	movl	(%rcx,%r14,4), %edx
	movl	(%r8,%r14,4), %ecx
	movl	(%r8,%rax,4), %r8d
	movl	(%rbx), %r9d
	subq	$8, %rsp
	pushq	%r12
	callq	*(%r10)
	addq	$16, %rsp
	movl	12(%r15), %esi
	jmp	LBB0_50
LBB0_53:
	movl	%r13d, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_57
LBB0_54:
	movl	104(%r14), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_55
LBB0_59:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DCA_SUBBAND_SAMPLES,4,2        ## @DCA_SUBBAND_SAMPLES
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Subband sample buffer overflow\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_ff_dca_high_freq_vq,8,3        ## @ff_dca_high_freq_vq
	.comm	_ff_dca_lossless_quant,8,3      ## @ff_dca_lossless_quant
	.comm	_ff_dca_lossy_quant,8,3         ## @ff_dca_lossy_quant
L_.str.1:                               ## @.str.1
	.asciz	"X96-DSYNC check failed\n"

	.no_dead_strip	_parse_x96_subframe_audio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_x96_subframe_audio
_parse_x96_subframe_audio:              ; @parse_x96_subframe_audio
	.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, #64
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x8, [x0]
	ldr	w8, [x8, w1, sxtw #2]
Lloh3:
	adrp	x26, _DCA_SUBBAND_SAMPLES@GOTPAGE
Lloh4:
	ldr	x26, [x26, _DCA_SUBBAND_SAMPLES@GOTPAGEOFF]
	ldr	w9, [x26]
	mul	w27, w9, w8
	ldr	w8, [x3]
	ldr	w9, [x0, #8]
	add	w8, w8, w27
	cmp	w8, w9
	b.le	LBB0_3
; %bb.1:
	ldr	w0, [x20, #104]
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:
	bl	_av_log
	b	LBB0_40
LBB0_3:
	mov	x23, x3
	mov	x19, x2
	mov	x24, x1
	add	x0, x20, #108
	stur	x0, [x29, #-96]                 ; 8-byte Folded Spill
	bl	_get_bits_left
	tbnz	x0, #63, LBB0_40
; %bb.4:
	sxtw	x22, w24
	ldr	w8, [x20, #12]
	cmp	w8, w19
	stur	x27, [x29, #-104]               ; 8-byte Folded Spill
	stur	x19, [x29, #-136]               ; 8-byte Folded Spill
	b.le	LBB0_23
; %bb.5:
	lsl	w9, w27, #2
	stur	w9, [x29, #-124]                ; 4-byte Folded Spill
	sxtw	x11, w19
	ldr	x9, [x20, #24]
	orr	w19, wzr, #0x8
	stur	x23, [x29, #-120]               ; 8-byte Folded Spill
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x20, #12]
Lloh10:
	adrp	x26, _DCA_SUBBAND_SAMPLES@GOTPAGE
Lloh11:
	ldr	x26, [x26, _DCA_SUBBAND_SAMPLES@GOTPAGEOFF]
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x11, x11, #1
	cmp	x11, w8, sxtw
	b.ge	LBB0_23
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
                                        ;       Child Loop BB0_17 Depth 3
                                        ;         Child Loop BB0_19 Depth 4
                                        ;       Child Loop BB0_22 Depth 3
	ldrsw	x28, [x20, #16]
	ldr	w10, [x9, x11, lsl #2]
	cmp	w28, w10
	b.ge	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	stur	x11, [x29, #-112]               ; 8-byte Folded Spill
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=2
	mov	x0, x25
	mov	w1, #0
	ldur	w2, [x29, #-124]                ; 4-byte Folded Reload
	bl	_memset
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=2
	add	x28, x28, #1
	ldr	x9, [x20, #24]
	ldp	x23, x11, [x29, #-120]          ; 16-byte Folded Reload
	ldrsw	x8, [x9, x11, lsl #2]
	cmp	x28, x8
	b.ge	LBB0_6
LBB0_12:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_17 Depth 3
                                        ;         Child Loop BB0_19 Depth 4
                                        ;       Child Loop BB0_22 Depth 3
	lsl	x8, x11, #3
	ldp	x9, x10, [x20, #32]
	ldr	x9, [x9, x8]
	ldr	x9, [x9, x28, lsl #3]
	ldr	x10, [x10, x8]
	asr	w11, w28, #1
	ldr	x10, [x10, w11, sxtw #3]
	and	x11, x28, #0x1
	ldr	w26, [x10, x11, lsl #2]
	ldrsw	x10, [x23]
	add	x25, x9, x10, lsl #2
	ldr	x9, [x20, #48]
	ldr	x8, [x9, x8]
	ldr	w8, [x8, x28, lsl #2]
	cbz	w8, LBB0_20
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	cmp	w8, #1
	b.ne	LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=2
	ldr	x8, [x20]
	ldr	w8, [x8, x22, lsl #2]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=2
	mov	w21, #0
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=3
	ldr	x8, [x20]
	ldr	w8, [x8, x22, lsl #2]
	add	w21, w21, #1
	add	w9, w8, #1
	add	w10, w8, #2
	cmp	w9, #0
	csinc	w8, w10, w8, lt
	cmp	w21, w8, asr #1
	ldur	x27, [x29, #-104]               ; 8-byte Folded Reload
	b.ge	LBB0_11
LBB0_17:                                ;   Parent Loop BB0_8 Depth=1
                                        ;     Parent Loop BB0_12 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_19 Depth 4
Lloh12:
	adrp	x8, _ff_dca_high_freq_vq@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ff_dca_high_freq_vq@GOTPAGEOFF]
Lloh14:
	ldr	x23, [x8]
	ldur	x0, [x29, #-96]                 ; 8-byte Folded Reload
	mov	w1, #10
	bl	_get_bits
	ldr	x24, [x23, w0, sxtw #3]
	sub	w27, w27, w21, lsl #4
	mov	x0, x27
	mov	w1, #16
	bl	_FFMIN
	cmp	w0, #1
	b.lt	LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=3
	mov	x23, #0
LBB0_19:                                ;   Parent Loop BB0_8 Depth=1
                                        ;     Parent Loop BB0_12 Depth=2
                                        ;       Parent Loop BB0_17 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	ldr	w8, [x24, x23, lsl #2]
	madd	w8, w8, w26, w19
	asr	w0, w8, #4
	bl	_clip23
	str	w0, [x25], #4
	add	x23, x23, #1
	mov	x0, x27
	mov	w1, #16
	bl	_FFMIN
	cmp	x23, w0, sxtw
	b.lt	LBB0_19
	b	LBB0_16
LBB0_20:                                ;   in Loop: Header=BB0_12 Depth=2
	cmp	w26, #2
	b.lt	LBB0_10
; %bb.21:                               ;   in Loop: Header=BB0_12 Depth=2
	mov	x21, x27
	cmp	w27, #1
	b.lt	LBB0_11
LBB0_22:                                ;   Parent Loop BB0_8 Depth=1
                                        ;     Parent Loop BB0_12 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x0, x20
	bl	_rand_x96
	mov	x1, x26
	bl	_mul31
	str	w0, [x25], #4
	subs	x21, x21, #1
	b.ne	LBB0_22
	b	LBB0_11
LBB0_23:
	ldr	w24, [x23]
	ldr	x9, [x20]
	ldr	w10, [x9, x22, lsl #2]
	cmp	w10, #1
	b.lt	LBB0_44
; %bb.24:
	mov	w11, #0
	ldur	x19, [x29, #-136]               ; 8-byte Folded Reload
	mov	x10, x19
	sxtw	x10, w10
	stur	x10, [x29, #-112]               ; 8-byte Folded Spill
Lloh15:
	adrp	x27, _ff_dca_lossy_quant@GOTPAGE
Lloh16:
	ldr	x27, [x27, _ff_dca_lossy_quant@GOTPAGEOFF]
LBB0_25:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_28 Depth 2
                                        ;       Child Loop BB0_32 Depth 3
	cmp	w8, w19
	b.le	LBB0_35
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	stur	w11, [x29, #-124]               ; 4-byte Folded Spill
	stur	x24, [x29, #-120]               ; 8-byte Folded Spill
	sxtw	x19, w24
	ldur	x24, [x29, #-112]               ; 8-byte Folded Reload
	b	LBB0_28
LBB0_27:                                ;   in Loop: Header=BB0_28 Depth=2
	add	x24, x24, #1
	ldrsw	x8, [x20, #12]
	cmp	x24, x8
	b.ge	LBB0_34
LBB0_28:                                ;   Parent Loop BB0_25 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_32 Depth 3
	ldur	x0, [x29, #-96]                 ; 8-byte Folded Reload
	bl	_get_bits_left
	tbnz	x0, #63, LBB0_40
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=2
	ldrsw	x28, [x20, #16]
	ldr	x8, [x20, #24]
	ldr	w8, [x8, x24, lsl #2]
	cmp	w28, w8
	b.lt	LBB0_32
	b	LBB0_27
LBB0_30:                                ;   in Loop: Header=BB0_32 Depth=3
	ldr	w8, [x20, #56]
	cmp	w8, #3
Lloh17:
	adrp	x8, _ff_dca_lossless_quant@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ff_dca_lossless_quant@GOTPAGEOFF]
	csel	x8, x8, x27, eq
	ldr	x8, [x8]
	ldr	w2, [x8, w26, uxtw #2]
	lsl	x8, x24, #3
	ldp	x10, x9, [x20, #32]
	ldr	x9, [x9, x8]
	asr	w11, w28, #1
	ldr	x9, [x9, w11, sxtw #3]
	and	x11, x28, #0x1
	ldr	w3, [x9, x11, lsl #2]
	ldr	x8, [x10, x8]
	ldr	x8, [x8, x28, lsl #3]
	add	x0, x8, x19, lsl #2
Lloh19:
	adrp	x26, _DCA_SUBBAND_SAMPLES@GOTPAGE
Lloh20:
	ldr	x26, [x26, _DCA_SUBBAND_SAMPLES@GOTPAGEOFF]
	ldr	w5, [x26]
	mov	x1, x25
	mov	w4, #0
	bl	_ff_dca_core_dequantize
LBB0_31:                                ;   in Loop: Header=BB0_32 Depth=3
	mov	sp, x21
	add	x28, x28, #1
	ldr	x8, [x20, #24]
	ldrsw	x8, [x8, x24, lsl #2]
	cmp	x28, x8
	b.ge	LBB0_27
LBB0_32:                                ;   Parent Loop BB0_25 Depth=1
                                        ;     Parent Loop BB0_28 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x21, sp
	ldr	x8, [x20, #48]
	ldr	x8, [x8, x24, lsl #3]
	ldr	w12, [x8, x28, lsl #2]
	ldr	w8, [x26]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh21:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh22:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x25, x9, x8
	mov	sp, x25
	cmp	w12, #2
	b.lt	LBB0_31
; %bb.33:                               ;   in Loop: Header=BB0_32 Depth=3
	sub	w26, w12, #1
	mov	x0, x20
	mov	x1, x25
	mov	x2, x26
	mov	x3, x24
	bl	_extract_audio
	tbz	w0, #31, LBB0_30
	b	LBB0_43
LBB0_34:                                ;   in Loop: Header=BB0_25 Depth=1
	ldr	x9, [x20]
	ldur	x19, [x29, #-136]               ; 8-byte Folded Reload
	ldur	x24, [x29, #-120]               ; 8-byte Folded Reload
	ldur	w11, [x29, #-124]               ; 4-byte Folded Reload
LBB0_35:                                ;   in Loop: Header=BB0_25 Depth=1
	ldr	w10, [x9, x22, lsl #2]
	sub	w8, w10, #1
	cmp	w11, w8
	b.eq	LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	x8, [x20, #112]
	cbz	x8, LBB0_39
LBB0_37:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	x21, x11
	ldur	x0, [x29, #-96]                 ; 8-byte Folded Reload
	mov	w1, #16
	bl	_get_bits
	mov	w8, #65535
	cmp	w0, w8
	b.ne	LBB0_55
; %bb.38:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	x9, [x20]
	ldr	w10, [x9, x22, lsl #2]
	mov	x11, x21
LBB0_39:                                ;   in Loop: Header=BB0_25 Depth=1
	ldr	w8, [x26]
	add	w24, w8, w24
	add	w11, w11, #1
	ldr	w8, [x20, #12]
	cmp	w11, w10
	b.lt	LBB0_25
	b	LBB0_45
LBB0_40:
Lloh23:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
LBB0_41:
	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_56
; %bb.42:
	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_43:
	mov	sp, x21
	b	LBB0_41
LBB0_44:
	ldur	x19, [x29, #-136]               ; 8-byte Folded Reload
LBB0_45:
	cmp	w8, w19
	ldur	x21, [x29, #-104]               ; 8-byte Folded Reload
	b.le	LBB0_49
; %bb.46:
	mov	x8, x19
	sxtw	x19, w8
LBB0_47:                                ; =>This Inner Loop Header: Depth=1
	ldp	x9, x8, [x20, #24]
	ldr	x0, [x8, x19, lsl #3]
	lsl	x8, x19, #2
	ldp	x11, x10, [x20, #88]
	ldr	w1, [x10, x8]
	ldr	w2, [x11, x8]
	ldr	w3, [x20, #16]
	ldr	w4, [x9, x8]
	ldr	w5, [x23]
	mov	x6, x21
	bl	_inverse_adpcm
	add	x19, x19, #1
	ldrsw	x8, [x20, #12]
	cmp	x19, x8
	b.lt	LBB0_47
; %bb.48:
	ldur	x19, [x29, #-136]               ; 8-byte Folded Reload
LBB0_49:
	cmp	w8, w19
	b.le	LBB0_54
; %bb.50:
	mov	x9, x19
	sxtw	x19, w9
	b	LBB0_52
LBB0_51:                                ;   in Loop: Header=BB0_52 Depth=1
	add	x19, x19, #1
	cmp	x19, w8, sxtw
	b.ge	LBB0_54
LBB0_52:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #64]
	ldr	w9, [x9, x19, lsl #2]
	subs	w9, w9, #1
	b.lt	LBB0_51
; %bb.53:                               ;   in Loop: Header=BB0_52 Depth=1
	ldp	x10, x8, [x20, #24]
	ldr	x0, [x8, x19, lsl #3]
	ldr	x1, [x8, w9, uxtw #3]
	ldp	x11, x8, [x20, #72]
	lsl	x12, x19, #2
	ldr	w2, [x11, x12]
	ldr	x8, [x8]
	ldr	w3, [x10, x12]
	ldr	w4, [x10, w9, uxtw #2]
	ldr	w5, [x23]
	mov	x6, x21
	blr	x8
	ldr	w8, [x20, #12]
	b	LBB0_51
LBB0_54:
	mov	w0, #0
	str	w24, [x23]
	b	LBB0_41
LBB0_55:
	ldr	w0, [x20, #104]
Lloh29:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh30:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
Lloh32:
	adrp	x2, l_.str.1@PAGE
Lloh33:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_56:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_DCA_SUBBAND_SAMPLES,4,2        ; @DCA_SUBBAND_SAMPLES
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Subband sample buffer overflow\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_ff_dca_high_freq_vq,8,3        ; @ff_dca_high_freq_vq
	.comm	_ff_dca_lossless_quant,8,3      ; @ff_dca_lossless_quant
	.comm	_ff_dca_lossy_quant,8,3         ; @ff_dca_lossy_quant
l_.str.1:                               ; @.str.1
	.asciz	"X96-DSYNC check failed\n"

	.no_dead_strip	_parse_x96_subframe_audio
.subsections_via_symbols
