	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtp_parse_queued_packet
_rtp_parse_queued_packet:               ## @rtp_parse_queued_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, (%rdi)
	jle	LBB0_4
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_has_next_packet
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movl	24(%rbx), %edi
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%rbx), %rax
	movq	16(%rbx), %rcx
	notq	%rcx
	addq	24(%rax), %rcx
	leaq	L_.str(%rip), %rdx
	callq	_av_log
LBB0_3:
	leaq	8(%rbx), %r15
	movq	8(%rbx), %rax
	movq	(%rax), %rdx
	movl	16(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_rtp_parse_packet_internal
	movl	%eax, %r14d
	movq	8(%rbx), %rdi
	movq	8(%rdi), %r12
	callq	_av_freep
	movq	%r15, %rdi
	callq	_av_freep
	movq	%r12, 8(%rbx)
	decq	(%rbx)
	movl	%r14d, %eax
	jmp	LBB0_5
LBB0_4:
	movl	$-1, %eax
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RTP: missed %d packets\n"

	.no_dead_strip	_rtp_parse_queued_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_queued_packet
_rtp_parse_queued_packet:               ; @rtp_parse_queued_packet
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x8, [x0]
	cmp	x8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	bl	_has_next_packet
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	w0, [x19, #24]
Lloh0:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldp	x8, x9, [x19, #8]
	ldr	x8, [x8, #24]
	mvn	x9, x9
	add	x3, x8, x9
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
LBB0_3:
	mov	x21, x19
	ldr	x8, [x21, #8]!
	ldr	x2, [x8]
	ldr	w3, [x8, #16]
	mov	x0, x19
	mov	x1, x20
	bl	_rtp_parse_packet_internal
	mov	x20, x0
	ldr	x0, [x21]
	ldr	x22, [x0, #8]
	bl	_av_freep
	mov	x0, x21
	bl	_av_freep
	str	x22, [x21]
	ldr	x8, [x19]
	sub	x8, x8, #1
	str	x8, [x19]
	mov	x0, x20
	b	LBB0_5
LBB0_4:
	mov	w0, #-1
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RTP: missed %d packets\n"

	.no_dead_strip	_rtp_parse_queued_packet
.subsections_via_symbols
