	.file	"extr_netxen_nic_hw.c_netxen_p3_get_mac_addr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	netxen_p3_get_mac_addr
	.type	netxen_p3_get_mac_addr, @function
netxen_p3_get_mac_addr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	edx, DWORD PTR [rdi]
	mov	rbx, rsi
	mov	eax, edx
	mov	r14d, edx
	shr	eax, 31
	and	r14d, 1
	add	eax, edx
	mov	edx, eax
	and	eax, -2
	sar	edx
	add	eax, edx
	mov	edx, DWORD PTR CRB_MAC_BLOCK_START[rip]
	lea	eax, [rdx+rax*4]
	lea	r13d, [rax+r14*4]
	mov	esi, r13d
	call	NXRD32@PLT
	lea	esi, 4[r13]
	mov	rdi, r12
	mov	ebp, eax
	call	NXRD32@PLT
	test	r14d, r14d
	je	.L2
	sar	ebp, 16
	sal	eax, 16
	mov	edi, ebp
	or	edi, eax
	call	le64_to_cpu@PLT
	mov	DWORD PTR [rbx], eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, ebp
	call	le64_to_cpu@PLT
	mov	DWORD PTR [rbx], eax
	pop	rbx
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	netxen_p3_get_mac_addr, .-netxen_p3_get_mac_addr
	.comm	CRB_MAC_BLOCK_START,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_hw.c_netxen_p3_get_mac_addr.c"
	.text
	.align	2
	.global	netxen_p3_get_mac_addr
	.syntax unified
	.arm
	.fpu softvfp
	.type	netxen_p3_get_mac_addr, %function
netxen_p3_get_mac_addr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	ldr	ip, .L6
	add	r2, r3, r3, lsr #31
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r4, [ip]
	mov	r6, r1
	bic	r1, r2, #1
	add	r1, r1, r2, asr #1
	and	r5, r3, #1
	add	r4, r4, r1, lsl #2
	add	r4, r4, r5, lsl #2
	mov	r1, r4
	mov	r7, r0
	bl	NXRD32
	mov	r3, r0
	add	r1, r4, #4
	mov	r0, r7
	mov	r4, r3
	bl	NXRD32
	cmp	r5, #0
	lslne	r0, r0, #16
	moveq	r0, r4
	orrne	r0, r0, r4, asr #16
	bl	le64_to_cpu
	str	r0, [r6]
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	.align	2
.L6:
	.word	CRB_MAC_BLOCK_START
	.size	netxen_p3_get_mac_addr, .-netxen_p3_get_mac_addr
	.comm	CRB_MAC_BLOCK_START,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
