	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function westwood_update_window
_westwood_update_window:                ## @westwood_update_window
	.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	%rdi, %r15
	callq	_inet_csk_ca
	movq	%rax, %rbx
	movq	_tcp_time_stamp@GOTPCREL(%rip), %r12
	movq	(%r12), %r14
	subq	(%rax), %r14
	cmpq	$0, 24(%rax)
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_tcp_sk
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	$0, 24(%rbx)
LBB0_2:
	movq	16(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.3:
	movq	_u32@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TCP_WESTWOOD_RTT_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_max_t
	cmpq	%rax, %r14
	jle	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_westwood_filter
	movq	$0, 8(%rbx)
	movq	(%r12), %rax
	movq	%rax, (%rbx)
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tcp_time_stamp,8,3             ## @tcp_time_stamp
	.comm	_u32,4,2                        ## @u32
	.comm	_TCP_WESTWOOD_RTT_MIN,4,2       ## @TCP_WESTWOOD_RTT_MIN
	.no_dead_strip	_westwood_update_window
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function westwood_update_window
_westwood_update_window:                ; @westwood_update_window
	.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	x20, x0
	bl	_inet_csk_ca
	mov	x19, x0
Lloh0:
	adrp	x21, _tcp_time_stamp@GOTPAGE
Lloh1:
	ldr	x21, [x21, _tcp_time_stamp@GOTPAGEOFF]
	ldr	x22, [x21]
	ldr	x23, [x0]
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_tcp_sk
	ldr	w8, [x0]
	str	w8, [x19, #32]
	str	xzr, [x19, #24]
LBB0_2:
	ldr	x1, [x19, #16]
	cbz	x1, LBB0_5
; %bb.3:
	sub	x20, x22, x23
Lloh2:
	adrp	x8, _u32@GOTPAGE
Lloh3:
	ldr	x8, [x8, _u32@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _TCP_WESTWOOD_RTT_MIN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TCP_WESTWOOD_RTT_MIN@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	bl	_max_t
	cmp	x20, x0
	b.le	LBB0_5
; %bb.4:
	mov	x0, x19
	mov	x1, x20
	bl	_westwood_filter
	ldr	x8, [x21]
	stp	x8, xzr, [x19]
LBB0_5:
	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	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_tcp_time_stamp,8,3             ; @tcp_time_stamp
	.comm	_u32,4,2                        ; @u32
	.comm	_TCP_WESTWOOD_RTT_MIN,4,2       ; @TCP_WESTWOOD_RTT_MIN
	.no_dead_strip	_westwood_update_window
.subsections_via_symbols
