	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emac_mac_dma_rings_config
_emac_mac_dma_rings_config:             ## @emac_mac_dma_rings_config
	.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
	movq	%rdi, %rbx
	movl	36(%rdi), %edi
	callq	_upper_32_bits
	movq	_EMAC_DESC_CTRL_1@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	8(%rbx), %rsi
	movl	%eax, %edi
	callq	_writel
	movl	36(%rbx), %edi
	callq	_lower_32_bits
	movq	_EMAC_DESC_CTRL_8@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	8(%rbx), %rsi
	movl	%eax, %edi
	callq	_writel
	movq	_TPD_RING_SIZE_BMSK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	32(%rbx), %edi
	movq	_EMAC_DESC_CTRL_9@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_writel
	movl	28(%rbx), %edi
	callq	_upper_32_bits
	movq	_EMAC_DESC_CTRL_0@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	8(%rbx), %rsi
	movl	%eax, %edi
	callq	_writel
	movl	28(%rbx), %edi
	callq	_lower_32_bits
	movq	_EMAC_DESC_CTRL_2@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	8(%rbx), %rsi
	movl	%eax, %edi
	callq	_writel
	movl	20(%rbx), %edi
	callq	_lower_32_bits
	movq	_EMAC_DESC_CTRL_5@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	8(%rbx), %rsi
	movl	%eax, %edi
	callq	_writel
	movq	_RFD_RING_SIZE_BMSK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	24(%rbx), %edi
	movq	_EMAC_DESC_CTRL_3@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_writel
	movq	_RRD_RING_SIZE_BMSK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	16(%rbx), %edi
	movq	_EMAC_DESC_CTRL_6@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_writel
	movq	_RX_BUFFER_SIZE_BMSK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	(%rbx), %edi
	movq	_EMAC_DESC_CTRL_4@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_writel
	movq	_EMAC_DESC_CTRL_11@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_EMAC_INTER_SRAM_PART9@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	movl	$1, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EMAC_DESC_CTRL_1,8,3           ## @EMAC_DESC_CTRL_1
	.comm	_EMAC_DESC_CTRL_8,8,3           ## @EMAC_DESC_CTRL_8
	.comm	_TPD_RING_SIZE_BMSK,4,2         ## @TPD_RING_SIZE_BMSK
	.comm	_EMAC_DESC_CTRL_9,8,3           ## @EMAC_DESC_CTRL_9
	.comm	_EMAC_DESC_CTRL_0,8,3           ## @EMAC_DESC_CTRL_0
	.comm	_EMAC_DESC_CTRL_2,8,3           ## @EMAC_DESC_CTRL_2
	.comm	_EMAC_DESC_CTRL_5,8,3           ## @EMAC_DESC_CTRL_5
	.comm	_RFD_RING_SIZE_BMSK,4,2         ## @RFD_RING_SIZE_BMSK
	.comm	_EMAC_DESC_CTRL_3,8,3           ## @EMAC_DESC_CTRL_3
	.comm	_RRD_RING_SIZE_BMSK,4,2         ## @RRD_RING_SIZE_BMSK
	.comm	_EMAC_DESC_CTRL_6,8,3           ## @EMAC_DESC_CTRL_6
	.comm	_RX_BUFFER_SIZE_BMSK,4,2        ## @RX_BUFFER_SIZE_BMSK
	.comm	_EMAC_DESC_CTRL_4,8,3           ## @EMAC_DESC_CTRL_4
	.comm	_EMAC_DESC_CTRL_11,8,3          ## @EMAC_DESC_CTRL_11
	.comm	_EMAC_INTER_SRAM_PART9,8,3      ## @EMAC_INTER_SRAM_PART9
	.no_dead_strip	_emac_mac_dma_rings_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emac_mac_dma_rings_config
