	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rack_update_rtt
_rack_update_rtt:                       ## @rack_update_rtt
	.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	%rdx, %r12
	movl	(%rdx), %eax
	movq	_RACK_ACKED@GOTPCREL(%rip), %rdx
	xorl	%r13d, %r13d
	testl	%eax, (%rdx)
	je	LBB0_1
LBB0_46:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	%r8d, %ebx
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movslq	4(%r12), %r15
	cmpq	$1, %r15
	jne	LBB0_3
## %bb.2:
	movq	8(%r12), %rdx
	xorl	%r15d, %r15d
LBB0_8:
	subl	(%rdx,%r15,4), %ebx
	cmpl	$2, %ebx
	movl	$1, %r14d
	cmovgel	%ebx, %r14d
	movl	(%rdi), %eax
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	cmpl	%r14d, %eax
	jle	LBB0_11
LBB0_10:
	movl	%r14d, (%rdi)
LBB0_11:
	movq	%rdi, %r15
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	8(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_13
## %bb.12:
	movl	%r14d, %edi
	callq	_SEQ_LT
	testq	%rax, %rax
	je	LBB0_14
LBB0_13:
	movl	%r14d, 8(%rbx)
LBB0_14:
	leal	1(%r14), %esi
	movq	%rbx, %rdi
	callq	_tcp_rack_xmit_timer
	movq	_RACK_TLP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_18
## %bb.15:
	movl	36(%r15), %edi
	callq	_IN_RECOVERY
	testl	%eax, %eax
	jne	LBB0_18
## %bb.16:
	cmpq	$0, 32(%rbx)
	je	LBB0_18
## %bb.17:
	movl	32(%r15), %eax
	movl	%eax, 28(%rbx)
	movl	28(%r15), %eax
	movl	%eax, 24(%rbx)
	movl	24(%r15), %eax
	movl	%eax, 20(%rbx)
	movq	_CC_NDUPACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_rack_cong_signal
	movq	%r15, %rdi
	callq	_ctf_fixed_maxseg
	movl	%eax, 16(%rbx)
	movq	%rbx, %rdi
	movl	$7, %esi
	callq	_rack_log_to_prr
LBB0_18:
	movl	12(%rbx), %edi
	movq	8(%r12), %rax
	movslq	4(%r12), %rcx
	movl	-4(%rax,%rcx,4), %esi
	callq	_SEQ_LT
	movl	$1, %r13d
	testq	%rax, %rax
	je	LBB0_46
## %bb.19:
	movq	8(%r12), %rax
	movslq	4(%r12), %rcx
	movl	-4(%rax,%rcx,4), %eax
	movl	%eax, 12(%rbx)
	movl	%r14d, (%rbx)
	jmp	LBB0_46
LBB0_3:
	movq	_CUM_ACKED@GOTPCREL(%rip), %rdx
	cmpq	%r9, (%rdx)
	jne	LBB0_20
## %bb.4:
	movq	_TOF_TS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx)
	je	LBB0_20
## %bb.5:
	movl	4(%rcx), %esi
	testl	%esi, %esi
	je	LBB0_21
## %bb.6:
	movq	8(%r12), %rdx
	cmpl	%esi, -4(%rdx,%r15,4)
	jne	LBB0_21
## %bb.7:
	decq	%r15
	jmp	LBB0_8
LBB0_20:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rdi)
LBB0_37:
	movq	8(%r12), %rax
	movl	%ebx, %ecx
	subl	-4(%rax,%r15,4), %ecx
	cmpl	$2, %ecx
	movl	$1, %r14d
	cmovgel	%ecx, %r14d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %esi
	testl	%esi, %esi
	je	LBB0_46
## %bb.38:
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	%r14d, %edi
	callq	_SEQ_LT
	testq	%rax, %rax
	je	LBB0_40
## %bb.39:
	movslq	4(%r12), %rax
	movq	8(%r12), %rcx
	movl	%ebx, %edx
	subl	-8(%rcx,%rax,4), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	%ebx, %ecx
	callq	_rack_earlier_retran
	jmp	LBB0_46
LBB0_21:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rdi)
	movl	4(%rcx), %ecx
	testl	%ecx, %ecx
	je	LBB0_37
## %bb.22:
	movq	_RACK_OVERMAX@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	jne	LBB0_37
## %bb.23:
	testl	%r15d, %r15d
	jle	LBB0_37
## %bb.24:
	movq	8(%r12), %r8
	movq	%r15, %rsi
	negq	%rsi
	movl	$1, %eax
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%ecx, -4(%r8,%rax,4)
	je	LBB0_26
## %bb.36:                              ##   in Loop: Header=BB0_25 Depth=1
	leaq	(%rsi,%rax), %rdx
	incq	%rdx
	incq	%rax
	cmpq	$1, %rdx
	jne	LBB0_25
	jmp	LBB0_37
LBB0_40:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %esi
	testl	%esi, %esi
	je	LBB0_46
## %bb.41:
	decq	%r15
	movl	%r14d, %edi
	callq	_SEQ_LT
	testq	%rax, %rax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_43
