	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emac_mac_rx_config
_emac_mac_rx_config:                    ## @emac_mac_rx_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	movq	_NUM_RFD_BURST_PREF_SHFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edi
	movq	_NUM_RFD_BURST_PREF_BMSK@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
	movq	_SP_IPV6@GOTPCREL(%rip), %rax
	movq	_CUT_THRU_EN@GOTPCREL(%rip), %rcx
	orl	(%rax), %edi
	orl	(%rcx), %edi
	movq	_EMAC_RXQ_CTRL_0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_writel
	movq	_EMAC_RXQ_CTRL_1@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	8(%rbx), %rdi
	callq	_readl
	movq	_JUMBO_1KAH_BMSK@GOTPCREL(%rip), %rcx
	movq	_RFD_PREF_LOW_THRESHOLD_BMSK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_RFD_PREF_UP_THRESHOLD_BMSK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	_JUMBO_1KAH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_JUMBO_1KAH_SHFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	_RFD_PREF_LOW_TH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_RFD_PREF_LOW_THRESHOLD_SHFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %esi
	orl	%eax, %esi
	orl	%edx, %esi
	movq	_RFD_PREF_UP_TH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RFD_PREF_UP_THRESHOLD_SHFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edi
	orl	%esi, %edi
	movq	(%r14), %rsi
	addq	8(%rbx), %rsi
	callq	_writel
	movq	_EMAC_RXQ_CTRL_2@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	8(%rbx), %rdi
	callq	_readl
	movq	_RXF_DOF_THRESHOLD_BMSK@GOTPCREL(%rip), %rcx
	movq	_RXF_UOF_THRESHOLD_BMSK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	_RXF_DOF_THRESFHOLD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_RXF_DOF_THRESHOLD_SHFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%edx, %eax
	movq	_RXF_UOF_THRESFHOLD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_RXF_UOF_THRESHOLD_SHFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edi
	orl	%eax, %edi
	movq	(%r14), %rsi
	addq	8(%rbx), %rsi
	callq	_writel
	movq	_EMAC_RXQ_CTRL_3@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	8(%rbx), %rdi
	callq	_readl
	movq	_RXD_TIMER_BMSK@GOTPCREL(%rip), %rcx
	movq	_RXD_THRESHOLD_BMSK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	_RXD_TH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RXD_THRESHOLD_SHFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edi
	orl	%edx, %edi
	movq	(%r14), %rsi
	addq	8(%rbx), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_RFD_BURST_PREF_SHFT,4,2    ## @NUM_RFD_BURST_PREF_SHFT
	.comm	_NUM_RFD_BURST_PREF_BMSK,4,2    ## @NUM_RFD_BURST_PREF_BMSK
	.comm	_SP_IPV6,4,2                    ## @SP_IPV6
	.comm	_CUT_THRU_EN,4,2                ## @CUT_THRU_EN
	.comm	_EMAC_RXQ_CTRL_0,8,3            ## @EMAC_RXQ_CTRL_0
	.comm	_EMAC_RXQ_CTRL_1,8,3            ## @EMAC_RXQ_CTRL_1
	.comm	_JUMBO_1KAH_BMSK,4,2            ## @JUMBO_1KAH_BMSK
	.comm	_RFD_PREF_LOW_THRESHOLD_BMSK,4,2 ## @RFD_PREF_LOW_THRESHOLD_BMSK
	.comm	_RFD_PREF_UP_THRESHOLD_BMSK,4,2 ## @RFD_PREF_UP_THRESHOLD_BMSK
	.comm	_JUMBO_1KAH,4,2                 ## @JUMBO_1KAH
	.comm	_JUMBO_1KAH_SHFT,4,2            ## @JUMBO_1KAH_SHFT
	.comm	_RFD_PREF_LOW_TH,4,2            ## @RFD_PREF_LOW_TH
	.comm	_RFD_PREF_LOW_THRESHOLD_SHFT,4,2 ## @RFD_PREF_LOW_THRESHOLD_SHFT
	.comm	_RFD_PREF_UP_TH,4,2             ## @RFD_PREF_UP_TH
	.comm	_RFD_PREF_UP_THRESHOLD_SHFT,4,2 ## @RFD_PREF_UP_THRESHOLD_SHFT
	.comm	_EMAC_RXQ_CTRL_2,8,3            ## @EMAC_RXQ_CTRL_2
	.comm	_RXF_DOF_THRESHOLD_BMSK,4,2     ## @RXF_DOF_THRESHOLD_BMSK
	.comm	_RXF_UOF_THRESHOLD_BMSK,4,2     ## @RXF_UOF_THRESHOLD_BMSK
	.comm	_RXF_DOF_THRESFHOLD,4,2         ## @RXF_DOF_THRESFHOLD
	.comm	_RXF_DOF_THRESHOLD_SHFT,4,2     ## @RXF_DOF_THRESHOLD_SHFT
	.comm	_RXF_UOF_THRESFHOLD,4,2         ## @RXF_UOF_THRESFHOLD
	.comm	_RXF_UOF_THRESHOLD_SHFT,4,2     ## @RXF_UOF_THRESHOLD_SHFT
	.comm	_EMAC_RXQ_CTRL_3,8,3            ## @EMAC_RXQ_CTRL_3
	.comm	_RXD_TIMER_BMSK,4,2             ## @RXD_TIMER_BMSK
	.comm	_RXD_THRESHOLD_BMSK,4,2         ## @RXD_THRESHOLD_BMSK
	.comm	_RXD_TH,4,2                     ## @RXD_TH
	.comm	_RXD_THRESHOLD_SHFT,4,2         ## @RXD_THRESHOLD_SHFT
	.no_dead_strip	_emac_mac_rx_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_rx_config
