	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emac_mac_tx_config
_emac_mac_tx_config:                    ## @emac_mac_tx_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
	movq	_EMAC_MAX_TX_OFFLOAD_THRESH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	sarl	$3, %edi
	movq	_JUMBO_TASK_OFFLOAD_THRESHOLD_BMSK@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
	movq	_EMAC_TXQ_CTRL_1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_writel
	movl	(%rbx), %edi
	movq	_NUM_TPD_BURST_PREF_SHFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edi
	movq	_NUM_TPD_BURST_PREF_BMSK@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
	movq	_TXQ_MODE@GOTPCREL(%rip), %rax
	movq	_NUM_TXF_BURST_PREF_SHFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$256, %edx                      ## imm = 0x100
	shll	%cl, %edx
	movq	_NUM_TXF_BURST_PREF_BMSK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edx
	orl	(%rax), %edi
	movq	_LS_8023_SP@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	orl	%edx, %edi
	movq	_EMAC_TXQ_CTRL_0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_writel
	movq	_EMAC_TXQ_CTRL_2@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%rbx), %rdi
	movq	_TXF_HWM_BMSK@GOTPCREL(%rip), %rax
	movq	_TXF_LWM_BMSK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_emac_reg_update32              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EMAC_MAX_TX_OFFLOAD_THRESH,4,2 ## @EMAC_MAX_TX_OFFLOAD_THRESH
	.comm	_JUMBO_TASK_OFFLOAD_THRESHOLD_BMSK,4,2 ## @JUMBO_TASK_OFFLOAD_THRESHOLD_BMSK
	.comm	_EMAC_TXQ_CTRL_1,8,3            ## @EMAC_TXQ_CTRL_1
	.comm	_NUM_TPD_BURST_PREF_SHFT,4,2    ## @NUM_TPD_BURST_PREF_SHFT
	.comm	_NUM_TPD_BURST_PREF_BMSK,4,2    ## @NUM_TPD_BURST_PREF_BMSK
	.comm	_TXQ_MODE,4,2                   ## @TXQ_MODE
	.comm	_LS_8023_SP,4,2                 ## @LS_8023_SP
	.comm	_NUM_TXF_BURST_PREF_SHFT,4,2    ## @NUM_TXF_BURST_PREF_SHFT
	.comm	_NUM_TXF_BURST_PREF_BMSK,4,2    ## @NUM_TXF_BURST_PREF_BMSK
	.comm	_EMAC_TXQ_CTRL_0,8,3            ## @EMAC_TXQ_CTRL_0
	.comm	_EMAC_TXQ_CTRL_2,8,3            ## @EMAC_TXQ_CTRL_2
	.comm	_TXF_HWM_BMSK,4,2               ## @TXF_HWM_BMSK
	.comm	_TXF_LWM_BMSK,4,2               ## @TXF_LWM_BMSK
	.no_dead_strip	_emac_mac_tx_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_tx_config
_emac_mac_tx_config:                    ; @emac_mac_tx_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
Lloh0:
	adrp	x8, _EMAC_MAX_TX_OFFLOAD_THRESH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EMAC_MAX_TX_OFFLOAD_THRESH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _JUMBO_TASK_OFFLOAD_THRESHOLD_BMSK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _JUMBO_TASK_OFFLOAD_THRESHOLD_BMSK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w0, w9, w8, asr #3
	ldr	x8, [x19, #8]
Lloh6:
	adrp	x9, _EMAC_TXQ_CTRL_1@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EMAC_TXQ_CTRL_1@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh9:
	adrp	x8, _NUM_TPD_BURST_PREF_SHFT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NUM_TPD_BURST_PREF_SHFT@GOTPAGEOFF]
	ldr	w9, [x19]
Lloh11:
	ldr	w8, [x8]
	lsl	w8, w9, w8
Lloh12:
	adrp	x9, _NUM_TPD_BURST_PREF_BMSK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _NUM_TPD_BURST_PREF_BMSK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	and	w8, w8, w9
Lloh15:
	adrp	x9, _TXQ_MODE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _TXQ_MODE@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x10, _LS_8023_SP@GOTPAGE
Lloh19:
	ldr	x10, [x10, _LS_8023_SP@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
Lloh21:
	adrp	x11, _NUM_TXF_BURST_PREF_SHFT@GOTPAGE
Lloh22:
	ldr	x11, [x11, _NUM_TXF_BURST_PREF_SHFT@GOTPAGEOFF]
Lloh23:
	ldr	w11, [x11]
	mov	w12, #256
	lsl	w11, w12, w11
Lloh24:
	adrp	x12, _NUM_TXF_BURST_PREF_BMSK@GOTPAGE
Lloh25:
	ldr	x12, [x12, _NUM_TXF_BURST_PREF_BMSK@GOTPAGEOFF]
Lloh26:
	ldr	w12, [x12]
	and	w11, w11, w12
	orr	w8, w8, w9
	orr	w8, w8, w10
	orr	w0, w8, w11
	ldr	x8, [x19, #8]
Lloh27:
	adrp	x9, _EMAC_TXQ_CTRL_0@GOTPAGE
Lloh28:
	ldr	x9, [x9, _EMAC_TXQ_CTRL_0@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19, #8]
Lloh30:
	adrp	x9, _EMAC_TXQ_CTRL_2@GOTPAGE
Lloh31:
	ldr	x9, [x9, _EMAC_TXQ_CTRL_2@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	add	x0, x9, x8
Lloh33:
	adrp	x8, _TXF_HWM_BMSK@GOTPAGE
Lloh34:
	ldr	x8, [x8, _TXF_HWM_BMSK@GOTPAGEOFF]
Lloh35:
	adrp	x9, _TXF_LWM_BMSK@GOTPAGE
Lloh36:
	ldr	x9, [x9, _TXF_LWM_BMSK@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
Lloh38:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_emac_reg_update32
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh37
	.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_MAX_TX_OFFLOAD_THRESH,4,2 ; @EMAC_MAX_TX_OFFLOAD_THRESH
	.comm	_JUMBO_TASK_OFFLOAD_THRESHOLD_BMSK,4,2 ; @JUMBO_TASK_OFFLOAD_THRESHOLD_BMSK
	.comm	_EMAC_TXQ_CTRL_1,8,3            ; @EMAC_TXQ_CTRL_1
	.comm	_NUM_TPD_BURST_PREF_SHFT,4,2    ; @NUM_TPD_BURST_PREF_SHFT
	.comm	_NUM_TPD_BURST_PREF_BMSK,4,2    ; @NUM_TPD_BURST_PREF_BMSK
	.comm	_TXQ_MODE,4,2                   ; @TXQ_MODE
	.comm	_LS_8023_SP,4,2                 ; @LS_8023_SP
	.comm	_NUM_TXF_BURST_PREF_SHFT,4,2    ; @NUM_TXF_BURST_PREF_SHFT
	.comm	_NUM_TXF_BURST_PREF_BMSK,4,2    ; @NUM_TXF_BURST_PREF_BMSK
	.comm	_EMAC_TXQ_CTRL_0,8,3            ; @EMAC_TXQ_CTRL_0
	.comm	_EMAC_TXQ_CTRL_2,8,3            ; @EMAC_TXQ_CTRL_2
	.comm	_TXF_HWM_BMSK,4,2               ; @TXF_HWM_BMSK
	.comm	_TXF_LWM_BMSK,4,2               ; @TXF_LWM_BMSK
	.no_dead_strip	_emac_mac_tx_config
.subsections_via_symbols
