	.file	"extr_e1000_82542.c_e1000_read_mac_addr_82542.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"e1000_read_mac_addr"
.LC1:
	.string	"NVM Read Error\n"
	.text
	.p2align 4
	.globl	e1000_read_mac_addr_82542
	.type	e1000_read_mac_addr_82542, @function
e1000_read_mac_addr_82542:
.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
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	lea	rdi, .LC0[rip]
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	r13, QWORD PTR E1000_SUCCESS[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	DEBUGFUNC@PLT
	mov	eax, DWORD PTR ETHER_ADDR_LEN[rip]
	test	eax, eax
	jle	.L1
	xor	ebp, ebp
	lea	r12, 4[rsp]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	mov	eax, DWORD PTR 4[rsp]
	mov	rcx, QWORD PTR [rbx]
	mov	rdx, rbp
	add	rbp, 1
	sal	rdx, 4
	movzx	esi, al
	sar	eax, 8
	mov	QWORD PTR [rcx+rdx], rsi
	mov	rcx, QWORD PTR [rbx]
	cdqe
	mov	QWORD PTR 8[rcx+rdx], rax
	mov	eax, DWORD PTR ETHER_ADDR_LEN[rip]
	lea	edx, [rbp+rbp]
	cmp	eax, edx
	jle	.L13
.L4:
	lea	esi, [rbp+rbp]
	mov	rcx, r12
	mov	edx, 1
	mov	rdi, rbx
	sar	esi
	call	[QWORD PTR 16[rbx]]
	mov	r13, rax
	test	rax, rax
	je	.L3
	lea	rdi, .LC1[rip]
	call	DEBUGOUT@PLT
.L2:
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, 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
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	test	eax, eax
	jle	.L1
	sub	eax, 1
	lea	rsi, 8[0+rax*8]
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdx, QWORD PTR [rbx]
	mov	rcx, QWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR 8[rbx]
	mov	QWORD PTR [rdx+rax], rcx
	add	rax, 8
	cmp	rax, rsi
	jne	.L6
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	e1000_read_mac_addr_82542, .-e1000_read_mac_addr_82542
	.comm	ETHER_ADDR_LEN,4,4
	.comm	E1000_SUCCESS,8,8
	.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_e1000_82542.c_e1000_read_mac_addr_82542.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"e1000_read_mac_addr\000"
	.align	2
.LC1:
	.ascii	"NVM Read Error\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	e1000_read_mac_addr_82542
	.syntax unified
	.arm
	.fpu softvfp
	.type	e1000_read_mac_addr_82542, %function
e1000_read_mac_addr_82542:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L15
	ldr	r2, .L15+4
	ldr	r6, .L15+8
	sub	sp, sp, #12
	mov	r5, r0
	ldr	r0, .L15+12
	ldr	r7, [r3]
	ldr	r2, [r2]
	str	r2, [sp, #4]
	mov	r2,#0
	bl	DEBUGFUNC
	ldr	r3, [r6]
	cmp	r3, #0
	ble	.L1
	mov	r4, #0
	b	.L4
.L3:
	ldr	r3, [sp]
	ldr	r2, [r5]
	and	r1, r3, #255
	str	r1, [r2, r4, lsl #2]
	ldr	r2, [r5]
	ldr	r1, [r6]
	add	r2, r2, r4, lsl #2
	add	r4, r4, #2
	asr	r3, r3, #8
	cmp	r1, r4
	str	r3, [r2, #4]
	ble	.L13
.L4:
	mov	r2, #1
	ldr	r7, [r5, #8]
	mov	r3, sp
	mov	r0, r5
	asr	r1, r4, r2
	blx	r7
	subs	r7, r0, #0
	beq	.L3
	ldr	r0, .L15+16
	bl	DEBUGOUT
.L2:
.L1:
	ldr	r3, .L15+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	mov	r0, r7
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L13:
	cmp	r1, #0
	ble	.L1
	mov	r3, r7
.L5:
	ldm	r5, {r0, r2}
	ldr	r0, [r0, r3, lsl #2]
	str	r0, [r2, r3, lsl #2]
	add	r3, r3, #1
	cmp	r1, r3
	bne	.L5
	b	.L1
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	E1000_SUCCESS
	.word	.LC2
	.word	ETHER_ADDR_LEN
	.word	.LC0
	.word	.LC1
	.size	e1000_read_mac_addr_82542, .-e1000_read_mac_addr_82542
	.comm	ETHER_ADDR_LEN,4,4
	.comm	E1000_SUCCESS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
