	.file	"extr_tcp_timer.c_tcp_write_timeout.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	tcp_write_timeout, @function
tcp_write_timeout:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	inet_csk@PLT
	mov	rdi, r14
	mov	rbx, rax
	call	tcp_sk@PLT
	mov	rdi, r14
	mov	r13, rax
	call	sock_net@PLT
	mov	ecx, DWORD PTR [r14]
	mov	r12d, DWORD PTR TCPF_SYN_SENT[rip]
	or	r12d, DWORD PTR TCPF_SYN_RECV[rip]
	mov	rbp, rax
	sar	r12d, cl
	and	r12d, 1
	je	.L2
	mov	eax, DWORD PTR [rbx]
	mov	rdi, r14
	test	eax, eax
	jne	.L28
	call	sk_rethink_txhash@PLT
	mov	rax, QWORD PTR 24[rbx]
	test	rax, rax
	je	.L5
.L29:
	mov	ebp, eax
	cmp	DWORD PTR [rbx], ebp
	jl	.L7
.L30:
	mov	esi, 1
	mov	rdi, r14
	call	tcp_fastopen_active_detect_blackhole@PLT
	mov	esi, DWORD PTR BPF_SOCK_OPS_RTO_CB_FLAG[rip]
	mov	rdi, r13
	call	BPF_SOCK_OPS_TEST_FLAG@PLT
	test	rax, rax
	jne	.L8
.L9:
	mov	rdi, r14
	mov	r12d, 1
	call	tcp_write_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L28:
	call	dst_negative_advice@PLT
	mov	rax, QWORD PTR 24[rbx]
	test	rax, rax
	jne	.L29
.L5:
	mov	ebp, DWORD PTR 0[rbp]
	cmp	DWORD PTR [rbx], ebp
	jge	.L30
.L7:
	mov	edx, DWORD PTR 16[rbx]
	mov	esi, ebp
	mov	rdi, r14
	call	retransmits_timed_out@PLT
	mov	rdi, r14
	mov	esi, eax
	mov	r12d, eax
	call	tcp_fastopen_active_detect_blackhole@PLT
	mov	esi, DWORD PTR BPF_SOCK_OPS_RTO_CB_FLAG[rip]
	mov	rdi, r13
	call	BPF_SOCK_OPS_TEST_FLAG@PLT
	test	rax, rax
	je	.L14
.L8:
	mov	rcx, QWORD PTR 8[rbx]
	mov	edx, DWORD PTR [rbx]
	mov	r8d, r12d
	mov	rdi, r14
	mov	esi, DWORD PTR BPF_SOCK_OPS_RTO_CB[rip]
	call	tcp_call_bpf_3arg@PLT
.L14:
	test	r12d, r12d
	jne	.L9
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR 4[rax]
	xor	edx, edx
	mov	rdi, r14
	call	retransmits_timed_out@PLT
	test	eax, eax
	jne	.L31
	mov	rdi, r14
	call	sk_rethink_txhash@PLT
.L11:
	mov	esi, DWORD PTR SOCK_DEAD[rip]
	mov	rdi, r14
	mov	ebp, DWORD PTR 8[rbp]
	call	sock_flag@PLT
	test	rax, rax
	je	.L7
	mov	r15, QWORD PTR 8[rbx]
	mov	r12, QWORD PTR TCP_RTO_MAX[rip]
	xor	esi, esi
	mov	rdi, r14
	cmp	r15, r12
	setl	sil
	call	tcp_orphan_retries@PLT
	mov	esi, 1
	mov	ebp, eax
	cmp	r15, r12
	jge	.L32
.L12:
	mov	rdi, r14
	mov	r12d, 1
	call	tcp_out_of_resources@PLT
	test	rax, rax
	je	.L7
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L31:
	mov	rdi, rbx
	mov	rsi, r14
	call	tcp_mtu_probing@PLT
	mov	rdi, r14
	call	dst_negative_advice@PLT
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L32:
	xor	edx, edx
	mov	esi, eax
	mov	rdi, r14
	call	retransmits_timed_out@PLT
	xor	esi, esi
	test	eax, eax
	sete	sil
	jmp	.L12
	.cfi_endproc
.LFE0:
	.size	tcp_write_timeout, .-tcp_write_timeout
	.comm	TCP_RTO_MAX,8,8
	.comm	TCPF_SYN_SENT,4,4
	.comm	TCPF_SYN_RECV,4,4
	.comm	SOCK_DEAD,4,4
	.comm	BPF_SOCK_OPS_RTO_CB_FLAG,4,4
	.comm	BPF_SOCK_OPS_RTO_CB,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_tcp_timer.c_tcp_write_timeout.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tcp_write_timeout, %function
