	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cubic_record_rtt
_cubic_record_rtt:                      ## @cubic_record_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_t_rttupdated@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_CCV
	movq	_CUBIC_MIN_RTT_SAMPLES@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_6
## %bb.1:
	movq	(%rbx), %r14
	movq	_t_srtt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_CCV
	movq	_TCP_RTT_SCALE@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%eax, %ebx
	movl	(%r14), %eax
	cmpl	%eax, %ebx
	jl	LBB0_3
## %bb.2:
	movq	_TCPTV_SRTTBASE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
LBB0_3:
	movl	$1, %edi
	movl	%ebx, %esi
	callq	_max
	movl	%eax, (%r14)
	cmpl	4(%r14), %eax
	jle	LBB0_5
## %bb.4:
	movl	%eax, 4(%r14)
LBB0_5:
	addl	%ebx, 8(%r14)
	incl	12(%r14)
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_t_rttupdated,4,2               ## @t_rttupdated
	.comm	_CUBIC_MIN_RTT_SAMPLES,4,2      ## @CUBIC_MIN_RTT_SAMPLES
	.comm	_t_srtt,4,2                     ## @t_srtt
	.comm	_TCP_RTT_SCALE,4,2              ## @TCP_RTT_SCALE
	.comm	_TCPTV_SRTTBASE,4,2             ## @TCPTV_SRTTBASE
	.no_dead_strip	_cubic_record_rtt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cubic_record_rtt
_cubic_record_rtt:                      ; @cubic_record_rtt
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _t_rttupdated@GOTPAGE
Lloh1:
	ldr	x8, [x8, _t_rttupdated@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_CCV
Lloh3:
	adrp	x8, _CUBIC_MIN_RTT_SAMPLES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CUBIC_MIN_RTT_SAMPLES@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w8
	b.lt	LBB0_5
; %bb.1:
	ldr	x20, [x19]
Lloh6:
	adrp	x8, _t_srtt@GOTPAGE
Lloh7:
	ldr	x8, [x8, _t_srtt@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_CCV
Lloh9:
	adrp	x8, _TCP_RTT_SCALE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TCP_RTT_SCALE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	sdiv	w19, w0, w8
	ldr	w8, [x20]
Lloh12:
	adrp	x9, _TCPTV_SRTTBASE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _TCPTV_SRTTBASE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w19, w8
	ccmp	w8, w9, #4, ge
	b.ne	LBB0_4
; %bb.2:
	mov	w0, #1
	mov	x1, x19
	bl	_max
	str	w0, [x20]
	ldr	w8, [x20, #4]
	cmp	w0, w8
	b.le	LBB0_4
; %bb.3:
	str	w0, [x20, #4]
LBB0_4:
	ldr	d0, [x20, #8]
	movi.2s	v1, #1
	mov.s	v1[0], w19
	add.2s	v0, v0, v1
	str	d0, [x20, #8]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_t_rttupdated,4,2               ; @t_rttupdated
	.comm	_CUBIC_MIN_RTT_SAMPLES,4,2      ; @CUBIC_MIN_RTT_SAMPLES
	.comm	_t_srtt,4,2                     ; @t_srtt
	.comm	_TCP_RTT_SCALE,4,2              ; @TCP_RTT_SCALE
	.comm	_TCPTV_SRTTBASE,4,2             ; @TCPTV_SRTTBASE
	.no_dead_strip	_cubic_record_rtt
.subsections_via_symbols
