	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function opus_decode_packet
_opus_decode_packet:                    ## @opus_decode_packet
	.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	$232, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -256(%rbp)                ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %r15
	movq	8(%rcx), %rsi
	movq	%rcx, -264(%rbp)                ## 8-byte Spill
	movl	(%rcx), %eax
	movl	%eax, -220(%rbp)                ## 4-byte Spill
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -180(%rbp)                ## 4-byte Spill
	movl	(%r15), %eax
	movl	$0, -196(%rbp)                  ## 4-byte Folded Spill
	movl	$0, %r13d
	testl	%eax, %eax
	movq	%rdi, -192(%rbp)                ## 8-byte Spill
	movq	%rbx, -216(%rbp)                ## 8-byte Spill
	movq	%rsi, -232(%rbp)                ## 8-byte Spill
	jle	LBB0_4
## %bb.1:
	xorl	%r14d, %r14d
	movl	$10, %ebx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	72(%r15), %rax
	movq	(%rax,%rbx,4), %rcx
	movq	$0, 8(%rcx)
	movq	(%rax,%rbx,4), %rcx
	movq	$0, (%rcx)
	movq	-8(%rax,%rbx,4), %r12
	movq	64(%r15), %rax
	movl	(%rax,%r14,4), %edi
	callq	_av_audio_fifo_size
	movslq	%eax, %rsi
	addq	%r12, %rsi
	movl	%r13d, %edi
	callq	_FFMAX
	movl	%eax, %r13d
	incq	%r14
	movslq	(%r15), %rax
	addq	$12, %rbx
	cmpq	%rax, %r14
	jl	LBB0_2
## %bb.3:
	movq	-192(%rbp), %r14                ## 8-byte Reload
	movq	-216(%rbp), %rbx                ## 8-byte Reload
	movq	-232(%rbp), %rsi                ## 8-byte Reload
LBB0_4:
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.5:
	movq	72(%r15), %r14
	xorl	%ecx, %ecx
	cmpl	$2, %eax
	setge	%cl
	movq	%r14, %rdi
	movl	-220(%rbp), %edx                ## 4-byte Reload
	callq	_ff_opus_parse_packet
	testl	%eax, %eax
	js	LBB0_43
## %bb.6:
	movl	4(%r14), %eax
	movl	20(%r14), %edi
	imull	(%r14), %eax
	movl	%eax, -196(%rbp)                ## 4-byte Spill
	callq	_get_silk_samplerate
	movq	72(%r15), %rcx
	movq	%rax, 24(%rcx)
	movq	-192(%rbp), %r14                ## 8-byte Reload
	movq	-216(%rbp), %rbx                ## 8-byte Reload
LBB0_7:
	addl	-196(%rbp), %r13d               ## 4-byte Folded Reload
	movl	%r13d, (%rbx)
	je	LBB0_30
## %bb.8:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_ff_get_buffer
	testl	%eax, %eax
	js	LBB0_31
## %bb.9:
	movl	$0, (%rbx)
	movq	8(%r15), %rdi
	movl	(%r15), %edx
	shll	$4, %edx
	xorl	%esi, %esi
	callq	_memset
	movl	(%r14), %eax
	testl	%eax, %eax
	movq	%rbx, %r12
	jle	LBB0_14
## %bb.10:
	shlq	$3, %rax
	xorl	%ecx, %ecx
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_12 Depth=1
	addq	$8, %rcx
	cmpq	%rcx, %rax
	je	LBB0_14
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	56(%r15), %rdx
	cmpq	$0, 24(%rdx,%rcx,4)
	jne	LBB0_11
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	8(%r12), %rsi
	movq	(%rsi,%rcx), %rsi
	movq	8(%r15), %rdi
	movslq	(%rdx,%rcx,4), %rbx
	movslq	4(%rdx,%rcx,4), %rdx
	leaq	(%rdx,%rbx,2), %rdx
	movq	%rsi, (%rdi,%rdx,8)
	jmp	LBB0_11
