	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netxen_p3_get_mac_addr         ## -- Begin function netxen_p3_get_mac_addr
	.p2align	4, 0x90
_netxen_p3_get_mac_addr:                ## @netxen_p3_get_mac_addr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	(%rdi), %r12d
	movq	_CRB_MAC_BLOCK_START@GOTPCREL(%rip), %rax
	movl	%r12d, %ecx
	shrl	$31, %ecx
	addl	%r12d, %ecx
	sarl	%ecx
	leal	(%rcx,%rcx,2), %ebx
	shll	$2, %ebx
	addl	(%rax), %ebx
	andl	$1, %r12d
	leal	(%rbx,%r12,4), %esi
	callq	_NXRD32
	movl	%eax, %r13d
	leal	(%rbx,%r12,4), %esi
	addl	$4, %esi
	movq	%r15, %rdi
	callq	_NXRD32
	sarl	$16, %r13d
	shll	$16, %eax
	orl	%eax, %r13d
	movl	%r13d, %edi
	callq	_le64_to_cpu
	movl	%eax, (%r14)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CRB_MAC_BLOCK_START,4,2        ## @CRB_MAC_BLOCK_START
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netxen_p3_get_mac_addr         ; -- Begin function netxen_p3_get_mac_addr
	.p2align	2
_netxen_p3_get_mac_addr:                ; @netxen_p3_get_mac_addr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _CRB_MAC_BLOCK_START@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CRB_MAC_BLOCK_START@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, #0
	cinc	w10, w8, lt
	asr	w10, w10, #1
	mov	w11, #12
	madd	w9, w10, w11, w9
	and	w8, w8, #0x1
	add	w21, w9, w8, lsl #2
	mov	x1, x21
	bl	_NXRD32
	mov	x22, x0
	add	w1, w21, #4
	mov	x0, x20
	bl	_NXRD32
	lsl	w8, w0, #16
	orr	w0, w8, w22, asr #16
	bl	_le64_to_cpu
	str	w0, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CRB_MAC_BLOCK_START,4,2        ; @CRB_MAC_BLOCK_START
.subsections_via_symbols
