	.file	"extr_smsc911x.c_smsc911x_set_mac_address.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"MAC Address: %pM\n"
	.text
	.p2align 4
	.type	smsc911x_set_mac_address, @function
smsc911x_set_mac_address:
.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	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	netdev_priv@PLT
	cmp	DWORD PTR [rax], 1
	mov	r12, rax
	jle	.L10
.L2:
	mov	edi, DWORD PTR [rbx]
	call	is_valid_ether_addr@PLT
	test	eax, eax
	jne	.L4
	mov	eax, DWORD PTR EADDRNOTAVAIL[rip]
	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
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	edx, DWORD PTR ETH_ALEN[rip]
	mov	esi, DWORD PTR [rbx]
	lea	r13, 4[r12]
	mov	edi, DWORD PTR 0[rbp]
	call	memcpy@PLT
	mov	rdi, r13
	call	spin_lock_irq@PLT
	mov	esi, DWORD PTR 0[rbp]
	mov	rdi, r12
	call	smsc911x_set_hw_mac_address@PLT
	mov	rdi, r13
	call	spin_unlock_irq@PLT
	mov	edx, DWORD PTR 0[rbp]
	mov	rdi, rbp
	lea	rsi, .LC0[rip]
	call	netdev_info@PLT
	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, rbp
	call	netif_running@PLT
	test	rax, rax
	je	.L2
	mov	eax, DWORD PTR EBUSY[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	smsc911x_set_mac_address, .-smsc911x_set_mac_address
	.comm	ETH_ALEN,4,4
	.comm	EBUSY,4,4
	.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_smsc911x.c_smsc911x_set_mac_address.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"MAC Address: %pM\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	smsc911x_set_mac_address, %function
smsc911x_set_mac_address:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r1
	mov	r4, r0
	bl	netdev_priv
	ldr	r3, [r0]
	mov	r5, r0
	cmp	r3, #1
	ble	.L10
.L2:
	ldr	r0, [r6]
	bl	is_valid_ether_addr
	cmp	r0, #0
	bne	.L4
	ldr	r3, .L11
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L4:
	ldr	r3, .L11+4
	ldr	r1, [r6]
	ldr	r2, [r3]
	add	r6, r5, #4
	ldr	r0, [r4]
	bl	memcpy
	mov	r0, r6
	bl	spin_lock_irq
	ldr	r1, [r4]
	mov	r0, r5
	bl	smsc911x_set_hw_mac_address
	mov	r0, r6
	bl	spin_unlock_irq
	mov	r0, r4
	ldr	r2, [r4]
	ldr	r1, .L11+8
	bl	netdev_info
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L10:
	mov	r0, r4
	bl	netif_running
	cmp	r0, #0
	beq	.L2
	ldr	r3, .L11+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L12:
	.align	2
.L11:
	.word	EADDRNOTAVAIL
	.word	ETH_ALEN
	.word	.LC0
	.word	EBUSY
	.size	smsc911x_set_mac_address, .-smsc911x_set_mac_address
	.comm	ETH_ALEN,4,4
	.comm	EBUSY,4,4
	.comm	EADDRNOTAVAIL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
