	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mvpp21_get_mac_address
_mvpp21_get_mac_address:                ## @mvpp21_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_MVPP2_GMAC_CTRL_1_REG@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%r15), %rdi
	callq	_readl
	movl	%eax, %r14d
	movq	(%r15), %rax
	movq	_MVPP2_SRC_ADDR_MIDDLE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	addq	(%rax), %rdi
	callq	_readl
	movl	%eax, %r12d
	movq	(%r15), %rax
	movq	_MVPP2_SRC_ADDR_HIGH@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	addq	(%rax), %rdi
	callq	_readl
	movl	%eax, %ecx
	shrl	$24, %ecx
	movb	%cl, (%rbx)
	movl	%eax, %ecx
	shrl	$16, %ecx
	movb	%cl, 1(%rbx)
	movb	%ah, 2(%rbx)
	movb	%al, 3(%rbx)
	movb	%r12b, 4(%rbx)
	movq	_MVPP2_GMAC_SA_LOW_OFFS@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %r14d
	movb	%r14b, 5(%rbx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MVPP2_GMAC_CTRL_1_REG,8,3      ## @MVPP2_GMAC_CTRL_1_REG
	.comm	_MVPP2_SRC_ADDR_MIDDLE,8,3      ## @MVPP2_SRC_ADDR_MIDDLE
	.comm	_MVPP2_SRC_ADDR_HIGH,8,3        ## @MVPP2_SRC_ADDR_HIGH
	.comm	_MVPP2_GMAC_SA_LOW_OFFS,4,2     ## @MVPP2_GMAC_SA_LOW_OFFS
	.no_dead_strip	_mvpp21_get_mac_address
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mvpp21_get_mac_address
_mvpp21_get_mac_address:                ; @mvpp21_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, x1
	mov	x20, x0
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _MVPP2_GMAC_CTRL_1_REG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MVPP2_GMAC_CTRL_1_REG@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	mov	x21, x0
	ldr	x8, [x20]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _MVPP2_SRC_ADDR_MIDDLE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MVPP2_SRC_ADDR_MIDDLE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	mov	x22, x0
	ldr	x8, [x20]
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _MVPP2_SRC_ADDR_HIGH@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MVPP2_SRC_ADDR_HIGH@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	rev	w8, w0
	str	w8, [x19]
	strb	w22, [x19, #4]
Lloh9:
	adrp	x8, _MVPP2_GMAC_SA_LOW_OFFS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MVPP2_GMAC_SA_LOW_OFFS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	asr	w8, w21, w8
	strb	w8, [x19, #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	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MVPP2_GMAC_CTRL_1_REG,8,3      ; @MVPP2_GMAC_CTRL_1_REG
	.comm	_MVPP2_SRC_ADDR_MIDDLE,8,3      ; @MVPP2_SRC_ADDR_MIDDLE
	.comm	_MVPP2_SRC_ADDR_HIGH,8,3        ; @MVPP2_SRC_ADDR_HIGH
	.comm	_MVPP2_GMAC_SA_LOW_OFFS,4,2     ; @MVPP2_GMAC_SA_LOW_OFFS
	.no_dead_strip	_mvpp21_get_mac_address
.subsections_via_symbols
