	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_vegas_cong_avoid
_tcp_vegas_cong_avoid:                  ## @tcp_vegas_cong_avoid
	.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
	movl	%edx, %r12d
	movl	%esi, %ebx
	movq	%rdi, %r15
	callq	_tcp_sk
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_inet_csk_ca
	cmpl	$0, 16(%rax)
	je	LBB0_4
## %bb.1:
	movq	%rax, %r13
	movl	12(%rax), %esi
	movl	%ebx, %edi
	callq	_after
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movl	12(%r14), %eax
	movl	%eax, 12(%r13)
	cmpl	$2, (%r13)
	jg	LBB0_7
## %bb.3:
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	callq	_tcp_reno_cong_avoid
	jmp	LBB0_20
LBB0_4:
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tcp_reno_cong_avoid            ## TAILCALL
LBB0_5:
	movl	(%r14), %eax
	cmpl	4(%r14), %eax
	jg	LBB0_21
## %bb.6:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tcp_slow_start                 ## TAILCALL
LBB0_7:
	movl	4(%r13), %esi
	movl	8(%r13), %ecx
	movl	(%r14), %edi
	movl	4(%r14), %ebx
	movl	%esi, %eax
	subl	%ecx, %eax
	imull	%edi, %eax
	cltd
	idivl	%ecx
	movq	_gamma@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jle	LBB0_11
## %bb.8:
	cmpl	%ebx, %edi
	jg	LBB0_11
## %bb.9:
	imull	%edi, %ecx
	movl	%ecx, %eax
	cltd
	idivl	%esi
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %esi
	callq	_min
	movl	%eax, (%r14)
LBB0_10:
	movq	%r14, %rdi
	callq	_tcp_vegas_ssthresh
	movl	%eax, 4(%r14)
	jmp	LBB0_15
LBB0_11:
	cmpl	%ebx, %edi
	jle	LBB0_14
## %bb.12:
	movq	_beta@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jle	LBB0_22
## %bb.13:
	decl	%edi
	movl	%edi, (%r14)
	jmp	LBB0_10
LBB0_14:
	movq	%r14, %rdi
	callq	_tcp_slow_start
LBB0_15:
	movl	(%r14), %edi
LBB0_16:
	movl	$2, %eax
	cmpl	$2, %edi
	jl	LBB0_18
## %bb.17:
	movl	8(%r14), %eax
	cmpl	%eax, %edi
	jle	LBB0_19
LBB0_18:
	movl	%eax, (%r14)
LBB0_19:
	movq	%r15, %rdi
	callq	_tcp_current_ssthresh
	movl	%eax, 4(%r14)
LBB0_20:
	movabsq	$9223372032559808512, %rax      ## imm = 0x7FFFFFFF00000000
	movq	%rax, (%r13)
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movq	_alpha@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_15
## %bb.23:
	incl	%edi
	movl	%edi, (%r14)
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_gamma,4,2                      ## @gamma
	.comm	_beta,4,2                       ## @beta
	.comm	_alpha,4,2                      ## @alpha
	.no_dead_strip	_tcp_vegas_cong_avoid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function tcp_vegas_cong_avoid
lCPI0_0:
	.long	0                               ; 0x0
	.long	2147483647                      ; 0x7fffffff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_tcp_vegas_cong_avoid:                  ; @tcp_vegas_cong_avoid
	.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	x22, x2
	mov	x23, x1
	mov	x21, x0
	bl	_tcp_sk
	mov	x19, x0
	mov	x0, x21
	bl	_inet_csk_ca
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x20, x0
	ldr	w1, [x0, #12]
	mov	x0, x23
	bl	_after
	cbz	x0, LBB0_5
; %bb.2:
	ldr	w8, [x19, #12]
	str	w8, [x20, #12]
	ldr	w8, [x20]
	cmp	w8, #2
	b.gt	LBB0_7
; %bb.3:
	mov	x0, x21
	mov	x1, x23
	mov	x2, x22
	bl	_tcp_reno_cong_avoid
	b	LBB0_21
LBB0_4:
	mov	x0, x21
	mov	x1, x23
	mov	x2, x22
	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
	b	_tcp_reno_cong_avoid
LBB0_5:
	ldp	w8, w9, [x19]
	cmp	w8, w9
	b.gt	LBB0_22
; %bb.6:
	mov	x0, x19
	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
	b	_tcp_slow_start
LBB0_7:
	ldp	w9, w10, [x20, #4]
	sub	w8, w9, w10
	ldp	w0, w11, [x19]
	mul	w8, w8, w0
	sdiv	w8, w8, w10
Lloh0:
	adrp	x12, _gamma@GOTPAGE
Lloh1:
	ldr	x12, [x12, _gamma@GOTPAGEOFF]
Lloh2:
	ldr	w12, [x12]
	cmp	w8, w12
	ccmp	w0, w11, #0, gt
	b.le	LBB0_11
; %bb.8:
	cmp	w0, w11
	b.le	LBB0_13
; %bb.9:
Lloh3:
	adrp	x9, _beta@GOTPAGE
Lloh4:
	ldr	x9, [x9, _beta@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.le	LBB0_16
; %bb.10:
	sub	w8, w0, #1
	str	w8, [x19]
	b	LBB0_12
LBB0_11:
	mul	w8, w10, w0
	sdiv	w8, w8, w9
	add	w1, w8, #1
	bl	_min
	str	w0, [x19]
LBB0_12:
	mov	x0, x19
	bl	_tcp_vegas_ssthresh
	str	w0, [x19, #4]
	b	LBB0_14
LBB0_13:
	mov	x0, x19
	bl	_tcp_slow_start
LBB0_14:
	ldr	w8, [x19]
	cmp	w8, #2
	b.ge	LBB0_18
LBB0_15:
	mov	w9, #2
	b	LBB0_19
LBB0_16:
Lloh6:
	adrp	x9, _alpha@GOTPAGE
Lloh7:
	ldr	x9, [x9, _alpha@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_14
; %bb.17:
	add	w8, w0, #1
	str	w8, [x19]
	cmp	w8, #2
	b.lt	LBB0_15
LBB0_18:
	ldr	w9, [x19, #8]
	cmp	w8, w9
	b.le	LBB0_20
LBB0_19:
	str	w9, [x19]
LBB0_20:
	mov	x0, x21
	bl	_tcp_current_ssthresh
	str	w0, [x19, #4]
LBB0_21:
Lloh9:
	adrp	x8, lCPI0_0@PAGE
Lloh10:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x20]
LBB0_22:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdr	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_gamma,4,2                      ; @gamma
	.comm	_beta,4,2                       ; @beta
	.comm	_alpha,4,2                      ; @alpha
	.no_dead_strip	_tcp_vegas_cong_avoid
.subsections_via_symbols
