	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_net_netdev_init
_nfp_net_netdev_init:                   ## @nfp_net_netdev_init
	.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, %r14
	movq	16(%rdi), %rbx
	movl	48(%rbx), %esi
	callq	_nfp_net_write_mac_addr
	movl	12(%r14), %eax
	movl	%eax, 44(%rbx)
	movl	(%r14), %eax
	movq	_NFP_NET_CFG_CTRL_LIVE_ADDR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_IFF_LIVE_ADDR_CHANGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 40(%rbx)
LBB0_2:
	movq	_NETIF_F_HIGHDMA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%esi, (%rbx)
	movq	_NFP_NET_CFG_CTRL_RXCSUM_ANY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_NETIF_F_RXCSUM@GOTPCREL(%rip), %rdx
	orl	(%rdx), %esi
	movl	%esi, (%rbx)
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	orl	%ecx, 8(%r14)
LBB0_4:
	movq	_NFP_NET_CFG_CTRL_TXCSUM@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movq	_NETIF_F_IP_CSUM@GOTPCREL(%rip), %rdx
	movq	_NETIF_F_IPV6_CSUM@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	orl	(%rdx), %edi
	orl	%edi, %esi
	movl	%esi, (%rbx)
	movl	(%rcx), %ecx
	orl	%ecx, 8(%r14)
LBB0_6:
	movq	_NFP_NET_CFG_CTRL_GATHER@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.7:
	movq	_NETIF_F_SG@GOTPCREL(%rip), %rdx
	orl	(%rdx), %esi
	movl	%esi, (%rbx)
	movl	(%rcx), %ecx
	orl	%ecx, 8(%r14)
LBB0_8:
	movq	_NFP_NET_CFG_CTRL_LSO@GOTPCREL(%rip), %r8
	testl	%eax, (%r8)
	je	LBB0_10
## %bb.9:
	cmpl	$2, 36(%r14)
	jg	LBB0_12
LBB0_10:
	movq	_NFP_NET_CFG_CTRL_LSO2@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
LBB0_12:
	movq	_NETIF_F_TSO@GOTPCREL(%rip), %rdx
	movq	_NETIF_F_TSO6@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rdx), %ecx
	orl	%esi, %ecx
	movl	%ecx, (%rbx)
	movq	_NFP_NET_CFG_CTRL_LSO2@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%eax, %edx
	jne	LBB0_14
## %bb.13:
	movl	(%r8), %edx
LBB0_14:
	orl	%edx, 8(%r14)
	jmp	LBB0_15
LBB0_11:
	movl	%esi, %ecx
LBB0_15:
	movq	_NFP_NET_CFG_CTRL_RSS_ANY@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_17
## %bb.16:
	movq	_NETIF_F_RXHASH@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, (%rbx)
LBB0_17:
	movq	_NFP_NET_CFG_CTRL_VXLAN@GOTPCREL(%rip), %r9
	movl	(%r9), %esi
	testl	%eax, %esi
	je	LBB0_21
## %bb.18:
	testl	%eax, (%r8)
	je	LBB0_20
## %bb.19:
	movq	_NETIF_F_GSO_UDP_TUNNEL@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, (%rbx)
	movl	(%r9), %esi
LBB0_20:
	orl	%esi, 8(%r14)
LBB0_21:
	movq	_NFP_NET_CFG_CTRL_NVGRE@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edx
	testl	%eax, %edx
	je	LBB0_25
## %bb.22:
	testl	%eax, (%r8)
	je	LBB0_24
## %bb.23:
	movq	_NETIF_F_GSO_GRE@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, (%rbx)
	movl	(%rdi), %edx
	movl	(%r9), %esi
LBB0_24:
	orl	%edx, 8(%r14)
LBB0_25:
	orl	%esi, %edx
	testl	%eax, %edx
	je	LBB0_27
## %bb.26:
	movl	%ecx, 4(%rbx)
LBB0_27:
	movl	%ecx, 8(%rbx)
	movq	_NFP_NET_CFG_CTRL_RXVLAN@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_29
