	.file	"extr_netxen_nic_main.c_netxen_nic_set_mac.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	netxen_nic_set_mac, @function
netxen_nic_set_mac:
.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
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	call	netdev_priv@PLT
	mov	edi, DWORD PTR [r12]
	mov	r13, rax
	call	is_valid_ether_addr@PLT
	test	eax, eax
	jne	.L2
	mov	r12d, DWORD PTR EADDRNOTAVAIL[rip]
	neg	r12d
.L1:
	mov	eax, r12d
	pop	rbp
	.cfi_remember_state
	.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
.L2:
	.cfi_restore_state
	mov	rdi, rbp
	call	netif_running@PLT
	test	rax, rax
	jne	.L12
.L4:
	mov	esi, DWORD PTR [r12]
	mov	edi, DWORD PTR 8[r13]
	mov	edx, DWORD PTR 0[rbp]
	call	memcpy@PLT
	mov	edx, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR [r12]
	mov	edi, DWORD PTR 4[rbp]
	call	memcpy@PLT
	mov	esi, DWORD PTR [r12]
	mov	rdi, r13
	xor	r12d, r12d
	call	[QWORD PTR 0[r13]]
	mov	rdi, rbp
	call	netif_running@PLT
	test	rax, rax
	je	.L1
	mov	rdi, rbp
	call	netif_device_attach@PLT
	mov	rdi, r13
	call	netxen_napi_enable@PLT
	mov	eax, r12d
	pop	rbp
	.cfi_remember_state
	.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
.L12:
	.cfi_restore_state
	mov	rdi, rbp
	call	netif_device_detach@PLT
	mov	rdi, r13
	call	netxen_napi_disable@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	netxen_nic_set_mac, .-netxen_nic_set_mac
	.comm	EADDRNOTAVAIL,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_netxen_nic_main.c_netxen_nic_set_mac.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	netxen_nic_set_mac, %function
netxen_nic_set_mac:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r4, r0
	bl	netdev_priv
	mov	r6, r0
	ldr	r0, [r5]
	bl	is_valid_ether_addr
	cmp	r0, #0
	bne	.L2
	ldr	r3, .L14
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L2:
	mov	r0, r4
	bl	netif_running
	cmp	r0, #0
	bne	.L13
.L4:
	ldr	r2, [r4]
	ldr	r1, [r5]
	ldr	r0, [r6, #4]
	bl	memcpy
	ldr	r2, [r4]
	ldr	r1, [r5]
	ldr	r0, [r4, #4]
	bl	memcpy
	ldr	r1, [r5]
	ldr	r3, [r6]
	mov	r0, r6
	blx	r3
	mov	r0, r4
	bl	netif_running
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	mov	r0, r4
	bl	netif_device_attach
	mov	r0, r6
	bl	netxen_napi_enable
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L13:
	mov	r0, r4
	bl	netif_device_detach
	mov	r0, r6
	bl	netxen_napi_disable
	b	.L4
.L15:
	.align	2
.L14:
	.word	EADDRNOTAVAIL
	.size	netxen_nic_set_mac, .-netxen_nic_set_mac
	.comm	EADDRNOTAVAIL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
