	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ccid3_hc_rx_packet_recv
_ccid3_hc_rx_packet_recv:               ## @ccid3_hc_rx_packet_recv
	.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
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_ccid3_hc_rx_sk
	movq	%rax, %r12
	movq	_CCID3_FBACK_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_dccp_sk
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_dccp_data_packet
	movl	%eax, %r13d
	movq	(%r12), %rax
	movq	_TFRC_RSTATE_NO_DATA@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	testl	%r13d, %r13d
	je	LBB0_17
## %bb.2:
	movq	(%r15), %rbx
	movq	%r15, %rdi
	callq	_dccp_hdr
	movslq	(%rax), %rax
	shlq	$2, %rax
	subq	%rax, %rbx
	movq	_CCID3_FBACK_INITIAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_TFRC_RSTATE_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_ccid3_hc_rx_set_state
	movq	%rbx, 8(%r12)
LBB0_17:
	addq	$24, %r12
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_tfrc_rx_hist_add_packet
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_19
LBB0_20:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ccid3_hc_rx_send_feedback      ## TAILCALL
LBB0_3:
	leaq	24(%r12), %rbx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_tfrc_rx_hist_duplicate
	testq	%rax, %rax
	je	LBB0_4
LBB0_19:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	testl	%r13d, %r13d
	je	LBB0_6
## %bb.5:
	movq	(%r15), %rbx
	movq	%r15, %rdi
	callq	_dccp_hdr
	movslq	(%rax), %rax
	shlq	$2, %rax
	subq	%rax, %rbx
	movq	8(%r12), %rdi
	movq	%rbx, %rsi
	movl	$9, %edx
	callq	_tfrc_ewma
	movq	%rax, 8(%r12)
	addl	%ebx, 36(%r12)
LBB0_6:
	leaq	32(%r12), %rbx
	movq	_ccid3_first_li@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movq	%r14, %r9
	callq	_tfrc_rx_handle_loss
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_CCID3_FBACK_PARAM_CHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_20
	jmp	LBB0_19
LBB0_8:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_tfrc_rx_hist_loss_pending
	testq	%rax, %rax
	jne	LBB0_19
## %bb.9:
	xorl	%edi, %edi
	testl	%r13d, %r13d
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_17
## %bb.10:
	movq	%rbx, %rdi
	callq	_tfrc_lh_is_initialised
	testl	%eax, %eax
	je	LBB0_11
## %bb.13:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_tfrc_lh_update_i_mean
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	_CCID3_FBACK_PARAM_CHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_15
LBB0_11:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_tfrc_rx_hist_sample_rtt
	testq	%rax, %rax
	je	LBB0_15
## %bb.12:
	movq	16(%r12), %rdi
	movq	%rax, %rsi
	movl	$9, %edx
	callq	_tfrc_ewma
	movq	%rax, 16(%r12)
LBB0_15:
	movq	%r15, %rdi
	callq	_dccp_hdr
	movl	4(%rax), %edi
	movl	28(%r12), %esi
	callq	_SUB16
	cmpl	$4, %eax
	jl	LBB0_17
## %bb.16:
	movq	_CCID3_FBACK_PERIODIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_CCID3_FBACK_NONE,4,2           ## @CCID3_FBACK_NONE
	.comm	_TFRC_RSTATE_NO_DATA,8,3        ## @TFRC_RSTATE_NO_DATA
	.comm	_CCID3_FBACK_INITIAL,4,2        ## @CCID3_FBACK_INITIAL
	.comm	_TFRC_RSTATE_DATA,4,2           ## @TFRC_RSTATE_DATA
	.comm	_ccid3_first_li,4,2             ## @ccid3_first_li
	.comm	_CCID3_FBACK_PARAM_CHANGE,4,2   ## @CCID3_FBACK_PARAM_CHANGE
	.comm	_CCID3_FBACK_PERIODIC,4,2       ## @CCID3_FBACK_PERIODIC
	.no_dead_strip	_ccid3_hc_rx_packet_recv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ccid3_hc_rx_packet_recv
_ccid3_hc_rx_packet_recv:               ; @ccid3_hc_rx_packet_recv
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
	bl	_ccid3_hc_rx_sk
	mov	x22, x0
Lloh0:
	adrp	x8, _CCID3_FBACK_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CCID3_FBACK_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_dccp_sk
	ldr	w23, [x0]
	mov	x0, x19
	bl	_dccp_data_packet
	mov	x25, x0
	ldr	x8, [x22]
