	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtp_parse_one_packet
_rtp_parse_one_packet:                  ## @rtp_parse_one_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r13
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	(%r12), %r14
	testq	%r14, %r14
	jne	LBB0_8
LBB0_2:
	cmpq	$0, (%r13)
	jle	LBB0_3
## %bb.5:
	movq	56(%r13), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.22:
	movq	_RTP_NOTS_VALUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -44(%rbp)
	movl	24(%r13), %edi
	movl	48(%r13), %esi
	movq	40(%r13), %rdx
	subq	$8, %rsp
	leaq	-44(%rbp), %r8
	movq	%rbx, %rcx
	movq	%rbx, %r14
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	pushq	$0
	callq	*%rax
	addq	$32, %rsp
	movl	%eax, %ebx
	movl	-44(%rbp), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_finalize_packet
	movl	%ebx, %eax
	jmp	LBB0_23
LBB0_7:
	xorl	%r14d, %r14d
LBB0_8:
	movl	$-1, %eax
	cmpl	$12, %r15d
	jl	LBB0_23
## %bb.9:
	movl	$192, %edx
	andl	(%r14), %edx
	movq	_RTP_VERSION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	shll	$6, %ecx
	cmpl	%ecx, %edx
	jne	LBB0_23
## %bb.10:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	4(%r14), %edi
	callq	_RTP_PT_IS_RTCP
	testq	%rax, %rax
	je	LBB0_11
## %bb.24:
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtcp_parse_packet              ## TAILCALL
LBB0_3:
	movq	%r13, %rdi
	movq	%rbx, %rsi
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtp_parse_queued_packet        ## TAILCALL
LBB0_11:
	cmpq	$0, 40(%r13)
	je	LBB0_13
## %bb.12:
	xorl	%eax, %eax
	callq	_av_gettime_relative
	movq	_AV_TIME_BASE_Q@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	40(%r13), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	callq	_av_rescale_q
	movl	%eax, %ebx
	leaq	16(%r14), %rdi
	callq	_AV_RB32
	movl	%eax, -44(%rbp)
	leaq	32(%r13), %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_rtcp_update_jitter
LBB0_13:
	cmpq	$0, 8(%r13)
	jne	LBB0_15
## %bb.14:
	cmpl	$0, 28(%r13)
	je	LBB0_25
LBB0_15:
	cmpl	$1, 16(%r13)
	jle	LBB0_25
## %bb.16:
	leaq	8(%r14), %rdi
	callq	_AV_RB16
	subl	8(%r13), %eax
	js	LBB0_17
## %bb.18:
	cmpl	$1, %eax
	ja	LBB0_19
LBB0_25:
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	movl	%r15d, %ecx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtp_parse_packet_internal      ## TAILCALL
LBB0_17:
	movl	24(%r13), %edi
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
	movl	$-1, %eax
	jmp	LBB0_23
LBB0_19:
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_enqueue_packet
	testl	%eax, %eax
	js	LBB0_23
## %bb.20:
	movq	$0, (%r12)
	movl	20(%r13), %eax
	cmpl	16(%r13), %eax
	movl	$-1, %eax
	jge	LBB0_21
LBB0_23:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	movl	24(%r13), %edi
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	callq	_av_log
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_RTP_NOTS_VALUE,4,2             ## @RTP_NOTS_VALUE
	.comm	_RTP_VERSION,4,2                ## @RTP_VERSION
	.comm	_AV_TIME_BASE_Q,4,2             ## @AV_TIME_BASE_Q
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RTP: dropping old packet received too late\n"

L_.str.1:                               ## @.str.1
	.asciz	"jitter buffer full\n"

	.no_dead_strip	_rtp_parse_one_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtp_parse_one_packet
_rtp_parse_one_packet:                  ; @rtp_parse_one_packet
	.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	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	cbz	x2, LBB0_3
; %bb.1:
	ldr	x23, [x22]
	cbz	x23, LBB0_3
; %bb.2:
	cmp	w21, #12
	b.ge	LBB0_8
	b	LBB0_20
