	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt7620_fwd_config
_mt7620_fwd_config:                     ## @mt7620_fwd_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
	callq	_priv_netdev
	movq	%rax, %rbx
	movq	_MT7620A_GDMA1_FWD_CFG@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_fe_r32
	andl	$-8, %eax
	movl	(%r14), %esi
	movl	%eax, %edi
	callq	_fe_w32
	movq	_NETIF_F_IP_CSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	(%rbx), %edi
	callq	_mt7620_txcsum_config
	movq	_NETIF_F_RXCSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	(%rbx), %edi
	callq	_mt7620_rxcsum_config
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MT7620A_GDMA1_FWD_CFG,4,2      ## @MT7620A_GDMA1_FWD_CFG
	.comm	_NETIF_F_IP_CSUM,4,2            ## @NETIF_F_IP_CSUM
	.comm	_NETIF_F_RXCSUM,4,2             ## @NETIF_F_RXCSUM
	.no_dead_strip	_mt7620_fwd_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt7620_fwd_config
_mt7620_fwd_config:                     ; @mt7620_fwd_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
	bl	_priv_netdev
	mov	x19, x0
Lloh0:
	adrp	x20, _MT7620A_GDMA1_FWD_CFG@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MT7620A_GDMA1_FWD_CFG@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_fe_r32
	and	w0, w0, #0xfffffff8
	ldr	w1, [x20]
	bl	_fe_w32
	ldr	w8, [x19]
Lloh2:
	adrp	x9, _NETIF_F_IP_CSUM@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NETIF_F_IP_CSUM@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	and	w0, w9, w8
	bl	_mt7620_txcsum_config
	ldr	w8, [x19]
Lloh5:
	adrp	x9, _NETIF_F_RXCSUM@GOTPAGE
Lloh6:
	ldr	x9, [x9, _NETIF_F_RXCSUM@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	and	w0, w9, w8
	bl	_mt7620_rxcsum_config
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MT7620A_GDMA1_FWD_CFG,4,2      ; @MT7620A_GDMA1_FWD_CFG
	.comm	_NETIF_F_IP_CSUM,4,2            ; @NETIF_F_IP_CSUM
	.comm	_NETIF_F_RXCSUM,4,2             ; @NETIF_F_RXCSUM
	.no_dead_strip	_mt7620_fwd_config
.subsections_via_symbols