Lloh3:
	adrp	x9, _TFRC_RSTATE_NO_DATA@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TFRC_RSTATE_NO_DATA@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.1:
	cbz	w25, LBB0_3
; %bb.2:
	ldr	x21, [x19]
	mov	x0, x19
	bl	_dccp_hdr
	ldrsw	x8, [x0]
	sub	x24, x21, x8, lsl #2
Lloh6:
	adrp	x8, _CCID3_FBACK_INITIAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CCID3_FBACK_INITIAL@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
Lloh9:
	adrp	x8, _TFRC_RSTATE_DATA@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TFRC_RSTATE_DATA@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ccid3_hc_rx_set_state
	str	x24, [x22, #8]
LBB0_3:
	add	x0, x22, #24
	mov	x1, x19
	mov	x2, x23
	bl	_tfrc_rx_hist_add_packet
	cbz	w21, LBB0_6
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_ccid3_hc_rx_send_feedback
LBB0_5:
	add	x24, x22, #24
	mov	x0, x24
	mov	x1, x19
	bl	_tfrc_rx_hist_duplicate
	cbz	x0, LBB0_7
LBB0_6:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_7:
	cbz	w25, LBB0_9
; %bb.8:
	ldr	x26, [x19]
	mov	x0, x19
	bl	_dccp_hdr
	ldrsw	x8, [x0]
	sub	x26, x26, x8, lsl #2
	ldr	x0, [x22, #8]
	mov	x1, x26
	mov	w2, #9
	bl	_tfrc_ewma
	str	x0, [x22, #8]
	ldr	w8, [x22, #36]
	add	w8, w8, w26
	str	w8, [x22, #36]
LBB0_9:
	add	x26, x22, #32
Lloh12:
	adrp	x8, _ccid3_first_li@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ccid3_first_li@GOTPAGEOFF]
Lloh14:
	ldr	w4, [x8]
	mov	x0, x24
	mov	x1, x26
	mov	x2, x19
	mov	x3, x23
	mov	x5, x20
	bl	_tfrc_rx_handle_loss
	cbz	x0, LBB0_11
; %bb.10:
Lloh15:
	adrp	x8, _CCID3_FBACK_PARAM_CHANGE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CCID3_FBACK_PARAM_CHANGE@GOTPAGEOFF]
Lloh17:
	ldr	w21, [x8]
	cbnz	w21, LBB0_4
	b	LBB0_6
LBB0_11:
	mov	x0, x24
	bl	_tfrc_rx_hist_loss_pending
	cbnz	x0, LBB0_6
; %bb.12:
	cmp	w25, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_3
; %bb.13:
	mov	x0, x26
	bl	_tfrc_lh_is_initialised
	cbz	w0, LBB0_15
; %bb.14:
	mov	x0, x26
	mov	x1, x19
	bl	_tfrc_lh_update_i_mean
Lloh18:
	adrp	x8, _CCID3_FBACK_PARAM_CHANGE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CCID3_FBACK_PARAM_CHANGE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w21, w21, w8, eq
	b	LBB0_17
LBB0_15:
	mov	x0, x24
	mov	x1, x19
	bl	_tfrc_rx_hist_sample_rtt
	cbz	x0, LBB0_17
; %bb.16:
	mov	x1, x0
	ldr	x0, [x22, #16]
	mov	w2, #9
	bl	_tfrc_ewma
	str	x0, [x22, #16]
LBB0_17:
	mov	x0, x19
	bl	_dccp_hdr
	ldr	w0, [x0, #4]
	ldr	w1, [x22, #28]
	bl	_SUB16
Lloh21:
	adrp	x8, _CCID3_FBACK_PERIODIC@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CCID3_FBACK_PERIODIC@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	cmp	w0, #3
	csel	w21, w8, w21, gt
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_CCID3_FBACK_NONE,4,2           ; @CCID3_FBACK_NONE
	.comm	_TFRC_RSTATE_NO_DATA,8,3        ; @TFRC_RSTATE_NO_DATA
	.comm	_CCID3_FBACK_INITIAL,4,2        ; @CCID3_FBACK_INITIAL
	.comm	_TFRC_RSTATE_DATA,4,2           ; @TFRC_RSTATE_DATA
	.comm	_ccid3_first_li,4,2             ; @ccid3_first_li
	.comm	_CCID3_FBACK_PARAM_CHANGE,4,2   ; @CCID3_FBACK_PARAM_CHANGE
	.comm	_CCID3_FBACK_PERIODIC,4,2       ; @CCID3_FBACK_PERIODIC
	.no_dead_strip	_ccid3_hc_rx_packet_recv
.subsections_via_symbols