_emac_mac_rx_config:                    ; @emac_mac_rx_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	w8, [x0]
Lloh0:
	adrp	x9, _NUM_RFD_BURST_PREF_SHFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NUM_RFD_BURST_PREF_SHFT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	lsl	w8, w8, w9
Lloh3:
	adrp	x9, _NUM_RFD_BURST_PREF_BMSK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NUM_RFD_BURST_PREF_BMSK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _SP_IPV6@GOTPAGE
Lloh7:
	ldr	x10, [x10, _SP_IPV6@GOTPAGEOFF]
	and	w8, w8, w9
Lloh8:
	ldr	w9, [x10]
Lloh9:
	adrp	x10, _CUT_THRU_EN@GOTPAGE
Lloh10:
	ldr	x10, [x10, _CUT_THRU_EN@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w8, w8, w9
	orr	w0, w8, w10
	ldr	x8, [x19, #8]
Lloh12:
	adrp	x9, _EMAC_RXQ_CTRL_0@GOTPAGE
Lloh13:
	ldr	x9, [x9, _EMAC_RXQ_CTRL_0@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19, #8]
Lloh15:
	adrp	x20, _EMAC_RXQ_CTRL_1@GOTPAGE
Lloh16:
	ldr	x20, [x20, _EMAC_RXQ_CTRL_1@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl
Lloh17:
	adrp	x8, _JUMBO_1KAH_BMSK@GOTPAGE
Lloh18:
	ldr	x8, [x8, _JUMBO_1KAH_BMSK@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _RFD_PREF_LOW_THRESHOLD_BMSK@GOTPAGE
Lloh21:
	ldr	x9, [x9, _RFD_PREF_LOW_THRESHOLD_BMSK@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh23:
	adrp	x9, _RFD_PREF_UP_THRESHOLD_BMSK@GOTPAGE
Lloh24:
	ldr	x9, [x9, _RFD_PREF_UP_THRESHOLD_BMSK@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w8, w8, w9
	bic	w8, w0, w8
Lloh26:
	adrp	x9, _JUMBO_1KAH@GOTPAGE
Lloh27:
	ldr	x9, [x9, _JUMBO_1KAH@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
Lloh29:
	adrp	x10, _JUMBO_1KAH_SHFT@GOTPAGE
Lloh30:
	ldr	x10, [x10, _JUMBO_1KAH_SHFT@GOTPAGEOFF]
Lloh31:
	ldr	w10, [x10]
	lsl	w9, w9, w10
Lloh32:
	adrp	x10, _RFD_PREF_LOW_TH@GOTPAGE
Lloh33:
	ldr	x10, [x10, _RFD_PREF_LOW_TH@GOTPAGEOFF]
Lloh34:
	ldr	w10, [x10]
Lloh35:
	adrp	x11, _RFD_PREF_LOW_THRESHOLD_SHFT@GOTPAGE
Lloh36:
	ldr	x11, [x11, _RFD_PREF_LOW_THRESHOLD_SHFT@GOTPAGEOFF]
Lloh37:
	ldr	w11, [x11]
Lloh38:
	adrp	x12, _RFD_PREF_UP_TH@GOTPAGE
Lloh39:
	ldr	x12, [x12, _RFD_PREF_UP_TH@GOTPAGEOFF]
	lsl	w10, w10, w11
Lloh40:
	ldr	w11, [x12]
Lloh41:
	adrp	x12, _RFD_PREF_UP_THRESHOLD_SHFT@GOTPAGE
Lloh42:
	ldr	x12, [x12, _RFD_PREF_UP_THRESHOLD_SHFT@GOTPAGEOFF]
Lloh43:
	ldr	w12, [x12]
	lsl	w11, w11, w12
	orr	w8, w9, w8
	orr	w8, w8, w10
	orr	w0, w8, w11
	ldr	x8, [x19, #8]
	ldr	x9, [x20]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19, #8]
Lloh44:
	adrp	x20, _EMAC_RXQ_CTRL_2@GOTPAGE
Lloh45:
	ldr	x20, [x20, _EMAC_RXQ_CTRL_2@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl
Lloh46:
	adrp	x8, _RXF_DOF_THRESHOLD_BMSK@GOTPAGE
Lloh47:
	ldr	x8, [x8, _RXF_DOF_THRESHOLD_BMSK@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
Lloh49:
	adrp	x9, _RXF_UOF_THRESHOLD_BMSK@GOTPAGE
Lloh50:
	ldr	x9, [x9, _RXF_UOF_THRESHOLD_BMSK@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh52:
	adrp	x9, _RXF_DOF_THRESFHOLD@GOTPAGE
Lloh53:
	ldr	x9, [x9, _RXF_DOF_THRESFHOLD@GOTPAGEOFF]
	bic	w8, w0, w8
Lloh54:
	ldr	w9, [x9]
Lloh55:
	adrp	x10, _RXF_DOF_THRESHOLD_SHFT@GOTPAGE
Lloh56:
	ldr	x10, [x10, _RXF_DOF_THRESHOLD_SHFT@GOTPAGEOFF]
Lloh57:
	ldr	w10, [x10]
	lsl	w9, w9, w10
Lloh58:
	adrp	x10, _RXF_UOF_THRESFHOLD@GOTPAGE
Lloh59:
	ldr	x10, [x10, _RXF_UOF_THRESFHOLD@GOTPAGEOFF]
Lloh60:
	ldr	w10, [x10]
Lloh61:
	adrp	x11, _RXF_UOF_THRESHOLD_SHFT@GOTPAGE
Lloh62:
	ldr	x11, [x11, _RXF_UOF_THRESHOLD_SHFT@GOTPAGEOFF]
Lloh63:
	ldr	w11, [x11]
	lsl	w10, w10, w11
	orr	w8, w9, w8
	orr	w0, w8, w10
	ldr	x8, [x19, #8]
	ldr	x9, [x20]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19, #8]
Lloh64:
	adrp	x20, _EMAC_RXQ_CTRL_3@GOTPAGE
Lloh65:
	ldr	x20, [x20, _EMAC_RXQ_CTRL_3@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl
Lloh66:
	adrp	x8, _RXD_TIMER_BMSK@GOTPAGE
Lloh67:
	ldr	x8, [x8, _RXD_TIMER_BMSK@GOTPAGEOFF]
Lloh68:
	ldr	w8, [x8]
Lloh69:
	adrp	x9, _RXD_THRESHOLD_BMSK@GOTPAGE
Lloh70:
	ldr	x9, [x9, _RXD_THRESHOLD_BMSK@GOTPAGEOFF]
Lloh71:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh72:
	adrp	x9, _RXD_TH@GOTPAGE
Lloh73:
	ldr	x9, [x9, _RXD_TH@GOTPAGEOFF]
	bic	w8, w0, w8
Lloh74:
	ldr	w9, [x9]
Lloh75:
	adrp	x10, _RXD_THRESHOLD_SHFT@GOTPAGE
Lloh76:
	ldr	x10, [x10, _RXD_THRESHOLD_SHFT@GOTPAGEOFF]
Lloh77:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w0, w9, w8
	ldr	x8, [x19, #8]
	ldr	x9, [x20]
	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	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.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	_NUM_RFD_BURST_PREF_SHFT,4,2    ; @NUM_RFD_BURST_PREF_SHFT
	.comm	_NUM_RFD_BURST_PREF_BMSK,4,2    ; @NUM_RFD_BURST_PREF_BMSK
	.comm	_SP_IPV6,4,2                    ; @SP_IPV6
	.comm	_CUT_THRU_EN,4,2                ; @CUT_THRU_EN
	.comm	_EMAC_RXQ_CTRL_0,8,3            ; @EMAC_RXQ_CTRL_0
	.comm	_EMAC_RXQ_CTRL_1,8,3            ; @EMAC_RXQ_CTRL_1
	.comm	_JUMBO_1KAH_BMSK,4,2            ; @JUMBO_1KAH_BMSK
	.comm	_RFD_PREF_LOW_THRESHOLD_BMSK,4,2 ; @RFD_PREF_LOW_THRESHOLD_BMSK
	.comm	_RFD_PREF_UP_THRESHOLD_BMSK,4,2 ; @RFD_PREF_UP_THRESHOLD_BMSK
	.comm	_JUMBO_1KAH,4,2                 ; @JUMBO_1KAH
	.comm	_JUMBO_1KAH_SHFT,4,2            ; @JUMBO_1KAH_SHFT
	.comm	_RFD_PREF_LOW_TH,4,2            ; @RFD_PREF_LOW_TH
	.comm	_RFD_PREF_LOW_THRESHOLD_SHFT,4,2 ; @RFD_PREF_LOW_THRESHOLD_SHFT
	.comm	_RFD_PREF_UP_TH,4,2             ; @RFD_PREF_UP_TH
	.comm	_RFD_PREF_UP_THRESHOLD_SHFT,4,2 ; @RFD_PREF_UP_THRESHOLD_SHFT
	.comm	_EMAC_RXQ_CTRL_2,8,3            ; @EMAC_RXQ_CTRL_2
	.comm	_RXF_DOF_THRESHOLD_BMSK,4,2     ; @RXF_DOF_THRESHOLD_BMSK
	.comm	_RXF_UOF_THRESHOLD_BMSK,4,2     ; @RXF_UOF_THRESHOLD_BMSK
	.comm	_RXF_DOF_THRESFHOLD,4,2         ; @RXF_DOF_THRESFHOLD
	.comm	_RXF_DOF_THRESHOLD_SHFT,4,2     ; @RXF_DOF_THRESHOLD_SHFT
	.comm	_RXF_UOF_THRESFHOLD,4,2         ; @RXF_UOF_THRESFHOLD
	.comm	_RXF_UOF_THRESHOLD_SHFT,4,2     ; @RXF_UOF_THRESHOLD_SHFT
	.comm	_EMAC_RXQ_CTRL_3,8,3            ; @EMAC_RXQ_CTRL_3
	.comm	_RXD_TIMER_BMSK,4,2             ; @RXD_TIMER_BMSK
	.comm	_RXD_THRESHOLD_BMSK,4,2         ; @RXD_THRESHOLD_BMSK
	.comm	_RXD_TH,4,2                     ; @RXD_TH
	.comm	_RXD_THRESHOLD_SHFT,4,2         ; @RXD_THRESHOLD_SHFT
	.no_dead_strip	_emac_mac_rx_config
.subsections_via_symbols
