	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_mac
_init_mac:                              ## @init_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	%rdi, %r14
	movq	_ALTERA_TSE_RX_SECTION_EMPTY@GOTPCREL(%rip), %rax
	movl	(%rdi), %ebx
	movl	12(%rdi), %r15d
	subl	(%rax), %ebx
	movq	_rx_section_empty@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tse_csroffs
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_csrwr32
	movq	_ALTERA_TSE_RX_SECTION_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	12(%r14), %r15d
	movq	_rx_section_full@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tse_csroffs
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_csrwr32
	movq	_ALTERA_TSE_RX_ALMOST_EMPTY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	12(%r14), %r15d
	movq	_rx_almost_empty@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tse_csroffs
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_csrwr32
	movq	_ALTERA_TSE_RX_ALMOST_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	12(%r14), %r15d
	movq	_rx_almost_full@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tse_csroffs
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_csrwr32
	movq	_ALTERA_TSE_TX_SECTION_EMPTY@GOTPCREL(%rip), %rax
	movl	4(%r14), %ebx
	movl	12(%r14), %r15d
	subl	(%rax), %ebx
	movq	_tx_section_empty@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tse_csroffs
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_csrwr32
	movq	_ALTERA_TSE_TX_SECTION_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	12(%r14), %r15d
	movq	_tx_section_full@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tse_csroffs
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_csrwr32
	movq	_ALTERA_TSE_TX_ALMOST_EMPTY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	12(%r14), %r15d
	movq	_tx_almost_empty@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tse_csroffs
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_csrwr32
	movq	_ALTERA_TSE_TX_ALMOST_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	12(%r14), %r15d
	movq	_tx_almost_full@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tse_csroffs
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_csrwr32
	movq	16(%r14), %rax
	movl	4(%rax), %esi
	movq	%r14, %rdi
	callq	_tse_update_mac_addr
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	movq	16(%r14), %rcx
	movl	(%rcx), %ebx
	addl	(%rax), %ebx
	movq	_ETH_FCS_LEN@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	movl	12(%r14), %r15d
	movl	%ebx, %edi
	callq	_tse_csroffs
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_csrwr32
	movq	_ALTERA_TSE_TX_IPG_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	12(%r14), %r15d
	movq	_tx_ipg_length@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tse_csroffs
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_csrwr32
	movl	12(%r14), %ebx
	movq	_rx_cmd_stat@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tse_csroffs
	movq	_ALTERA_TSE_RX_CMD_STAT_RX_SHIFT16@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_tse_set_bit
	movl	12(%r14), %ebx
	movq	_tx_cmd_stat@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tse_csroffs
	movq	_ALTERA_TSE_TX_CMD_STAT_TX_SHIFT16@GOTPCREL(%rip), %rcx
	movq	_ALTERA_TSE_TX_CMD_STAT_OMIT_CRC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_tse_clear_bit
	movl	12(%r14), %ebx
	movq	_command_config@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_tse_csroffs
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_csrrd32
	movq	_MAC_CMDCFG_PAD_EN@GOTPCREL(%rip), %rdx
	movq	_MAC_CMDCFG_CRC_FWD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rdx), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movq	_MAC_CMDCFG_RX_ERR_DISC@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_MAC_CMDCFG_CNTL_FRM_ENA@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_MAC_CMDCFG_TX_ENA@GOTPCREL(%rip), %rax
	movq	_MAC_CMDCFG_RX_ENA@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	orl	(%rax), %ebx
	movq	_MAC_CMDCFG_HD_ENA@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_MAC_CMDCFG_ETH_SPEED@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_MAC_CMDCFG_ENA_10@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	notl	%ebx
	andl	%ecx, %ebx
	movl	12(%r14), %r15d
	movl	(%r12), %edi
	callq	_tse_csroffs
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_csrwr32
	movq	_ALTERA_TSE_PAUSE_QUANTA@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	12(%r14), %r12d
	movq	_pause_quanta@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tse_csroffs
	movl	%r15d, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_csrwr32
	movq	%r14, %rdi
	callq	_netif_msg_hw
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	8(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_dev_dbg
LBB0_2:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ALTERA_TSE_RX_SECTION_EMPTY,4,2 ## @ALTERA_TSE_RX_SECTION_EMPTY
	.comm	_rx_section_empty,4,2           ## @rx_section_empty
	.comm	_ALTERA_TSE_RX_SECTION_FULL,4,2 ## @ALTERA_TSE_RX_SECTION_FULL
	.comm	_rx_section_full,4,2            ## @rx_section_full
	.comm	_ALTERA_TSE_RX_ALMOST_EMPTY,4,2 ## @ALTERA_TSE_RX_ALMOST_EMPTY
	.comm	_rx_almost_empty,4,2            ## @rx_almost_empty
	.comm	_ALTERA_TSE_RX_ALMOST_FULL,4,2  ## @ALTERA_TSE_RX_ALMOST_FULL
	.comm	_rx_almost_full,4,2             ## @rx_almost_full
	.comm	_ALTERA_TSE_TX_SECTION_EMPTY,4,2 ## @ALTERA_TSE_TX_SECTION_EMPTY
	.comm	_tx_section_empty,4,2           ## @tx_section_empty
	.comm	_ALTERA_TSE_TX_SECTION_FULL,4,2 ## @ALTERA_TSE_TX_SECTION_FULL
	.comm	_tx_section_full,4,2            ## @tx_section_full
	.comm	_ALTERA_TSE_TX_ALMOST_EMPTY,4,2 ## @ALTERA_TSE_TX_ALMOST_EMPTY
	.comm	_tx_almost_empty,4,2            ## @tx_almost_empty
	.comm	_ALTERA_TSE_TX_ALMOST_FULL,4,2  ## @ALTERA_TSE_TX_ALMOST_FULL
	.comm	_tx_almost_full,4,2             ## @tx_almost_full
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.comm	_ETH_FCS_LEN,4,2                ## @ETH_FCS_LEN
	.comm	_ALTERA_TSE_TX_IPG_LENGTH,4,2   ## @ALTERA_TSE_TX_IPG_LENGTH
	.comm	_tx_ipg_length,4,2              ## @tx_ipg_length
	.comm	_rx_cmd_stat,4,2                ## @rx_cmd_stat
	.comm	_ALTERA_TSE_RX_CMD_STAT_RX_SHIFT16,4,2 ## @ALTERA_TSE_RX_CMD_STAT_RX_SHIFT16
	.comm	_tx_cmd_stat,4,2                ## @tx_cmd_stat
	.comm	_ALTERA_TSE_TX_CMD_STAT_TX_SHIFT16,4,2 ## @ALTERA_TSE_TX_CMD_STAT_TX_SHIFT16
	.comm	_ALTERA_TSE_TX_CMD_STAT_OMIT_CRC,4,2 ## @ALTERA_TSE_TX_CMD_STAT_OMIT_CRC
	.comm	_command_config,4,2             ## @command_config
	.comm	_MAC_CMDCFG_PAD_EN,4,2          ## @MAC_CMDCFG_PAD_EN
	.comm	_MAC_CMDCFG_CRC_FWD,4,2         ## @MAC_CMDCFG_CRC_FWD
	.comm	_MAC_CMDCFG_RX_ERR_DISC,4,2     ## @MAC_CMDCFG_RX_ERR_DISC
	.comm	_MAC_CMDCFG_CNTL_FRM_ENA,4,2    ## @MAC_CMDCFG_CNTL_FRM_ENA
	.comm	_MAC_CMDCFG_TX_ENA,4,2          ## @MAC_CMDCFG_TX_ENA
	.comm	_MAC_CMDCFG_RX_ENA,4,2          ## @MAC_CMDCFG_RX_ENA
	.comm	_MAC_CMDCFG_HD_ENA,4,2          ## @MAC_CMDCFG_HD_ENA
	.comm	_MAC_CMDCFG_ETH_SPEED,4,2       ## @MAC_CMDCFG_ETH_SPEED
	.comm	_MAC_CMDCFG_ENA_10,4,2          ## @MAC_CMDCFG_ENA_10
	.comm	_ALTERA_TSE_PAUSE_QUANTA,4,2    ## @ALTERA_TSE_PAUSE_QUANTA
	.comm	_pause_quanta,4,2               ## @pause_quanta
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MAC post-initialization: CMD_CONFIG = 0x%08x\n"

	.no_dead_strip	_init_mac
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_mac
_init_mac:                              ; @init_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	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _ALTERA_TSE_RX_SECTION_EMPTY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ALTERA_TSE_RX_SECTION_EMPTY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sub	w20, w8, w9
	ldr	w21, [x0, #12]
Lloh3:
	adrp	x8, _rx_section_empty@GOTPAGE
Lloh4:
	ldr	x8, [x8, _rx_section_empty@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_tse_csroffs
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_csrwr32
Lloh6:
	adrp	x8, _ALTERA_TSE_RX_SECTION_FULL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ALTERA_TSE_RX_SECTION_FULL@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
	ldr	w21, [x19, #12]
Lloh9:
	adrp	x8, _rx_section_full@GOTPAGE
Lloh10:
	ldr	x8, [x8, _rx_section_full@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_tse_csroffs
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_csrwr32
Lloh12:
	adrp	x8, _ALTERA_TSE_RX_ALMOST_EMPTY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ALTERA_TSE_RX_ALMOST_EMPTY@GOTPAGEOFF]
Lloh14:
	ldr	w20, [x8]
	ldr	w21, [x19, #12]
Lloh15:
	adrp	x8, _rx_almost_empty@GOTPAGE
Lloh16:
	ldr	x8, [x8, _rx_almost_empty@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_tse_csroffs
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_csrwr32
Lloh18:
	adrp	x8, _ALTERA_TSE_RX_ALMOST_FULL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ALTERA_TSE_RX_ALMOST_FULL@GOTPAGEOFF]
Lloh20:
	ldr	w20, [x8]
	ldr	w21, [x19, #12]
Lloh21:
	adrp	x8, _rx_almost_full@GOTPAGE
Lloh22:
	ldr	x8, [x8, _rx_almost_full@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_tse_csroffs
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_csrwr32
	ldr	w8, [x19, #4]
Lloh24:
	adrp	x9, _ALTERA_TSE_TX_SECTION_EMPTY@GOTPAGE
Lloh25:
	ldr	x9, [x9, _ALTERA_TSE_TX_SECTION_EMPTY@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	sub	w20, w8, w9
	ldr	w21, [x19, #12]
Lloh27:
	adrp	x8, _tx_section_empty@GOTPAGE
Lloh28:
	ldr	x8, [x8, _tx_section_empty@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	_tse_csroffs
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_csrwr32
Lloh30:
	adrp	x8, _ALTERA_TSE_TX_SECTION_FULL@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ALTERA_TSE_TX_SECTION_FULL@GOTPAGEOFF]
Lloh32:
	ldr	w20, [x8]
	ldr	w21, [x19, #12]
Lloh33:
	adrp	x8, _tx_section_full@GOTPAGE
Lloh34:
	ldr	x8, [x8, _tx_section_full@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	bl	_tse_csroffs
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_csrwr32
Lloh36:
	adrp	x8, _ALTERA_TSE_TX_ALMOST_EMPTY@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ALTERA_TSE_TX_ALMOST_EMPTY@GOTPAGEOFF]
Lloh38:
	ldr	w20, [x8]
	ldr	w21, [x19, #12]
Lloh39:
	adrp	x8, _tx_almost_empty@GOTPAGE
Lloh40:
	ldr	x8, [x8, _tx_almost_empty@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	bl	_tse_csroffs
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_csrwr32
Lloh42:
	adrp	x8, _ALTERA_TSE_TX_ALMOST_FULL@GOTPAGE
Lloh43:
	ldr	x8, [x8, _ALTERA_TSE_TX_ALMOST_FULL@GOTPAGEOFF]
Lloh44:
	ldr	w20, [x8]
	ldr	w21, [x19, #12]
Lloh45:
	adrp	x8, _tx_almost_full@GOTPAGE
Lloh46:
	ldr	x8, [x8, _tx_almost_full@GOTPAGEOFF]
Lloh47:
	ldr	w0, [x8]
	bl	_tse_csroffs
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_csrwr32
	ldr	x8, [x19, #16]
	ldr	w1, [x8, #4]
	mov	x0, x19
	bl	_tse_update_mac_addr
Lloh48:
	adrp	x8, _ETH_HLEN@GOTPAGE
Lloh49:
	ldr	x8, [x8, _ETH_HLEN@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	ldr	x9, [x19, #16]
	ldr	w9, [x9]
Lloh51:
	adrp	x10, _ETH_FCS_LEN@GOTPAGE
Lloh52:
	ldr	x10, [x10, _ETH_FCS_LEN@GOTPAGEOFF]
Lloh53:
	ldr	w10, [x10]
	add	w8, w9, w8
	add	w20, w8, w10
	ldr	w21, [x19, #12]
	mov	x0, x20
	bl	_tse_csroffs
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_csrwr32
Lloh54:
	adrp	x8, _ALTERA_TSE_TX_IPG_LENGTH@GOTPAGE
Lloh55:
	ldr	x8, [x8, _ALTERA_TSE_TX_IPG_LENGTH@GOTPAGEOFF]
Lloh56:
	ldr	w20, [x8]
	ldr	w21, [x19, #12]
Lloh57:
	adrp	x8, _tx_ipg_length@GOTPAGE
Lloh58:
	ldr	x8, [x8, _tx_ipg_length@GOTPAGEOFF]
Lloh59:
	ldr	w0, [x8]
	bl	_tse_csroffs
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_csrwr32
	ldr	w20, [x19, #12]
Lloh60:
	adrp	x8, _rx_cmd_stat@GOTPAGE
Lloh61:
	ldr	x8, [x8, _rx_cmd_stat@GOTPAGEOFF]
Lloh62:
	ldr	w0, [x8]
	bl	_tse_csroffs
	mov	x1, x0
Lloh63:
	adrp	x8, _ALTERA_TSE_RX_CMD_STAT_RX_SHIFT16@GOTPAGE
Lloh64:
	ldr	x8, [x8, _ALTERA_TSE_RX_CMD_STAT_RX_SHIFT16@GOTPAGEOFF]
Lloh65:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_tse_set_bit
	ldr	w20, [x19, #12]
Lloh66:
	adrp	x8, _tx_cmd_stat@GOTPAGE
Lloh67:
	ldr	x8, [x8, _tx_cmd_stat@GOTPAGEOFF]
Lloh68:
	ldr	w0, [x8]
	bl	_tse_csroffs
	mov	x1, x0
Lloh69:
	adrp	x8, _ALTERA_TSE_TX_CMD_STAT_TX_SHIFT16@GOTPAGE
Lloh70:
	ldr	x8, [x8, _ALTERA_TSE_TX_CMD_STAT_TX_SHIFT16@GOTPAGEOFF]
Lloh71:
	ldr	w8, [x8]
Lloh72:
	adrp	x9, _ALTERA_TSE_TX_CMD_STAT_OMIT_CRC@GOTPAGE
Lloh73:
	ldr	x9, [x9, _ALTERA_TSE_TX_CMD_STAT_OMIT_CRC@GOTPAGEOFF]
Lloh74:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x20
	bl	_tse_clear_bit
	ldr	w20, [x19, #12]
Lloh75:
	adrp	x22, _command_config@GOTPAGE
Lloh76:
	ldr	x22, [x22, _command_config@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_tse_csroffs
	mov	x1, x0
	mov	x0, x20
	bl	_csrrd32
Lloh77:
	adrp	x8, _MAC_CMDCFG_PAD_EN@GOTPAGE
Lloh78:
	ldr	x8, [x8, _MAC_CMDCFG_PAD_EN@GOTPAGEOFF]
Lloh79:
	ldr	w8, [x8]
Lloh80:
	adrp	x9, _MAC_CMDCFG_CRC_FWD@GOTPAGE
Lloh81:
	ldr	x9, [x9, _MAC_CMDCFG_CRC_FWD@GOTPAGEOFF]
Lloh82:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w8, w0, w8
Lloh83:
	adrp	x9, _MAC_CMDCFG_RX_ERR_DISC@GOTPAGE
Lloh84:
	ldr	x9, [x9, _MAC_CMDCFG_RX_ERR_DISC@GOTPAGEOFF]
Lloh85:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh86:
	adrp	x9, _MAC_CMDCFG_CNTL_FRM_ENA@GOTPAGE
Lloh87:
	ldr	x9, [x9, _MAC_CMDCFG_CNTL_FRM_ENA@GOTPAGEOFF]
Lloh88:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh89:
	adrp	x9, _MAC_CMDCFG_TX_ENA@GOTPAGE
Lloh90:
	ldr	x9, [x9, _MAC_CMDCFG_TX_ENA@GOTPAGEOFF]
Lloh91:
	adrp	x10, _MAC_CMDCFG_RX_ENA@GOTPAGE
Lloh92:
	ldr	x10, [x10, _MAC_CMDCFG_RX_ENA@GOTPAGEOFF]
Lloh93:
	ldr	w9, [x9]
Lloh94:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh95:
	adrp	x10, _MAC_CMDCFG_HD_ENA@GOTPAGE
Lloh96:
	ldr	x10, [x10, _MAC_CMDCFG_HD_ENA@GOTPAGEOFF]
Lloh97:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh98:
	adrp	x10, _MAC_CMDCFG_ETH_SPEED@GOTPAGE
Lloh99:
	ldr	x10, [x10, _MAC_CMDCFG_ETH_SPEED@GOTPAGEOFF]
Lloh100:
	ldr	w10, [x10]
Lloh101:
	adrp	x11, _MAC_CMDCFG_ENA_10@GOTPAGE
Lloh102:
	ldr	x11, [x11, _MAC_CMDCFG_ENA_10@GOTPAGEOFF]
	orr	w9, w9, w10
Lloh103:
	ldr	w10, [x11]
	orr	w9, w9, w10
	bic	w20, w8, w9
	ldr	w21, [x19, #12]
	ldr	w0, [x22]
	bl	_tse_csroffs
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_csrwr32
Lloh104:
	adrp	x8, _ALTERA_TSE_PAUSE_QUANTA@GOTPAGE
Lloh105:
	ldr	x8, [x8, _ALTERA_TSE_PAUSE_QUANTA@GOTPAGEOFF]
Lloh106:
	ldr	w21, [x8]
	ldr	w22, [x19, #12]
Lloh107:
	adrp	x8, _pause_quanta@GOTPAGE
Lloh108:
	ldr	x8, [x8, _pause_quanta@GOTPAGEOFF]
Lloh109:
	ldr	w0, [x8]
	bl	_tse_csroffs
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_csrwr32
	mov	x0, x19
	bl	_netif_msg_hw
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x19, #8]
Lloh110:
	adrp	x1, l_.str@PAGE
Lloh111:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_dev_dbg
LBB0_2:
	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	Lloh107, Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh94
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh93
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.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 AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh110, Lloh111
	.cfi_endproc
                                        ; -- End function
	.comm	_ALTERA_TSE_RX_SECTION_EMPTY,4,2 ; @ALTERA_TSE_RX_SECTION_EMPTY
	.comm	_rx_section_empty,4,2           ; @rx_section_empty
	.comm	_ALTERA_TSE_RX_SECTION_FULL,4,2 ; @ALTERA_TSE_RX_SECTION_FULL
	.comm	_rx_section_full,4,2            ; @rx_section_full
	.comm	_ALTERA_TSE_RX_ALMOST_EMPTY,4,2 ; @ALTERA_TSE_RX_ALMOST_EMPTY
	.comm	_rx_almost_empty,4,2            ; @rx_almost_empty
	.comm	_ALTERA_TSE_RX_ALMOST_FULL,4,2  ; @ALTERA_TSE_RX_ALMOST_FULL
	.comm	_rx_almost_full,4,2             ; @rx_almost_full
	.comm	_ALTERA_TSE_TX_SECTION_EMPTY,4,2 ; @ALTERA_TSE_TX_SECTION_EMPTY
	.comm	_tx_section_empty,4,2           ; @tx_section_empty
	.comm	_ALTERA_TSE_TX_SECTION_FULL,4,2 ; @ALTERA_TSE_TX_SECTION_FULL
	.comm	_tx_section_full,4,2            ; @tx_section_full
	.comm	_ALTERA_TSE_TX_ALMOST_EMPTY,4,2 ; @ALTERA_TSE_TX_ALMOST_EMPTY
	.comm	_tx_almost_empty,4,2            ; @tx_almost_empty
	.comm	_ALTERA_TSE_TX_ALMOST_FULL,4,2  ; @ALTERA_TSE_TX_ALMOST_FULL
	.comm	_tx_almost_full,4,2             ; @tx_almost_full
	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
	.comm	_ETH_FCS_LEN,4,2                ; @ETH_FCS_LEN
	.comm	_ALTERA_TSE_TX_IPG_LENGTH,4,2   ; @ALTERA_TSE_TX_IPG_LENGTH
	.comm	_tx_ipg_length,4,2              ; @tx_ipg_length
	.comm	_rx_cmd_stat,4,2                ; @rx_cmd_stat
	.comm	_ALTERA_TSE_RX_CMD_STAT_RX_SHIFT16,4,2 ; @ALTERA_TSE_RX_CMD_STAT_RX_SHIFT16
	.comm	_tx_cmd_stat,4,2                ; @tx_cmd_stat
	.comm	_ALTERA_TSE_TX_CMD_STAT_TX_SHIFT16,4,2 ; @ALTERA_TSE_TX_CMD_STAT_TX_SHIFT16
	.comm	_ALTERA_TSE_TX_CMD_STAT_OMIT_CRC,4,2 ; @ALTERA_TSE_TX_CMD_STAT_OMIT_CRC
	.comm	_command_config,4,2             ; @command_config
	.comm	_MAC_CMDCFG_PAD_EN,4,2          ; @MAC_CMDCFG_PAD_EN
	.comm	_MAC_CMDCFG_CRC_FWD,4,2         ; @MAC_CMDCFG_CRC_FWD
	.comm	_MAC_CMDCFG_RX_ERR_DISC,4,2     ; @MAC_CMDCFG_RX_ERR_DISC
	.comm	_MAC_CMDCFG_CNTL_FRM_ENA,4,2    ; @MAC_CMDCFG_CNTL_FRM_ENA
	.comm	_MAC_CMDCFG_TX_ENA,4,2          ; @MAC_CMDCFG_TX_ENA
	.comm	_MAC_CMDCFG_RX_ENA,4,2          ; @MAC_CMDCFG_RX_ENA
	.comm	_MAC_CMDCFG_HD_ENA,4,2          ; @MAC_CMDCFG_HD_ENA
	.comm	_MAC_CMDCFG_ETH_SPEED,4,2       ; @MAC_CMDCFG_ETH_SPEED
	.comm	_MAC_CMDCFG_ENA_10,4,2          ; @MAC_CMDCFG_ENA_10
	.comm	_ALTERA_TSE_PAUSE_QUANTA,4,2    ; @ALTERA_TSE_PAUSE_QUANTA
	.comm	_pause_quanta,4,2               ; @pause_quanta
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MAC post-initialization: CMD_CONFIG = 0x%08x\n"

	.no_dead_strip	_init_mac
.subsections_via_symbols
