	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_grow_window
_tcp_grow_window:                       ## @tcp_grow_window
	.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
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_tcp_sk
	movq	(%rax), %rbx
	cmpq	8(%rax), %rbx
	jge	LBB0_8
## %bb.1:
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_tcp_space
	cmpl	%ebx, %eax
	jle	LBB0_8
## %bb.2:
	movq	_tcp_memory_pressure@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_8
## %bb.3:
	movl	8(%r15), %edi
	callq	_tcp_win_from_space
	cmpq	(%r15), %rax
	jle	LBB0_4
## %bb.5:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	___tcp_grow_window
	movl	%eax, %edi
	testl	%edi, %edi
	jne	LBB0_7
	jmp	LBB0_8
LBB0_4:
	movl	16(%r12), %edi
	addl	%edi, %edi
	testl	%edi, %edi
	je	LBB0_8
LBB0_7:
	addl	(%r12), %edi
	movq	8(%r12), %rsi
	callq	_min
	movq	%rax, (%r12)
	movq	%r14, %rdi
	callq	_inet_csk
	orb	$1, (%rax)
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tcp_memory_pressure,4,2        ## @tcp_memory_pressure
	.no_dead_strip	_tcp_grow_window
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcp_grow_window
_tcp_grow_window:                       ; @tcp_grow_window
	.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	x19, x0
	bl	_tcp_sk
	ldp	x22, x8, [x0]
	cmp	x22, x8
	b.ge	LBB0_6
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	bl	_tcp_space
Lloh0:
	adrp	x8, _tcp_memory_pressure@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tcp_memory_pressure@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w22
	ccmp	w8, #0, #0, gt
	b.ne	LBB0_6
; %bb.2:
	ldr	w0, [x21, #8]
	bl	_tcp_win_from_space
	ldr	x8, [x21]
	cmp	x0, x8
	b.le	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x21
	bl	___tcp_grow_window
	cbnz	w0, LBB0_5
	b	LBB0_6
LBB0_4:
	ldr	w8, [x20, #16]
	lsl	w0, w8, #1
	cbz	w0, LBB0_6
LBB0_5:
	ldr	w8, [x20]
	add	w0, w0, w8
	ldr	x1, [x20, #8]
	bl	_min
	str	x0, [x20]
	mov	x0, x19
	bl	_inet_csk
	ldr	w8, [x0]
	orr	w8, w8, #0x1
	str	w8, [x0]
LBB0_6:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_tcp_memory_pressure,4,2        ; @tcp_memory_pressure
	.no_dead_strip	_tcp_grow_window
.subsections_via_symbols
