	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emac_setup
_emac_setup:                            ## @emac_setup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	_EMAC_TX_MODE_REG@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	(%rax), %rdi
	callq	_readl
	movq	_EMAC_TX_MODE_ABORTED_FRAME_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	(%r14), %rsi
	addq	(%rbx), %rsi
	movl	%eax, %edi
	callq	_writel
	movq	_EMAC_MAC_CTL0_REG@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	(%rbx), %rdi
	callq	_readl
	movq	_EMAC_MAC_CTL0_RX_FLOW_CTL_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_EMAC_MAC_CTL0_TX_FLOW_CTL_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	(%r14), %rsi
	addq	(%rbx), %rsi
	movl	%eax, %edi
	callq	_writel
	movq	_EMAC_MAC_CTL1_REG@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	(%rbx), %rdi
	callq	_readl
	movq	_EMAC_MAC_CTL1_LEN_CHECK_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_EMAC_MAC_CTL1_CRC_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_EMAC_MAC_CTL1_PAD_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	(%r14), %rsi
	addq	(%rbx), %rsi
	movl	%eax, %edi
	callq	_writel
	movq	_EMAC_MAC_IPGT_FULL_DUPLEX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EMAC_MAC_IPGT_REG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	movq	_EMAC_MAC_IPGR_IPG1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	shll	$8, %edi
	movq	_EMAC_MAC_IPGR_IPG2@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_EMAC_MAC_IPGR_REG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	movq	_EMAC_MAC_CLRT_COLLISION_WINDOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	shll	$8, %edi
	movq	_EMAC_MAC_CLRT_RM@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_EMAC_MAC_CLRT_REG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	movq	_EMAC_MAX_FRAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EMAC_MAC_MAXF_REG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EMAC_TX_MODE_REG,8,3           ## @EMAC_TX_MODE_REG
	.comm	_EMAC_TX_MODE_ABORTED_FRAME_EN,4,2 ## @EMAC_TX_MODE_ABORTED_FRAME_EN
	.comm	_EMAC_MAC_CTL0_REG,8,3          ## @EMAC_MAC_CTL0_REG
	.comm	_EMAC_MAC_CTL0_RX_FLOW_CTL_EN,4,2 ## @EMAC_MAC_CTL0_RX_FLOW_CTL_EN
	.comm	_EMAC_MAC_CTL0_TX_FLOW_CTL_EN,4,2 ## @EMAC_MAC_CTL0_TX_FLOW_CTL_EN
	.comm	_EMAC_MAC_CTL1_REG,8,3          ## @EMAC_MAC_CTL1_REG
	.comm	_EMAC_MAC_CTL1_LEN_CHECK_EN,4,2 ## @EMAC_MAC_CTL1_LEN_CHECK_EN
	.comm	_EMAC_MAC_CTL1_CRC_EN,4,2       ## @EMAC_MAC_CTL1_CRC_EN
	.comm	_EMAC_MAC_CTL1_PAD_EN,4,2       ## @EMAC_MAC_CTL1_PAD_EN
	.comm	_EMAC_MAC_IPGT_FULL_DUPLEX,4,2  ## @EMAC_MAC_IPGT_FULL_DUPLEX
	.comm	_EMAC_MAC_IPGT_REG,8,3          ## @EMAC_MAC_IPGT_REG
	.comm	_EMAC_MAC_IPGR_IPG1,4,2         ## @EMAC_MAC_IPGR_IPG1
	.comm	_EMAC_MAC_IPGR_IPG2,4,2         ## @EMAC_MAC_IPGR_IPG2
	.comm	_EMAC_MAC_IPGR_REG,8,3          ## @EMAC_MAC_IPGR_REG
	.comm	_EMAC_MAC_CLRT_COLLISION_WINDOW,4,2 ## @EMAC_MAC_CLRT_COLLISION_WINDOW
	.comm	_EMAC_MAC_CLRT_RM,4,2           ## @EMAC_MAC_CLRT_RM
	.comm	_EMAC_MAC_CLRT_REG,8,3          ## @EMAC_MAC_CLRT_REG
	.comm	_EMAC_MAX_FRAME_LEN,4,2         ## @EMAC_MAX_FRAME_LEN
	.comm	_EMAC_MAC_MAXF_REG,8,3          ## @EMAC_MAC_MAXF_REG
	.no_dead_strip	_emac_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emac_setup
