	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mvneta_mac_addr_set
_mvneta_mac_addr_set:                   ## @mvneta_mac_addr_set
	.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
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r12
	cmpl	$-1, %edx
	je	LBB0_2
## %bb.1:
	movzwl	4(%r15), %eax
	rolw	$8, %ax
	movzwl	%ax, %edx
	movl	(%r15), %ebx
	bswapl	%ebx
	movq	_MVNETA_MAC_ADDR_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_mvreg_write
	movq	_MVNETA_MAC_ADDR_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%ebx, %edx
	callq	_mvreg_write
LBB0_2:
	movzbl	5(%r15), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mvneta_set_ucast_addr          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MVNETA_MAC_ADDR_LOW,4,2        ## @MVNETA_MAC_ADDR_LOW
	.comm	_MVNETA_MAC_ADDR_HIGH,4,2       ## @MVNETA_MAC_ADDR_HIGH
	.no_dead_strip	_mvneta_mac_addr_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mvneta_mac_addr_set
_mvneta_mac_addr_set:                   ; @mvneta_mac_addr_set
	.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, x2
	mov	x21, x1
	mov	x20, x0
	cmn	w2, #1
	b.eq	LBB0_2
; %bb.1:
	ldrh	w8, [x21, #4]
	rev16	w2, w8
	ldr	w8, [x21]
	rev	w22, w8
Lloh0:
	adrp	x8, _MVNETA_MAC_ADDR_LOW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MVNETA_MAC_ADDR_LOW@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_mvreg_write
Lloh3:
	adrp	x8, _MVNETA_MAC_ADDR_HIGH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MVNETA_MAC_ADDR_HIGH@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x22
	bl	_mvreg_write
LBB0_2:
	ldrb	w1, [x21, #5]
	mov	x0, x20
	mov	x2, x19
	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
	b	_mvneta_set_ucast_addr
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MVNETA_MAC_ADDR_LOW,4,2        ; @MVNETA_MAC_ADDR_LOW
	.comm	_MVNETA_MAC_ADDR_HIGH,4,2       ; @MVNETA_MAC_ADDR_HIGH
	.no_dead_strip	_mvneta_mac_addr_set
.subsections_via_symbols
