	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_write_timeout
_tcp_write_timeout:                     ## @tcp_write_timeout
	.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
	movq	%rdi, %rbx
	callq	_inet_csk
	movq	%rax, %r15
	movq	_TCPF_SYN_SENT@GOTPCREL(%rip), %rax
	movq	_TCPF_SYN_RECV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	(%rbx), %eax
	btl	%eax, %ecx
	jae	LBB0_6
## %bb.1:
	cmpq	$0, 16(%r15)
	je	LBB0_3
## %bb.2:
	leaq	4(%rbx), %rdi
	callq	_dst_negative_advice
LBB0_3:
	movq	8(%r15), %r14
	testq	%r14, %r14
	jne	LBB0_5
## %bb.4:
	movq	_sysctl_tcp_syn_retries@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_5:
	xorl	%edx, %edx
	movl	$1, %ecx
	jmp	LBB0_13
LBB0_6:
	movq	_sysctl_tcp_retries1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_retransmits_timed_out
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_tcp_mtu_probing
	leaq	4(%rbx), %rdi
	callq	_dst_negative_advice
LBB0_8:
	movq	_sysctl_tcp_retries2@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_SOCK_DEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sock_flag
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:
	movq	(%r15), %r12
	movq	_TCP_RTO_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	xorl	%esi, %esi
	cmpq	%r13, %r12
	setl	%sil
	movq	%rbx, %rdi
	callq	_tcp_orphan_retries
	movl	%eax, %r14d
	movl	$1, %r15d
	movl	$1, %esi
	cmpq	%r13, %r12
	jl	LBB0_11
## %bb.10:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_retransmits_timed_out
	xorl	%esi, %esi
	testq	%rax, %rax
	sete	%sil
LBB0_11:
	movq	%rbx, %rdi
	callq	_tcp_out_of_resources
	testq	%rax, %rax
	jne	LBB0_16
LBB0_12:
	movq	%rbx, %rdi
	callq	_sk_extended
	movl	(%rax), %edx
	xorl	%ecx, %ecx
LBB0_13:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_retransmits_timed_out
	testq	%rax, %rax
	je	LBB0_14
## %bb.15:
	movq	%rbx, %rdi
	callq	_tcp_write_err
	movl	$1, %r15d
	jmp	LBB0_16
LBB0_14:
	xorl	%r15d, %r15d
LBB0_16:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TCPF_SYN_SENT,4,2              ## @TCPF_SYN_SENT
	.comm	_TCPF_SYN_RECV,4,2              ## @TCPF_SYN_RECV
	.comm	_sysctl_tcp_syn_retries,4,2     ## @sysctl_tcp_syn_retries
	.comm	_sysctl_tcp_retries1,4,2        ## @sysctl_tcp_retries1
	.comm	_sysctl_tcp_retries2,4,2        ## @sysctl_tcp_retries2
	.comm	_SOCK_DEAD,4,2                  ## @SOCK_DEAD
	.comm	_TCP_RTO_MAX,8,3                ## @TCP_RTO_MAX
	.no_dead_strip	_tcp_write_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcp_write_timeout
_tcp_write_timeout:                     ; @tcp_write_timeout
	.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	x19, x0
	bl	_inet_csk
	mov	x21, x0
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _TCPF_SYN_SENT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TCPF_SYN_SENT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _TCPF_SYN_RECV@GOTPAGE
Lloh4:
	ldr	x10, [x10, _TCPF_SYN_RECV@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
	lsr	w8, w9, w8
	tbz	w8, #0, LBB0_4
; %bb.1:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_3
; %bb.2:
	add	x0, x19, #4
	bl	_dst_negative_advice
LBB0_3:
	mov	w2, #0
	ldr	x8, [x21, #8]
Lloh6:
	adrp	x9, _sysctl_tcp_syn_retries@GOTPAGE
Lloh7:
	ldr	x9, [x9, _sysctl_tcp_syn_retries@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w20, w9, w8, eq
	mov	w3, #1
	b	LBB0_12
LBB0_4:
Lloh9:
	adrp	x8, _sysctl_tcp_retries1@GOTPAGE
Lloh10:
	ldr	x8, [x8, _sysctl_tcp_retries1@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	bl	_retransmits_timed_out
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x21
	mov	x1, x19
	bl	_tcp_mtu_probing
	add	x0, x19, #4
	bl	_dst_negative_advice
LBB0_6:
Lloh12:
	adrp	x8, _sysctl_tcp_retries2@GOTPAGE
Lloh13:
	ldr	x8, [x8, _sysctl_tcp_retries2@GOTPAGEOFF]
Lloh14:
	ldr	w20, [x8]
Lloh15:
	adrp	x8, _SOCK_DEAD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SOCK_DEAD@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sock_flag
	cbz	x0, LBB0_11
; %bb.7:
	ldr	x21, [x21]
Lloh18:
	adrp	x8, _TCP_RTO_MAX@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TCP_RTO_MAX@GOTPAGEOFF]
Lloh20:
	ldr	x22, [x8]
	cmp	x21, x22
	cset	w1, lt
	mov	x0, x19
	bl	_tcp_orphan_retries
	mov	x20, x0
	cmp	x21, x22
	b.ge	LBB0_9
; %bb.8:
	mov	w1, #1
	b	LBB0_10
LBB0_9:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	mov	w3, #0
	bl	_retransmits_timed_out
	cmp	x0, #0
	cset	w1, eq
LBB0_10:
	mov	x0, x19
	bl	_tcp_out_of_resources
	cbnz	x0, LBB0_14
LBB0_11:
	mov	x0, x19
	bl	_sk_extended
	mov	w3, #0
	ldr	w2, [x0]
LBB0_12:
	mov	x0, x19
	mov	x1, x20
	bl	_retransmits_timed_out
	cbz	x0, LBB0_15
; %bb.13:
	mov	x0, x19
	bl	_tcp_write_err
LBB0_14:
	mov	w0, #1
LBB0_15:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_TCPF_SYN_SENT,4,2              ; @TCPF_SYN_SENT
	.comm	_TCPF_SYN_RECV,4,2              ; @TCPF_SYN_RECV
	.comm	_sysctl_tcp_syn_retries,4,2     ; @sysctl_tcp_syn_retries
	.comm	_sysctl_tcp_retries1,4,2        ; @sysctl_tcp_retries1
	.comm	_sysctl_tcp_retries2,4,2        ; @sysctl_tcp_retries2
	.comm	_SOCK_DEAD,4,2                  ; @SOCK_DEAD
	.comm	_TCP_RTO_MAX,8,3                ; @TCP_RTO_MAX
	.no_dead_strip	_tcp_write_timeout
.subsections_via_symbols