## %bb.42:
	movl	%r14d, 8(%rbx)
LBB0_43:
	movl	12(%rbx), %edi
	movq	8(%r12), %rax
	movl	(%rax,%r15,4), %esi
	callq	_SEQ_LT
	movl	$1, %r13d
	testq	%rax, %rax
	je	LBB0_46
## %bb.44:
	movq	8(%r12), %rax
	movl	(%rax,%r15,4), %eax
LBB0_45:
	movl	%eax, 12(%rbx)
	movl	%r14d, (%rbx)
	jmp	LBB0_46
LBB0_26:
	movl	%ebx, %edx
	subl	%ecx, %edx
	cmpl	$2, %edx
	movl	$1, %r14d
	cmovgel	%edx, %r14d
	cmpq	%r15, %rax
	jge	LBB0_28
## %bb.27:
	movq	%r12, %rsi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	movq	%rdi, %rbx
	callq	_rack_earlier_retran
	movq	%rbx, %rdi
LBB0_28:
	movl	(%rdi), %eax
	testl	%eax, %eax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_30
## %bb.29:
	cmpl	%r14d, %eax
	jle	LBB0_31
LBB0_30:
	movl	%r14d, (%rdi)
LBB0_31:
	movl	8(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_33
## %bb.32:
	movl	%r14d, %edi
	callq	_SEQ_LT
	testq	%rax, %rax
	je	LBB0_34
LBB0_33:
	movl	%r14d, 8(%rbx)
LBB0_34:
	movl	12(%rbx), %edi
	movq	8(%r12), %rax
	movslq	4(%r12), %rcx
	movl	-4(%rax,%rcx,4), %esi
	callq	_SEQ_LT
	movl	$1, %r13d
	testq	%rax, %rax
	je	LBB0_46
## %bb.35:
	movq	8(%r12), %rax
	movslq	4(%r12), %rcx
	movl	-4(%rax,%rcx,4), %eax
	jmp	LBB0_45
	.cfi_endproc
                                        ## -- End function
	.comm	_RACK_ACKED,4,2                 ## @RACK_ACKED
	.comm	_CUM_ACKED,8,3                  ## @CUM_ACKED
	.comm	_TOF_TS,4,2                     ## @TOF_TS
	.comm	_RACK_TLP,4,2                   ## @RACK_TLP
	.comm	_CC_NDUPACK,4,2                 ## @CC_NDUPACK
	.comm	_RACK_OVERMAX,4,2               ## @RACK_OVERMAX
	.no_dead_strip	_rack_update_rtt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rack_update_rtt
_rack_update_rtt:                       ; @rack_update_rtt
	.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
	ldr	w9, [x2]
Lloh0:
	adrp	x8, _RACK_ACKED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RACK_ACKED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_2
LBB0_1:
	mov	w0, #0
	b	LBB0_30
LBB0_2:
	mov	x22, x4
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldrsw	x8, [x2, #4]
	cmp	w8, #1
	b.ne	LBB0_7
; %bb.3:
	mov	x11, #0
	ldr	x10, [x20, #8]
LBB0_4:
	ldr	w8, [x10, x11, lsl #2]
	sub	w8, w22, w8
	cmp	w8, #1
	csinc	w22, w8, wzr, gt
	ldr	w8, [x21]
	cbz	w8, LBB0_20
; %bb.5:
	cmp	w8, w22
	b.gt	LBB0_20
; %bb.6:
	ldr	w1, [x19, #8]
	cbnz	w1, LBB0_21
	b	LBB0_22
LBB0_7:
Lloh3:
	adrp	x10, _CUM_ACKED@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CUM_ACKED@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x10, x5
	b.ne	LBB0_16
; %bb.8:
	ldr	w10, [x3]
Lloh6:
	adrp	x11, _TOF_TS@GOTPAGE
Lloh7:
	ldr	x11, [x11, _TOF_TS@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_16
; %bb.9:
	ldr	w12, [x3, #4]
	cbz	w12, LBB0_11
; %bb.10:
	ldr	x10, [x20, #8]
	sub	x11, x8, #1
	ldr	w13, [x10, x11, lsl #2]
	cmp	w13, w12
	b.eq	LBB0_4
LBB0_11:
	stp	xzr, xzr, [x21, #8]
	ldr	w10, [x3, #4]
	cbz	w10, LBB0_17
; %bb.12:
Lloh9:
	adrp	x11, _RACK_OVERMAX@GOTPAGE
Lloh10:
	ldr	x11, [x11, _RACK_OVERMAX@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	and	w9, w11, w9
	cmp	w9, #0
	ccmp	w8, #1, #8, eq
	b.lt	LBB0_17
; %bb.13:
	mov	x9, #0
	ldr	x11, [x20, #8]
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x11, x9, lsl #2]
	cmp	w12, w10
	b.eq	LBB0_37
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_14
	b	LBB0_17
LBB0_16:
	stp	xzr, xzr, [x21, #8]
LBB0_17:
	sub	w24, w8, #1
	ldr	x8, [x20, #8]
	ldr	w8, [x8, w24, sxtw #2]
	sub	w8, w22, w8
	cmp	w8, #1
	csinc	w23, w8, wzr, gt
	ldr	w1, [x19, #8]
	cbz	w1, LBB0_1
; %bb.18:
	mov	x0, x23
	bl	_SEQ_LT
	cbz	x0, LBB0_31
; %bb.19:
	ldrsw	x8, [x20, #4]
	ldr	x9, [x20, #8]
	add	x8, x9, x8, lsl #2
	ldur	w8, [x8, #-8]
	sub	w2, w22, w8
	mov	x0, x21
	mov	x1, x20
	mov	x3, x22
	bl	_rack_earlier_retran
	b	LBB0_1
LBB0_20:
	str	w22, [x21]
	ldr	w1, [x19, #8]
	cbz	w1, LBB0_22
LBB0_21:
	mov	x0, x22
	bl	_SEQ_LT
	cbz	x0, LBB0_23
LBB0_22:
	str	w22, [x19, #8]
LBB0_23:
	add	w1, w22, #1
	mov	x0, x19
	bl	_tcp_rack_xmit_timer
	ldr	w8, [x20]
Lloh12:
	adrp	x9, _RACK_TLP@GOTPAGE
Lloh13:
	ldr	x9, [x9, _RACK_TLP@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_27
; %bb.24:
	ldr	w0, [x21, #36]
	bl	_IN_RECOVERY
	cbnz	w0, LBB0_27
; %bb.25:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_27
; %bb.26:
	ldr	w8, [x21, #32]
	str	w8, [x19, #28]
	ldr	d0, [x21, #24]
	stur	d0, [x19, #20]
Lloh15:
	adrp	x8, _CC_NDUPACK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CC_NDUPACK@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, #0
	bl	_rack_cong_signal
	mov	x0, x21
	bl	_ctf_fixed_maxseg
	str	w0, [x19, #16]
	mov	x0, x19
	mov	w1, #7
	bl	_rack_log_to_prr
LBB0_27:
	ldr	w0, [x19, #12]
	ldr	x8, [x20, #8]
	ldrsw	x9, [x20, #4]
	add	x8, x8, x9, lsl #2
	ldur	w1, [x8, #-4]
	bl	_SEQ_LT
	cbz	x0, LBB0_29
; %bb.28:
	ldr	x8, [x20, #8]
	ldrsw	x9, [x20, #4]
	add	x8, x8, x9, lsl #2
	ldur	w8, [x8, #-4]
	str	w8, [x19, #12]
	str	w22, [x19]
LBB0_29:
	mov	w0, #1
LBB0_30:
	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_31:
	ldr	w1, [x19, #8]
	cbz	w1, LBB0_1
; %bb.32:
	sxtw	x21, w24
	mov	x0, x23
	bl	_SEQ_LT
	cbz	x0, LBB0_34
; %bb.33:
	str	w23, [x19, #8]
LBB0_34:
	ldr	w0, [x19, #12]
	ldr	x8, [x20, #8]
	ldr	w1, [x8, x21, lsl #2]
	bl	_SEQ_LT
	cbz	x0, LBB0_29
; %bb.35:
	ldr	x8, [x20, #8]
	ldr	w8, [x8, x21, lsl #2]
LBB0_36:
	str	w8, [x19, #12]
	str	w23, [x19]
	b	LBB0_29
LBB0_37:
	sub	w10, w22, w10
	cmp	w10, #1
	csinc	w23, w10, wzr, gt
	add	x9, x9, #1
	cmp	x9, x8
	b.ge	LBB0_39
; %bb.38:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x23
	mov	x3, x22
	bl	_rack_earlier_retran
LBB0_39:
	ldr	w8, [x21]
	cmp	w8, #0
	ccmp	w8, w23, #0, ne
	b.le	LBB0_41
; %bb.40:
	str	w23, [x21]
LBB0_41:
	ldr	w1, [x19, #8]
	cbz	w1, LBB0_43
; %bb.42:
	mov	x0, x23
	bl	_SEQ_LT
	cbz	x0, LBB0_44
LBB0_43:
	str	w23, [x19, #8]
LBB0_44:
	ldr	w0, [x19, #12]
	ldr	x8, [x20, #8]
	ldrsw	x9, [x20, #4]
	add	x8, x8, x9, lsl #2
	ldur	w1, [x8, #-4]
	bl	_SEQ_LT
	cbz	x0, LBB0_29
; %bb.45:
	ldr	x8, [x20, #8]
	ldrsw	x9, [x20, #4]
	add	x8, x8, x9, lsl #2
	ldur	w8, [x8, #-4]
	b	LBB0_36
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_RACK_ACKED,4,2                 ; @RACK_ACKED
	.comm	_CUM_ACKED,8,3                  ; @CUM_ACKED
	.comm	_TOF_TS,4,2                     ; @TOF_TS
	.comm	_RACK_TLP,4,2                   ; @RACK_TLP
	.comm	_CC_NDUPACK,4,2                 ; @CC_NDUPACK
	.comm	_RACK_OVERMAX,4,2               ; @RACK_OVERMAX
	.no_dead_strip	_rack_update_rtt
.subsections_via_symbols
