	.file	"extr_smsc9420.c_smsc9420_eeprom_write_location.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"address 0x%x, data 0x%x\n"
	.text
	.p2align 4
	.type	smsc9420_eeprom_write_location, @function
smsc9420_eeprom_write_location:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r9d, edx
	mov	r8d, esi
	lea	rcx, .LC0[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edx
	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	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	r13d, DWORD PTR E2P_CMD_EPC_CMD_ERASE_[rip]
	mov	edx, DWORD PTR [rdi]
	or	r13d, esi
	mov	esi, DWORD PTR hw[rip]
	call	netif_dbg@PLT
	mov	esi, r13d
	mov	rdi, rbp
	call	smsc9420_eeprom_send_cmd@PLT
	test	eax, eax
	je	.L5
	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
.L5:
	.cfi_restore_state
	mov	esi, DWORD PTR E2P_DATA[rip]
	mov	rdi, rbp
	mov	edx, r12d
	or	ebx, DWORD PTR E2P_CMD_EPC_CMD_WRITE_[rip]
	call	smsc9420_reg_write@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	esi, ebx
	mov	rdi, rbp
	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	smsc9420_eeprom_send_cmd@PLT
	.cfi_endproc
.LFE0:
	.size	smsc9420_eeprom_write_location, .-smsc9420_eeprom_write_location
	.comm	hw,4,4
	.comm	E2P_DATA,4,4
	.comm	E2P_CMD_EPC_CMD_WRITE_,4,4
	.comm	E2P_CMD_EPC_CMD_ERASE_,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_smsc9420.c_smsc9420_eeprom_write_location.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"address 0x%x, data 0x%x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	smsc9420_eeprom_write_location, %function
smsc9420_eeprom_write_location:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r5, r2
	mov	r7, r0
	ldr	r2, .L6
	sub	sp, sp, #12
	ldr	r6, [r2]
	stm	sp, {r1, r5}
	ldr	r3, .L6+4
	ldr	r2, [r0]
	orr	r6, r1, r6
	mov	r4, r1
	ldr	r1, [r3]
	ldr	r3, .L6+8
	bl	netif_dbg
	mov	r1, r6
	mov	r0, r7
	bl	smsc9420_eeprom_send_cmd
	cmp	r0, #0
	beq	.L5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L5:
	ldr	r2, .L6+12
	ldr	r3, .L6+16
	ldr	r1, [r2]
	mov	r0, r7
	orr	r4, r4, r1
	mov	r2, r5
	ldr	r1, [r3]
	bl	smsc9420_reg_write
	mov	r1, r4
	mov	r0, r7
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	smsc9420_eeprom_send_cmd
.L7:
	.align	2
.L6:
	.word	E2P_CMD_EPC_CMD_ERASE_
	.word	hw
	.word	.LC0
	.word	E2P_CMD_EPC_CMD_WRITE_
	.word	E2P_DATA
	.size	smsc9420_eeprom_write_location, .-smsc9420_eeprom_write_location
	.comm	hw,4,4
	.comm	E2P_DATA,4,4
	.comm	E2P_CMD_EPC_CMD_WRITE_,4,4
	.comm	E2P_CMD_EPC_CMD_ERASE_,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
