	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_cwnd_down
_tcp_cwnd_down:                         ## @tcp_cwnd_down
	.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
	movl	%esi, %r15d
	movq	%rdi, %r14
	callq	_tcp_sk
	movq	%rax, %rbx
	movl	(%rax), %r12d
	movq	_FLAG_ANY_PROGRESS@GOTPCREL(%rip), %rax
	movq	_FLAG_DSACKING_ACK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%r15d, %ecx
	je	LBB0_1
LBB0_3:
	incl	%r12d
	movl	%r12d, %eax
	andl	$1, %eax
	movl	%eax, (%rbx)
	cmpl	$2, %r12d
	jb	LBB0_6
## %bb.4:
	movq	8(%rbx), %r15
	movq	%r14, %rdi
	callq	_tcp_cwnd_min
	cmpq	%rax, %r15
	jle	LBB0_6
## %bb.5:
	sarl	%r12d
	movslq	%r12d, %rax
	subq	%rax, 8(%rbx)
LBB0_6:
	movq	8(%rbx), %r14
	movq	%rbx, %rdi
	callq	_tcp_packets_in_flight
	leaq	1(%rax), %rsi
	movq	%r14, %rdi
	callq	_min
	movq	%rax, 8(%rbx)
	movq	_tcp_time_stamp@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rbx, %rdi
	callq	_tcp_is_reno
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	_FLAG_NOT_DUP@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	jne	LBB0_7
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_FLAG_ANY_PROGRESS,4,2          ## @FLAG_ANY_PROGRESS
	.comm	_FLAG_DSACKING_ACK,4,2          ## @FLAG_DSACKING_ACK
	.comm	_FLAG_NOT_DUP,4,2               ## @FLAG_NOT_DUP
	.comm	_tcp_time_stamp,4,2             ## @tcp_time_stamp
	.no_dead_strip	_tcp_cwnd_down
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcp_cwnd_down
_tcp_cwnd_down:                         ; @tcp_cwnd_down
	.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	x21, x1
	mov	x20, x0
	bl	_tcp_sk
	mov	x19, x0
	ldr	w22, [x0]
Lloh0:
	adrp	x8, _FLAG_ANY_PROGRESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FLAG_ANY_PROGRESS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _FLAG_DSACKING_ACK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FLAG_DSACKING_ACK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w21
	b.eq	LBB0_6
LBB0_1:
	add	w21, w22, #1
	and	w8, w21, #0x1
	str	w8, [x19]
	cmp	w21, #2
	b.lo	LBB0_4
; %bb.2:
	ldr	x22, [x19, #8]
	mov	x0, x20
	bl	_tcp_cwnd_min
	cmp	x22, x0
	b.le	LBB0_4
; %bb.3:
	asr	w8, w21, #1
	ldr	x9, [x19, #8]
	sub	x8, x9, w8, sxtw
	str	x8, [x19, #8]
LBB0_4:
	ldr	x20, [x19, #8]
	mov	x0, x19
	bl	_tcp_packets_in_flight
	add	x1, x0, #1
	mov	x0, x20
	bl	_min
	str	x0, [x19, #8]
Lloh6:
	adrp	x8, _tcp_time_stamp@GOTPAGE
Lloh7:
	ldr	x8, [x8, _tcp_time_stamp@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #16]
LBB0_5:
	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
	ret
LBB0_6:
	mov	x0, x19
	bl	_tcp_is_reno
	cbz	x0, LBB0_5
; %bb.7:
Lloh9:
	adrp	x8, _FLAG_NOT_DUP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FLAG_NOT_DUP@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w21
	b.ne	LBB0_5
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_FLAG_ANY_PROGRESS,4,2          ; @FLAG_ANY_PROGRESS
	.comm	_FLAG_DSACKING_ACK,4,2          ; @FLAG_DSACKING_ACK
	.comm	_FLAG_NOT_DUP,4,2               ; @FLAG_NOT_DUP
	.comm	_tcp_time_stamp,4,2             ; @tcp_time_stamp
	.no_dead_strip	_tcp_cwnd_down
.subsections_via_symbols
