	.file	"extr_inet_lro.c_lro_tcp_ip_check.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	lro_tcp_ip_check, @function
lro_tcp_ip_check:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR 8[rdi]
	call	ntohs@PLT
	cmp	eax, r12d
	jne	.L4
	mov	rsi, rbx
	mov	rdi, rbp
	call	TCP_PAYLOAD_LENGTH@PLT
	test	rax, rax
	je	.L4
	mov	rax, QWORD PTR IPH_LEN_WO_OPTIONS[rip]
	cmp	QWORD PTR 0[rbp], rax
	jne	.L4
	cmp	QWORD PTR 56[rbx], 0
	jne	.L4
	cmp	QWORD PTR 48[rbx], 0
	jne	.L4
	cmp	QWORD PTR 40[rbx], 0
	jne	.L4
	mov	eax, DWORD PTR 32[rbx]
	test	eax, eax
	je	.L4
	cmp	QWORD PTR 24[rbx], 0
	jne	.L4
	cmp	QWORD PTR 16[rbx], 0
	jne	.L4
	cmp	QWORD PTR 8[rbx], 0
	jne	.L4
	mov	rdi, rbp
	call	ipv4_get_dsfield@PLT
	mov	edi, eax
	call	INET_ECN_is_ce@PLT
	test	rax, rax
	jne	.L4
	mov	rax, QWORD PTR [rbx]
	cmp	rax, QWORD PTR TCPH_LEN_WO_OPTIONS[rip]
	mov	rdx, QWORD PTR TCPH_LEN_W_TIMESTAMP[rip]
	je	.L5
	cmp	rax, rdx
	jne	.L4
.L6:
	mov	eax, DWORD PTR TCPOPT_NOP[rip]
	mov	rbp, QWORD PTR 64[rbx]
	mov	edi, eax
	sal	eax, 16
	sal	edi, 24
	or	edi, eax
	mov	eax, DWORD PTR TCPOPT_TIMESTAMP[rip]
	or	edi, DWORD PTR TCPOLEN_TIMESTAMP[rip]
	sal	eax, 8
	or	edi, eax
	call	htonl@PLT
	cmp	rbp, rax
	jne	.L4
	test	r13, r13
	je	.L8
	mov	rdi, QWORD PTR 72[rbx]
	call	ntohl@PLT
	mov	rdi, QWORD PTR 0[r13]
	mov	ebp, eax
	call	ntohl@PLT
	mov	esi, ebp
	mov	edi, eax
	call	after@PLT
	test	rax, rax
	jne	.L4
.L8:
	xor	eax, eax
	cmp	QWORD PTR 80[rbx], 0
	sete	al
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	neg	eax
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	cmp	rax, rdx
	je	.L6
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	eax, -1
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	lro_tcp_ip_check, .-lro_tcp_ip_check
	.comm	TCPOPT_TIMESTAMP,4,4
	.comm	TCPOPT_NOP,4,4
	.comm	TCPOLEN_TIMESTAMP,4,4
	.comm	TCPH_LEN_W_TIMESTAMP,8,8
	.comm	TCPH_LEN_WO_OPTIONS,8,8
	.comm	IPH_LEN_WO_OPTIONS,8,8
	.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_inet_lro.c_lro_tcp_ip_check.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lro_tcp_ip_check, %function
lro_tcp_ip_check:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	ldr	r0, [r0, #4]
	mov	r6, r2
	mov	r4, r1
	mov	r7, r3
	bl	ntohs
	cmp	r0, r6
	bne	.L4
	mov	r1, r4
	mov	r0, r5
	bl	TCP_PAYLOAD_LENGTH
	cmp	r0, #0
	beq	.L4
	ldr	r3, .L17
	ldr	r2, [r5]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L4
	ldr	r3, [r4, #28]
	cmp	r3, #0
	bne	.L4
	ldr	r3, [r4, #24]
	cmp	r3, #0
	bne	.L4
	ldr	r3, [r4, #20]
	cmp	r3, #0
	bne	.L4
	ldr	r3, [r4, #16]
	cmp	r3, #0
	beq	.L4
	ldr	r3, [r4, #12]
	cmp	r3, #0
	bne	.L4
	ldr	r3, [r4, #8]
	cmp	r3, #0
	bne	.L4
	ldr	r3, [r4, #4]
	cmp	r3, #0
	bne	.L4
	mov	r0, r5
	bl	ipv4_get_dsfield
	bl	INET_ECN_is_ce
	cmp	r0, #0
	bne	.L4
	ldr	r2, .L17+4
	ldr	r3, [r4]
	ldr	r1, [r2]
	ldr	r2, .L17+8
	cmp	r3, r1
	ldr	r2, [r2]
	beq	.L5
	cmp	r3, r2
	bne	.L4
.L6:
	ldr	r3, .L17+12
	ldr	r2, .L17+16
	ldr	r0, [r3]
	ldr	r1, .L17+20
	ldr	r2, [r2]
	lsl	r3, r0, #16
	orr	r3, r3, r0, lsl #24
	ldr	r0, [r1]
	orr	r3, r3, r2
	orr	r0, r3, r0, lsl #8
	ldr	r5, [r4, #32]
	bl	htonl
	cmp	r5, r0
	bne	.L4
	cmp	r7, #0
	beq	.L8
	ldr	r0, [r7]
	bl	ntohl
	mov	r5, r0
	ldr	r0, [r4, #36]
	bl	ntohl
	mov	r1, r0
	mov	r0, r5
	bl	after
	cmp	r0, #0
	bne	.L4
.L8:
	ldr	r0, [r4, #40]
	clz	r0, r0
	lsr	r0, r0, #5
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	cmp	r3, r2
	popne	{r4, r5, r6, r7, r8, pc}
	b	.L6
.L4:
	mvn	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L18:
	.align	2
.L17:
	.word	IPH_LEN_WO_OPTIONS
	.word	TCPH_LEN_WO_OPTIONS
	.word	TCPH_LEN_W_TIMESTAMP
	.word	TCPOPT_NOP
	.word	TCPOLEN_TIMESTAMP
	.word	TCPOPT_TIMESTAMP
	.size	lro_tcp_ip_check, .-lro_tcp_ip_check
	.comm	TCPOPT_TIMESTAMP,4,4
	.comm	TCPOPT_NOP,4,4
	.comm	TCPOLEN_TIMESTAMP,4,4
	.comm	TCPH_LEN_W_TIMESTAMP,4,4
	.comm	TCPH_LEN_WO_OPTIONS,4,4
	.comm	IPH_LEN_WO_OPTIONS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
