	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function marked_packet_rtt
_marked_packet_rtt:                     ## @marked_packet_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movq	%rcx, %r13
	movq	%rdi, %r14
	movl	16(%rbp), %r15d
	movq	_MULTI_ACK@GOTPCREL(%rip), %rax
	movq	_OLD_TXSI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%r15d, %ecx
	je	LBB0_2
## %bb.1:
	movq	(%r14), %rax
	movq	%rax, (%r13)
	movl	8(%r14), %eax
	movl	%eax, (%r12)
	addl	%eax, (%r9)
	jmp	LBB0_7
LBB0_2:
	movq	%rsi, %rbx
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	_FORCED_MEASUREMENT@GOTPCREL(%rip), %rax
	andl	(%rax), %r15d
	xorl	%eax, %eax
	callq	_tcp_ts_getticks
	testl	%r15d, %r15d
	je	LBB0_4
## %bb.3:
	subq	(%r13), %rax
	incq	%rax
	movslq	(%r12), %rcx
	addq	8(%rbx), %rcx
	jmp	LBB0_5
LBB0_4:
	subq	(%r14), %rax
	incq	%rax
	movq	8(%rbx), %rcx
LBB0_5:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movslq	(%rdx), %rdx
	subq	%rdx, %rcx
	movq	%rax, 24(%rbx)
	movq	%rcx, 16(%rbx)
	movl	4(%rsi), %eax
	movl	%eax, 4(%rbx)
	movq	_ERTT_MEASUREMENT_IN_PROGRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	(%rbx), %eax
	movl	%eax, (%rbx)
	movq	_ERTT_NEW_MEASUREMENT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rbx)
	movl	(%rsi), %ecx
	movq	_TF_TSO@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%ecx, %edx
	je	LBB0_7
## %bb.6:
	notl	%edx
	andl	%edx, %ecx
	movl	%ecx, (%rsi)
	movq	_ERTT_TSO_DISABLED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rbx)
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MULTI_ACK,4,2                  ## @MULTI_ACK
	.comm	_OLD_TXSI,4,2                   ## @OLD_TXSI
	.comm	_FORCED_MEASUREMENT,4,2         ## @FORCED_MEASUREMENT
	.comm	_ERTT_MEASUREMENT_IN_PROGRESS,4,2 ## @ERTT_MEASUREMENT_IN_PROGRESS
	.comm	_ERTT_NEW_MEASUREMENT,4,2       ## @ERTT_NEW_MEASUREMENT
	.comm	_TF_TSO,4,2                     ## @TF_TSO
	.comm	_ERTT_TSO_DISABLED,4,2          ## @ERTT_TSO_DISABLED
	.no_dead_strip	_marked_packet_rtt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function marked_packet_rtt
_marked_packet_rtt:                     ; @marked_packet_rtt
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x5
	mov	x22, x4
	mov	x23, x3
	mov	x24, x0
Lloh0:
	adrp	x8, _MULTI_ACK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MULTI_ACK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _OLD_TXSI@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OLD_TXSI@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w6
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x24]
	str	x8, [x23]
	ldr	w8, [x24, #8]
	str	w8, [x22]
	ldr	w9, [x21]
	add	w8, w9, w8
	str	w8, [x21]
	b	LBB0_7
LBB0_2:
	mov	x20, x2
	mov	x19, x1
Lloh6:
	adrp	x8, _FORCED_MEASUREMENT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FORCED_MEASUREMENT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	and	w25, w8, w6
	bl	_tcp_ts_getticks
	cbz	w25, LBB0_4
; %bb.3:
	ldr	x8, [x23]
	sub	x8, x0, x8
	add	x8, x8, #1
	ldr	x9, [x19, #8]
	ldrsw	x10, [x22]
	add	x9, x9, x10
	b	LBB0_5
LBB0_4:
	ldr	x8, [x24]
	sub	x8, x0, x8
	add	x8, x8, #1
	ldr	x9, [x19, #8]
LBB0_5:
	ldrsw	x10, [x21]
	sub	x9, x9, x10
	stp	x9, x8, [x19, #16]
Lloh9:
	adrp	x8, _ERTT_MEASUREMENT_IN_PROGRESS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERTT_MEASUREMENT_IN_PROGRESS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x19]
	bic	w8, w9, w8
	ldp	w9, w10, [x20]
	stp	w8, w10, [x19]
Lloh12:
	adrp	x10, _ERTT_NEW_MEASUREMENT@GOTPAGE
Lloh13:
	ldr	x10, [x10, _ERTT_NEW_MEASUREMENT@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w8, w10, w8
	str	w8, [x19]
Lloh15:
	adrp	x10, _TF_TSO@GOTPAGE
Lloh16:
	ldr	x10, [x10, _TF_TSO@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_7
; %bb.6:
	bic	w9, w9, w10
	str	w9, [x20]
Lloh18:
	adrp	x9, _ERTT_TSO_DISABLED@GOTPAGE
Lloh19:
	ldr	x9, [x9, _ERTT_TSO_DISABLED@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_MULTI_ACK,4,2                  ; @MULTI_ACK
	.comm	_OLD_TXSI,4,2                   ; @OLD_TXSI
	.comm	_FORCED_MEASUREMENT,4,2         ; @FORCED_MEASUREMENT
	.comm	_ERTT_MEASUREMENT_IN_PROGRESS,4,2 ; @ERTT_MEASUREMENT_IN_PROGRESS
	.comm	_ERTT_NEW_MEASUREMENT,4,2       ; @ERTT_NEW_MEASUREMENT
	.comm	_TF_TSO,4,2                     ; @TF_TSO
	.comm	_ERTT_TSO_DISABLED,4,2          ; @ERTT_TSO_DISABLED
	.no_dead_strip	_marked_packet_rtt
.subsections_via_symbols
