	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm_enet_set_mac_address
_bcm_enet_set_mac_address:              ## @bcm_enet_set_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	callq	_netdev_priv
	movq	%rax, %r14
	movq	(%r12), %rdi
	movl	(%r15), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	(%r12), %rax
	movl	8(%rax), %ecx
	movl	12(%rax), %edx
	shll	$24, %ecx
	shll	$16, %edx
	orl	%ecx, %edx
	movl	16(%rax), %ebx
	shll	$8, %ebx
	orl	%edx, %ebx
	orl	20(%rax), %ebx
	xorl	%edi, %edi
	callq	_ENET_PML_REG
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_enet_writel
	movq	(%r12), %rax
	movl	(%rax), %ebx
	shll	$8, %ebx
	orl	4(%rax), %ebx
	movq	_ENET_PMH_DATAVALID_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	xorl	%edi, %edi
	callq	_ENET_PMH_REG
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_enet_writel
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_ENET_PMH_DATAVALID_MASK,4,2    ## @ENET_PMH_DATAVALID_MASK
	.no_dead_strip	_bcm_enet_set_mac_address
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm_enet_set_mac_address
_bcm_enet_set_mac_address:              ; @bcm_enet_set_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, x1
	mov	x20, x0
	bl	_netdev_priv
	mov	x21, x0
	ldr	x0, [x20]
	ldr	w1, [x19]
Lloh0:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_memcpy
	ldr	x8, [x20]
	ldp	w9, w10, [x8, #8]
	lsl	w10, w10, #16
	orr	w9, w10, w9, lsl #24
	ldp	w10, w8, [x8, #16]
	orr	w9, w9, w10, lsl #8
	orr	w19, w9, w8
	mov	w0, #0
	bl	_ENET_PML_REG
	mov	x2, x0
	mov	x0, x21
	mov	x1, x19
	bl	_enet_writel
	ldr	x8, [x20]
	ldp	w9, w8, [x8]
	orr	w8, w8, w9, lsl #8
Lloh3:
	adrp	x9, _ENET_PMH_DATAVALID_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ENET_PMH_DATAVALID_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w19, w8, w9
	mov	w0, #0
	bl	_ENET_PMH_REG
	mov	x2, x0
	mov	x0, x21
	mov	x1, x19
	bl	_enet_writel
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_ENET_PMH_DATAVALID_MASK,4,2    ; @ENET_PMH_DATAVALID_MASK
	.no_dead_strip	_bcm_enet_set_mac_address
.subsections_via_symbols