## %bb.28:
	movq	_NETIF_F_HW_VLAN_CTAG_RX@GOTPCREL(%rip), %rsi
	orl	(%rsi), %ecx
	movl	%ecx, (%rbx)
	movl	(%rdx), %edx
	orl	%edx, 8(%r14)
LBB0_29:
	movq	_NFP_NET_CFG_CTRL_TXVLAN@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_33
## %bb.30:
	movq	_NFP_NET_CFG_CTRL_LSO2@GOTPCREL(%rip), %rsi
	testl	%eax, (%rsi)
	je	LBB0_32
## %bb.31:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_nn_warn
	movl	(%r14), %eax
	jmp	LBB0_33
LBB0_32:
	movq	_NETIF_F_HW_VLAN_CTAG_TX@GOTPCREL(%rip), %rsi
	orl	(%rsi), %ecx
	movl	%ecx, (%rbx)
	movl	(%rdx), %ecx
	orl	%ecx, 8(%r14)
LBB0_33:
	movq	_NFP_NET_CFG_CTRL_CTAG_FILTER@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_34
## %bb.35:
	movq	_NETIF_F_HW_VLAN_CTAG_FILTER@GOTPCREL(%rip), %rdx
	movl	(%rbx), %eax
	orl	(%rdx), %eax
	movl	%eax, (%rbx)
	movl	(%rcx), %ecx
	orl	%ecx, 8(%r14)
	jmp	LBB0_36
LBB0_34:
	movl	(%rbx), %eax
LBB0_36:
	movl	%eax, 12(%rbx)
	movl	32(%r14), %edi
	callq	_nfp_app_has_tc
	testq	%rax, %rax
	je	LBB0_39
## %bb.37:
	cmpq	$0, 24(%r14)
	je	LBB0_39
