	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_set_mac
_e1000_set_mac:                         ## @e1000_set_mac
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r12
	movl	(%r15), %edi
	callq	_is_valid_ether_addr
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%r12, %r14
	addq	$8, %r14
	movl	(%rbx), %edx
	movl	4(%rbx), %edi
	movl	(%r15), %esi
	callq	_memcpy
	movl	16(%r12), %edi
	movl	(%r15), %esi
	movl	(%rbx), %edx
	callq	_memcpy
	movl	16(%r12), %esi
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	*24(%r12)
	movq	_FLAG_RESET_OVERWRITES_LAA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_e1000e_set_laa_state_82571
	movl	16(%r12), %esi
	movq	8(%r12), %rdx
	decq	%rdx
	movq	%r14, %rdi
	callq	*24(%r12)
	jmp	LBB0_4
LBB0_1:
	movq	_EADDRNOTAVAIL@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_4:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EADDRNOTAVAIL,4,2              ## @EADDRNOTAVAIL
	.comm	_FLAG_RESET_OVERWRITES_LAA,4,2  ## @FLAG_RESET_OVERWRITES_LAA
	.no_dead_strip	_e1000_set_mac
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_set_mac
_e1000_set_mac:                         ; @e1000_set_mac
	.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	x22, x1
	mov	x21, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	w0, [x22]
	bl	_is_valid_ether_addr
	cbz	w0, LBB0_4
; %bb.1:
	add	x20, x19, #8
	ldr	w1, [x22]
	ldp	w2, w0, [x21]
	bl	_memcpy
	ldr	w0, [x19, #16]
	ldr	w1, [x22]
	ldr	w2, [x21]
	bl	_memcpy
	ldr	x8, [x19, #24]
	ldr	w1, [x19, #16]
	mov	x0, x20
	mov	x2, #0
	blr	x8
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _FLAG_RESET_OVERWRITES_LAA@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FLAG_RESET_OVERWRITES_LAA@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x20
	mov	w1, #1
	bl	_e1000e_set_laa_state_82571
	ldr	x8, [x19, #24]
	ldr	w1, [x19, #16]
	ldr	x9, [x19, #8]
	sub	x2, x9, #1
	mov	x0, x20
	blr	x8
LBB0_3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh3:
	adrp	x8, _EADDRNOTAVAIL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EADDRNOTAVAIL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EADDRNOTAVAIL,4,2              ; @EADDRNOTAVAIL
	.comm	_FLAG_RESET_OVERWRITES_LAA,4,2  ; @FLAG_RESET_OVERWRITES_LAA
	.no_dead_strip	_e1000_set_mac
.subsections_via_symbols
