	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_veno_cong_avoid
_tcp_veno_cong_avoid:                   ## @tcp_veno_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, %r13d
	movl	%esi, %r12d
	movq	%rdi, %rbx
	callq	_tcp_sk
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_inet_csk_ca
	cmpl	$0, 20(%rax)
	je	LBB0_20
## %bb.1:
	movq	%rax, %r15
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_tcp_is_cwnd_limited
	testl	%eax, %eax
	je	LBB0_19
## %bb.2:
	cmpl	$2, (%r15)
	jg	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r13d, %edx
	callq	_tcp_reno_cong_avoid
	jmp	LBB0_18
LBB0_20:
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r13d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tcp_reno_cong_avoid            ## TAILCALL
LBB0_4:
	movl	4(%r15), %esi
	movl	8(%r15), %ebx
	imull	(%r14), %ebx
	movq	_V_PARAM_SHIFT@GOTPCREL(%rip), %r12
	movb	(%r12), %cl
	shll	%cl, %ebx
	movl	%ebx, %edi
	callq	_do_div
	movl	(%r14), %esi
	movb	(%r12), %cl
	movl	%esi, %eax
	shll	%cl, %eax
	subl	%ebx, %eax
	movl	%eax, 12(%r15)
	cmpl	4(%r14), %esi
	jle	LBB0_5
## %bb.6:
	movq	_beta@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	callq	_tcp_cong_avoid_ai
	jmp	LBB0_14
LBB0_5:
	movq	%r14, %rdi
	callq	_tcp_slow_start
LBB0_14:
	movl	(%r14), %eax
	cmpl	$1, %eax
	jg	LBB0_16
## %bb.15:
	movl	$2, (%r14)
	jmp	LBB0_18
LBB0_16:
	movl	12(%r14), %ecx
	cmpl	%ecx, %eax
	jle	LBB0_18
## %bb.17:
	movl	%ecx, (%r14)
LBB0_18:
	movl	$2147483647, 4(%r15)            ## imm = 0x7FFFFFFF
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	8(%r14), %eax
	cmpl	%esi, %eax
	jge	LBB0_9
## %bb.13:
	incl	%eax
	movl	%eax, 8(%r14)
	jmp	LBB0_14
LBB0_9:
	movl	$1, %eax
	cmpl	$0, 16(%r15)
	je	LBB0_12
## %bb.10:
	cmpl	12(%r14), %esi
	jge	LBB0_12
## %bb.11:
	incl	%esi
	movl	%esi, (%r14)
	xorl	%eax, %eax
LBB0_12:
	movl	%eax, 16(%r15)
	movl	$0, 8(%r14)
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_V_PARAM_SHIFT,4,2              ## @V_PARAM_SHIFT
	.comm	_beta,4,2                       ## @beta
	.no_dead_strip	_tcp_veno_cong_avoid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcp_veno_cong_avoid
_tcp_veno_cong_avoid:                   ; @tcp_veno_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	x21, x2
	mov	x22, x1
	mov	x23, x0
	bl	_tcp_sk
	mov	x20, x0
	mov	x0, x23
	bl	_inet_csk_ca
	ldr	w8, [x0, #20]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x19, x0
	mov	x0, x23
	mov	x1, x21
	bl	_tcp_is_cwnd_limited
	cbz	w0, LBB0_14
; %bb.2:
	ldr	w8, [x19]
	cmp	w8, #2
	b.gt	LBB0_5
; %bb.3:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	bl	_tcp_reno_cong_avoid
	b	LBB0_13
LBB0_4:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	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:
	ldr	w8, [x20]
	ldp	w1, w9, [x19, #4]
	mul	w8, w9, w8
Lloh0:
	adrp	x22, _V_PARAM_SHIFT@GOTPAGE
Lloh1:
	ldr	x22, [x22, _V_PARAM_SHIFT@GOTPAGEOFF]
	ldr	w9, [x22]
	lsl	w21, w8, w9
	mov	x0, x21
	bl	_do_div
	ldr	w8, [x22]
	ldp	w1, w9, [x20]
	lsl	w8, w1, w8
	sub	w8, w8, w21
	str	w8, [x19, #12]
	cmp	w1, w9
	b.le	LBB0_8
; %bb.6:
Lloh2:
	adrp	x9, _beta@GOTPAGE
Lloh3:
	ldr	x9, [x9, _beta@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_15
; %bb.7:
	mov	x0, x20
	bl	_tcp_cong_avoid_ai
	b	LBB0_9
LBB0_8:
	mov	x0, x20
	bl	_tcp_slow_start
LBB0_9:
	ldr	w9, [x20]
	cmp	w9, #1
	b.gt	LBB0_11
; %bb.10:
	mov	w8, #2
	b	LBB0_12
LBB0_11:
	ldr	w8, [x20, #12]
	cmp	w9, w8
	b.le	LBB0_13
LBB0_12:
	str	w8, [x20]
LBB0_13:
	mov	w8, #2147483647
	str	w8, [x19, #4]
LBB0_14:
	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
LBB0_15:
	ldr	w8, [x20, #8]
	cmp	w8, w1
	b.ge	LBB0_17
; %bb.16:
	add	w8, w8, #1
	str	w8, [x20, #8]
	b	LBB0_9
LBB0_17:
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_20
; %bb.18:
	ldr	w8, [x20, #12]
	cmp	w1, w8
	b.ge	LBB0_20
; %bb.19:
	mov	w8, #0
	add	w9, w1, #1
	str	w9, [x20]
	b	LBB0_21
LBB0_20:
	mov	w8, #1
LBB0_21:
	str	w8, [x19, #16]
	str	wzr, [x20, #8]
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_V_PARAM_SHIFT,4,2              ; @V_PARAM_SHIFT
	.comm	_beta,4,2                       ; @beta
	.no_dead_strip	_tcp_veno_cong_avoid
.subsections_via_symbols