_emac_setup:                            ; @emac_setup
	.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
	bl	_netdev_priv
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x20, _EMAC_TX_MODE_REG@GOTPAGE
Lloh1:
	ldr	x20, [x20, _EMAC_TX_MODE_REG@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl
Lloh2:
	adrp	x8, _EMAC_TX_MODE_ABORTED_FRAME_EN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EMAC_TX_MODE_ABORTED_FRAME_EN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	orr	w0, w8, w0
	ldr	x8, [x19]
	ldr	x9, [x20]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19]
Lloh5:
	adrp	x20, _EMAC_MAC_CTL0_REG@GOTPAGE
Lloh6:
	ldr	x20, [x20, _EMAC_MAC_CTL0_REG@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl
Lloh7:
	adrp	x8, _EMAC_MAC_CTL0_RX_FLOW_CTL_EN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EMAC_MAC_CTL0_RX_FLOW_CTL_EN@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _EMAC_MAC_CTL0_TX_FLOW_CTL_EN@GOTPAGE
Lloh11:
	ldr	x9, [x9, _EMAC_MAC_CTL0_TX_FLOW_CTL_EN@GOTPAGEOFF]
	orr	w8, w8, w0
Lloh12:
	ldr	w9, [x9]
	orr	w0, w8, w9
	ldr	x8, [x19]
	ldr	x9, [x20]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19]
Lloh13:
	adrp	x20, _EMAC_MAC_CTL1_REG@GOTPAGE
