	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hystart_update
_hystart_update:                        ## @hystart_update
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_tcp_sk
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_inet_csk_ca
	movq	%rax, %rbx
	movq	_hystart_detect@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	testl	%eax, (%rbx)
	jne	LBB0_13
## %bb.1:
	xorl	%eax, %eax
	callq	_bictcp_clock
	movq	%rax, %rcx
	subq	8(%rbx), %rcx
	movq	_hystart_ack_delta@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jg	LBB0_4
## %bb.2:
	movq	%rax, 8(%rbx)
	subq	16(%rbx), %rax
	movq	24(%rbx), %rcx
	sarq	$4, %rcx
	cmpq	%rcx, %rax
	jle	LBB0_4
## %bb.3:
	movq	_HYSTART_ACK_TRAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_4:
	movq	32(%rbx), %rax
	movq	40(%rbx), %r13
	movq	_HYSTART_MIN_SAMPLES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_9
## %bb.5:
	testq	%r13, %r13
	je	LBB0_7
## %bb.6:
	cmpq	%r15, %r13
	jle	LBB0_8
LBB0_7:
	movq	%r15, 40(%rbx)
LBB0_8:
	incq	%rax
	movq	%rax, 32(%rbx)
	jmp	LBB0_11
LBB0_9:
	movq	24(%rbx), %r15
	movq	%r15, %rdi
	shrq	$4, %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_HYSTART_DELAY_THRESH
	addq	%r15, %rax
	cmpq	%rax, %r13
	jle	LBB0_11
## %bb.10:
	movq	_HYSTART_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_11:
	movl	(%r12), %eax
	testl	%eax, (%rbx)
	je	LBB0_13
## %bb.12:
	movl	(%r14), %eax
	movl	%eax, 4(%r14)
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hystart_detect,4,2             ## @hystart_detect
	.comm	_hystart_ack_delta,8,3          ## @hystart_ack_delta
	.comm	_HYSTART_ACK_TRAIN,4,2          ## @HYSTART_ACK_TRAIN
	.comm	_HYSTART_MIN_SAMPLES,8,3        ## @HYSTART_MIN_SAMPLES
	.comm	_HYSTART_DELAY,4,2              ## @HYSTART_DELAY
	.no_dead_strip	_hystart_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hystart_update
_hystart_update:                        ; @hystart_update
	.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	x21, x1
	mov	x20, x0
	bl	_tcp_sk
	mov	x19, x0
	mov	x0, x20
	bl	_inet_csk_ca
	ldr	w8, [x0]
Lloh0:
	adrp	x22, _hystart_detect@GOTPAGE
Lloh1:
	ldr	x22, [x22, _hystart_detect@GOTPAGEOFF]
	ldr	w9, [x22]
	tst	w9, w8
	b.ne	LBB0_13
; %bb.1:
	mov	x20, x0
	bl	_bictcp_clock
	ldr	x8, [x20, #8]
Lloh2:
	adrp	x9, _hystart_ack_delta@GOTPAGE
Lloh3:
	ldr	x9, [x9, _hystart_ack_delta@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	sub	x8, x0, x8
	cmp	x8, x9
	b.gt	LBB0_4
; %bb.2:
	str	x0, [x20, #8]
	ldp	x8, x9, [x20, #16]
	sub	x8, x0, x8
	cmp	x8, x9, asr #4
	b.le	LBB0_4
; %bb.3:
Lloh5:
	adrp	x8, _HYSTART_ACK_TRAIN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HYSTART_ACK_TRAIN@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_4:
Lloh8:
	adrp	x8, _HYSTART_MIN_SAMPLES@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HYSTART_MIN_SAMPLES@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x8]
	ldp	x8, x23, [x20, #32]
	cmp	x8, x9
	b.ge	LBB0_9
; %bb.5:
	cbz	x23, LBB0_7
; %bb.6:
	cmp	x23, x21
	b.le	LBB0_8
LBB0_7:
	str	x21, [x20, #40]
LBB0_8:
	add	x8, x8, #1
	str	x8, [x20, #32]
	b	LBB0_11
LBB0_9:
	ldr	x21, [x20, #24]
	lsr	x0, x21, #4
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_HYSTART_DELAY_THRESH
	add	x8, x0, x21
	cmp	x23, x8
	b.le	LBB0_11
; %bb.10:
Lloh11:
	adrp	x8, _HYSTART_DELAY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HYSTART_DELAY@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_11:
	ldr	w8, [x20]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.12:
	ldr	w8, [x19]
	str	w8, [x19, #4]
LBB0_13:
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_hystart_detect,4,2             ; @hystart_detect
	.comm	_hystart_ack_delta,8,3          ; @hystart_ack_delta
	.comm	_HYSTART_ACK_TRAIN,4,2          ; @HYSTART_ACK_TRAIN
	.comm	_HYSTART_MIN_SAMPLES,8,3        ; @HYSTART_MIN_SAMPLES
	.comm	_HYSTART_DELAY,4,2              ; @HYSTART_DELAY
	.no_dead_strip	_hystart_update
.subsections_via_symbols
