	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function moxart_mac_enable
_moxart_mac_enable:                     ## @moxart_mac_enable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	_REG_INT_TIMER_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	movl	$4112, %edi                     ## imm = 0x1010
	callq	_writel
	movq	_REG_APOLL_TIMER_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	movl	$1, %edi
	callq	_writel
	movq	_REG_DMA_BLEN_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	movl	$912, %edi                      ## imm = 0x390
	callq	_writel
	movq	_RPKT_FINISH_M@GOTPCREL(%rip), %rax
	movq	_XPKT_FINISH_M@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	orl	(%rbx), %edi
	movl	%edi, (%rbx)
	movq	_REG_INTERRUPT_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_writel
	movq	_RCV_EN@GOTPCREL(%rip), %rax
	movq	_XMT_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_RDMA_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_XDMA_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	orl	4(%rbx), %edi
	movl	%edi, 4(%rbx)
	movq	_REG_MAC_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_INT_TIMER_CTRL,8,3         ## @REG_INT_TIMER_CTRL
	.comm	_REG_APOLL_TIMER_CTRL,8,3       ## @REG_APOLL_TIMER_CTRL
	.comm	_REG_DMA_BLEN_CTRL,8,3          ## @REG_DMA_BLEN_CTRL
	.comm	_RPKT_FINISH_M,4,2              ## @RPKT_FINISH_M
	.comm	_XPKT_FINISH_M,4,2              ## @XPKT_FINISH_M
	.comm	_REG_INTERRUPT_MASK,8,3         ## @REG_INTERRUPT_MASK
	.comm	_RCV_EN,4,2                     ## @RCV_EN
	.comm	_XMT_EN,4,2                     ## @XMT_EN
	.comm	_RDMA_EN,4,2                    ## @RDMA_EN
	.comm	_XDMA_EN,4,2                    ## @XDMA_EN
	.comm	_REG_MAC_CTRL,8,3               ## @REG_MAC_CTRL
	.no_dead_strip	_moxart_mac_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function moxart_mac_enable
_moxart_mac_enable:                     ; @moxart_mac_enable
	.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, #8]
Lloh0:
	adrp	x9, _REG_INT_TIMER_CTRL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _REG_INT_TIMER_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #4112
	bl	_writel
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _REG_APOLL_TIMER_CTRL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _REG_APOLL_TIMER_CTRL@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #1
	bl	_writel
	ldr	x8, [x19, #8]
Lloh6:
	adrp	x9, _REG_DMA_BLEN_CTRL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _REG_DMA_BLEN_CTRL@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #912
	bl	_writel
Lloh9:
	adrp	x8, _RPKT_FINISH_M@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RPKT_FINISH_M@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _XPKT_FINISH_M@GOTPAGE
Lloh13:
	ldr	x9, [x9, _XPKT_FINISH_M@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19]
	orr	w0, w8, w9
	str	w0, [x19]
	ldr	x8, [x19, #8]
Lloh15:
	adrp	x9, _REG_INTERRUPT_MASK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _REG_INTERRUPT_MASK@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh18:
	adrp	x8, _RCV_EN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RCV_EN@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _XMT_EN@GOTPAGE
Lloh22:
	ldr	x9, [x9, _XMT_EN@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh24:
	adrp	x9, _RDMA_EN@GOTPAGE
Lloh25:
	ldr	x9, [x9, _RDMA_EN@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh27:
	adrp	x9, _XDMA_EN@GOTPAGE
Lloh28:
	ldr	x9, [x9, _XDMA_EN@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [x19, #4]
	orr	w0, w8, w9
	str	w0, [x19, #4]
	ldr	x8, [x19, #8]
Lloh30:
	adrp	x9, _REG_MAC_CTRL@GOTPAGE
Lloh31:
	ldr	x9, [x9, _REG_MAC_CTRL@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	add	x1, x9, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writel
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_INT_TIMER_CTRL,8,3         ; @REG_INT_TIMER_CTRL
	.comm	_REG_APOLL_TIMER_CTRL,8,3       ; @REG_APOLL_TIMER_CTRL
	.comm	_REG_DMA_BLEN_CTRL,8,3          ; @REG_DMA_BLEN_CTRL
	.comm	_RPKT_FINISH_M,4,2              ; @RPKT_FINISH_M
	.comm	_XPKT_FINISH_M,4,2              ; @XPKT_FINISH_M
	.comm	_REG_INTERRUPT_MASK,8,3         ; @REG_INTERRUPT_MASK
	.comm	_RCV_EN,4,2                     ; @RCV_EN
	.comm	_XMT_EN,4,2                     ; @XMT_EN
	.comm	_RDMA_EN,4,2                    ; @RDMA_EN
	.comm	_XDMA_EN,4,2                    ; @XDMA_EN
	.comm	_REG_MAC_CTRL,8,3               ; @REG_MAC_CTRL
	.no_dead_strip	_moxart_mac_enable
.subsections_via_symbols
