	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function opus_parse
_opus_parse:                            ## @opus_parse
	.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	%r8, %rax
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%r8, -56(%rbp)
	movl	%r9d, -44(%rbp)
	movq	(%rdi), %rbx
	leaq	-48(%rbp), %r8
	movq	%rax, %rdx
	movl	%r9d, %ecx
	callq	_opus_find_frame_end
	movl	%eax, %r12d
	cmpq	$0, (%rbx)
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	je	LBB0_4
## %bb.1:
	cmpl	%eax, %r12d
	je	LBB0_4
## %bb.2:
	addq	$8, %rbx
	leaq	-56(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_ff_combine_frame
	testq	%rax, %rax
	js	LBB0_5
## %bb.3:
	movl	(%r13), %eax
LBB0_4:
	cmpl	%eax, %r12d
	jne	LBB0_6
LBB0_5:
	movq	$0, (%r15)
	movl	$0, (%r14)
	movl	-44(%rbp), %r12d
	jmp	LBB0_7
LBB0_6:
	movslq	-48(%rbp), %rax
	movq	%rax, %rcx
	shlq	$2, %rcx
	addq	-56(%rbp), %rcx
	movq	%rcx, (%r15)
	movl	-44(%rbp), %ecx
	subl	%eax, %ecx
	movl	%ecx, (%r14)
LBB0_7:
	movl	%r12d, %eax
	addq	$24, %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
	.no_dead_strip	_opus_parse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function opus_parse
_opus_parse:                            ; @opus_parse
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x8, x4
	mov	x19, x3
	mov	x20, x2
	str	x4, [sp, #8]
	str	w5, [sp, #4]
	ldr	x23, [x0]
	mov	x4, sp
	mov	x2, x8
	mov	x3, x5
	bl	_opus_find_frame_end
	mov	x21, x0
	ldr	x9, [x23]
Lloh0:
	adrp	x22, _AVERROR_INVALIDDATA@GOTPAGE
Lloh1:
	ldr	x22, [x22, _AVERROR_INVALIDDATA@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	x9, #0
	ccmp	w0, w8, #4, ne
	b.eq	LBB0_3
; %bb.1:
	add	x0, x23, #8
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x1, x21
	bl	_ff_combine_frame
	tbnz	x0, #63, LBB0_4
; %bb.2:
	ldr	w8, [x22]
LBB0_3:
	cmp	w21, w8
	b.ne	LBB0_5
LBB0_4:
	str	xzr, [x20]
	str	wzr, [x19]
	ldr	w21, [sp, #4]
	b	LBB0_6
LBB0_5:
	ldr	x8, [sp, #8]
	ldrsw	x9, [sp]
	add	x8, x8, x9, lsl #2
	str	x8, [x20]
	ldr	w8, [sp, #4]
	sub	w8, w8, w9
	str	w8, [x19]
LBB0_6:
	mov	x0, x21
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.no_dead_strip	_opus_parse
.subsections_via_symbols