LBB0_14:
	cmpl	$0, (%r15)
	jle	LBB0_54
## %bb.15:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_18 Depth=1
	shlq	$2, %rax
	addq	8(%r13,%r14), %rax
LBB0_17:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	%rax, 8(%r13,%r14)
	movq	-216(%rbp), %rax                ## 8-byte Reload
	movq	16(%rax), %rax
	movl	(%rax), %eax
	shll	$2, %r12d
	subl	%r12d, %eax
	movq	16(%r15), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	movslq	(%r15), %rax
	addq	$16, %r14
	cmpq	%rax, %rbx
	jge	LBB0_32
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %r13
	movq	64(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_av_audio_fifo_size
	movl	%eax, %r12d
	movq	(%r13,%r14), %rdx
	movq	8(%r13,%r14), %rsi
	xorl	%eax, %eax
	testq	%rsi, %rsi
	sete	%r8b
	xorl	%ecx, %ecx
	movq	%rdx, -240(%rbp)                ## 8-byte Spill
	testq	%rdx, %rdx
	sete	%dl
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	leaq	-176(%rbp), %rdi
	movq	%rdi, (%r13,%r14)
LBB0_20:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	%rsi, -208(%rbp)                ## 8-byte Spill
	testq	%rsi, %rsi
	jne	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_18 Depth=1
	leaq	-176(%rbp), %rdi
	movq	%rdi, 8(%r13,%r14)
LBB0_22:                                ##   in Loop: Header=BB0_18 Depth=1
	movb	%dl, %cl
	movb	%r8b, %al
	leal	(%rcx,%rax,2), %eax
	testl	%eax, %eax
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_18 Depth=1
	leaq	-176(%rbp), %rdi
	callq	_FF_ARRAY_ELEMS
	cmpl	%eax, %r12d
	jg	LBB0_52
LBB0_24:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	64(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	leaq	(%r14,%r13), %rsi
	movl	%r12d, %edx
	callq	_av_audio_fifo_read
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_66
## %bb.25:                              ##   in Loop: Header=BB0_18 Depth=1
	movl	%r12d, %eax
	cmpq	$0, -240(%rbp)                  ## 8-byte Folded Reload
	movq	-208(%rbp), %rdx                ## 8-byte Reload
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_18 Depth=1
	leaq	(,%rax,4), %rcx
	addq	(%r13,%r14), %rcx
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_18 Depth=1
	xorl	%ecx, %ecx
LBB0_28:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	%rcx, (%r13,%r14)
	testq	%rdx, %rdx
	jne	LBB0_16
## %bb.29:                              ##   in Loop: Header=BB0_18 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_17
LBB0_30:
	movq	-256(%rbp), %rax                ## 8-byte Reload
	movl	$0, (%rax)
	xorl	%r12d, %r12d
	jmp	LBB0_66
LBB0_32:
	testl	%eax, %eax
	jle	LBB0_53
## %bb.33:
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	movq	-232(%rbp), %r12                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movq	72(%r15), %rcx
	movq	%rcx, %rdi
	testq	%r14, %r14
	movq	%rcx, -208(%rbp)                ## 8-byte Spill
	je	LBB0_39
## %bb.35:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	%rcx, %rdi
	testq	%r12, %r12
	je	LBB0_39
## %bb.36:                              ##   in Loop: Header=BB0_34 Depth=1
	leaq	(%rcx,%rbx), %rdi
	decl	%eax
	xorl	%ecx, %ecx
	movq	%r13, -248(%rbp)                ## 8-byte Spill
	cmpq	%rax, %r13
	setne	%cl
	movq	%r12, -232(%rbp)                ## 8-byte Spill
	movq	%r12, %rsi
	movl	-220(%rbp), %edx                ## 4-byte Reload
	callq	_ff_opus_parse_packet
	testl	%eax, %eax
	js	LBB0_43
## %bb.37:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	-208(%rbp), %rcx                ## 8-byte Reload
	movl	4(%rcx,%rbx), %eax
	imull	(%rcx,%rbx), %eax
	cmpl	%eax, -196(%rbp)                ## 4-byte Folded Reload
	jne	LBB0_68
## %bb.38:                              ##   in Loop: Header=BB0_34 Depth=1
	movl	20(%rcx,%rbx), %edi
	callq	_get_silk_samplerate
	movq	-208(%rbp), %rcx                ## 8-byte Reload
	movq	%rax, 24(%rcx,%rbx)
	movq	72(%r15), %rdi
	movq	-232(%rbp), %r12                ## 8-byte Reload
	movq	-248(%rbp), %r13                ## 8-byte Reload
LBB0_39:                                ##   in Loop: Header=BB0_34 Depth=1
	movq	%r14, -240(%rbp)                ## 8-byte Spill
	addq	%rbx, %rdi
	movl	16(%rcx,%rbx), %edx
	movq	8(%r15), %rcx
	addq	%r14, %rcx
	movq	16(%r15), %rax
	movl	(%rax,%r13,4), %r8d
	movq	%r12, %rsi
	movl	-196(%rbp), %r9d                ## 4-byte Reload
	callq	_opus_decode_subpacket
	movq	%r12, %r14
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_66
## %bb.40:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	24(%r15), %rax
	movl	%r12d, (%rax,%r13,4)
	movl	-180(%rbp), %edi                ## 4-byte Reload
	movl	%r12d, %esi
	callq	_FFMIN
	movl	%eax, -180(%rbp)                ## 4-byte Spill
	movq	-208(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax,%rbx), %rax
	leaq	(%r14,%rax,4), %r12
	subl	%eax, -220(%rbp)                ## 4-byte Folded Spill
	incq	%r13
	movslq	(%r15), %rax
	movq	-240(%rbp), %rcx                ## 8-byte Reload
	addq	$16, %rcx
	addq	$48, %rbx
	cmpq	%rax, %r13
	movq	%rcx, %r14
	jl	LBB0_34
## %bb.41:
	testl	%eax, %eax
	movq	-216(%rbp), %r12                ## 8-byte Reload
	jle	LBB0_70
## %bb.42:
	movslq	-180(%rbp), %r13                ## 4-byte Folded Reload
	movl	$8, %ebx
	xorl	%r14d, %r14d
	jmp	LBB0_47
LBB0_43:
	movl	%eax, %r12d
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_66
LBB0_44:                                ##   in Loop: Header=BB0_47 Depth=1
	leaq	(%rax,%r13,4), %rax
	movq	%rax, -176(%rbp)
	leaq	(%rcx,%r13,4), %rax
	movq	%rax, -168(%rbp)
	movq	64(%r15), %rax
	movl	(%rax,%r14,4), %edi
	leaq	-176(%rbp), %rsi
	callq	_av_audio_fifo_write
	testl	%eax, %eax
	js	LBB0_31
## %bb.45:                              ##   in Loop: Header=BB0_47 Depth=1
	movl	(%r15), %eax
	movq	-216(%rbp), %r12                ## 8-byte Reload
LBB0_46:                                ##   in Loop: Header=BB0_47 Depth=1
	incq	%r14
	movslq	%eax, %rcx
	addq	$16, %rbx
	cmpq	%rcx, %r14
	jge	LBB0_70
LBB0_47:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%r15), %rcx
	movl	(%rcx,%r14,4), %edx
	subl	-180(%rbp), %edx                ## 4-byte Folded Reload
	je	LBB0_46
## %bb.48:                              ##   in Loop: Header=BB0_47 Depth=1
	movq	8(%r15), %rcx
	movq	-8(%rcx,%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_50
## %bb.49:                              ##   in Loop: Header=BB0_47 Depth=1
	movq	8(%r12), %rax
	movq	(%rax), %rax
LBB0_50:                                ##   in Loop: Header=BB0_47 Depth=1
	movq	%rax, -176(%rbp)
	movq	(%rcx,%rbx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_44
## %bb.51:                              ##   in Loop: Header=BB0_47 Depth=1
	movq	8(%r12), %rcx
	movq	(%rcx), %rcx
	jmp	LBB0_44
LBB0_31:
	movl	%eax, %r12d
	jmp	LBB0_66
LBB0_52:
	movq	_AVERROR_BUG@GOTPCREL(%rip), %rax
	jmp	LBB0_65
LBB0_53:
	movq	-192(%rbp), %r14                ## 8-byte Reload
	movq	-216(%rbp), %r12                ## 8-byte Reload
	jmp	LBB0_54
LBB0_70:
	movq	-192(%rbp), %r14                ## 8-byte Reload
LBB0_54:
	cmpl	$0, (%r14)
	jle	LBB0_64
## %bb.55:
	movl	$3, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_57
	.p2align	4, 0x90
LBB0_56:                                ##   in Loop: Header=BB0_57 Depth=1
	incq	%rbx
	movslq	(%r14), %rax
	addq	$4, %r13
	cmpq	%rax, %rbx
	jge	LBB0_64
LBB0_57:                                ## =>This Inner Loop Header: Depth=1
	movq	56(%r15), %rax
	cmpq	$0, (%rax,%r13,8)
	je	LBB0_59
## %bb.58:                              ##   in Loop: Header=BB0_57 Depth=1
	movq	8(%r12), %rcx
	movq	16(%r12), %rdx
	movq	(%rcx,%rbx,8), %rdi
	movq	-16(%rax,%r13,8), %rax
	movq	(%rcx,%rax,8), %rsi
	movl	(%rdx), %edx
	callq	_memcpy
	jmp	LBB0_61
	.p2align	4, 0x90
LBB0_59:                                ##   in Loop: Header=BB0_57 Depth=1
	cmpq	$0, -8(%rax,%r13,8)
	je	LBB0_61
## %bb.60:                              ##   in Loop: Header=BB0_57 Depth=1
	movq	8(%r12), %rax
	movq	16(%r12), %rcx
	movq	(%rax,%rbx,8), %rdi
	movl	(%rcx), %edx
	xorl	%esi, %esi
	callq	_memset
LBB0_61:                                ##   in Loop: Header=BB0_57 Depth=1
	cmpq	$0, 48(%r15)
	je	LBB0_56
## %bb.62:                              ##   in Loop: Header=BB0_57 Depth=1
	cmpl	$0, -180(%rbp)                  ## 4-byte Folded Reload
	jle	LBB0_56
## %bb.63:                              ##   in Loop: Header=BB0_57 Depth=1
	movq	40(%r15), %rax
	movq	(%rax), %rax
	movq	%rax, -208(%rbp)                ## 8-byte Spill
	movq	8(%r12), %rax
	movq	(%rax,%rbx,8), %r12
	movl	32(%r15), %r14d
	movl	-180(%rbp), %edi                ## 4-byte Reload
	movl	$8, %esi
	callq	_FFALIGN
	movq	%r12, %rdi
	movq	%r12, %rsi
	movq	-216(%rbp), %r12                ## 8-byte Reload
	movl	%r14d, %edx
	movq	-192(%rbp), %r14                ## 8-byte Reload
	movl	%eax, %ecx
	callq	*-208(%rbp)                     ## 8-byte Folded Reload
	jmp	LBB0_56
LBB0_64:
	movl	-180(%rbp), %ecx                ## 4-byte Reload
	movl	%ecx, (%r12)
	xorl	%eax, %eax
	testl	%ecx, %ecx
	setne	%al
	movq	-256(%rbp), %rcx                ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	-264(%rbp), %rax                ## 8-byte Reload
LBB0_65:
	movl	(%rax), %r12d
LBB0_66:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_72
## %bb.67:
	movl	%r12d, %eax
	addq	$232, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_68:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	movq	-248(%rbp), %rcx                ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	jmp	LBB0_65
LBB0_72:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error parsing the packet header.\n"

	.comm	_AVERROR_BUG,4,2                ## @AVERROR_BUG
L_.str.1:                               ## @.str.1
	.asciz	"Mismatching coded sample count in substream %d.\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.no_dead_strip	_opus_decode_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function opus_decode_packet
_opus_decode_packet:                    ; @opus_decode_packet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #304
	.cfi_def_cfa_offset 304
	stp	x28, x27, [sp, #208]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #224]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #240]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #256]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #272]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #288]            ; 16-byte Folded Spill
	add	x29, sp, #288
	.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
	mov	x26, x3
	mov	x25, x2
	mov	x22, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	ldr	x21, [x0, #8]
	ldr	x24, [x3, #8]
	ldr	w8, [x3]
	str	w8, [sp, #60]                   ; 4-byte Folded Spill
Lloh3:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	x8, [sp, #48]                   ; 8-byte Folded Spill
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x19, #0
	mov	x20, #0
	mov	w28, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #72]
	add	x8, x8, x19
	ldr	x9, [x8, #40]
	str	xzr, [x9, #8]
	ldr	x9, [x8, #40]
	str	xzr, [x9]
	ldr	x23, [x8, #32]
	ldr	x8, [x21, #64]
	ldr	w0, [x8, x20, lsl #2]
	bl	_av_audio_fifo_size
	add	x1, x23, w0, sxtw
	mov	x0, x28
	bl	_FFMAX
	mov	x28, x0
	add	x20, x20, #1
	ldrsw	x8, [x21]
	add	x19, x19, #48
	cmp	x20, x8
	b.lt	LBB0_2
; %bb.3:
	cbz	x24, LBB0_7
LBB0_4:
	ldr	x20, [x21, #72]
	cmp	w8, #1
	cset	w3, gt
	mov	x0, x20
	mov	x1, x24
	ldr	w2, [sp, #60]                   ; 4-byte Folded Reload
	bl	_ff_opus_parse_packet
	tbnz	w0, #31, LBB0_42
; %bb.5:
	ldp	w8, w9, [x20]
	mul	w19, w9, w8
	ldr	w0, [x20, #20]
	bl	_get_silk_samplerate
	ldr	x8, [x21, #72]
	str	x0, [x8, #24]
	b	LBB0_8
LBB0_6:
	mov	w28, #0
	cbnz	x24, LBB0_4
LBB0_7:
	mov	w19, #0
LBB0_8:
	adds	w8, w19, w28
	str	w8, [x22]
	b.eq	LBB0_30
; %bb.9:
	str	x26, [sp, #24]                  ; 8-byte Folded Spill
	ldr	x26, [sp, #40]                  ; 8-byte Folded Reload
	mov	x0, x26
	mov	x1, x22
	mov	w2, #0
	bl	_ff_get_buffer
	tbnz	w0, #31, LBB0_51
; %bb.10:
	str	wzr, [x22]
	ldr	x0, [x21, #8]
	ldr	w8, [x21]
	lsl	w2, w8, #4
	mov	w1, #0
	bl	_memset
	ldr	w9, [x26]
	cmp	w9, #1
	ldr	x28, [sp, #48]                  ; 8-byte Folded Reload
	b.lt	LBB0_15
; %bb.11:
	mov	x8, #0
	lsl	x9, x9, #3
	mov	w10, #24
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x8, x8, #8
	add	x10, x10, #32
	cmp	x9, x8
	b.eq	LBB0_15
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x21, #56]
	ldr	x12, [x11, x10]
	cbnz	x12, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x12, [x22, #8]
	ldr	x12, [x12, x8]
	ldr	x13, [x21, #8]
	add	x11, x11, x8, lsl #2
	ldp	w14, w11, [x11]
	add	w11, w11, w14, lsl #1
	str	x12, [x13, w11, sxtw #3]
	b	LBB0_12
LBB0_15:
	str	x25, [sp, #16]                  ; 8-byte Folded Spill
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_54
; %bb.16:
	str	w19, [sp, #36]                  ; 4-byte Folded Spill
	mov	x19, #0
	mov	x20, #0
	b	LBB0_20
LBB0_17:                                ;   in Loop: Header=BB0_20 Depth=1
	mov	x8, #0
	str	x8, [x26, x19]
	cbz	x25, LBB0_29
LBB0_18:                                ;   in Loop: Header=BB0_20 Depth=1
	ldr	x8, [x28, #8]
	add	x8, x8, w27, uxtw #2
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	str	x8, [x28, #8]
	ldr	x8, [x22, #16]
	ldr	w8, [x8]
	sub	w8, w8, w27, lsl #2
	ldr	x9, [x21, #16]
	str	w8, [x9, x20, lsl #2]
	add	x20, x20, #1
	ldrsw	x8, [x21]
	add	x19, x19, #16
	cmp	x20, x8
	b.ge	LBB0_31
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	x26, [x21, #8]
	add	x28, x26, x19
	ldr	x8, [x21, #64]
	ldr	w0, [x8, x20, lsl #2]
	bl	_av_audio_fifo_size
	mov	x27, x0
	ldp	x23, x25, [x28]
	cmp	x23, #0
	cset	w8, eq
	cmp	x25, #0
	cset	w9, eq
	cbz	x23, LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	cbz	x25, LBB0_24
LBB0_22:                                ;   in Loop: Header=BB0_20 Depth=1
	bfi	w8, w9, #1, #1
	cbnz	w8, LBB0_25
	b	LBB0_26
LBB0_23:                                ;   in Loop: Header=BB0_20 Depth=1
	add	x10, sp, #64
	str	x10, [x26, x19]
	cbnz	x25, LBB0_22
LBB0_24:                                ;   in Loop: Header=BB0_20 Depth=1
	add	x10, sp, #64
	str	x10, [x28, #8]
	bfi	w8, w9, #1, #1
	cbz	w8, LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_20 Depth=1
	add	x0, sp, #64
	bl	_FF_ARRAY_ELEMS
	cmp	w27, w0
	b.gt	LBB0_52
LBB0_26:                                ;   in Loop: Header=BB0_20 Depth=1
	ldr	x8, [x21, #64]
	ldr	w0, [x8, x20, lsl #2]
	add	x1, x26, x19
	mov	x2, x27
	bl	_av_audio_fifo_read
	mov	x27, x0
	tbnz	w0, #31, LBB0_66
; %bb.27:                               ;   in Loop: Header=BB0_20 Depth=1
	cbz	x23, LBB0_17
; %bb.28:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x8, [x26, x19]
	add	x8, x8, w27, uxtw #2
	str	x8, [x26, x19]
	cbnz	x25, LBB0_18
LBB0_29:                                ;   in Loop: Header=BB0_20 Depth=1
	mov	x8, #0
	b	LBB0_19
LBB0_30:
	mov	w27, #0
	str	wzr, [x25]
	b	LBB0_66
LBB0_31:
	cmp	w8, #1
	b.lt	LBB0_53
; %bb.32:
	mov	x26, #0
	mov	x19, #0
	mov	x28, #0
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
LBB0_33:                                ; =>This Inner Loop Header: Depth=1
	ldr	x25, [x21, #72]
	mov	x9, x25
	cbz	x26, LBB0_38
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=1
	cbz	x24, LBB0_38
; %bb.35:                               ;   in Loop: Header=BB0_33 Depth=1
	add	x20, x25, x26
	sub	w8, w8, #1
	cmp	x28, x8
	cset	w3, ne
	mov	x0, x20
	mov	x1, x24
	ldr	w2, [sp, #60]                   ; 4-byte Folded Reload
	bl	_ff_opus_parse_packet
	tbnz	w0, #31, LBB0_42
; %bb.36:                               ;   in Loop: Header=BB0_33 Depth=1
	ldp	w8, w9, [x20]
	mul	w8, w9, w8
	ldr	w9, [sp, #36]                   ; 4-byte Folded Reload
	cmp	w9, w8
	b.ne	LBB0_68
; %bb.37:                               ;   in Loop: Header=BB0_33 Depth=1
	add	x20, x25, x26
	ldr	w0, [x20, #20]
	bl	_get_silk_samplerate
	str	x0, [x20, #24]
	ldr	x9, [x21, #72]
LBB0_38:                                ;   in Loop: Header=BB0_33 Depth=1
	add	x0, x9, x26
	add	x20, x25, x26
	ldr	w2, [x20, #16]
	ldp	x8, x9, [x21, #8]
	add	x3, x8, x19
	ldr	w4, [x9, x28, lsl #2]
	mov	x1, x24
	ldr	w5, [sp, #36]                   ; 4-byte Folded Reload
	bl	_opus_decode_subpacket
	mov	x27, x0
	tbnz	w0, #31, LBB0_66
; %bb.39:                               ;   in Loop: Header=BB0_33 Depth=1
	ldr	x8, [x21, #24]
	str	w27, [x8, x28, lsl #2]
	ldr	x0, [sp, #48]                   ; 8-byte Folded Reload
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	x1, x27
	bl	_FFMIN
	str	x0, [sp, #48]                   ; 8-byte Folded Spill
	ldr	x8, [x20, #8]
	add	x24, x24, x8, lsl #2
	ldr	w9, [sp, #60]                   ; 4-byte Folded Reload
	sub	w9, w9, w8
	str	w9, [sp, #60]                   ; 4-byte Folded Spill
	add	x28, x28, #1
	ldrsw	x8, [x21]
	add	x19, x19, #16
	add	x26, x26, #48
	cmp	x28, x8
	b.lt	LBB0_33
; %bb.40:
	cmp	w8, #1
	b.lt	LBB0_53
; %bb.41:
	mov	x19, #0
	mov	x20, #0
	ldp	x26, x28, [sp, #40]             ; 16-byte Folded Reload
	sxtw	x9, w28
	lsl	x24, x9, #2
	b	LBB0_46
LBB0_42:
	mov	x27, x0
Lloh6:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_av_log
	b	LBB0_66
LBB0_43:                                ;   in Loop: Header=BB0_46 Depth=1
	add	x8, x8, x24
	add	x9, x9, x24
	stp	x8, x9, [sp, #64]
	ldr	x8, [x21, #64]
	ldr	w0, [x8, x20, lsl #2]
	add	x1, sp, #64
	bl	_av_audio_fifo_write
	tbnz	w0, #31, LBB0_51
; %bb.44:                               ;   in Loop: Header=BB0_46 Depth=1
	ldr	w8, [x21]
LBB0_45:                                ;   in Loop: Header=BB0_46 Depth=1
	add	x20, x20, #1
	add	x19, x19, #16
	cmp	x20, w8, sxtw
	b.ge	LBB0_54
LBB0_46:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21, #24]
	ldr	w9, [x9, x20, lsl #2]
	subs	w2, w9, w28
	b.eq	LBB0_45
; %bb.47:                               ;   in Loop: Header=BB0_46 Depth=1
	ldr	x9, [x21, #8]
	ldr	x8, [x9, x19]
	cbnz	x8, LBB0_49
; %bb.48:                               ;   in Loop: Header=BB0_46 Depth=1
	ldr	x8, [x22, #8]
	ldr	x8, [x8]
LBB0_49:                                ;   in Loop: Header=BB0_46 Depth=1
	str	x8, [sp, #64]
	add	x9, x9, x19
	ldr	x9, [x9, #8]
	cbnz	x9, LBB0_43
; %bb.50:                               ;   in Loop: Header=BB0_46 Depth=1
	ldr	x9, [x22, #8]
	ldr	x9, [x9]
	b	LBB0_43
LBB0_51:
	mov	x27, x0
	b	LBB0_66
LBB0_52:
Lloh11:
	adrp	x8, _AVERROR_BUG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AVERROR_BUG@GOTPAGEOFF]
	b	LBB0_65
LBB0_53:
	ldp	x26, x28, [sp, #40]             ; 16-byte Folded Reload
LBB0_54:
	ldr	w8, [x26]
	cmp	w8, #1
	b.lt	LBB0_64
; %bb.55:
	mov	x19, #0
	mov	x25, #0
	b	LBB0_57
LBB0_56:                                ;   in Loop: Header=BB0_57 Depth=1
	add	x25, x25, #1
	ldrsw	x8, [x26]
	add	x19, x19, #32
	cmp	x25, x8
	b.ge	LBB0_64
LBB0_57:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #56]
	add	x8, x8, x19
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_59
; %bb.58:                               ;   in Loop: Header=BB0_57 Depth=1
	ldp	x9, x10, [x22, #8]
	ldr	x0, [x9, x25, lsl #3]
	ldr	x8, [x8, #8]
	ldr	x1, [x9, x8, lsl #3]
	ldr	w2, [x10]
	bl	_memcpy
	b	LBB0_61
LBB0_59:                                ;   in Loop: Header=BB0_57 Depth=1
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_61
; %bb.60:                               ;   in Loop: Header=BB0_57 Depth=1
	ldp	x8, x9, [x22, #8]
	ldr	x0, [x8, x25, lsl #3]
	ldr	w2, [x9]
	mov	w1, #0
	bl	_memset
LBB0_61:                                ;   in Loop: Header=BB0_57 Depth=1
	ldr	x8, [x21, #48]
	cbz	x8, LBB0_56
; %bb.62:                               ;   in Loop: Header=BB0_57 Depth=1
	cmp	w28, #1
	b.lt	LBB0_56
; %bb.63:                               ;   in Loop: Header=BB0_57 Depth=1
	ldr	x8, [x21, #40]
	ldr	x23, [x8]
	ldr	x8, [x22, #8]
	ldr	x20, [x8, x25, lsl #3]
	ldr	w24, [x21, #32]
	mov	x0, x28
	mov	w1, #8
	bl	_FFALIGN
	mov	x3, x0
	mov	x0, x20
	mov	x1, x20
	mov	x2, x24
	blr	x23
	b	LBB0_56
LBB0_64:
	str	w28, [x22]
	cmp	w28, #0
	cset	w8, ne
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	str	w8, [x9]
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
LBB0_65:
	ldr	w27, [x8]
LBB0_66:
	ldur	x8, [x29, #-96]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_69
; %bb.67:
	mov	x0, x27
	ldp	x29, x30, [sp, #288]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #272]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #256]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #240]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #224]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #208]            ; 16-byte Folded Reload
	add	sp, sp, #304
	ret
LBB0_68:
Lloh16:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	str	x28, [sp]
Lloh19:
	adrp	x2, l_.str.1@PAGE
Lloh20:
	add	x2, x2, l_.str.1@PAGEOFF
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_av_log
Lloh21:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh22:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
	b	LBB0_65
LBB0_69:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error parsing the packet header.\n"

	.comm	_AVERROR_BUG,4,2                ; @AVERROR_BUG
l_.str.1:                               ; @.str.1
	.asciz	"Mismatching coded sample count in substream %d.\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.no_dead_strip	_opus_decode_packet
.subsections_via_symbols
