	.file	"extr_emac.c_emac_set_features.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	emac_set_features, @function
emac_set_features:
.LFB0:
	.cfi_startproc
	endbr64
	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
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	r12d, DWORD PTR [rdi]
	xor	r12d, esi
	call	netdev_priv@PLT
	mov	r13, rax
	mov	eax, DWORD PTR NETIF_F_HW_VLAN_CTAG_TX[rip]
	or	eax, DWORD PTR NETIF_F_HW_VLAN_CTAG_RX[rip]
	test	eax, r12d
	jne	.L10
.L3:
	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
.L10:
	.cfi_restore_state
	mov	rdi, rbx
	call	netif_running@PLT
	test	eax, eax
	je	.L3
	mov	DWORD PTR [rbx], ebp
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, r13
	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
	jmp	emac_reinit_locked@PLT
	.cfi_endproc
.LFE0:
	.size	emac_set_features, .-emac_set_features
	.comm	NETIF_F_HW_VLAN_CTAG_TX,4,4
	.comm	NETIF_F_HW_VLAN_CTAG_RX,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_emac.c_emac_set_features.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	emac_set_features, %function
emac_set_features:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r6, [r0]
	mov	r4, r0
	eor	r6, r6, r1
	mov	r5, r1
	bl	netdev_priv
	ldr	r3, .L11
	ldr	r2, .L11+4
	ldr	r3, [r3]
	ldr	r2, [r2]
	orr	r3, r3, r2
	tst	r3, r6
	bne	.L10
.L3:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	mov	r7, r0
	mov	r0, r4
	bl	netif_running
	cmp	r0, #0
	beq	.L3
	mov	r0, r7
	str	r5, [r4]
	pop	{r4, r5, r6, r7, r8, lr}
	b	emac_reinit_locked
.L12:
	.align	2
.L11:
	.word	NETIF_F_HW_VLAN_CTAG_TX
	.word	NETIF_F_HW_VLAN_CTAG_RX
	.size	emac_set_features, .-emac_set_features
	.comm	NETIF_F_HW_VLAN_CTAG_TX,4,4
	.comm	NETIF_F_HW_VLAN_CTAG_RX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
