	.file	"extr_tcp_veno.c_tcp_veno_cong_avoid.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	tcp_veno_cong_avoid, @function
tcp_veno_cong_avoid:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, esi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	tcp_sk@PLT
	mov	rdi, rbp
	mov	r12, rax
	call	inet_csk_ca@PLT
	mov	edx, DWORD PTR 20[rax]
	test	edx, edx
	je	.L18
	mov	rdi, rbp
	mov	rbx, rax
	call	tcp_is_cwnd_limited@PLT
	test	eax, eax
	je	.L1
	cmp	DWORD PTR [rbx], 2
	jg	.L4
	mov	edx, r13d
	mov	esi, r14d
	mov	rdi, rbp
	call	tcp_reno_cong_avoid@PLT
.L5:
	mov	DWORD PTR 4[rbx], 2147483647
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	edx, r13d
	mov	esi, r14d
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	tcp_reno_cong_avoid@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	ebp, DWORD PTR [r12]
	imul	ebp, DWORD PTR 8[rbx]
	mov	ecx, DWORD PTR V_PARAM_SHIFT[rip]
	mov	esi, DWORD PTR 4[rbx]
	sal	ebp, cl
	mov	edi, ebp
	call	do_div@PLT
	mov	eax, DWORD PTR [r12]
	mov	ecx, DWORD PTR V_PARAM_SHIFT[rip]
	mov	rdi, r12
	sal	eax, cl
	sub	eax, ebp
	mov	DWORD PTR 12[rbx], eax
	call	tcp_in_slow_start@PLT
	test	rax, rax
	jne	.L19
	mov	esi, DWORD PTR [r12]
	mov	eax, DWORD PTR beta[rip]
	cmp	DWORD PTR 12[rbx], eax
	jl	.L20
	mov	eax, DWORD PTR 4[r12]
	cmp	eax, esi
	jl	.L9
	mov	eax, DWORD PTR 16[rbx]
	test	eax, eax
	je	.L10
	cmp	DWORD PTR 8[r12], esi
	jle	.L10
	add	esi, 1
	mov	DWORD PTR [r12], esi
	mov	DWORD PTR 16[rbx], 0
.L11:
	mov	DWORD PTR 4[r12], 0
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L19:
	mov	esi, r13d
	mov	rdi, r12
	call	tcp_slow_start@PLT
	mov	esi, DWORD PTR [r12]
.L7:
	cmp	esi, 1
	jle	.L21
	mov	eax, DWORD PTR 8[r12]
	cmp	eax, esi
	jge	.L5
	mov	DWORD PTR [r12], eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L21:
	mov	DWORD PTR [r12], 2
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L9:
	add	eax, 1
	mov	DWORD PTR 4[r12], eax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L20:
	mov	edx, 1
	mov	rdi, r12
	call	tcp_cong_avoid_ai@PLT
	mov	esi, DWORD PTR [r12]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L10:
	mov	DWORD PTR 16[rbx], 1
	jmp	.L11
	.cfi_endproc
.LFE0:
	.size	tcp_veno_cong_avoid, .-tcp_veno_cong_avoid
	.comm	beta,4,4
	.comm	V_PARAM_SHIFT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_tcp_veno.c_tcp_veno_cong_avoid.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tcp_veno_cong_avoid, %function
tcp_veno_cong_avoid:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	mov	r7, r1
	mov	r8, r2
	bl	tcp_sk
	mov	r6, r0
	mov	r0, r5
	bl	inet_csk_ca
	ldr	r3, [r0, #20]
	cmp	r3, #0
	beq	.L21
	mov	r4, r0
	mov	r0, r5
	bl	tcp_is_cwnd_limited
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r3, [r4]
	cmp	r3, #2
	bgt	.L4
	mov	r2, r8
	mov	r1, r7
	mov	r0, r5
	bl	tcp_reno_cong_avoid
.L5:
	mvn	r3, #-2147483648
	str	r3, [r4, #4]
	pop	{r4, r5, r6, r7, r8, pc}
.L21:
	mov	r2, r8
	mov	r1, r7
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	tcp_reno_cong_avoid
.L4:
	ldr	r3, [r4, #8]
	ldr	r5, [r6]
	ldr	r7, .L24
	mul	r5, r3, r5
	ldr	r3, [r7]
	ldr	r1, [r4, #4]
	lsl	r5, r5, r3
	mov	r0, r5
	bl	do_div
	ldr	r2, [r6]
	ldr	r3, [r7]
	mov	r0, r6
	rsb	r5, r5, r2, lsl r3
	str	r5, [r4, #12]
	bl	tcp_in_slow_start
	cmp	r0, #0
	bne	.L22
	ldr	r3, .L24+4
	ldr	r2, [r4, #12]
	ldr	r3, [r3]
	ldr	r1, [r6]
	cmp	r2, r3
	blt	.L23
	ldr	r3, [r6, #4]
	cmp	r3, r1
	addlt	r3, r3, #1
	strlt	r3, [r6, #4]
	blt	.L7
	ldr	r3, [r4, #16]
	cmp	r3, #0
	beq	.L10
	ldr	r3, [r6, #8]
	cmp	r3, r1
	ble	.L10
	add	r1, r1, #1
	str	r1, [r6]
	str	r0, [r4, #16]
.L11:
	mov	r3, #0
	str	r3, [r6, #4]
	b	.L7
.L22:
	mov	r1, r8
	mov	r0, r6
	bl	tcp_slow_start
	ldr	r1, [r6]
.L7:
	cmp	r1, #1
	movle	r3, #2
	strle	r3, [r6]
	ble	.L5
	ldr	r3, [r6, #8]
	cmp	r3, r1
	strlt	r3, [r6]
	b	.L5
.L23:
	mov	r2, #1
	mov	r0, r6
	bl	tcp_cong_avoid_ai
	ldr	r1, [r6]
	b	.L7
.L10:
	mov	r3, #1
	str	r3, [r4, #16]
	b	.L11
.L25:
	.align	2
.L24:
	.word	V_PARAM_SHIFT
	.word	beta
	.size	tcp_veno_cong_avoid, .-tcp_veno_cong_avoid
	.comm	beta,4,4
	.comm	V_PARAM_SHIFT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
