	.file	"extr_tcp_subr.c_tcp_drop.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	tcp_drop
	.type	tcp_drop, @function
tcp_drop:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rax, QWORD PTR 24[rdi]
	lea	rdi, V_tcbinfo[rip]
	mov	ebx, esi
	mov	r12, QWORD PTR [rax]
	call	INP_INFO_LOCK_ASSERT@PLT
	mov	rdi, QWORD PTR 24[rbp]
	call	INP_WLOCK_ASSERT@PLT
	mov	edi, DWORD PTR 16[rbp]
	call	TCPS_HAVERCVDSYN@PLT
	test	rax, rax
	je	.L2
	mov	esi, DWORD PTR TCPS_CLOSED[rip]
	mov	rdi, rbp
	call	tcp_state_change@PLT
	mov	rax, QWORD PTR 8[rbp]
	mov	rdi, rbp
	call	[QWORD PTR [rax]]
	mov	edi, DWORD PTR tcps_drops[rip]
	call	TCPSTAT_INC@PLT
.L3:
	cmp	DWORD PTR ETIMEDOUT[rip], ebx
	jne	.L4
	mov	eax, DWORD PTR 0[rbp]
	test	eax, eax
	cmovne	ebx, eax
.L4:
	mov	DWORD PTR [r12], ebx
	mov	rdi, rbp
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	tcp_close@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR tcps_conndrops[rip]
	call	TCPSTAT_INC@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	tcp_drop, .-tcp_drop
	.comm	tcps_drops,4,4
	.comm	tcps_conndrops,4,4
	.comm	V_tcbinfo,4,4
	.comm	TCPS_CLOSED,4,4
	.comm	ETIMEDOUT,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_subr.c_tcp_drop.c"
	.text
	.align	2
	.global	tcp_drop
	.syntax unified
	.arm
	.fpu softvfp
	.type	tcp_drop, %function
tcp_drop:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r3, [r0, #12]
	ldr	r0, .L8
	mov	r6, r1
	ldr	r5, [r3]
	bl	INP_INFO_LOCK_ASSERT
	ldr	r0, [r4, #12]
	bl	INP_WLOCK_ASSERT
	ldr	r0, [r4, #8]
	bl	TCPS_HAVERCVDSYN
	cmp	r0, #0
	beq	.L2
	ldr	r3, .L8+4
	mov	r0, r4
	ldr	r1, [r3]
	bl	tcp_state_change
	ldr	r3, [r4, #4]
	mov	r0, r4
	ldr	r3, [r3]
	blx	r3
	ldr	r3, .L8+8
	ldr	r0, [r3]
	bl	TCPSTAT_INC
.L3:
	ldr	r3, .L8+12
	ldr	r3, [r3]
	cmp	r3, r6
	bne	.L4
	ldr	r3, [r4]
	cmp	r3, #0
	movne	r6, r3
.L4:
	mov	r0, r4
	str	r6, [r5]
	pop	{r4, r5, r6, lr}
	b	tcp_close
.L2:
	ldr	r3, .L8+16
	ldr	r0, [r3]
	bl	TCPSTAT_INC
	b	.L3
.L9:
	.align	2
.L8:
	.word	V_tcbinfo
	.word	TCPS_CLOSED
	.word	tcps_drops
	.word	ETIMEDOUT
	.word	tcps_conndrops
	.size	tcp_drop, .-tcp_drop
	.comm	tcps_drops,4,4
	.comm	tcps_conndrops,4,4
	.comm	V_tcbinfo,4,4
	.comm	TCPS_CLOSED,4,4
	.comm	ETIMEDOUT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
