	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rack_log_rtt_upd
_rack_log_rtt_upd:                      ## @rack_log_rtt_upd
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	(%rdi), %rax
	movq	_TCP_LOG_STATE_OFF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	%r8, %r12
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	leaq	-112(%rbp), %rdi
	xorl	%esi, %esi
	movl	$64, %edx
	callq	_memset
	movq	(%rbx), %rax
	movl	12(%rax), %ecx
	movl	%ecx, -56(%rbp)
	movl	8(%rax), %eax
	movl	%eax, -60(%rbp)
	movl	%r14d, -64(%rbp)
	movq	%r13, -72(%rbp)
	movq	%r12, -80(%rbp)
	movl	32(%rbx), %eax
	movl	%eax, -84(%rbp)
	movl	28(%rbx), %eax
	movl	%eax, -88(%rbp)
	movups	12(%rbx), %xmm0
	movups	%xmm0, -104(%rbp)
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	callq	_tcp_get_usecs
	movl	%eax, -108(%rbp)
	movl	8(%rbx), %esi
	movl	36(%rbx), %edi
	callq	_ctf_flight_size
	movl	%eax, -112(%rbp)
	movq	(%rbx), %rax
	movq	(%rax), %rcx
	leaq	4(%rcx), %rdx
	movq	_BBR_LOG_BBRRTT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%r9d, %r9d
	pushq	%r14
	pushq	$0
	leaq	-112(%rbp), %rax
	pushq	%rax
	pushq	$0
	callq	_TCP_LOG_EVENTP
	addq	$32, %rsp
LBB0_2:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TCP_LOG_STATE_OFF,8,3          ## @TCP_LOG_STATE_OFF
	.comm	_BBR_LOG_BBRRTT,4,2             ## @BBR_LOG_BBRRTT
	.no_dead_strip	_rack_log_rtt_upd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rack_log_rtt_upd
_rack_log_rtt_upd:                      ; @rack_log_rtt_upd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x8, [x0]
Lloh0:
	adrp	x9, _TCP_LOG_STATE_OFF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TCP_LOG_STATE_OFF@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x20, x1
	mov	x19, x0
	add	x0, sp, #32
	mov	w1, #0
	mov	w2, #64
	bl	_memset
	ldr	x8, [x20]
	ldr	w9, [x8, #12]
	str	w9, [sp, #88]
	ldr	w8, [x8, #8]
	stp	w23, w8, [sp, #80]
	stp	x21, x22, [sp, #64]
	ldur	d0, [x20, #28]
	str	d0, [sp, #56]
	ldur	q0, [x20, #12]
	stur	q0, [sp, #40]
	add	x21, sp, #24
	add	x0, sp, #24
	bl	_tcp_get_usecs
	str	w0, [sp, #36]
	ldr	w0, [x20, #36]
	ldr	w1, [x20, #8]
	bl	_ctf_flight_size
	str	w0, [sp, #32]
	ldr	x8, [x20]
	ldr	x3, [x8]
	add	x2, x3, #4
Lloh3:
	adrp	x8, _BBR_LOG_BBRRTT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BBR_LOG_BBRRTT@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	str	x21, [sp, #8]
	str	wzr, [sp]
	add	x7, sp, #32
	mov	x0, x19
	mov	x1, #0
	mov	w5, #0
	mov	w6, #0
	bl	_TCP_LOG_EVENTP
LBB0_2:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TCP_LOG_STATE_OFF,8,3          ; @TCP_LOG_STATE_OFF
	.comm	_BBR_LOG_BBRRTT,4,2             ; @BBR_LOG_BBRRTT
	.no_dead_strip	_rack_log_rtt_upd
.subsections_via_symbols
