	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_should_expand_sndbuf
_tcp_should_expand_sndbuf:              ## @tcp_should_expand_sndbuf
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_tcp_sk
	movq	%rax, %r14
	movq	_SOCK_SNDBUF_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r15d, %r15d
	testl	%eax, (%rbx)
	jne	LBB0_4
## %bb.1:
	movq	_tcp_memory_pressure@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_4
## %bb.2:
	movq	_tcp_memory_allocated@GOTPCREL(%rip), %rdi
	callq	_atomic_read
	movq	_sysctl_tcp_mem@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_4
## %bb.3:
	movq	(%r14), %rax
	xorl	%r15d, %r15d
	cmpq	8(%r14), %rax
	setl	%r15b
LBB0_4:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SOCK_SNDBUF_LOCK,4,2           ## @SOCK_SNDBUF_LOCK
	.comm	_tcp_memory_pressure,8,3        ## @tcp_memory_pressure
	.comm	_tcp_memory_allocated,4,2       ## @tcp_memory_allocated
	.comm	_sysctl_tcp_mem,8,3             ## @sysctl_tcp_mem
	.no_dead_strip	_tcp_should_expand_sndbuf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcp_should_expand_sndbuf
_tcp_should_expand_sndbuf:              ; @tcp_should_expand_sndbuf
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	bl	_tcp_sk
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _SOCK_SNDBUF_LOCK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SOCK_SNDBUF_LOCK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh3:
	adrp	x9, _tcp_memory_pressure@GOTPAGE
Lloh4:
	ldr	x9, [x9, _tcp_memory_pressure@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	w8, #0
	ccmp	x9, #0, #0, eq
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x0
Lloh6:
	adrp	x0, _tcp_memory_allocated@GOTPAGE
Lloh7:
	ldr	x0, [x0, _tcp_memory_allocated@GOTPAGEOFF]
	bl	_atomic_read
Lloh8:
	adrp	x8, _sysctl_tcp_mem@GOTPAGE
Lloh9:
	ldr	x8, [x8, _sysctl_tcp_mem@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_3
; %bb.2:
	ldp	x8, x9, [x19]
	cmp	x8, x9
	cset	w0, lt
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SOCK_SNDBUF_LOCK,4,2           ; @SOCK_SNDBUF_LOCK
	.comm	_tcp_memory_pressure,8,3        ; @tcp_memory_pressure
	.comm	_tcp_memory_allocated,4,2       ; @tcp_memory_allocated
	.comm	_sysctl_tcp_mem,8,3             ; @sysctl_tcp_mem
	.no_dead_strip	_tcp_should_expand_sndbuf
.subsections_via_symbols
