	.file	"extr_ng_eiface.c_ng_eiface_start2.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ng_eiface_start2, @function
ng_eiface_start2:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rdx]
	test	DWORD PTR IFF_UP[rip], eax
	je	.L14
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	eax, DWORD PTR 4[rdx]
	test	DWORD PTR IFF_DRV_RUNNING[rip], eax
	je	.L1
	movsx	r13, DWORD PTR 12[rdx]
	lea	r12, 8[rdx]
	.p2align 4,,10
	.p2align 3
.L3:
	xor	ebp, ebp
	mov	rdi, r12
	mov	rsi, rbp
	call	IF_DEQUEUE@PLT
	test	rbp, rbp
	je	.L4
	xor	esi, esi
	mov	rdi, rbp
	call	m_tag_delete_chain@PLT
	mov	rsi, rbp
	mov	rdi, rbx
	call	BPF_MTAP@PLT
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR IFF_MONITOR[rip], eax
	jne	.L18
	xor	eax, eax
	xor	ebp, ebp
	call	NG_OUTBOUND_THREAD_REF@PLT
	mov	esi, DWORD PTR 0[r13]
	mov	rdx, rbp
	xor	edi, edi
	call	NG_SEND_DATA_ONLY@PLT
	xor	eax, eax
	call	NG_OUTBOUND_THREAD_UNREF@PLT
	mov	esi, DWORD PTR IFCOUNTER_OPACKETS[rip]
	mov	edx, 1
	mov	rdi, rbx
	call	if_inc_counter@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	eax, DWORD PTR IFF_DRV_OACTIVE[rip]
	not	eax
	and	DWORD PTR 4[rbx], eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L18:
	.cfi_restore_state
	mov	esi, DWORD PTR IFCOUNTER_IPACKETS[rip]
	mov	rdi, rbx
	mov	edx, 1
	call	if_inc_counter@PLT
	mov	rdi, rbp
	call	m_freem@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	ret
	.cfi_endproc
.LFE0:
	.size	ng_eiface_start2, .-ng_eiface_start2
	.comm	IFF_UP,4,4
	.comm	IFF_MONITOR,4,4
	.comm	IFF_DRV_RUNNING,4,4
	.comm	IFF_DRV_OACTIVE,4,4
	.comm	IFCOUNTER_OPACKETS,4,4
	.comm	IFCOUNTER_OERRORS,4,4
	.comm	IFCOUNTER_IPACKETS,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_ng_eiface.c_ng_eiface_start2.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ng_eiface_start2, %function
ng_eiface_start2:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L16
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, [r3]
	mov	r5, r2
	ldr	r2, [r2]
	tst	r2, r3
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	ldr	r3, .L16+4
	ldr	r2, [r5, #4]
	ldr	r3, [r3]
	tst	r2, r3
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	ldr	r9, [r5, #12]
	ldr	r7, .L16+8
	ldr	r8, .L16+12
	ldr	r10, .L16+16
	add	r6, r5, #8
.L3:
	mov	r4, #0
	mov	r0, r6
	mov	r1, r4
	bl	IF_DEQUEUE
	cmp	r4, r4
	beq	.L4
	mov	r1, r4
	mov	r0, r4
	bl	m_tag_delete_chain
	mov	r1, r4
	mov	r0, r5
	bl	BPF_MTAP
	ldr	r3, [r5]
	ldr	r4, [r7]
	ands	r4, r3, r4
	bne	.L15
	bl	NG_OUTBOUND_THREAD_REF
	ldr	r1, [r9]
	mov	r2, #0
	mov	r0, r4
	bl	NG_SEND_DATA_ONLY
	bl	NG_OUTBOUND_THREAD_UNREF
	mov	r2, #1
	mov	r0, r5
	ldr	r1, [r8]
	bl	if_inc_counter
	b	.L3
.L15:
	mov	r2, #1
	mov	r0, r5
	ldr	r1, [r10]
	bl	if_inc_counter
	mov	r0, #0
	bl	m_freem
	b	.L3
.L4:
	ldr	r2, .L16+20
	ldr	r3, [r5, #4]
	ldr	r2, [r2]
	bic	r3, r3, r2
	str	r3, [r5, #4]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L17:
	.align	2
.L16:
	.word	IFF_UP
	.word	IFF_DRV_RUNNING
	.word	IFF_MONITOR
	.word	IFCOUNTER_OPACKETS
	.word	IFCOUNTER_IPACKETS
	.word	IFF_DRV_OACTIVE
	.size	ng_eiface_start2, .-ng_eiface_start2
	.comm	IFF_UP,4,4
	.comm	IFF_MONITOR,4,4
	.comm	IFF_DRV_RUNNING,4,4
	.comm	IFF_DRV_OACTIVE,4,4
	.comm	IFCOUNTER_OPACKETS,4,4
	.comm	IFCOUNTER_OERRORS,4,4
	.comm	IFCOUNTER_IPACKETS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