## %bb.38:
	movq	_NETIF_F_HW_TC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_39:
	movq	_NETIF_F_TSO@GOTPCREL(%rip), %rax
	movq	_NETIF_F_TSO6@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, 12(%rbx)
	movq	_NFP_NET_CFG_CTRL_LSO_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 8(%r14)
	movq	_nfp_net_netdev_ops@GOTPCREL(%rip), %rax
	movq	%rax, 32(%rbx)
	movl	$5000, %edi                     ## imm = 0x1388
	callq	_msecs_to_jiffies
	movl	%eax, 28(%rbx)
	movq	_ETH_MIN_MTU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movl	4(%r14), %eax
	movl	%eax, 20(%rbx)
	movq	_NFP_NET_LSO_MAX_SEGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	%rbx, %rdi
	callq	_netif_carrier_off
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_nfp_net_set_ethtool_ops        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NFP_NET_CFG_CTRL_LIVE_ADDR,4,2 ## @NFP_NET_CFG_CTRL_LIVE_ADDR
	.comm	_IFF_LIVE_ADDR_CHANGE,4,2       ## @IFF_LIVE_ADDR_CHANGE
	.comm	_NETIF_F_HIGHDMA,4,2            ## @NETIF_F_HIGHDMA
	.comm	_NFP_NET_CFG_CTRL_RXCSUM_ANY,4,2 ## @NFP_NET_CFG_CTRL_RXCSUM_ANY
	.comm	_NETIF_F_RXCSUM,4,2             ## @NETIF_F_RXCSUM
	.comm	_NFP_NET_CFG_CTRL_TXCSUM,4,2    ## @NFP_NET_CFG_CTRL_TXCSUM
	.comm	_NETIF_F_IP_CSUM,4,2            ## @NETIF_F_IP_CSUM
	.comm	_NETIF_F_IPV6_CSUM,4,2          ## @NETIF_F_IPV6_CSUM
	.comm	_NFP_NET_CFG_CTRL_GATHER,4,2    ## @NFP_NET_CFG_CTRL_GATHER
	.comm	_NETIF_F_SG,4,2                 ## @NETIF_F_SG
	.comm	_NFP_NET_CFG_CTRL_LSO,4,2       ## @NFP_NET_CFG_CTRL_LSO
	.comm	_NFP_NET_CFG_CTRL_LSO2,4,2      ## @NFP_NET_CFG_CTRL_LSO2
	.comm	_NETIF_F_TSO,4,2                ## @NETIF_F_TSO
	.comm	_NETIF_F_TSO6,4,2               ## @NETIF_F_TSO6
	.comm	_NFP_NET_CFG_CTRL_RSS_ANY,4,2   ## @NFP_NET_CFG_CTRL_RSS_ANY
	.comm	_NETIF_F_RXHASH,4,2             ## @NETIF_F_RXHASH
	.comm	_NFP_NET_CFG_CTRL_VXLAN,4,2     ## @NFP_NET_CFG_CTRL_VXLAN
	.comm	_NETIF_F_GSO_UDP_TUNNEL,4,2     ## @NETIF_F_GSO_UDP_TUNNEL
	.comm	_NFP_NET_CFG_CTRL_NVGRE,4,2     ## @NFP_NET_CFG_CTRL_NVGRE
	.comm	_NETIF_F_GSO_GRE,4,2            ## @NETIF_F_GSO_GRE
	.comm	_NFP_NET_CFG_CTRL_RXVLAN,4,2    ## @NFP_NET_CFG_CTRL_RXVLAN
	.comm	_NETIF_F_HW_VLAN_CTAG_RX,4,2    ## @NETIF_F_HW_VLAN_CTAG_RX
	.comm	_NFP_NET_CFG_CTRL_TXVLAN,4,2    ## @NFP_NET_CFG_CTRL_TXVLAN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Device advertises both TSO2 and TXVLAN. Refusing to enable TXVLAN.\n"

	.comm	_NETIF_F_HW_VLAN_CTAG_TX,4,2    ## @NETIF_F_HW_VLAN_CTAG_TX
	.comm	_NFP_NET_CFG_CTRL_CTAG_FILTER,4,2 ## @NFP_NET_CFG_CTRL_CTAG_FILTER
	.comm	_NETIF_F_HW_VLAN_CTAG_FILTER,4,2 ## @NETIF_F_HW_VLAN_CTAG_FILTER
	.comm	_NETIF_F_HW_TC,4,2              ## @NETIF_F_HW_TC
	.comm	_NFP_NET_CFG_CTRL_LSO_ANY,4,2   ## @NFP_NET_CFG_CTRL_LSO_ANY
	.comm	_nfp_net_netdev_ops,4,2         ## @nfp_net_netdev_ops
	.comm	_ETH_MIN_MTU,4,2                ## @ETH_MIN_MTU
	.comm	_NFP_NET_LSO_MAX_SEGS,4,2       ## @NFP_NET_LSO_MAX_SEGS
	.no_dead_strip	_nfp_net_netdev_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp_net_netdev_init
