	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function chd_ack_received
_chd_ack_received:                      ## @chd_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	_osd@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_CCV
	movq	_ertt_id@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_khelp_get_osd
	movq	%rax, %r15
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %r13
	movq	_ERTT_NEW_MEASUREMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	4(%r15), %edi
	movl	(%r13), %esi
	movl	(%r15), %ebx
	callq	_imax
	movl	%eax, (%r13)
	andl	%r14d, %ebx
	je	LBB0_9
## %bb.1:
	movl	%eax, %r12d
	movq	_V_chd_use_max@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_3
## %bb.2:
	movl	4(%r15), %r12d
LBB0_3:
	movl	$0, (%r13)
	testl	%r12d, %r12d
	je	LBB0_8
## %bb.4:
	cmpl	$0, 8(%r15)
	je	LBB0_8
## %bb.5:
	movq	_t_flags@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_CCV
	movl	%eax, %edi
	callq	_IN_RECOVERY
	testl	%eax, %eax
	jne	LBB0_8
## %bb.6:
	movslq	8(%r15), %rax
	subl	%eax, %r12d
	movq	_V_chd_qmin@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r12d
	jle	LBB0_7
## %bb.11:
	movq	16(%r15), %rsi
	subq	%rax, %rsi
	movl	%r12d, %edi
	movq	%r13, %rdx
	callq	_should_backoff
	movq	_ERTT_NEW_MEASUREMENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, (%r15)
	testl	%eax, %eax
	je	LBB0_9
## %bb.12:
	cmpq	$0, 16(%r13)
	jne	LBB0_14
## %bb.13:
	cmpl	4(%r13), %r12d
	jle	LBB0_15
LBB0_14:
	movq	_snd_cwnd@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_CCV
	movq	8(%r13), %rsi
	movl	%eax, %edi
	callq	_max
	movq	%rax, 8(%r13)
	jmp	LBB0_16
LBB0_7:
	movq	$0, 16(%r13)
LBB0_8:
	movq	_ERTT_NEW_MEASUREMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r15)
LBB0_9:
	movq	_CC_ACK@GOTPCREL(%rip), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, (%rax)
	jne	LBB0_17
## %bb.10:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_chd_window_increase            ## TAILCALL
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	$0, 8(%r13)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_16:
	movl	%r12d, 4(%r13)
	movq	_CC_CHD_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_chd_cong_signal                ## TAILCALL
	.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	_V_chd_use_max,8,3              ## @V_chd_use_max
	.comm	_t_flags,4,2                    ## @t_flags
	.comm	_V_chd_qmin,4,2                 ## @V_chd_qmin
	.comm	_snd_cwnd,4,2                   ## @snd_cwnd
	.comm	_CC_CHD_DELAY,4,2               ## @CC_CHD_DELAY
	.comm	_CC_ACK,8,3                     ## @CC_ACK
	.no_dead_strip	_chd_ack_received
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chd_ack_received
_chd_ack_received:                      ; @chd_ack_received
	.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	x21, x1
	mov	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	x25, _ERTT_NEW_MEASUREMENT@GOTPAGE
Lloh7:
	ldr	x25, [x25, _ERTT_NEW_MEASUREMENT@GOTPAGEOFF]
	ldr	x20, [x19]
	ldr	w8, [x25]
	ldp	w9, w0, [x0]
	and	w22, w8, w9
	ldr	w1, [x20]
	bl	_imax
	str	w0, [x20]
	cbz	w22, LBB0_13
; %bb.1:
	mov	x24, x0
Lloh8:
	adrp	x8, _V_chd_use_max@GOTPAGE
Lloh9:
	ldr	x8, [x8, _V_chd_use_max@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	str	wzr, [x20]
	cbnz	w24, LBB0_4
	b	LBB0_12
LBB0_3:
	ldr	w24, [x23, #4]
	str	wzr, [x20]
	cbz	w24, LBB0_12
LBB0_4:
	ldr	w8, [x23, #8]
	cbz	w8, LBB0_12
; %bb.5:
Lloh11:
	adrp	x8, _t_flags@GOTPAGE
Lloh12:
	ldr	x8, [x8, _t_flags@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_CCV
	bl	_IN_RECOVERY
	cbnz	w0, LBB0_12
; %bb.6:
	ldrsw	x8, [x23, #8]
Lloh14:
	adrp	x9, _V_chd_qmin@GOTPAGE
Lloh15:
	ldr	x9, [x9, _V_chd_qmin@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	sub	w24, w24, w8
	cmp	w24, w9
	b.le	LBB0_11
; %bb.7:
	ldr	x9, [x23, #16]
	sub	x1, x9, x8
	mov	x0, x24
	mov	x2, x20
	bl	_should_backoff
	ldr	w8, [x25]
	ldr	w9, [x23]
	bic	w8, w9, w8
	str	w8, [x23]
	cbz	w0, LBB0_13
; %bb.8:
	ldr	x8, [x20, #16]
	cbnz	x8, LBB0_10
; %bb.9:
	ldr	w8, [x20, #4]
	cmp	w24, w8
	b.le	LBB0_16
LBB0_10:
Lloh17:
	adrp	x8, _snd_cwnd@GOTPAGE
Lloh18:
	ldr	x8, [x8, _snd_cwnd@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_CCV
	ldr	x1, [x20, #8]
	bl	_max
	str	x0, [x20, #8]
	b	LBB0_17
LBB0_11:
	str	xzr, [x20, #16]
LBB0_12:
	ldr	w8, [x25]
	ldr	w9, [x23]
	bic	w8, w9, w8
	str	w8, [x23]
LBB0_13:
Lloh20:
	adrp	x8, _CC_ACK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CC_ACK@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_15
; %bb.14:
	mov	x0, x19
	mov	x1, x22
	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	_chd_window_increase
LBB0_15:
	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_16:
	str	xzr, [x20, #8]
LBB0_17:
	str	w24, [x20, #4]
Lloh23:
	adrp	x8, _CC_CHD_DELAY@GOTPAGE
Lloh24:
	ldr	x8, [x8, _CC_CHD_DELAY@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x19
	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	_chd_cong_signal
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.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	_V_chd_use_max,8,3              ; @V_chd_use_max
	.comm	_t_flags,4,2                    ; @t_flags
	.comm	_V_chd_qmin,4,2                 ; @V_chd_qmin
	.comm	_snd_cwnd,4,2                   ; @snd_cwnd
	.comm	_CC_CHD_DELAY,4,2               ; @CC_CHD_DELAY
	.comm	_CC_ACK,8,3                     ; @CC_ACK
	.no_dead_strip	_chd_ack_received
.subsections_via_symbols
