	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_rtp_parse_packet            ## -- Begin function ff_rtp_parse_packet
	.p2align	4, 0x90
_ff_rtp_parse_packet:                   ## @ff_rtp_parse_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	%ecx, -28(%rbp)
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.1:
	cmpq	$0, 8(%r15)
	je	LBB0_5
## %bb.2:
	leaq	4(%r15), %rdi
	movq	(%rbx), %rsi
	leaq	-28(%rbp), %rdx
	callq	_ff_srtp_decrypt
	testq	%rax, %rax
	js	LBB0_3
## %bb.4:
	movl	-28(%rbp), %ecx
LBB0_5:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_rtp_parse_one_packet
	movl	%eax, %ebx
	movl	%eax, (%r15)
	testl	%eax, %eax
	jns	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_has_next_packet
	testl	%eax, %eax
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_rtp_parse_queued_packet
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_7
LBB0_9:
	testl	%ebx, %ebx
	jne	LBB0_11
## %bb.10:
	movq	%r15, %rdi
	callq	_has_next_packet
	movl	%eax, %ebx
	jmp	LBB0_11
LBB0_3:
	movl	$-1, %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_rtp_parse_packet            ; -- Begin function ff_rtp_parse_packet
	.p2align	2
_ff_rtp_parse_packet:                   ; @ff_rtp_parse_packet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	str	w3, [sp, #12]
	cbz	x2, LBB0_4
; %bb.1:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_4
; %bb.2:
	add	x0, x19, #4
	ldr	x1, [x21]
	add	x2, sp, #12
	bl	_ff_srtp_decrypt
	tbnz	x0, #63, LBB0_9
; %bb.3:
	ldr	w3, [sp, #12]
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_rtp_parse_one_packet
	mov	x21, x0
	str	w0, [x19]
	tbnz	w0, #31, LBB0_8
LBB0_5:
	cbnz	w21, LBB0_10
; %bb.6:
	mov	x0, x19
	bl	_has_next_packet
	mov	x21, x0
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_rtp_parse_queued_packet
	mov	x21, x0
	tbz	w0, #31, LBB0_5
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_has_next_packet
	cbnz	w0, LBB0_7
	b	LBB0_10
LBB0_9:
	mov	w21, #-1
LBB0_10:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
