	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function htcp_record_rtt
_htcp_record_rtt:                       ## @htcp_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %r14
	movq	_t_srtt@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_CCV
	movq	(%r14), %rcx
	cmpq	%rcx, %rax
	jl	LBB0_2
## %bb.1:
	movq	_TCPTV_SRTTBASE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_4
LBB0_2:
	movq	_t_rttupdated@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_CCV
	movq	_HTCP_MIN_RTT_SAMPLES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_4
## %bb.3:
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_CCV
	movq	%rax, (%r14)
LBB0_4:
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_CCV
	cmpq	8(%r14), %rax
	jle	LBB0_7
## %bb.5:
	movq	_t_rttupdated@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_CCV
	movq	_HTCP_MIN_RTT_SAMPLES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_7
## %bb.6:
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_CCV
	movq	%rax, 8(%r14)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_t_srtt,4,2                     ## @t_srtt
	.comm	_TCPTV_SRTTBASE,8,3             ## @TCPTV_SRTTBASE
	.comm	_t_rttupdated,4,2               ## @t_rttupdated
	.comm	_HTCP_MIN_RTT_SAMPLES,8,3       ## @HTCP_MIN_RTT_SAMPLES
	.no_dead_strip	_htcp_record_rtt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function htcp_record_rtt
_htcp_record_rtt:                       ; @htcp_record_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
	mov	x19, x0
	ldr	x20, [x0]
Lloh0:
	adrp	x21, _t_srtt@GOTPAGE
Lloh1:
	ldr	x21, [x21, _t_srtt@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_CCV
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _TCPTV_SRTTBASE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _TCPTV_SRTTBASE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x0, x8
	ccmp	x8, x9, #4, ge
Lloh5:
	adrp	x23, _t_rttupdated@GOTPAGE
Lloh6:
	ldr	x23, [x23, _t_rttupdated@GOTPAGEOFF]
Lloh7:
	adrp	x22, _HTCP_MIN_RTT_SAMPLES@GOTPAGE
Lloh8:
	ldr	x22, [x22, _HTCP_MIN_RTT_SAMPLES@GOTPAGEOFF]
	b.ne	LBB0_3
; %bb.1:
	ldr	w1, [x23]
	mov	x0, x19
	bl	_CCV
	ldr	x8, [x22]
	cmp	x0, x8
	b.lt	LBB0_3
; %bb.2:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_CCV
	str	x0, [x20]
LBB0_3:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_CCV
	ldr	x8, [x20, #8]
	cmp	x0, x8
	b.le	LBB0_6
; %bb.4:
	ldr	w1, [x23]
	mov	x0, x19
	bl	_CCV
	ldr	x8, [x22]
	cmp	x0, x8
	b.lt	LBB0_6
; %bb.5:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_CCV
	str	x0, [x20, #8]
LBB0_6:
	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
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_t_srtt,4,2                     ; @t_srtt
	.comm	_TCPTV_SRTTBASE,8,3             ; @TCPTV_SRTTBASE
	.comm	_t_rttupdated,4,2               ; @t_rttupdated
	.comm	_HTCP_MIN_RTT_SAMPLES,8,3       ; @HTCP_MIN_RTT_SAMPLES
	.no_dead_strip	_htcp_record_rtt
.subsections_via_symbols