LBB0_3:
	ldr	x8, [x20]
	cmp	x8, #0
	b.le	LBB0_25
; %bb.4:
	ldr	x8, [x20, #56]
	cbz	x8, LBB0_7
; %bb.5:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.6:
Lloh0:
	adrp	x9, _RTP_NOTS_VALUE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RTP_NOTS_VALUE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [sp, #12]
	ldr	w0, [x20, #24]
	ldr	w1, [x20, #48]
	ldr	x2, [x20, #40]
	str	wzr, [sp]
	add	x4, sp, #12
	mov	x3, x19
	mov	x5, #0
	mov	w6, #0
	mov	w7, #0
	blr	x8
	mov	x21, x0
	ldr	w2, [sp, #12]
	mov	x0, x20
	mov	x1, x19
	bl	_finalize_packet
	b	LBB0_21
LBB0_7:
	mov	x23, #0
	cmp	w21, #12
	b.lt	LBB0_20
LBB0_8:
	ldr	w8, [x23]
	and	w8, w8, #0xc0
Lloh3:
	adrp	x9, _RTP_VERSION@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RTP_VERSION@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9, lsl #6
	b.ne	LBB0_20
; %bb.9:
	ldr	w0, [x23, #4]
	bl	_RTP_PT_IS_RTCP
	cbz	x0, LBB0_11
; %bb.10:
	mov	x0, x20
	mov	x1, x23
	mov	x2, 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
	b	_rtcp_parse_packet
LBB0_11:
	ldr	x8, [x20, #40]
	cbz	x8, LBB0_13
; %bb.12:
	bl	_av_gettime_relative
Lloh6:
	adrp	x8, _AV_TIME_BASE_Q@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AV_TIME_BASE_Q@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	x8, [x20, #40]
	ldr	w2, [x8]
	bl	_av_rescale_q
	mov	x24, x0
	add	x0, x23, #16
	bl	_AV_RB32
	mov	x1, x0
	str	w0, [sp, #12]
	add	x0, x20, #32
	mov	x2, x24
	bl	_rtcp_update_jitter
LBB0_13:
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_15
; %bb.14:
	ldr	w8, [x20, #28]
	cbz	w8, LBB0_18
LBB0_15:
	ldr	w8, [x20, #16]
	cmp	w8, #1
	b.le	LBB0_18
; %bb.16:
	add	x0, x23, #8
	bl	_AV_RB16
	ldr	w8, [x20, #8]
	subs	w8, w0, w8
	b.mi	LBB0_19
; %bb.17:
	cmp	w8, #1
	b.hi	LBB0_22
LBB0_18:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	mov	x3, 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
	b	_rtp_parse_packet_internal
LBB0_19:
	ldr	w0, [x20, #24]
Lloh9:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
LBB0_20:
	mov	w21, #-1
LBB0_21:
	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
LBB0_22:
	mov	x0, x20
	mov	x1, x23
	mov	x2, x21
	bl	_enqueue_packet
	tbnz	w0, #31, LBB0_26
; %bb.23:
	str	xzr, [x22]
	ldp	w9, w8, [x20, #16]
	cmp	w8, w9
	b.lt	LBB0_20
; %bb.24:
	ldr	w0, [x20, #24]
Lloh14:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x2, l_.str.1@PAGE
Lloh18:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_av_log
LBB0_25:
	mov	x0, x20
	mov	x1, x19
	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
	b	_rtp_parse_queued_packet
LBB0_26:
	mov	x21, x0
	b	LBB0_21
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_RTP_NOTS_VALUE,4,2             ; @RTP_NOTS_VALUE
	.comm	_RTP_VERSION,4,2                ; @RTP_VERSION
	.comm	_AV_TIME_BASE_Q,4,2             ; @AV_TIME_BASE_Q
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RTP: dropping old packet received too late\n"

l_.str.1:                               ; @.str.1
	.asciz	"jitter buffer full\n"

	.no_dead_strip	_rtp_parse_one_packet
.subsections_via_symbols