_nfp_net_netdev_init:                   ; @nfp_net_netdev_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
	ldr	x19, [x0, #16]
	ldr	w1, [x19, #48]
	bl	_nfp_net_write_mac_addr
	ldr	w8, [x20, #12]
	str	w8, [x19, #44]
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _NFP_NET_CFG_CTRL_LIVE_ADDR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NFP_NET_CFG_CTRL_LIVE_ADDR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _IFF_LIVE_ADDR_CHANGE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IFF_LIVE_ADDR_CHANGE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	ldr	w10, [x19, #40]
	orr	w9, w10, w9
	str	w9, [x19, #40]
LBB0_2:
Lloh6:
	adrp	x9, _NETIF_F_HIGHDMA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NETIF_F_HIGHDMA@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	str	w9, [x19]
Lloh9:
	adrp	x10, _NFP_NET_CFG_CTRL_RXCSUM_ANY@GOTPAGE
Lloh10:
	ldr	x10, [x10, _NFP_NET_CFG_CTRL_RXCSUM_ANY@GOTPAGEOFF]
	ldr	w11, [x10]
	tst	w11, w8
	b.eq	LBB0_4
; %bb.3:
Lloh11:
	adrp	x11, _NETIF_F_RXCSUM@GOTPAGE
Lloh12:
	ldr	x11, [x11, _NETIF_F_RXCSUM@GOTPAGEOFF]
Lloh13:
	ldr	w11, [x11]
	orr	w9, w11, w9
	str	w9, [x19]
	ldr	w10, [x10]
	and	w10, w10, w8
	ldr	w11, [x20, #8]
	orr	w10, w11, w10
	str	w10, [x20, #8]
LBB0_4:
Lloh14:
	adrp	x10, _NFP_NET_CFG_CTRL_TXCSUM@GOTPAGE
Lloh15:
	ldr	x10, [x10, _NFP_NET_CFG_CTRL_TXCSUM@GOTPAGEOFF]
	ldr	w11, [x10]
	tst	w11, w8
	b.eq	LBB0_6
; %bb.5:
Lloh16:
	adrp	x11, _NETIF_F_IP_CSUM@GOTPAGE
Lloh17:
	ldr	x11, [x11, _NETIF_F_IP_CSUM@GOTPAGEOFF]
Lloh18:
	ldr	w11, [x11]
Lloh19:
	adrp	x12, _NETIF_F_IPV6_CSUM@GOTPAGE
Lloh20:
	ldr	x12, [x12, _NETIF_F_IPV6_CSUM@GOTPAGEOFF]
Lloh21:
	ldr	w12, [x12]
	orr	w11, w12, w11
	orr	w9, w11, w9
	str	w9, [x19]
	ldr	w10, [x10]
	ldr	w11, [x20, #8]
	orr	w10, w11, w10
	str	w10, [x20, #8]
LBB0_6:
Lloh22:
	adrp	x10, _NFP_NET_CFG_CTRL_GATHER@GOTPAGE
Lloh23:
	ldr	x10, [x10, _NFP_NET_CFG_CTRL_GATHER@GOTPAGEOFF]
	ldr	w11, [x10]
	tst	w11, w8
	b.eq	LBB0_8
; %bb.7:
Lloh24:
	adrp	x11, _NETIF_F_SG@GOTPAGE
Lloh25:
	ldr	x11, [x11, _NETIF_F_SG@GOTPAGEOFF]
Lloh26:
	ldr	w11, [x11]
	orr	w9, w9, w11
	str	w9, [x19]
	ldr	w10, [x10]
	ldr	w11, [x20, #8]
	orr	w10, w11, w10
	str	w10, [x20, #8]
LBB0_8:
Lloh27:
	adrp	x11, _NFP_NET_CFG_CTRL_LSO@GOTPAGE
Lloh28:
	ldr	x11, [x11, _NFP_NET_CFG_CTRL_LSO@GOTPAGEOFF]
Lloh29:
	adrp	x10, _NFP_NET_CFG_CTRL_LSO2@GOTPAGE
Lloh30:
	ldr	x10, [x10, _NFP_NET_CFG_CTRL_LSO2@GOTPAGEOFF]
	ldr	w12, [x11]
Lloh31:
	adrp	x21, _NETIF_F_TSO@GOTPAGE
Lloh32:
	ldr	x21, [x21, _NETIF_F_TSO@GOTPAGEOFF]
Lloh33:
	adrp	x22, _NETIF_F_TSO6@GOTPAGE
Lloh34:
	ldr	x22, [x22, _NETIF_F_TSO6@GOTPAGEOFF]
	tst	w12, w8
	b.eq	LBB0_10
; %bb.9:
	ldr	w12, [x20, #36]
	cmp	w12, #2
	b.gt	LBB0_11
LBB0_10:
	ldr	w12, [x10]
	tst	w12, w8
	b.eq	LBB0_12
LBB0_11:
	ldr	w12, [x21]
	ldr	w13, [x22]
	orr	w12, w13, w12
	orr	w9, w12, w9
	str	w9, [x19]
	ldr	w12, [x10]
	ldr	w13, [x11]
	ands	w12, w12, w8
	csel	w12, w13, w12, eq
	ldr	w13, [x20, #8]
	orr	w12, w12, w13
	str	w12, [x20, #8]
LBB0_12:
Lloh35:
	adrp	x12, _NFP_NET_CFG_CTRL_RSS_ANY@GOTPAGE
Lloh36:
	ldr	x12, [x12, _NFP_NET_CFG_CTRL_RSS_ANY@GOTPAGEOFF]
Lloh37:
	ldr	w12, [x12]
	tst	w12, w8
	b.eq	LBB0_14
; %bb.13:
Lloh38:
	adrp	x12, _NETIF_F_RXHASH@GOTPAGE
Lloh39:
	ldr	x12, [x12, _NETIF_F_RXHASH@GOTPAGEOFF]
Lloh40:
	ldr	w12, [x12]
	orr	w9, w9, w12
	str	w9, [x19]
LBB0_14:
Lloh41:
	adrp	x13, _NFP_NET_CFG_CTRL_VXLAN@GOTPAGE
Lloh42:
	ldr	x13, [x13, _NFP_NET_CFG_CTRL_VXLAN@GOTPAGEOFF]
	ldr	w12, [x13]
	tst	w12, w8
	b.eq	LBB0_18
; %bb.15:
	ldr	w14, [x11]
	tst	w14, w8
	b.eq	LBB0_17
; %bb.16:
Lloh43:
	adrp	x12, _NETIF_F_GSO_UDP_TUNNEL@GOTPAGE
Lloh44:
	ldr	x12, [x12, _NETIF_F_GSO_UDP_TUNNEL@GOTPAGEOFF]
Lloh45:
	ldr	w12, [x12]
	orr	w9, w9, w12
	str	w9, [x19]
	ldr	w12, [x13]
LBB0_17:
	ldr	w14, [x20, #8]
	orr	w14, w14, w12
	str	w14, [x20, #8]
LBB0_18:
Lloh46:
	adrp	x15, _NFP_NET_CFG_CTRL_NVGRE@GOTPAGE
Lloh47:
	ldr	x15, [x15, _NFP_NET_CFG_CTRL_NVGRE@GOTPAGEOFF]
	ldr	w14, [x15]
	tst	w14, w8
	b.eq	LBB0_22
; %bb.19:
	ldr	w11, [x11]
	tst	w11, w8
	b.eq	LBB0_21
; %bb.20:
Lloh48:
	adrp	x11, _NETIF_F_GSO_GRE@GOTPAGE
Lloh49:
	ldr	x11, [x11, _NETIF_F_GSO_GRE@GOTPAGEOFF]
Lloh50:
	ldr	w11, [x11]
	orr	w9, w9, w11
	str	w9, [x19]
	ldr	w14, [x15]
	ldr	w12, [x13]
LBB0_21:
	ldr	w11, [x20, #8]
	orr	w11, w11, w14
	str	w11, [x20, #8]
LBB0_22:
	orr	w11, w14, w12
	tst	w11, w8
	b.eq	LBB0_24
; %bb.23:
	str	w9, [x19, #4]
LBB0_24:
	str	w9, [x19, #8]
Lloh51:
	adrp	x11, _NFP_NET_CFG_CTRL_RXVLAN@GOTPAGE
Lloh52:
	ldr	x11, [x11, _NFP_NET_CFG_CTRL_RXVLAN@GOTPAGEOFF]
	ldr	w12, [x11]
	tst	w12, w8
	b.eq	LBB0_26
; %bb.25:
Lloh53:
	adrp	x12, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGE
Lloh54:
	ldr	x12, [x12, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGEOFF]
Lloh55:
	ldr	w12, [x12]
	orr	w9, w12, w9
	str	w9, [x19]
	ldr	w11, [x11]
	ldr	w12, [x20, #8]
	orr	w11, w12, w11
	str	w11, [x20, #8]
LBB0_26:
Lloh56:
	adrp	x11, _NFP_NET_CFG_CTRL_TXVLAN@GOTPAGE
Lloh57:
	ldr	x11, [x11, _NFP_NET_CFG_CTRL_TXVLAN@GOTPAGEOFF]
	ldr	w12, [x11]
	tst	w12, w8
	b.eq	LBB0_30
; %bb.27:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_29
; %bb.28:
Lloh58:
	adrp	x1, l_.str@PAGE
Lloh59:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_nn_warn
	ldr	w8, [x20]
	b	LBB0_30
LBB0_29:
Lloh60:
	adrp	x10, _NETIF_F_HW_VLAN_CTAG_TX@GOTPAGE
Lloh61:
	ldr	x10, [x10, _NETIF_F_HW_VLAN_CTAG_TX@GOTPAGEOFF]
Lloh62:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [x19]
	ldr	w9, [x11]
	ldr	w10, [x20, #8]
	orr	w9, w10, w9
	str	w9, [x20, #8]
LBB0_30:
Lloh63:
	adrp	x9, _NFP_NET_CFG_CTRL_CTAG_FILTER@GOTPAGE
Lloh64:
	ldr	x9, [x9, _NFP_NET_CFG_CTRL_CTAG_FILTER@GOTPAGEOFF]
	ldr	w10, [x9]
	tst	w10, w8
	b.eq	LBB0_32
; %bb.31:
Lloh65:
	adrp	x8, _NETIF_F_HW_VLAN_CTAG_FILTER@GOTPAGE
Lloh66:
	ldr	x8, [x8, _NETIF_F_HW_VLAN_CTAG_FILTER@GOTPAGEOFF]
Lloh67:
	ldr	w8, [x8]
	ldr	w10, [x19]
	orr	w8, w10, w8
	str	w8, [x19]
	ldr	w9, [x9]
	ldr	w10, [x20, #8]
	orr	w9, w10, w9
	str	w9, [x20, #8]
	b	LBB0_33
LBB0_32:
	ldr	w8, [x19]
LBB0_33:
	str	w8, [x19, #12]
	ldr	w0, [x20, #32]
	bl	_nfp_app_has_tc
	cbz	x0, LBB0_36
; %bb.34:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_36
; %bb.35:
Lloh68:
	adrp	x8, _NETIF_F_HW_TC@GOTPAGE
Lloh69:
	ldr	x8, [x8, _NETIF_F_HW_TC@GOTPAGEOFF]
Lloh70:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_36:
	ldr	w8, [x21]
	ldr	w9, [x22]
	orr	w8, w9, w8
	ldr	w9, [x19, #12]
	bic	w8, w9, w8
	str	w8, [x19, #12]
Lloh71:
	adrp	x8, _NFP_NET_CFG_CTRL_LSO_ANY@GOTPAGE
Lloh72:
	ldr	x8, [x8, _NFP_NET_CFG_CTRL_LSO_ANY@GOTPAGEOFF]
Lloh73:
	ldr	w8, [x8]
	ldr	w9, [x20, #8]
	bic	w8, w9, w8
	str	w8, [x20, #8]
Lloh74:
	adrp	x8, _nfp_net_netdev_ops@GOTPAGE
Lloh75:
	ldr	x8, [x8, _nfp_net_netdev_ops@GOTPAGEOFF]
	str	x8, [x19, #32]
	mov	w0, #5000
	bl	_msecs_to_jiffies
Lloh76:
	adrp	x8, _ETH_MIN_MTU@GOTPAGE
Lloh77:
	ldr	x8, [x8, _ETH_MIN_MTU@GOTPAGEOFF]
Lloh78:
	ldr	w8, [x8]
	stp	w8, w0, [x19, #24]
	ldr	w8, [x20, #4]
Lloh79:
	adrp	x9, _NFP_NET_LSO_MAX_SEGS@GOTPAGE
Lloh80:
	ldr	x9, [x9, _NFP_NET_LSO_MAX_SEGS@GOTPAGEOFF]
Lloh81:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #16]
	mov	x0, x19
	bl	_netif_carrier_off
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_nfp_net_set_ethtool_ops
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.cfi_endproc
                                        ; -- End function
	.comm	_NFP_NET_CFG_CTRL_LIVE_ADDR,4,2 ; @NFP_NET_CFG_CTRL_LIVE_ADDR
	.comm	_IFF_LIVE_ADDR_CHANGE,4,2       ; @IFF_LIVE_ADDR_CHANGE
	.comm	_NETIF_F_HIGHDMA,4,2            ; @NETIF_F_HIGHDMA
	.comm	_NFP_NET_CFG_CTRL_RXCSUM_ANY,4,2 ; @NFP_NET_CFG_CTRL_RXCSUM_ANY
	.comm	_NETIF_F_RXCSUM,4,2             ; @NETIF_F_RXCSUM
	.comm	_NFP_NET_CFG_CTRL_TXCSUM,4,2    ; @NFP_NET_CFG_CTRL_TXCSUM
	.comm	_NETIF_F_IP_CSUM,4,2            ; @NETIF_F_IP_CSUM
	.comm	_NETIF_F_IPV6_CSUM,4,2          ; @NETIF_F_IPV6_CSUM
	.comm	_NFP_NET_CFG_CTRL_GATHER,4,2    ; @NFP_NET_CFG_CTRL_GATHER
	.comm	_NETIF_F_SG,4,2                 ; @NETIF_F_SG
	.comm	_NFP_NET_CFG_CTRL_LSO,4,2       ; @NFP_NET_CFG_CTRL_LSO
	.comm	_NFP_NET_CFG_CTRL_LSO2,4,2      ; @NFP_NET_CFG_CTRL_LSO2
	.comm	_NETIF_F_TSO,4,2                ; @NETIF_F_TSO
	.comm	_NETIF_F_TSO6,4,2               ; @NETIF_F_TSO6
	.comm	_NFP_NET_CFG_CTRL_RSS_ANY,4,2   ; @NFP_NET_CFG_CTRL_RSS_ANY
	.comm	_NETIF_F_RXHASH,4,2             ; @NETIF_F_RXHASH
	.comm	_NFP_NET_CFG_CTRL_VXLAN,4,2     ; @NFP_NET_CFG_CTRL_VXLAN
	.comm	_NETIF_F_GSO_UDP_TUNNEL,4,2     ; @NETIF_F_GSO_UDP_TUNNEL
	.comm	_NFP_NET_CFG_CTRL_NVGRE,4,2     ; @NFP_NET_CFG_CTRL_NVGRE
	.comm	_NETIF_F_GSO_GRE,4,2            ; @NETIF_F_GSO_GRE
	.comm	_NFP_NET_CFG_CTRL_RXVLAN,4,2    ; @NFP_NET_CFG_CTRL_RXVLAN
	.comm	_NETIF_F_HW_VLAN_CTAG_RX,4,2    ; @NETIF_F_HW_VLAN_CTAG_RX
	.comm	_NFP_NET_CFG_CTRL_TXVLAN,4,2    ; @NFP_NET_CFG_CTRL_TXVLAN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Device advertises both TSO2 and TXVLAN. Refusing to enable TXVLAN.\n"

	.comm	_NETIF_F_HW_VLAN_CTAG_TX,4,2    ; @NETIF_F_HW_VLAN_CTAG_TX
	.comm	_NFP_NET_CFG_CTRL_CTAG_FILTER,4,2 ; @NFP_NET_CFG_CTRL_CTAG_FILTER
	.comm	_NETIF_F_HW_VLAN_CTAG_FILTER,4,2 ; @NETIF_F_HW_VLAN_CTAG_FILTER
	.comm	_NETIF_F_HW_TC,4,2              ; @NETIF_F_HW_TC
	.comm	_NFP_NET_CFG_CTRL_LSO_ANY,4,2   ; @NFP_NET_CFG_CTRL_LSO_ANY
	.comm	_nfp_net_netdev_ops,4,2         ; @nfp_net_netdev_ops
	.comm	_ETH_MIN_MTU,4,2                ; @ETH_MIN_MTU
	.comm	_NFP_NET_LSO_MAX_SEGS,4,2       ; @NFP_NET_LSO_MAX_SEGS
	.no_dead_strip	_nfp_net_netdev_init
.subsections_via_symbols
