	.file	"extr_mptcp.c_mptcp_reass_present.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mptcp_reass_present, @function
mptcp_reass_present:
.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
	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
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	mpsotomppcb@PLT
	mov	rax, QWORD PTR [rax]
	mov	rbx, QWORD PTR [rax]
	mov	rax, QWORD PTR MPTCPS_ESTABLISHED[rip]
	cmp	QWORD PTR [rbx], rax
	jge	.L2
.L4:
	xor	r12d, r12d
.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
	lea	r13, 20[rbx]
	mov	rdi, r13
	call	LIST_FIRST@PLT
	mov	r15, rax
	test	rax, rax
	je	.L4
	mov	rdx, QWORD PTR 8[r15]
	mov	rax, QWORD PTR 8[rbx]
	cmp	QWORD PTR [rdx], rax
	jne	.L4
	mov	edx, DWORD PTR 16[rbx]
	mov	ecx, DWORD PTR MPTCPF_REASS_INPROG[rip]
	mov	r12d, edx
	and	r12d, ecx
	jne	.L4
	or	edx, ecx
	xor	r14d, r14d
	mov	DWORD PTR 16[rbx], edx
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L23:
	mov	rdi, QWORD PTR 8[r15]
	call	m_freem@PLT
.L6:
	mov	edi, DWORD PTR tcp_reass_zone[rip]
	mov	rsi, r15
	call	zfree@PLT
	sub	DWORD PTR 24[rbx], 1
	mov	rdi, r13
	call	LIST_FIRST@PLT
	mov	r15, rax
	test	rax, rax
	je	.L7
	mov	rdx, QWORD PTR 8[r15]
	mov	rax, QWORD PTR 8[rbx]
	cmp	QWORD PTR [rdx], rax
	jne	.L7
.L8:
	add	rax, QWORD PTR [r15]
	mov	esi, DWORD PTR tqe_q[rip]
	mov	rdi, r15
	mov	QWORD PTR 8[rbx], rax
	call	LIST_REMOVE@PLT
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR SS_CANTRCVMORE[rip], eax
	jne	.L23
	mov	rsi, QWORD PTR 8[r15]
	xor	r12d, r12d
	mov	rdi, rbp
	mov	eax, DWORD PTR 8[rsi]
	test	DWORD PTR PKTF_MPTCP_DFIN[rip], eax
	setne	r12b
	xor	ecx, ecx
	xor	edx, edx
	call	sbappendstream_rcvdemux@PLT
	test	rax, rax
	mov	eax, 1
	cmovne	r14d, eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	mov	eax, DWORD PTR MPTCPF_REASS_INPROG[rip]
	not	eax
	and	DWORD PTR 16[rbx], eax
	test	r14d, r14d
	je	.L1
	mov	rdi, rbp
	call	sorwakeup@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	mptcp_reass_present, .-mptcp_reass_present
	.comm	tqe_q,4,4
	.comm	tcp_reass_zone,4,4
	.comm	SS_CANTRCVMORE,4,4
	.comm	PKTF_MPTCP_DFIN,4,4
	.comm	MPTCPS_ESTABLISHED,8,8
	.comm	MPTCPF_REASS_INPROG,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_mptcp.c_mptcp_reass_present.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mptcp_reass_present, %function
mptcp_reass_present:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r0
	bl	mpsotomppcb
	ldr	r2, [r0]
	ldr	r3, .L24
	ldr	r5, [r2]
	ldr	r3, [r3]
	ldr	r2, [r5]
	cmp	r2, r3
	bge	.L2
.L4:
	mov	r7, #0
.L1:
	mov	r0, r7
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	add	r8, r5, #12
	mov	r0, r8
	bl	LIST_FIRST
	subs	r4, r0, #0
	beq	.L4
	ldr	r2, [r4, #4]
	ldr	r3, [r5, #4]
	ldr	r2, [r2]
	cmp	r2, r3
	bne	.L4
	ldr	r1, .L24+4
	ldr	r2, [r5, #8]
	ldr	r1, [r1]
	ands	r7, r2, r1
	bne	.L4
	orr	r2, r2, r1
	mov	r9, r7
	ldr	fp, .L24+8
	ldr	r10, .L24+12
	str	r2, [r5, #8]
	b	.L8
.L23:
	ldr	r0, [r4, #4]
	bl	m_freem
.L6:
	ldr	r3, .L24+16
	mov	r1, r4
	ldr	r0, [r3]
	bl	zfree
	ldr	r3, [r5, #16]
	mov	r0, r8
	sub	r3, r3, #1
	str	r3, [r5, #16]
	bl	LIST_FIRST
	subs	r4, r0, #0
	beq	.L7
	ldr	r2, [r4, #4]
	ldr	r3, [r5, #4]
	ldr	r2, [r2]
	cmp	r2, r3
	bne	.L7
.L8:
	ldr	r2, [r4]
	mov	r0, r4
	add	r3, r2, r3
	str	r3, [r5, #4]
	ldr	r1, [fp]
	bl	LIST_REMOVE
	ldr	r3, [r6]
	ldr	r2, [r10]
	ands	r3, r3, r2
	bne	.L23
	ldr	r1, [r4, #4]
	ldr	r2, .L24+20
	ldr	r0, [r1, #4]
	ldr	r2, [r2]
	tst	r0, r2
	mov	r2, r3
	mov	r0, r6
	movne	r7, #1
	moveq	r7, #0
	bl	sbappendstream_rcvdemux
	cmp	r0, #0
	movne	r9, #1
	b	.L6
.L7:
	ldr	r3, .L24+4
	cmp	r9, #0
	ldr	r2, [r3]
	ldr	r3, [r5, #8]
	bic	r3, r3, r2
	str	r3, [r5, #8]
	beq	.L1
	mov	r0, r6
	bl	sorwakeup
	b	.L1
.L25:
	.align	2
.L24:
	.word	MPTCPS_ESTABLISHED
	.word	MPTCPF_REASS_INPROG
	.word	tqe_q
	.word	SS_CANTRCVMORE
	.word	tcp_reass_zone
	.word	PKTF_MPTCP_DFIN
	.size	mptcp_reass_present, .-mptcp_reass_present
	.comm	tqe_q,4,4
	.comm	tcp_reass_zone,4,4
	.comm	SS_CANTRCVMORE,4,4
	.comm	PKTF_MPTCP_DFIN,4,4
	.comm	MPTCPS_ESTABLISHED,4,4
	.comm	MPTCPF_REASS_INPROG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
