	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function opus_get_packet_samples
_opus_get_packet_samples:               ## @opus_get_packet_samples
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %r8d
	xorl	%eax, %eax
	testl	%r8d, %r8d
	jle	LBB0_7
## %bb.1:
	movq	8(%rsi), %r9
	movl	(%r9), %esi
	movl	$1, %edx
	movl	%esi, %ecx
	andl	$3, %ecx
	leaq	LJTI0_0(%rip), %r10
	movslq	(%r10,%rcx,4), %rcx
	addq	%r10, %rcx
	jmpq	*%rcx
LBB0_2:
	movl	$2, %edx
	jmp	LBB0_5
LBB0_3:
	cmpl	$2, %r8d
	jb	LBB0_7
## %bb.4:
	movl	4(%r9), %edx
	andl	$63, %edx
LBB0_5:
	sarl	$3, %esi
	movslq	%esi, %rax
	leaq	_opus_get_packet_samples.durations(%rip), %rcx
	imull	(%rcx,%rax,4), %edx
	movl	%edx, %eax
	cmpl	$5761, %edx                     ## imm = 0x1681
	jl	LBB0_7
## %bb.6:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
	xorl	%eax, %eax
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @opus_get_packet_samples.durations
_opus_get_packet_samples.durations:
	.long	480                             ## 0x1e0
	.long	960                             ## 0x3c0
	.long	1920                            ## 0x780
	.long	2880                            ## 0xb40
	.long	480                             ## 0x1e0
	.long	960                             ## 0x3c0
	.long	1920                            ## 0x780
	.long	2880                            ## 0xb40
	.long	480                             ## 0x1e0
	.long	960                             ## 0x3c0
	.long	1920                            ## 0x780
	.long	2880                            ## 0xb40
	.long	480                             ## 0x1e0
	.long	960                             ## 0x3c0
	.long	480                             ## 0x1e0
	.long	960                             ## 0x3c0
	.long	120                             ## 0x78
	.long	240                             ## 0xf0
	.long	480                             ## 0x1e0
	.long	960                             ## 0x3c0
	.long	120                             ## 0x78
	.long	240                             ## 0xf0
	.long	480                             ## 0x1e0
	.long	960                             ## 0x3c0
	.long	120                             ## 0x78
	.long	240                             ## 0xf0
	.long	480                             ## 0x1e0
	.long	960                             ## 0x3c0
	.long	120                             ## 0x78
	.long	240                             ## 0xf0
	.long	480                             ## 0x1e0
	.long	960                             ## 0x3c0

	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Opus packet duration > 120 ms, invalid"

	.no_dead_strip	_opus_get_packet_samples
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function opus_get_packet_samples
_opus_get_packet_samples:               ; @opus_get_packet_samples
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w10, [x1]
	cmp	w10, #1
	b.lt	LBB0_7
; %bb.1:
	ldr	x11, [x1, #8]
	ldr	w12, [x11]
	asr	w8, w12, #3
Lloh0:
	adrp	x9, _opus_get_packet_samples.durations@PAGE
Lloh1:
	add	x9, x9, _opus_get_packet_samples.durations@PAGEOFF
	ldr	w8, [x9, w8, sxtw #2]
	mov	w9, #1
	and	x12, x12, #0x3
Lloh2:
	adrp	x13, lJTI0_0@PAGE
Lloh3:
	add	x13, x13, lJTI0_0@PAGEOFF
	adr	x14, LBB0_2
	ldrb	w15, [x13, x12]
	add	x14, x14, x15, lsl #2
	br	x14
LBB0_2:
	mov	w9, #2
	b	LBB0_5
LBB0_3:
	cmp	w10, #2
	b.lo	LBB0_7
; %bb.4:
	ldr	w9, [x11, #4]
	and	w9, w9, #0x3f
LBB0_5:
	mul	w8, w9, w8
	mov	w9, #5761
	cmp	w8, w9
	b.lt	LBB0_8
; %bb.6:
Lloh4:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
LBB0_7:
	mov	w8, #0
LBB0_8:
	mov	x0, x8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
                                        ; -- End function
	.p2align	2                               ; @opus_get_packet_samples.durations
_opus_get_packet_samples.durations:
	.long	480                             ; 0x1e0
	.long	960                             ; 0x3c0
	.long	1920                            ; 0x780
	.long	2880                            ; 0xb40
	.long	480                             ; 0x1e0
	.long	960                             ; 0x3c0
	.long	1920                            ; 0x780
	.long	2880                            ; 0xb40
	.long	480                             ; 0x1e0
	.long	960                             ; 0x3c0
	.long	1920                            ; 0x780
	.long	2880                            ; 0xb40
	.long	480                             ; 0x1e0
	.long	960                             ; 0x3c0
	.long	480                             ; 0x1e0
	.long	960                             ; 0x3c0
	.long	120                             ; 0x78
	.long	240                             ; 0xf0
	.long	480                             ; 0x1e0
	.long	960                             ; 0x3c0
	.long	120                             ; 0x78
	.long	240                             ; 0xf0
	.long	480                             ; 0x1e0
	.long	960                             ; 0x3c0
	.long	120                             ; 0x78
	.long	240                             ; 0xf0
	.long	480                             ; 0x1e0
	.long	960                             ; 0x3c0
	.long	120                             ; 0x78
	.long	240                             ; 0xf0
	.long	480                             ; 0x1e0
	.long	960                             ; 0x3c0

	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Opus packet duration > 120 ms, invalid"

	.no_dead_strip	_opus_get_packet_samples
.subsections_via_symbols
