	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_board_eth_init                 ## -- Begin function board_eth_init
	.p2align	4, 0x90
_board_eth_init:                        ## @board_eth_init
	.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	_PINMUX_BANK_MFA@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_PINMUX_MACA_MDC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$3, %esi
	callq	_pinmux_set
	movl	(%rbx), %edi
	movq	_PINMUX_MACA_MDIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$4, %esi
	callq	_pinmux_set
	movq	_SYS_CTRL_RST_MAC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	$1, %esi
	callq	_reset_block
	movl	$10, %edi
	callq	_udelay
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_reset_block
	movq	_SYS_CTRL_CLK_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_enable_clock
	movq	_SYS_CTRL_GMAC_CTRL@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_readl
	movl	%eax, %r14d
	movq	_SYS_CTRL_GMAC_SIMPLE_MUX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	orl	%eax, %r14d
	movq	_SYS_CTRL_GMAC_CKEN_GTX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %ebx
	movq	_SYS_CTRL_GMAC_AUTOSPEED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	orl	%eax, %ebx
	orl	%r14d, %ebx
	movl	(%r15), %esi
	movl	%ebx, %edi
	callq	_writel
	movq	_MAC_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PHY_INTERFACE_MODE_RGMII@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_designware_initialize          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PINMUX_BANK_MFA,4,2            ## @PINMUX_BANK_MFA
	.comm	_PINMUX_MACA_MDC,4,2            ## @PINMUX_MACA_MDC
	.comm	_PINMUX_MACA_MDIO,4,2           ## @PINMUX_MACA_MDIO
	.comm	_SYS_CTRL_RST_MAC,4,2           ## @SYS_CTRL_RST_MAC
	.comm	_SYS_CTRL_CLK_MAC,4,2           ## @SYS_CTRL_CLK_MAC
	.comm	_SYS_CTRL_GMAC_CTRL,4,2         ## @SYS_CTRL_GMAC_CTRL
	.comm	_SYS_CTRL_GMAC_SIMPLE_MUX,4,2   ## @SYS_CTRL_GMAC_SIMPLE_MUX
	.comm	_SYS_CTRL_GMAC_CKEN_GTX,4,2     ## @SYS_CTRL_GMAC_CKEN_GTX
	.comm	_SYS_CTRL_GMAC_AUTOSPEED,4,2    ## @SYS_CTRL_GMAC_AUTOSPEED
	.comm	_MAC_BASE,4,2                   ## @MAC_BASE
	.comm	_PHY_INTERFACE_MODE_RGMII,4,2   ## @PHY_INTERFACE_MODE_RGMII
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_board_eth_init                 ; -- Begin function board_eth_init
	.p2align	2
_board_eth_init:                        ; @board_eth_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _PINMUX_BANK_MFA@GOTPAGE
Lloh1:
	ldr	x19, [x19, _PINMUX_BANK_MFA@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh2:
	adrp	x8, _PINMUX_MACA_MDC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PINMUX_MACA_MDC@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	w1, #3
	bl	_pinmux_set
	ldr	w0, [x19]
Lloh5:
	adrp	x8, _PINMUX_MACA_MDIO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PINMUX_MACA_MDIO@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	w1, #4
	bl	_pinmux_set
Lloh8:
	adrp	x19, _SYS_CTRL_RST_MAC@GOTPAGE
Lloh9:
	ldr	x19, [x19, _SYS_CTRL_RST_MAC@GOTPAGEOFF]
	ldr	w0, [x19]
	mov	w1, #1
	bl	_reset_block
	mov	w0, #10
	bl	_udelay
	ldr	w0, [x19]
	mov	w1, #0
	bl	_reset_block
Lloh10:
	adrp	x8, _SYS_CTRL_CLK_MAC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SYS_CTRL_CLK_MAC@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_enable_clock
Lloh13:
	adrp	x20, _SYS_CTRL_GMAC_CTRL@GOTPAGE
Lloh14:
	ldr	x20, [x20, _SYS_CTRL_GMAC_CTRL@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_readl
	mov	x19, x0
Lloh15:
	adrp	x8, _SYS_CTRL_GMAC_SIMPLE_MUX@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SYS_CTRL_GMAC_SIMPLE_MUX@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_BIT
	orr	w19, w0, w19
Lloh18:
	adrp	x8, _SYS_CTRL_GMAC_CKEN_GTX@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SYS_CTRL_GMAC_CKEN_GTX@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_BIT
	orr	w19, w19, w0
Lloh21:
	adrp	x8, _SYS_CTRL_GMAC_AUTOSPEED@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SYS_CTRL_GMAC_AUTOSPEED@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_BIT
	orr	w0, w19, w0
	ldr	w1, [x20]
	bl	_writel
Lloh24:
	adrp	x8, _MAC_BASE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MAC_BASE@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
Lloh27:
	adrp	x8, _PHY_INTERFACE_MODE_RGMII@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PHY_INTERFACE_MODE_RGMII@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_designware_initialize
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PINMUX_BANK_MFA,4,2            ; @PINMUX_BANK_MFA
	.comm	_PINMUX_MACA_MDC,4,2            ; @PINMUX_MACA_MDC
	.comm	_PINMUX_MACA_MDIO,4,2           ; @PINMUX_MACA_MDIO
	.comm	_SYS_CTRL_RST_MAC,4,2           ; @SYS_CTRL_RST_MAC
	.comm	_SYS_CTRL_CLK_MAC,4,2           ; @SYS_CTRL_CLK_MAC
	.comm	_SYS_CTRL_GMAC_CTRL,4,2         ; @SYS_CTRL_GMAC_CTRL
	.comm	_SYS_CTRL_GMAC_SIMPLE_MUX,4,2   ; @SYS_CTRL_GMAC_SIMPLE_MUX
	.comm	_SYS_CTRL_GMAC_CKEN_GTX,4,2     ; @SYS_CTRL_GMAC_CKEN_GTX
	.comm	_SYS_CTRL_GMAC_AUTOSPEED,4,2    ; @SYS_CTRL_GMAC_AUTOSPEED
	.comm	_MAC_BASE,4,2                   ; @MAC_BASE
	.comm	_PHY_INTERFACE_MODE_RGMII,4,2   ; @PHY_INTERFACE_MODE_RGMII
.subsections_via_symbols