_emac_mac_dma_rings_config:             ; @emac_mac_dma_rings_config
	.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
	mov	x19, x0
	ldr	w0, [x0, #36]
	bl	_upper_32_bits
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, _EMAC_DESC_CTRL_1@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EMAC_DESC_CTRL_1@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w0, [x19, #36]
	bl	_lower_32_bits
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _EMAC_DESC_CTRL_8@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EMAC_DESC_CTRL_8@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w8, [x19, #32]
Lloh6:
	adrp	x9, _TPD_RING_SIZE_BMSK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TPD_RING_SIZE_BMSK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	and	w0, w9, w8
	ldr	x8, [x19, #8]
Lloh9:
	adrp	x9, _EMAC_DESC_CTRL_9@GOTPAGE
Lloh10:
	ldr	x9, [x9, _EMAC_DESC_CTRL_9@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w0, [x19, #28]
	bl	_upper_32_bits
	ldr	x8, [x19, #8]
Lloh12:
	adrp	x9, _EMAC_DESC_CTRL_0@GOTPAGE
Lloh13:
	ldr	x9, [x9, _EMAC_DESC_CTRL_0@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w0, [x19, #28]
	bl	_lower_32_bits
	ldr	x8, [x19, #8]
Lloh15:
	adrp	x9, _EMAC_DESC_CTRL_2@GOTPAGE
Lloh16:
	ldr	x9, [x9, _EMAC_DESC_CTRL_2@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w0, [x19, #20]
	bl	_lower_32_bits
	ldr	x8, [x19, #8]
Lloh18:
	adrp	x9, _EMAC_DESC_CTRL_5@GOTPAGE
Lloh19:
	ldr	x9, [x9, _EMAC_DESC_CTRL_5@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w8, [x19, #24]
Lloh21:
	adrp	x9, _RFD_RING_SIZE_BMSK@GOTPAGE
Lloh22:
	ldr	x9, [x9, _RFD_RING_SIZE_BMSK@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	and	w0, w9, w8
	ldr	x8, [x19, #8]
Lloh24:
	adrp	x9, _EMAC_DESC_CTRL_3@GOTPAGE
Lloh25:
	ldr	x9, [x9, _EMAC_DESC_CTRL_3@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w8, [x19, #16]
Lloh27:
	adrp	x9, _RRD_RING_SIZE_BMSK@GOTPAGE
Lloh28:
	ldr	x9, [x9, _RRD_RING_SIZE_BMSK@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	and	w0, w9, w8
	ldr	x8, [x19, #8]
Lloh30:
	adrp	x9, _EMAC_DESC_CTRL_6@GOTPAGE
Lloh31:
	ldr	x9, [x9, _EMAC_DESC_CTRL_6@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w8, [x19]
Lloh33:
	adrp	x9, _RX_BUFFER_SIZE_BMSK@GOTPAGE
Lloh34:
	ldr	x9, [x9, _RX_BUFFER_SIZE_BMSK@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	and	w0, w9, w8
	ldr	x8, [x19, #8]
Lloh36:
	adrp	x9, _EMAC_DESC_CTRL_4@GOTPAGE
Lloh37:
	ldr	x9, [x9, _EMAC_DESC_CTRL_4@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19, #8]
Lloh39:
	adrp	x9, _EMAC_DESC_CTRL_11@GOTPAGE
Lloh40:
	ldr	x9, [x9, _EMAC_DESC_CTRL_11@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	x8, [x19, #8]
Lloh42:
	adrp	x9, _EMAC_INTER_SRAM_PART9@GOTPAGE
Lloh43:
	ldr	x9, [x9, _EMAC_INTER_SRAM_PART9@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writel
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_EMAC_DESC_CTRL_1,8,3           ; @EMAC_DESC_CTRL_1
	.comm	_EMAC_DESC_CTRL_8,8,3           ; @EMAC_DESC_CTRL_8
	.comm	_TPD_RING_SIZE_BMSK,4,2         ; @TPD_RING_SIZE_BMSK
	.comm	_EMAC_DESC_CTRL_9,8,3           ; @EMAC_DESC_CTRL_9
	.comm	_EMAC_DESC_CTRL_0,8,3           ; @EMAC_DESC_CTRL_0
	.comm	_EMAC_DESC_CTRL_2,8,3           ; @EMAC_DESC_CTRL_2
	.comm	_EMAC_DESC_CTRL_5,8,3           ; @EMAC_DESC_CTRL_5
	.comm	_RFD_RING_SIZE_BMSK,4,2         ; @RFD_RING_SIZE_BMSK
	.comm	_EMAC_DESC_CTRL_3,8,3           ; @EMAC_DESC_CTRL_3
	.comm	_RRD_RING_SIZE_BMSK,4,2         ; @RRD_RING_SIZE_BMSK
	.comm	_EMAC_DESC_CTRL_6,8,3           ; @EMAC_DESC_CTRL_6
	.comm	_RX_BUFFER_SIZE_BMSK,4,2        ; @RX_BUFFER_SIZE_BMSK
	.comm	_EMAC_DESC_CTRL_4,8,3           ; @EMAC_DESC_CTRL_4
	.comm	_EMAC_DESC_CTRL_11,8,3          ; @EMAC_DESC_CTRL_11
	.comm	_EMAC_INTER_SRAM_PART9,8,3      ; @EMAC_INTER_SRAM_PART9
	.no_dead_strip	_emac_mac_dma_rings_config
.subsections_via_symbols
