	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtcp_parse_packet
_rtcp_parse_packet:                     ## @rtcp_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, %eax
	cmpl	$4, %edx
	jl	LBB0_13
## %bb.1:
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$-127, %al
	je	LBB0_4
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r13d, %rax
	addq	%rax, %rbx
	subl	%eax, %r12d
	cmpl	$3, %r12d
	jle	LBB0_12
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	2(%rbx), %rdi
	callq	_AV_RB16
                                        ## kill: def $eax killed $eax def $rax
	leal	4(,%rax,4), %esi
	movl	%r12d, %edi
	callq	_FFMIN
	movl	%eax, %r13d
	movzbl	1(%rbx), %eax
	cmpb	$-128, %al
	jne	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$19, %r13d
	jle	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_av_gettime_relative
	movl	%eax, 28(%r15)
	leaq	8(%rbx), %rdi
	callq	_AV_RB64
	movl	%eax, 20(%r15)
	leaq	16(%rbx), %rdi
	callq	_AV_RB32
	movq	%rax, 8(%r15)
	movl	24(%r15), %ecx
	cmpl	(%r14), %ecx
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	20(%r15), %ecx
	movl	%ecx, 24(%r15)
	movq	(%r15), %rcx
	testq	%rcx, %rcx
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, (%r15)
	movq	%rax, %rcx
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	subl	%ecx, %eax
	movl	%eax, 16(%r15)
	jmp	LBB0_11
LBB0_12:
	movl	$-1, %eax
	jmp	LBB0_13
LBB0_4:
	movl	$-129, %eax
	jmp	LBB0_13
LBB0_6:
	movl	32(%r15), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid RTCP SR packet length\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_AV_NOPTS_VALUE,4,2             ## @AV_NOPTS_VALUE
	.no_dead_strip	_rtcp_parse_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtcp_parse_packet
_rtcp_parse_packet:                     ; @rtcp_parse_packet
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	cmp	w2, #4
	b.lt	LBB0_10
; %bb.1:
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x23, _AV_NOPTS_VALUE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _AV_NOPTS_VALUE@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #129
	b.eq	LBB0_12
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, w22, sxtw
	sub	w19, w19, w22
	cmp	w19, #3
	b.le	LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x21, #2
	bl	_AV_RB16
	lsl	w8, w0, #2
	add	w1, w8, #4
	mov	x0, x19
	bl	_FFMIN
	mov	x22, x0
	ldrb	w8, [x21, #1]
	cmp	w8, #128
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w22, #19
	b.le	LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_av_gettime_relative
	str	w0, [x20, #28]
	add	x0, x21, #8
	bl	_AV_RB64
	str	w0, [x20, #20]
	add	x0, x21, #16
	bl	_AV_RB32
	str	x0, [x20, #8]
	ldr	w8, [x20, #24]
	ldr	w9, [x23]
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20, #20]
	str	w8, [x20, #24]
	ldr	x8, [x20]
	cbnz	x8, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	str	x0, [x20]
	mov	x8, x0
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	w8, w0, w8
	str	w8, [x20, #16]
	b	LBB0_3
LBB0_10:
	mov	w0, #-1
LBB0_11:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_12:
	mov	w0, #-129
	b	LBB0_11
LBB0_13:
	ldr	w0, [x20, #32]
Lloh2:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
Lloh7:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	b	LBB0_11
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid RTCP SR packet length\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_AV_NOPTS_VALUE,4,2             ; @AV_NOPTS_VALUE
	.no_dead_strip	_rtcp_parse_packet
.subsections_via_symbols