tcp_write_timeout:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	sub	sp, sp, #12
	mov	r5, r0
	bl	inet_csk
	mov	r6, r0
	mov	r0, r5
	bl	tcp_sk
	mov	r7, r0
	mov	r0, r5
	bl	sock_net
	ldr	r2, .L30
	ldr	r3, .L30+4
	ldr	r4, [r2]
	ldr	r2, [r3]
	ldr	r3, [r5]
	orr	r4, r4, r2
	asr	r4, r4, r3
	ands	r4, r4, #1
	mov	r9, r0
	beq	.L2
	ldr	r3, [r6]
	mov	r0, r5
	cmp	r3, #0
	bne	.L27
	bl	sk_rethink_txhash
.L4:
	ldr	r8, [r6, #12]
	ldr	r3, [r6]
	cmp	r8, #0
	ldreq	r8, [r9]
	cmp	r3, r8
	blt	.L6
	mov	r1, #1
	mov	r0, r5
	bl	tcp_fastopen_active_detect_blackhole
	ldr	r3, .L30+8
	mov	r0, r7
	ldr	r1, [r3]
	bl	BPF_SOCK_OPS_TEST_FLAG
	cmp	r0, #0
	bne	.L7
.L8:
	mov	r4, #1
	mov	r0, r5
	bl	tcp_write_err
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L27:
	bl	dst_negative_advice
	b	.L4
.L2:
	ldr	r1, [r0, #4]
	mov	r2, r4
	mov	r0, r5
	bl	retransmits_timed_out
	cmp	r0, #0
	bne	.L28
	mov	r0, r5
	bl	sk_rethink_txhash
.L10:
	ldr	r3, .L30+12
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r8, [r9, #8]
	bl	sock_flag
	cmp	r0, #0
	beq	.L6
	ldr	r3, .L30+16
	ldr	r9, [r6, #4]
	ldr	r4, [r3]
	mov	r0, r5
	cmp	r9, r4
	movlt	r1, #1
	movge	r1, #0
	bl	tcp_orphan_retries
	cmp	r9, r4
	mov	r8, r0
	movlt	r1, #1
	bge	.L29
.L11:
	mov	r0, r5
	bl	tcp_out_of_resources
	cmp	r0, #0
	movne	r4, #1
	bne	.L1
.L6:
	ldr	r2, [r6, #8]
	mov	r1, r8
	mov	r0, r5
	bl	retransmits_timed_out
	mov	r4, r0
	mov	r0, r5
	mov	r1, r4
	bl	tcp_fastopen_active_detect_blackhole
	ldr	r3, .L30+8
	mov	r0, r7
	ldr	r1, [r3]
	bl	BPF_SOCK_OPS_TEST_FLAG
	cmp	r0, #0
	beq	.L13
.L7:
	ldm	r6, {r2, r3}
	ldr	r1, .L30+20
	str	r4, [sp]
	mov	r0, r5
	ldr	r1, [r1]
	bl	tcp_call_bpf_3arg
.L13:
	cmp	r4, #0
	bne	.L8
.L1:
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L28:
	mov	r1, r5
	mov	r0, r6
	bl	tcp_mtu_probing
	mov	r0, r5
	bl	dst_negative_advice
	b	.L10
.L29:
	mov	r1, r0
	mov	r2, #0
	mov	r0, r5
	bl	retransmits_timed_out
	clz	r1, r0
	lsr	r1, r1, #5
	b	.L11
.L31:
	.align	2
.L30:
	.word	TCPF_SYN_SENT
	.word	TCPF_SYN_RECV
	.word	BPF_SOCK_OPS_RTO_CB_FLAG
	.word	SOCK_DEAD
	.word	TCP_RTO_MAX
	.word	BPF_SOCK_OPS_RTO_CB
	.size	tcp_write_timeout, .-tcp_write_timeout
	.comm	TCP_RTO_MAX,4,4
	.comm	TCPF_SYN_SENT,4,4
	.comm	TCPF_SYN_RECV,4,4
	.comm	SOCK_DEAD,4,4
	.comm	BPF_SOCK_OPS_RTO_CB_FLAG,4,4
	.comm	BPF_SOCK_OPS_RTO_CB,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
