	.file	"extr_tap.c_tap_recv.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	tap_recv, @function
tap_recv:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rdx, QWORD PTR ETHER_HDR_LEN[rip]
	cmp	QWORD PTR [rdi], rdx
	jge	.L10
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	eax, DWORD PTR 8[rdi]
	mov	rbp, rdi
	mov	esi, DWORD PTR ETHER_ADDR_LEN[rip]
	mov	DWORD PTR 20[rdi], eax
	call	packet_adj@PLT
	mov	eax, DWORD PTR 8[rbp]
	mov	esi, DWORD PTR ETHER_ADDR_LEN[rip]
	mov	rdi, rbp
	mov	DWORD PTR 16[rbp], eax
	call	packet_adj@PLT
	mov	eax, DWORD PTR 8[rbp]
	mov	esi, DWORD PTR ETHER_TYPE_LEN[rip]
	mov	rdi, rbp
	mov	DWORD PTR 12[rbp], eax
	call	packet_adj@PLT
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	tap_recv, .-tap_recv
	.comm	ETHER_TYPE_LEN,4,4
	.comm	ETHER_HDR_LEN,8,8
	.comm	ETHER_ADDR_LEN,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_tap.c_tap_recv.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tap_recv, %function
tap_recv:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L10
	ldr	r2, [r0]
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L9
	mov	r0, #0
	bx	lr
.L9:
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r3, [r0, #4]
	ldr	r5, .L10+4
	str	r3, [r0, #16]
	ldr	r1, [r5]
	bl	packet_adj
	ldr	r3, [r4, #4]
	ldr	r1, [r5]
	str	r3, [r4, #12]
	mov	r0, r4
	bl	packet_adj
	ldr	r2, [r4, #4]
	ldr	r3, .L10+8
	mov	r0, r4
	ldr	r1, [r3]
	str	r2, [r4, #8]
	bl	packet_adj
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L11:
	.align	2
.L10:
	.word	ETHER_HDR_LEN
	.word	ETHER_ADDR_LEN
	.word	ETHER_TYPE_LEN
	.size	tap_recv, .-tap_recv
	.comm	ETHER_TYPE_LEN,4,4
	.comm	ETHER_HDR_LEN,4,4
	.comm	ETHER_ADDR_LEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
