	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bbr_get_rtt
_bbr_get_rtt:                           ## @bbr_get_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	24(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_get_filter_value_small
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_get_filter_value_small
	cmpl	$-1, %eax
	jne	LBB0_5
## %bb.1:
	movq	(%r14), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.3:
	callq	_TICKS_2_USEC
	movq	_TCP_RTT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	jmp	LBB0_4
LBB0_2:
	movq	_BBR_INITIAL_RTO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	movq	_bbr_delayed_ack_time@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	cmpl	%r12d, %eax
	cmovgl	%eax, %r12d
LBB0_5:
	movq	_BBR_RTT_PROP@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	je	LBB0_13
## %bb.6:
	movq	_BBR_RTT_PKTRTT@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jne	LBB0_8
## %bb.7:
	movl	8(%r14), %eax
	testl	%eax, %eax
	cmovnel	%eax, %r12d
	jmp	LBB0_13
LBB0_8:
	movq	_BBR_RTT_RACK@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jne	LBB0_11
## %bb.9:
	movl	12(%r14), %r12d
	cmpq	$0, 32(%r14)
	je	LBB0_13
## %bb.10:
	addl	16(%r14), %r12d
	jmp	LBB0_13
LBB0_11:
	movq	_BBR_SRTT@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jne	LBB0_13
## %bb.12:
	movq	(%r14), %rax
	movq	(%rax), %rdi
	callq	_TICKS_2_USEC
	movl	%eax, %r12d
	movq	_TCP_RTT_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %r12d
LBB0_13:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BBR_INITIAL_RTO,4,2            ## @BBR_INITIAL_RTO
	.comm	_TCP_RTT_SHIFT,4,2              ## @TCP_RTT_SHIFT
	.comm	_bbr_delayed_ack_time,4,2       ## @bbr_delayed_ack_time
	.comm	_BBR_RTT_PROP,8,3               ## @BBR_RTT_PROP
	.comm	_BBR_RTT_PKTRTT,8,3             ## @BBR_RTT_PKTRTT
	.comm	_BBR_RTT_RACK,8,3               ## @BBR_RTT_RACK
	.comm	_BBR_SRTT,8,3                   ## @BBR_SRTT
	.no_dead_strip	_bbr_get_rtt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bbr_get_rtt
_bbr_get_rtt:                           ; @bbr_get_rtt
	.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	x20, x1
	mov	x19, x0
	add	x22, x0, #24
	mov	x0, x22
	bl	_get_filter_value_small
	mov	x21, x0
	mov	x0, x22
	bl	_get_filter_value_small
	cmn	w0, #1
	b.ne	LBB0_5
; %bb.1:
	ldr	x8, [x19]
	ldr	x0, [x8]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_TICKS_2_USEC
Lloh0:
	adrp	x8, _TCP_RTT_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TCP_RTT_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	asr	w8, w0, w8
	b	LBB0_4
LBB0_3:
Lloh3:
	adrp	x8, _BBR_INITIAL_RTO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BBR_INITIAL_RTO@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
LBB0_4:
Lloh6:
	adrp	x9, _bbr_delayed_ack_time@GOTPAGE
Lloh7:
	ldr	x9, [x9, _bbr_delayed_ack_time@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	csel	w21, w8, w9, gt
LBB0_5:
Lloh9:
	adrp	x8, _BBR_RTT_PROP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BBR_RTT_PROP@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x8, x20
	b.eq	LBB0_13
; %bb.6:
Lloh12:
	adrp	x8, _BBR_RTT_PKTRTT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BBR_RTT_PKTRTT@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_8
; %bb.7:
	ldr	w8, [x19, #8]
	cmp	w8, #0
	csel	w21, w21, w8, eq
	b	LBB0_13
LBB0_8:
Lloh15:
	adrp	x8, _BBR_RTT_RACK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BBR_RTT_RACK@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_11
; %bb.9:
	ldr	w21, [x19, #12]
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_13
; %bb.10:
	ldr	w8, [x19, #16]
	add	w21, w21, w8
	b	LBB0_13
LBB0_11:
Lloh18:
	adrp	x8, _BBR_SRTT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BBR_SRTT@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_13
; %bb.12:
	ldr	x8, [x19]
	ldr	x0, [x8]
	bl	_TICKS_2_USEC
Lloh21:
	adrp	x8, _TCP_RTT_SHIFT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TCP_RTT_SHIFT@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	asr	w21, w0, w8
LBB0_13:
	mov	x0, x21
	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
	.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
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_BBR_INITIAL_RTO,4,2            ; @BBR_INITIAL_RTO
	.comm	_TCP_RTT_SHIFT,4,2              ; @TCP_RTT_SHIFT
	.comm	_bbr_delayed_ack_time,4,2       ; @bbr_delayed_ack_time
	.comm	_BBR_RTT_PROP,8,3               ; @BBR_RTT_PROP
	.comm	_BBR_RTT_PKTRTT,8,3             ; @BBR_RTT_PKTRTT
	.comm	_BBR_RTT_RACK,8,3               ; @BBR_RTT_RACK
	.comm	_BBR_SRTT,8,3                   ; @BBR_SRTT
	.no_dead_strip	_bbr_get_rtt
.subsections_via_symbols
