	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_params
_update_params:                         ## @update_params
	.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, %r14
	callq	_tcp_sk
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_inet_csk_ca
	movq	%rax, %r15
	movq	(%rbx), %rax
	movq	_win_thresh@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_2
## %bb.1:
	movq	_ALPHA_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r15)
	movq	_BETA_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_4
LBB0_2:
	cmpq	$0, (%r15)
	jle	LBB0_5
## %bb.3:
	movq	%r15, %rdi
	callq	_max_delay
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_avg_delay
	movl	%eax, %ebx
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_alpha
	movl	%eax, 12(%r15)
	movl	%ebx, %edi
	movl	%r12d, %esi
	callq	_beta
LBB0_4:
	movl	%eax, 8(%r15)
LBB0_5:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtt_reset                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_win_thresh,8,3                 ## @win_thresh
	.comm	_ALPHA_BASE,4,2                 ## @ALPHA_BASE
	.comm	_BETA_BASE,4,2                  ## @BETA_BASE
	.no_dead_strip	_update_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_params
_update_params:                         ; @update_params
	.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	x19, x0
	bl	_tcp_sk
	mov	x21, x0
	mov	x0, x19
	bl	_inet_csk_ca
	mov	x20, x0
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _win_thresh@GOTPAGE
Lloh1:
	ldr	x9, [x9, _win_thresh@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ALPHA_BASE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ALPHA_BASE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x20, #12]
Lloh6:
	adrp	x8, _BETA_BASE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BETA_BASE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_4
LBB0_2:
	ldr	x8, [x20]
	cmp	x8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x0, x20
	bl	_max_delay
	mov	x21, x0
	mov	x0, x20
	bl	_avg_delay
	mov	x22, x0
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_alpha
	str	w0, [x20, #12]
	mov	x0, x22
	mov	x1, x21
	bl	_beta
LBB0_4:
	str	w0, [x20, #8]
LBB0_5:
	mov	x0, x19
	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
	b	_rtt_reset
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_win_thresh,8,3                 ; @win_thresh
	.comm	_ALPHA_BASE,4,2                 ; @ALPHA_BASE
	.comm	_BETA_BASE,4,2                  ; @BETA_BASE
	.no_dead_strip	_update_params
.subsections_via_symbols
