	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function spider_net_get_mac_address
LCPI0_0:
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_spider_net_get_mac_address:            ## @spider_net_get_mac_address
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	_SPIDER_NET_GMACUNIMACL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_spider_net_read_reg
	movl	%eax, %r15d
	movq	_SPIDER_NET_GMACUNIMACU@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_spider_net_read_reg
	movl	%eax, %ecx
	shrl	$16, %ecx
	movl	%eax, %edx
	shrl	$8, %edx
	movd	%ecx, %xmm0
	pinsrd	$1, %edx, %xmm0
	pinsrd	$2, %eax, %xmm0
	shrl	$24, %eax
	movq	(%r14), %rdi
	movl	%r15d, %ecx
	shrl	$8, %ecx
	pinsrd	$3, %ecx, %xmm0
	pand	LCPI0_0(%rip), %xmm0
	movl	%eax, (%rdi)
	movdqu	%xmm0, 4(%rdi)
	movzbl	%r15b, %eax
	movl	%eax, 20(%rdi)
	callq	_is_valid_ether_addr
	movq	_EINVAL@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	subl	(%rdx), %ecx
	xorl	%edx, %edx
	testl	%eax, %eax
	cmovnel	%edx, %ecx
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SPIDER_NET_GMACUNIMACL,4,2     ## @SPIDER_NET_GMACUNIMACL
	.comm	_SPIDER_NET_GMACUNIMACU,4,2     ## @SPIDER_NET_GMACUNIMACU
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_spider_net_get_mac_address
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function spider_net_get_mac_address
lCPI0_0:
	.long	4294967280                      ; 0xfffffff0
	.long	4294967288                      ; 0xfffffff8
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_spider_net_get_mac_address:            ; @spider_net_get_mac_address
	.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, x0
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _SPIDER_NET_GMACUNIMACL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SPIDER_NET_GMACUNIMACL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_spider_net_read_reg
	mov	x21, x0
Lloh3:
	adrp	x8, _SPIDER_NET_GMACUNIMACU@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SPIDER_NET_GMACUNIMACU@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_spider_net_read_reg
	lsr	w9, w0, #24
	ldr	x8, [x19]
	str	w9, [x8]
	dup.2s	v0, w0
Lloh6:
	adrp	x9, lCPI0_0@PAGE
Lloh7:
	ldr	d1, [x9, lCPI0_0@PAGEOFF]
	ushl.2s	v0, v0, v1
	movi	d1, #0x0000ff000000ff
	and.8b	v0, v0, v1
	stur	d0, [x8, #4]
	and	w9, w0, #0xff
	ubfx	w10, w21, #8, #8
	stp	w9, w10, [x8, #12]
	and	w9, w21, #0xff
	str	w9, [x8, #20]
	mov	x0, x8
	bl	_is_valid_ether_addr
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w0, #0
	csneg	w0, wzr, w8, ne
	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	Lloh8, Lloh9, Lloh10
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SPIDER_NET_GMACUNIMACL,4,2     ; @SPIDER_NET_GMACUNIMACL
	.comm	_SPIDER_NET_GMACUNIMACU,4,2     ; @SPIDER_NET_GMACUNIMACU
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_spider_net_get_mac_address
.subsections_via_symbols