Lloh14:
	ldr	x20, [x20, _EMAC_MAC_CTL1_REG@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl
Lloh15:
	adrp	x8, _EMAC_MAC_CTL1_LEN_CHECK_EN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EMAC_MAC_CTL1_LEN_CHECK_EN@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh18:
	adrp	x9, _EMAC_MAC_CTL1_CRC_EN@GOTPAGE
Lloh19:
	ldr	x9, [x9, _EMAC_MAC_CTL1_CRC_EN@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
Lloh21:
	adrp	x10, _EMAC_MAC_CTL1_PAD_EN@GOTPAGE
Lloh22:
	ldr	x10, [x10, _EMAC_MAC_CTL1_PAD_EN@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh23:
	ldr	w9, [x10]
	orr	w0, w8, w9
	ldr	x8, [x19]
	ldr	x9, [x20]
	add	x1, x9, x8
	bl	_writel
Lloh24:
	adrp	x8, _EMAC_MAC_IPGT_FULL_DUPLEX@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EMAC_MAC_IPGT_FULL_DUPLEX@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	ldr	x8, [x19]
Lloh27:
	adrp	x9, _EMAC_MAC_IPGT_REG@GOTPAGE
Lloh28:
	ldr	x9, [x9, _EMAC_MAC_IPGT_REG@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh30:
	adrp	x8, _EMAC_MAC_IPGR_IPG1@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EMAC_MAC_IPGR_IPG1@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _EMAC_MAC_IPGR_IPG2@GOTPAGE
Lloh34:
	ldr	x9, [x9, _EMAC_MAC_IPGR_IPG2@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w0, w9, w8, lsl #8
	ldr	x8, [x19]
Lloh36:
	adrp	x9, _EMAC_MAC_IPGR_REG@GOTPAGE
Lloh37:
	ldr	x9, [x9, _EMAC_MAC_IPGR_REG@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh39:
	adrp	x8, _EMAC_MAC_CLRT_COLLISION_WINDOW@GOTPAGE
Lloh40:
	ldr	x8, [x8, _EMAC_MAC_CLRT_COLLISION_WINDOW@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
Lloh42:
	adrp	x9, _EMAC_MAC_CLRT_RM@GOTPAGE
Lloh43:
	ldr	x9, [x9, _EMAC_MAC_CLRT_RM@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	orr	w0, w9, w8, lsl #8
	ldr	x8, [x19]
Lloh45:
	adrp	x9, _EMAC_MAC_CLRT_REG@GOTPAGE
Lloh46:
	ldr	x9, [x9, _EMAC_MAC_CLRT_REG@GOTPAGEOFF]
Lloh47:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh48:
	adrp	x8, _EMAC_MAX_FRAME_LEN@GOTPAGE
Lloh49:
	ldr	x8, [x8, _EMAC_MAX_FRAME_LEN@GOTPAGEOFF]
Lloh50:
	ldr	w0, [x8]
	ldr	x8, [x19]
Lloh51:
	adrp	x9, _EMAC_MAC_MAXF_REG@GOTPAGE
Lloh52:
	ldr	x9, [x9, _EMAC_MAC_MAXF_REG@GOTPAGEOFF]
Lloh53:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.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 AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_EMAC_TX_MODE_REG,8,3           ; @EMAC_TX_MODE_REG
	.comm	_EMAC_TX_MODE_ABORTED_FRAME_EN,4,2 ; @EMAC_TX_MODE_ABORTED_FRAME_EN
	.comm	_EMAC_MAC_CTL0_REG,8,3          ; @EMAC_MAC_CTL0_REG
	.comm	_EMAC_MAC_CTL0_RX_FLOW_CTL_EN,4,2 ; @EMAC_MAC_CTL0_RX_FLOW_CTL_EN
	.comm	_EMAC_MAC_CTL0_TX_FLOW_CTL_EN,4,2 ; @EMAC_MAC_CTL0_TX_FLOW_CTL_EN
	.comm	_EMAC_MAC_CTL1_REG,8,3          ; @EMAC_MAC_CTL1_REG
	.comm	_EMAC_MAC_CTL1_LEN_CHECK_EN,4,2 ; @EMAC_MAC_CTL1_LEN_CHECK_EN
	.comm	_EMAC_MAC_CTL1_CRC_EN,4,2       ; @EMAC_MAC_CTL1_CRC_EN
	.comm	_EMAC_MAC_CTL1_PAD_EN,4,2       ; @EMAC_MAC_CTL1_PAD_EN
	.comm	_EMAC_MAC_IPGT_FULL_DUPLEX,4,2  ; @EMAC_MAC_IPGT_FULL_DUPLEX
	.comm	_EMAC_MAC_IPGT_REG,8,3          ; @EMAC_MAC_IPGT_REG
	.comm	_EMAC_MAC_IPGR_IPG1,4,2         ; @EMAC_MAC_IPGR_IPG1
	.comm	_EMAC_MAC_IPGR_IPG2,4,2         ; @EMAC_MAC_IPGR_IPG2
	.comm	_EMAC_MAC_IPGR_REG,8,3          ; @EMAC_MAC_IPGR_REG
	.comm	_EMAC_MAC_CLRT_COLLISION_WINDOW,4,2 ; @EMAC_MAC_CLRT_COLLISION_WINDOW
	.comm	_EMAC_MAC_CLRT_RM,4,2           ; @EMAC_MAC_CLRT_RM
	.comm	_EMAC_MAC_CLRT_REG,8,3          ; @EMAC_MAC_CLRT_REG
	.comm	_EMAC_MAX_FRAME_LEN,4,2         ; @EMAC_MAX_FRAME_LEN
	.comm	_EMAC_MAC_MAXF_REG,8,3          ; @EMAC_MAC_MAXF_REG
	.no_dead_strip	_emac_setup
.subsections_via_symbols
