	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_rtt_estimator
_tcp_rtt_estimator:                     ## @tcp_rtt_estimator
	.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	%rsi, %rbx
	movq	%rdi, %r14
	callq	_tcp_sk
	movq	%rax, %r15
	testq	%rbx, %rbx
	movl	$1, %eax
	cmovneq	%rbx, %rax
	movl	(%r15), %ecx
	testl	%ecx, %ecx
	je	LBB0_11
## %bb.1:
	movl	%ecx, %edx
	sarl	$3, %edx
	movslq	%edx, %rdx
	subq	%rdx, %rax
	addl	%eax, %ecx
	movl	%ecx, (%r15)
	movl	4(%r15), %ecx
	movl	%ecx, %edx
	sarl	$2, %edx
	testq	%rax, %rax
	js	LBB0_2
## %bb.3:
	movl	%edx, %edx
	subq	%rdx, %rax
	movq	%rax, %rdx
	jmp	LBB0_4
LBB0_11:
	leal	(,%rax,8), %ecx
	movl	%ecx, (%r15)
	addl	%eax, %eax
	movl	%eax, 4(%r15)
	movslq	%eax, %rbx
	movq	%r14, %rdi
	callq	_tcp_rto_min
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_max
	cltq
	movq	%rax, 16(%r15)
	movq	%rax, 8(%r15)
	movl	24(%r15), %eax
	movl	%eax, 28(%r15)
	jmp	LBB0_12
LBB0_2:
	movslq	%edx, %rdx
	addq	%rdx, %rax
	negq	%rax
	movq	%rax, %rdx
	sarq	$3, %rdx
	testq	%rax, %rax
	cmovleq	%rax, %rdx
LBB0_4:
	addl	%edx, %ecx
	movl	%ecx, 4(%r15)
	movslq	%ecx, %rax
	cmpq	%rax, 8(%r15)
	jge	LBB0_7
## %bb.5:
	movq	%rax, 8(%r15)
	cmpq	%rax, 16(%r15)
	jge	LBB0_7
## %bb.6:
	movq	%rax, 16(%r15)
LBB0_7:
	movl	28(%r15), %esi
	movl	32(%r15), %edi
	callq	_after
	testq	%rax, %rax
	je	LBB0_12
## %bb.8:
	movq	16(%r15), %rax
	movq	%rax, %rcx
	subq	8(%r15), %rcx
	jle	LBB0_10
## %bb.9:
	sarq	$2, %rcx
	subq	%rcx, %rax
	movq	%rax, 16(%r15)
LBB0_10:
	movl	24(%r15), %eax
	movl	%eax, 28(%r15)
	movq	%r14, %rdi
	callq	_tcp_rto_min
	cltq
	movq	%rax, 8(%r15)
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_tcp_rtt_estimator
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcp_rtt_estimator
_tcp_rtt_estimator:                     ; @tcp_rtt_estimator
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x1
	mov	x20, x0
	bl	_tcp_sk
	mov	x19, x0
	cmp	x21, #0
	csinc	x8, x21, xzr, ne
	ldr	w10, [x0]
	cbz	w10, LBB0_3
; %bb.1:
	asr	w9, w10, #3
	subs	x9, x8, w9, sxtw
	add	w8, w10, w9
	str	w8, [x19]
	ldr	w8, [x19, #4]
	asr	w10, w8, #2
	b.mi	LBB0_4
; %bb.2:
	sub	x9, x9, w10, uxtw
	b	LBB0_5
LBB0_3:
	lsl	w9, w8, #3
	lsl	w8, w8, #1
	stp	w9, w8, [x19]
	sxtw	x21, w8
	mov	x0, x20
	bl	_tcp_rto_min
	mov	x1, x0
	mov	x0, x21
	bl	_max
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	stp	x8, x8, [x19, #8]
	ldr	w8, [x19, #24]
	str	w8, [x19, #28]
	b	LBB0_12
LBB0_4:
	add	x9, x9, w10, sxtw
	neg	x10, x9
	asr	x11, x10, #3
	cmp	x10, #0
	csneg	x9, x11, x9, gt
LBB0_5:
	add	w8, w8, w9
	str	w8, [x19, #4]
	sxtw	x8, w8
	ldr	x9, [x19, #8]
	cmp	x9, x8
	b.ge	LBB0_8
; %bb.6:
	str	x8, [x19, #8]
	ldr	x9, [x19, #16]
	cmp	x9, x8
	b.ge	LBB0_8
; %bb.7:
	str	x8, [x19, #16]
LBB0_8:
	ldp	w1, w0, [x19, #28]
	bl	_after
	cbz	x0, LBB0_12
; %bb.9:
	ldp	x9, x8, [x19, #8]
	subs	x9, x8, x9
	b.le	LBB0_11
; %bb.10:
	sub	x8, x8, x9, asr #2
	str	x8, [x19, #16]
LBB0_11:
	ldr	w8, [x19, #24]
	str	w8, [x19, #28]
	mov	x0, x20
	bl	_tcp_rto_min
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	str	x8, [x19, #8]
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_tcp_rtt_estimator
.subsections_via_symbols
