	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_sequence_number
_update_sequence_number:                ## @update_sequence_number
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rcx
	movq	8(%rdi), %rdx
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.1:
	incq	%rcx
	cmpq	%r14, %rcx
	jne	LBB0_3
## %bb.2:
	decq	%rdx
	movq	%rdx, 8(%rbx)
	movq	%r14, (%rbx)
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_LOG_INFO
	cmpq	$0, 8(%rbx)
	jne	LBB0_14
	jmp	LBB0_12
LBB0_4:
	movq	%r14, %rdx
	subq	%rcx, %rdx
	movq	_MAX_DROPOUT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jge	LBB0_10
## %bb.5:
	cmpq	%r14, %rcx
	jne	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_LOG_INFO
	jmp	LBB0_14
LBB0_3:
	movq	_MIN_SEQUENTIAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	decq	%rdx
	movq	%rdx, 8(%rbx)
	movq	%r14, (%rbx)
	leaq	L_.str.1(%rip), %rsi
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_LOG_INFO
	jmp	LBB0_14
LBB0_10:
	cmpq	%r14, 16(%rbx)
	jne	LBB0_15
## %bb.11:
	leaq	L_.str.4(%rip), %rsi
	xorl	%edi, %edi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_LOG_INFO
LBB0_12:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_init_sequence_number
	jmp	LBB0_13
LBB0_7:
	cmpq	$2, %rdx
	jl	LBB0_9
## %bb.8:
	leaq	L_.str.3(%rip), %rsi
	xorl	%edi, %edi
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_LOG_INFO
LBB0_9:
	movq	%r14, (%rbx)
LBB0_13:
	incl	24(%rbx)
	movl	$1, %r15d
	jmp	LBB0_14
LBB0_15:
	leaq	L_.str.5(%rip), %rsi
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_LOG_INFO
	incq	%r14
	movq	_RTP_SEQ_MOD@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	decq	%rax
	andq	%r14, %rax
	movq	%rax, 16(%rbx)
LBB0_14:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RTP: Probation, %u more packet(s) to go at 0x%4.4hx"

	.comm	_MIN_SEQUENTIAL,8,3             ## @MIN_SEQUENTIAL
L_.str.1:                               ## @.str.1
	.asciz	"RTP: Probation reset, wait for %u packet(s) at 0x%4.4hx"

	.comm	_MAX_DROPOUT,8,3                ## @MAX_DROPOUT
L_.str.2:                               ## @.str.2
	.asciz	"RTP: Drop duplicate packet at 0x%4.4hx"

L_.str.3:                               ## @.str.3
	.asciz	"RTP: Jumped by %hu packets to 0x%4.4hx"

L_.str.4:                               ## @.str.4
	.asciz	"RTP: Misorder restart at 0x%4.4hx"

L_.str.5:                               ## @.str.5
	.asciz	"RTP: Misorder at 0x%4.4hx, expected 0x%4.4hx"

	.comm	_RTP_SEQ_MOD,4,2                ## @RTP_SEQ_MOD
	.comm	_MAX_MISORDER,8,3               ## @MAX_MISORDER
	.no_dead_strip	_update_sequence_number
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_sequence_number
_update_sequence_number:                ; @update_sequence_number
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	ldp	x8, x9, [x0]
	cbz	x9, LBB0_3
; %bb.1:
	add	x8, x8, #1
	cmp	x8, x20
	b.ne	LBB0_6
; %bb.2:
	sub	x2, x9, #1
	stp	x20, x2, [x19]
	str	x20, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #0
	bl	_LOG_INFO
	mov	w0, #0
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_16
	b	LBB0_10
LBB0_3:
Lloh2:
	adrp	x9, _MAX_DROPOUT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MAX_DROPOUT@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	sub	x2, x20, x8
	cmp	x2, x9
	b.ge	LBB0_8
; %bb.4:
	cmp	x8, x20
	b.ne	LBB0_11
; %bb.5:
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #0
	mov	x2, x20
	b	LBB0_7
LBB0_6:
Lloh7:
	adrp	x8, _MIN_SEQUENTIAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MIN_SEQUENTIAL@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	sub	x2, x8, #1
	stp	x20, x2, [x19]
	str	x20, [sp]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #0
LBB0_7:
	bl	_LOG_INFO
	mov	w0, #0
	b	LBB0_16
LBB0_8:
	ldr	x9, [x19, #16]
	cmp	x9, x20
	b.ne	LBB0_15
; %bb.9:
Lloh12:
	adrp	x1, l_.str.4@PAGE
Lloh13:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #0
	mov	x2, x20
	bl	_LOG_INFO
LBB0_10:
	mov	x0, x19
	mov	x1, x20
	bl	_init_sequence_number
	b	LBB0_14
LBB0_11:
	cmp	x2, #2
	b.lt	LBB0_13
; %bb.12:
	str	x20, [sp]
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #0
	bl	_LOG_INFO
LBB0_13:
	str	x20, [x19]
LBB0_14:
	ldr	w8, [x19, #24]
	add	w8, w8, #1
	str	w8, [x19, #24]
	mov	w0, #1
	b	LBB0_16
LBB0_15:
	str	x8, [sp]
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #0
	mov	x2, x20
	bl	_LOG_INFO
	mov	w0, #0
	add	x8, x20, #1
Lloh18:
	adrp	x9, _RTP_SEQ_MOD@GOTPAGE
Lloh19:
	ldr	x9, [x9, _RTP_SEQ_MOD@GOTPAGEOFF]
Lloh20:
	ldrsw	x9, [x9]
	sub	x9, x9, #1
	and	x8, x8, x9
	str	x8, [x19, #16]
LBB0_16:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RTP: Probation, %u more packet(s) to go at 0x%4.4hx"

	.comm	_MIN_SEQUENTIAL,8,3             ; @MIN_SEQUENTIAL
l_.str.1:                               ; @.str.1
	.asciz	"RTP: Probation reset, wait for %u packet(s) at 0x%4.4hx"

	.comm	_MAX_DROPOUT,8,3                ; @MAX_DROPOUT
l_.str.2:                               ; @.str.2
	.asciz	"RTP: Drop duplicate packet at 0x%4.4hx"

l_.str.3:                               ; @.str.3
	.asciz	"RTP: Jumped by %hu packets to 0x%4.4hx"

l_.str.4:                               ; @.str.4
	.asciz	"RTP: Misorder restart at 0x%4.4hx"

l_.str.5:                               ; @.str.5
	.asciz	"RTP: Misorder at 0x%4.4hx, expected 0x%4.4hx"

	.comm	_RTP_SEQ_MOD,4,2                ; @RTP_SEQ_MOD
	.comm	_MAX_MISORDER,8,3               ; @MAX_MISORDER
	.no_dead_strip	_update_sequence_number
.subsections_via_symbols
