	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cdg_ack_received
_cdg_ack_received:                      ## @cdg_ack_received
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movq	_osd@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_CCV
	movq	_ertt_id@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_khelp_get_osd
	movq	%rax, %r13
	movq	_ERTT_NEW_MEASUREMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	4(%r13), %edi
	movq	48(%rbx), %rsi
	movl	(%r13), %r12d
	callq	_imax
	movq	%rax, 48(%rbx)
	movl	4(%r13), %edi
	movq	56(%rbx), %rsi
	callq	_imin
	movq	%rax, 56(%rbx)
	andl	%r15d, %r12d
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	je	LBB0_31
## %bb.1:
	movq	_snd_cwnd@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_CCV
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_snd_ssthresh@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_CCV
	movq	40(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.3:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	48(%rbx), %r12
	subq	%rcx, %r12
	movq	_D_P_E@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shlq	%cl, %r12
	movq	56(%rbx), %r15
	subq	64(%rbx), %r15
	shlq	%cl, %r15
	cmpq	$0, (%rbx)
	je	LBB0_4
## %bb.5:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%rax, %r14
	movq	%r15, %rdx
	callq	_calc_moving_average
	movq	%r14, %rax
	jmp	LBB0_6
LBB0_2:
	xorl	%eax, %eax
	movq	_ERTT_NEW_MEASUREMENT@GOTPCREL(%rip), %rsi
	jmp	LBB0_24
LBB0_4:
	movq	%r12, 8(%rbx)
	movq	%r15, 16(%rbx)
LBB0_6:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rax, %rcx
	jg	LBB0_8
## %bb.7:
	testq	%r15, %r15
	jg	LBB0_13
LBB0_8:
	movq	16(%rbx), %r15
	testq	%r15, %r15
	jg	LBB0_13
## %bb.9:
	cmpq	%rax, %rcx
	jg	LBB0_11
## %bb.10:
	movq	%r12, %r15
	testq	%r12, %r12
	jg	LBB0_13
LBB0_11:
	movq	8(%rbx), %r15
	testq	%r15, %r15
	jle	LBB0_12
LBB0_13:
	movq	%r15, %rdi
	callq	_prob_backoff
LBB0_14:
	movq	_ERTT_NEW_MEASUREMENT@GOTPCREL(%rip), %rsi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	cmpq	$0, 16(%rbx)
	jle	LBB0_17
## %bb.15:
	movq	8(%rbx), %rcx
	testq	%rcx, %rcx
	jle	LBB0_22
## %bb.16:
	movq	_CDG_Q_RISING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 72(%rbx)
	jmp	LBB0_24
LBB0_17:
	movq	8(%rbx), %rcx
	js	LBB0_20
## %bb.18:
	testq	%rcx, %rcx
	jns	LBB0_24
## %bb.19:
	movq	_CDG_Q_EMPTY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 72(%rbx)
	movq	$0, 32(%rbx)
	jmp	LBB0_23
LBB0_22:
	movq	_CDG_Q_FULL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 72(%rbx)
	jns	LBB0_24
	jmp	LBB0_23
LBB0_20:
	testq	%rcx, %rcx
	jns	LBB0_23
## %bb.21:
	movq	_CDG_Q_FALLING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 72(%rbx)
LBB0_23:
	movq	$0, 24(%rbx)
LBB0_24:
	movq	48(%rbx), %rcx
	movq	56(%rbx), %rdx
	movq	%rdx, 64(%rbx)
	movq	_INT_MAX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, 56(%rbx)
	movq	%rcx, 40(%rbx)
	movq	$0, 48(%rbx)
	movl	(%rsi), %ecx
	notl	%ecx
	andl	%ecx, (%r13)
	testl	%eax, %eax
	je	LBB0_31
## %bb.25:
	incq	24(%rbx)
	movq	_t_flags@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_CCV
	movq	%rax, %rdi
	callq	_IN_RECOVERY
	testl	%eax, %eax
	jne	LBB0_32
## %bb.26:
	movq	24(%rbx), %rax
	movq	_V_cdg_consec_cong@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jle	LBB0_27
## %bb.28:
	movq	_V_cdg_hold_backoff@GOTPCREL(%rip), %rdx
	addq	(%rdx), %rcx
	cmpq	%rcx, %rax
	movq	_snd_cwnd@GOTPCREL(%rip), %rax
	jl	LBB0_30
## %bb.29:
	movq	$0, 24(%rbx)
	jmp	LBB0_30
LBB0_31:
	movq	_CC_ACK@GOTPCREL(%rip), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, (%rax)
	jne	LBB0_32
## %bb.33:
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cdg_window_increase            ## TAILCALL
LBB0_27:
	movq	_CC_CDG_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_cdg_cong_signal
	movq	_snd_cwnd@GOTPCREL(%rip), %rax
LBB0_30:
	movq	$0, 40(%rbx)
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_CCV
	movq	32(%rbx), %rsi
	movq	%rax, %rdi
	callq	_ulmax
	movq	%rax, 32(%rbx)
LBB0_32:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	xorl	%eax, %eax
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_osd,4,2                        ## @osd
	.comm	_ertt_id,4,2                    ## @ertt_id
	.comm	_ERTT_NEW_MEASUREMENT,4,2       ## @ERTT_NEW_MEASUREMENT
	.comm	_snd_cwnd,4,2                   ## @snd_cwnd
	.comm	_snd_ssthresh,4,2               ## @snd_ssthresh
	.comm	_D_P_E,8,3                      ## @D_P_E
	.comm	_CDG_Q_FULL,4,2                 ## @CDG_Q_FULL
	.comm	_CDG_Q_EMPTY,4,2                ## @CDG_Q_EMPTY
	.comm	_CDG_Q_RISING,4,2               ## @CDG_Q_RISING
	.comm	_CDG_Q_FALLING,4,2              ## @CDG_Q_FALLING
	.comm	_INT_MAX,8,3                    ## @INT_MAX
	.comm	_t_flags,4,2                    ## @t_flags
	.comm	_V_cdg_consec_cong,8,3          ## @V_cdg_consec_cong
	.comm	_CC_CDG_DELAY,4,2               ## @CC_CDG_DELAY
	.comm	_V_cdg_hold_backoff,8,3         ## @V_cdg_hold_backoff
	.comm	_CC_ACK,8,3                     ## @CC_ACK
	.no_dead_strip	_cdg_ack_received
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cdg_ack_received
_cdg_ack_received:                      ; @cdg_ack_received
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x1
	mov	x20, x0
	ldr	x19, [x0]
Lloh0:
	adrp	x8, _osd@GOTPAGE
Lloh1:
	ldr	x8, [x8, _osd@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_CCV
Lloh3:
	adrp	x8, _ertt_id@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ertt_id@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_khelp_get_osd
	mov	x23, x0
Lloh6:
	adrp	x28, _ERTT_NEW_MEASUREMENT@GOTPAGE
Lloh7:
	ldr	x28, [x28, _ERTT_NEW_MEASUREMENT@GOTPAGEOFF]
	ldr	w8, [x28]
	ldp	w9, w0, [x0]
	and	w22, w8, w9
	ldr	x1, [x19, #48]
	bl	_imax
	str	x0, [x19, #48]
	ldr	w0, [x23, #4]
	ldr	x1, [x19, #56]
	bl	_imin
	str	x0, [x19, #56]
	cbz	w22, LBB0_27
; %bb.1:
Lloh8:
	adrp	x8, _snd_cwnd@GOTPAGE
Lloh9:
	ldr	x8, [x8, _snd_cwnd@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_CCV
	mov	x24, x0
Lloh11:
	adrp	x8, _snd_ssthresh@GOTPAGE
Lloh12:
	ldr	x8, [x8, _snd_ssthresh@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_CCV
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_4
; %bb.2:
	mov	x25, x0
	ldp	x9, x10, [x19, #48]
	sub	x8, x9, x8
Lloh14:
	adrp	x9, _D_P_E@GOTPAGE
Lloh15:
	ldr	x9, [x9, _D_P_E@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	lsl	x27, x8, x9
	ldr	x8, [x19, #64]
	sub	x8, x10, x8
	lsl	x26, x8, x9
	ldr	x8, [x19]
	cbz	x8, LBB0_5
; %bb.3:
	mov	x0, x19
	mov	x1, x27
	mov	x2, x26
	bl	_calc_moving_average
	cmp	x24, x25
	b.le	LBB0_6
	b	LBB0_7
LBB0_4:
	mov	w0, #0
	b	LBB0_22
LBB0_5:
	stp	x27, x26, [x19, #8]
	cmp	x24, x25
	b.gt	LBB0_7
LBB0_6:
	cmp	x26, #0
	b.gt	LBB0_11
LBB0_7:
	ldr	x26, [x19, #16]
	cmp	x26, #0
	b.gt	LBB0_11
; %bb.8:
	cmp	x24, x25
	b.gt	LBB0_10
; %bb.9:
	mov	x26, x27
	cmp	x27, #0
	b.gt	LBB0_11
LBB0_10:
	ldr	x26, [x19, #8]
	cmp	x26, #1
	b.lt	LBB0_32
LBB0_11:
	mov	x0, x26
	bl	_prob_backoff
LBB0_12:
	ldr	x8, [x19, #16]
	cmp	x8, #1
	b.lt	LBB0_15
; %bb.13:
	ldr	x8, [x19, #8]
	cmp	x8, #1
	b.lt	LBB0_18
; %bb.14:
Lloh17:
	adrp	x8, _CDG_Q_RISING@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CDG_Q_RISING@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [x19, #72]
	b	LBB0_22
LBB0_15:
	ldr	x9, [x19, #8]
	tbnz	x8, #63, LBB0_19
; %bb.16:
	tbz	x9, #63, LBB0_22
; %bb.17:
Lloh20:
	adrp	x8, _CDG_Q_EMPTY@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CDG_Q_EMPTY@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	str	w8, [x19, #72]
	str	xzr, [x19, #32]
	b	LBB0_21
LBB0_18:
Lloh23:
	adrp	x9, _CDG_Q_FULL@GOTPAGE
Lloh24:
	ldr	x9, [x9, _CDG_Q_FULL@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	str	w9, [x19, #72]
	tbz	x8, #63, LBB0_22
	b	LBB0_21
LBB0_19:
	tbz	x9, #63, LBB0_21
; %bb.20:
Lloh26:
	adrp	x8, _CDG_Q_FALLING@GOTPAGE
Lloh27:
	ldr	x8, [x8, _CDG_Q_FALLING@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	str	w8, [x19, #72]
LBB0_21:
	str	xzr, [x19, #24]
LBB0_22:
Lloh29:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh30:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	ldp	x10, x9, [x19, #48]
	stp	x8, x9, [x19, #56]
	stp	x10, xzr, [x19, #40]
	ldr	w8, [x28]
	ldr	w9, [x23]
	bic	w8, w9, w8
	str	w8, [x23]
	cbz	w0, LBB0_27
; %bb.23:
	ldr	x8, [x19, #24]
	add	x8, x8, #1
	str	x8, [x19, #24]
Lloh32:
	adrp	x8, _t_flags@GOTPAGE
Lloh33:
	ldr	x8, [x8, _t_flags@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_CCV
	bl	_IN_RECOVERY
	cbnz	w0, LBB0_31
; %bb.24:
	ldr	x8, [x19, #24]
Lloh35:
	adrp	x9, _V_cdg_consec_cong@GOTPAGE
Lloh36:
	ldr	x9, [x9, _V_cdg_consec_cong@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_29
; %bb.25:
Lloh38:
	adrp	x10, _V_cdg_hold_backoff@GOTPAGE
Lloh39:
	ldr	x10, [x10, _V_cdg_hold_backoff@GOTPAGEOFF]
Lloh40:
	ldr	x10, [x10]
	add	x9, x10, x9
	cmp	x8, x9
Lloh41:
	adrp	x8, _snd_cwnd@GOTPAGE
Lloh42:
	ldr	x8, [x8, _snd_cwnd@GOTPAGEOFF]
	b.lt	LBB0_30
; %bb.26:
	str	xzr, [x19, #24]
	b	LBB0_30
LBB0_27:
Lloh43:
	adrp	x8, _CC_ACK@GOTPAGE
Lloh44:
	ldr	x8, [x8, _CC_ACK@GOTPAGEOFF]
Lloh45:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_31
; %bb.28:
	mov	x0, x20
	mov	x1, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_cdg_window_increase
LBB0_29:
Lloh46:
	adrp	x8, _CC_CDG_DELAY@GOTPAGE
Lloh47:
	ldr	x8, [x8, _CC_CDG_DELAY@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_cdg_cong_signal
Lloh49:
	adrp	x8, _snd_cwnd@GOTPAGE
Lloh50:
	ldr	x8, [x8, _snd_cwnd@GOTPAGEOFF]
LBB0_30:
	str	xzr, [x19, #40]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_CCV
	ldr	x1, [x19, #32]
	bl	_ulmax
	str	x0, [x19, #32]
LBB0_31:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_32:
	mov	w0, #0
	b	LBB0_12
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_osd,4,2                        ; @osd
	.comm	_ertt_id,4,2                    ; @ertt_id
	.comm	_ERTT_NEW_MEASUREMENT,4,2       ; @ERTT_NEW_MEASUREMENT
	.comm	_snd_cwnd,4,2                   ; @snd_cwnd
	.comm	_snd_ssthresh,4,2               ; @snd_ssthresh
	.comm	_D_P_E,8,3                      ; @D_P_E
	.comm	_CDG_Q_FULL,4,2                 ; @CDG_Q_FULL
	.comm	_CDG_Q_EMPTY,4,2                ; @CDG_Q_EMPTY
	.comm	_CDG_Q_RISING,4,2               ; @CDG_Q_RISING
	.comm	_CDG_Q_FALLING,4,2              ; @CDG_Q_FALLING
	.comm	_INT_MAX,8,3                    ; @INT_MAX
	.comm	_t_flags,4,2                    ; @t_flags
	.comm	_V_cdg_consec_cong,8,3          ; @V_cdg_consec_cong
	.comm	_CC_CDG_DELAY,4,2               ; @CC_CDG_DELAY
	.comm	_V_cdg_hold_backoff,8,3         ; @V_cdg_hold_backoff
	.comm	_CC_ACK,8,3                     ; @CC_ACK
	.no_dead_strip	_cdg_ack_received
.subsections_via_symbols
