	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfp_repr_init                  ## -- Begin function nfp_repr_init
	.p2align	4, 0x90
_nfp_repr_init:                         ## @nfp_repr_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rcx, %rbx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r13
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_netdev_priv
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	4(%rax), %r12d
	movq	%rbx, 8(%r14)
	movq	_METADATA_HW_PORT_MUX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_metadata_dst_alloc
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
	movq	%r15, 8(%rax)
	movq	_nfp_repr_netdev_ops@GOTPCREL(%rip), %rax
	movq	%rax, 40(%r13)
	movq	_nfp_port_ethtool_ops@GOTPCREL(%rip), %rax
	movq	%rax, 32(%r13)
	movl	24(%r15), %eax
	movl	%eax, 24(%r13)
	movq	_NFP_NET_CFG_CTRL_LIVE_ADDR@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_IFF_LIVE_ADDR_CHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r13)
LBB0_4:
	movq	_NETIF_F_HIGHDMA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r13)
	movq	_NFP_NET_CFG_CTRL_RXCSUM_ANY@GOTPCREL(%rip), %rcx
	testl	%r12d, (%rcx)
	je	LBB0_6
## %bb.5:
	movq	_NETIF_F_RXCSUM@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 4(%r13)
LBB0_6:
	movq	_NFP_NET_CFG_CTRL_TXCSUM@GOTPCREL(%rip), %rcx
	testl	%r12d, (%rcx)
	je	LBB0_8
## %bb.7:
	movq	_NETIF_F_IP_CSUM@GOTPCREL(%rip), %rcx
	movq	_NETIF_F_IPV6_CSUM@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	orl	%edx, %eax
	movl	%eax, 4(%r13)
LBB0_8:
	movq	_NFP_NET_CFG_CTRL_GATHER@GOTPCREL(%rip), %rcx
	testl	%r12d, (%rcx)
	je	LBB0_10
## %bb.9:
	movq	_NETIF_F_SG@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 4(%r13)
LBB0_10:
	movq	_NFP_NET_CFG_CTRL_LSO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	testl	%r12d, %edx
	je	LBB0_12
## %bb.11:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$2, (%rcx)
	jg	LBB0_13
LBB0_12:
	movq	_NFP_NET_CFG_CTRL_LSO2@GOTPCREL(%rip), %rcx
	testl	%r12d, (%rcx)
	je	LBB0_14
LBB0_13:
	movq	_NETIF_F_TSO@GOTPCREL(%rip), %rcx
	movq	_NETIF_F_TSO6@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rcx), %esi
	orl	%esi, %eax
	movl	%eax, 4(%r13)
LBB0_14:
	movq	_NFP_NET_CFG_CTRL_RSS_ANY@GOTPCREL(%rip), %rcx
	testl	%r12d, (%rcx)
	je	LBB0_16
## %bb.15:
	movq	_NETIF_F_RXHASH@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 4(%r13)
LBB0_16:
	movq	_NFP_NET_CFG_CTRL_VXLAN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%r12d, %ecx
	je	LBB0_19
## %bb.17:
	testl	%r12d, %edx
	je	LBB0_18
## %bb.21:
	movq	_NETIF_F_GSO_UDP_TUNNEL@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movl	%eax, 4(%r13)
	movq	_NFP_NET_CFG_CTRL_NVGRE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	testl	%r12d, %esi
	jne	LBB0_22
	jmp	LBB0_23
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_41
LBB0_19:
	movq	_NFP_NET_CFG_CTRL_NVGRE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	testl	%r12d, %esi
	je	LBB0_23
## %bb.20:
	andl	%r12d, %edx
	je	LBB0_23
LBB0_22:
	movq	_NETIF_F_GSO_GRE@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movl	%eax, 4(%r13)
	jmp	LBB0_23
LBB0_18:
	movq	_NFP_NET_CFG_CTRL_NVGRE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
LBB0_23:
	orl	%ecx, %esi
	testl	%r12d, %esi
	je	LBB0_25
## %bb.24:
	movl	%eax, 8(%r13)
LBB0_25:
	movl	%eax, 12(%r13)
	movq	_NFP_NET_CFG_CTRL_RXVLAN@GOTPCREL(%rip), %rcx
	testl	%r12d, (%rcx)
	je	LBB0_27
## %bb.26:
	movq	_NETIF_F_HW_VLAN_CTAG_RX@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 4(%r13)
LBB0_27:
	movq	_NFP_NET_CFG_CTRL_TXVLAN@GOTPCREL(%rip), %rcx
	testl	%r12d, (%rcx)
	je	LBB0_31
## %bb.28:
	movq	_NFP_NET_CFG_CTRL_LSO2@GOTPCREL(%rip), %rcx
	testl	%r12d, (%rcx)
	je	LBB0_30
## %bb.29:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_netdev_warn
	jmp	LBB0_31
LBB0_30:
	movq	_NETIF_F_HW_VLAN_CTAG_TX@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 4(%r13)
LBB0_31:
	movq	_NFP_NET_CFG_CTRL_CTAG_FILTER@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_32
## %bb.33:
	movq	_NETIF_F_HW_VLAN_CTAG_FILTER@GOTPCREL(%rip), %rcx
	movl	4(%r13), %eax
	orl	(%rcx), %eax
	movl	%eax, 4(%r13)
	jmp	LBB0_34
LBB0_32:
	movl	4(%r13), %eax
LBB0_34:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	_NETIF_F_TSO@GOTPCREL(%rip), %rcx
	movq	_NETIF_F_TSO6@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_NFP_NET_LSO_MAX_SEGS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 20(%r13)
	movq	_IFF_NO_QUEUE@GOTPCREL(%rip), %rcx
	movq	_IFF_DISABLE_NETPOLL@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rcx), %esi
	notl	%edx
	andl	%eax, %edx
	orl	%esi, (%r13)
	movq	_NETIF_F_LLTX@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	%edx, 16(%r13)
	movq	%r14, %rdi
	callq	_nfp_app_has_tc
	testq	%rax, %rax
	je	LBB0_36
## %bb.35:
	movq	_NETIF_F_HW_TC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%r13)
	orl	%eax, 4(%r13)
LBB0_36:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_nfp_app_repr_init
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_40
## %bb.37:
	movq	%r13, %rdi
	callq	_register_netdev
	testl	%eax, %eax
	je	LBB0_38
## %bb.39:
	movl	%eax, %ebx
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_nfp_app_repr_clean
LBB0_40:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	callq	_dst_release
LBB0_41:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_38:
	xorl	%ebx, %ebx
	jmp	LBB0_41
	.cfi_endproc
                                        ## -- End function
	.comm	_METADATA_HW_PORT_MUX,4,2       ## @METADATA_HW_PORT_MUX
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_nfp_repr_netdev_ops,4,2        ## @nfp_repr_netdev_ops
	.comm	_nfp_port_ethtool_ops,4,2       ## @nfp_port_ethtool_ops
	.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	_NFP_NET_LSO_MAX_SEGS,4,2       ## @NFP_NET_LSO_MAX_SEGS
	.comm	_IFF_NO_QUEUE,4,2               ## @IFF_NO_QUEUE
	.comm	_IFF_DISABLE_NETPOLL,4,2        ## @IFF_DISABLE_NETPOLL
	.comm	_NETIF_F_LLTX,4,2               ## @NETIF_F_LLTX
	.comm	_NETIF_F_HW_TC,4,2              ## @NETIF_F_HW_TC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfp_repr_init                  ; -- Begin function nfp_repr_init
	.p2align	2
_nfp_repr_init:                         ; @nfp_repr_init
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x23, x4
	mov	x25, x3
	mov	x24, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x19, x0
	mov	x0, x23
	bl	_netdev_priv
	mov	x22, x0
	ldr	w26, [x0, #4]
	str	x25, [x19, #8]
Lloh0:
	adrp	x8, _METADATA_HW_PORT_MUX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _METADATA_HW_PORT_MUX@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w0, #0
	bl	_metadata_dst_alloc
	str	x0, [x19]
	cbz	x0, LBB0_18
; %bb.1:
	str	w24, [x0]
	str	x23, [x0, #8]
Lloh6:
	adrp	x8, _nfp_repr_netdev_ops@GOTPAGE
Lloh7:
	ldr	x8, [x8, _nfp_repr_netdev_ops@GOTPAGEOFF]
Lloh8:
	adrp	x9, _nfp_port_ethtool_ops@GOTPAGE
Lloh9:
	ldr	x9, [x9, _nfp_port_ethtool_ops@GOTPAGEOFF]
	stp	x9, x8, [x20, #32]
	ldr	w8, [x23, #24]
	str	w8, [x20, #24]
Lloh10:
	adrp	x8, _NFP_NET_CFG_CTRL_LIVE_ADDR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NFP_NET_CFG_CTRL_LIVE_ADDR@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w26
	b.eq	LBB0_3
; %bb.2:
Lloh13:
	adrp	x8, _IFF_LIVE_ADDR_CHANGE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IFF_LIVE_ADDR_CHANGE@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_3:
Lloh16:
	adrp	x8, _NETIF_F_HIGHDMA@GOTPAGE
Lloh17:
	ldr	x8, [x8, _NETIF_F_HIGHDMA@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	w8, [x20, #4]
Lloh19:
	adrp	x9, _NFP_NET_CFG_CTRL_RXCSUM_ANY@GOTPAGE
Lloh20:
	ldr	x9, [x9, _NFP_NET_CFG_CTRL_RXCSUM_ANY@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	tst	w9, w26
	b.eq	LBB0_5
; %bb.4:
Lloh22:
	adrp	x9, _NETIF_F_RXCSUM@GOTPAGE
Lloh23:
	ldr	x9, [x9, _NETIF_F_RXCSUM@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x20, #4]
LBB0_5:
Lloh25:
	adrp	x9, _NFP_NET_CFG_CTRL_TXCSUM@GOTPAGE
Lloh26:
	ldr	x9, [x9, _NFP_NET_CFG_CTRL_TXCSUM@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	tst	w9, w26
	b.eq	LBB0_7
; %bb.6:
Lloh28:
	adrp	x9, _NETIF_F_IP_CSUM@GOTPAGE
Lloh29:
	ldr	x9, [x9, _NETIF_F_IP_CSUM@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
Lloh31:
	adrp	x10, _NETIF_F_IPV6_CSUM@GOTPAGE
Lloh32:
	ldr	x10, [x10, _NETIF_F_IPV6_CSUM@GOTPAGEOFF]
Lloh33:
	ldr	w10, [x10]
	orr	w9, w10, w9
	orr	w8, w9, w8
	str	w8, [x20, #4]
LBB0_7:
Lloh34:
	adrp	x9, _NFP_NET_CFG_CTRL_GATHER@GOTPAGE
Lloh35:
	ldr	x9, [x9, _NFP_NET_CFG_CTRL_GATHER@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	tst	w9, w26
	b.eq	LBB0_9
; %bb.8:
Lloh37:
	adrp	x9, _NETIF_F_SG@GOTPAGE
Lloh38:
	ldr	x9, [x9, _NETIF_F_SG@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x20, #4]
LBB0_9:
Lloh40:
	adrp	x9, _NFP_NET_CFG_CTRL_LSO@GOTPAGE
Lloh41:
	ldr	x9, [x9, _NFP_NET_CFG_CTRL_LSO@GOTPAGEOFF]
Lloh42:
	adrp	x23, _NETIF_F_TSO@GOTPAGE
Lloh43:
	ldr	x23, [x23, _NETIF_F_TSO@GOTPAGEOFF]
Lloh44:
	ldr	w10, [x9]
Lloh45:
	adrp	x24, _NETIF_F_TSO6@GOTPAGE
Lloh46:
	ldr	x24, [x24, _NETIF_F_TSO6@GOTPAGEOFF]
Lloh47:
	adrp	x9, _NFP_NET_CFG_CTRL_LSO2@GOTPAGE
Lloh48:
	ldr	x9, [x9, _NFP_NET_CFG_CTRL_LSO2@GOTPAGEOFF]
	ands	w11, w10, w26
	b.eq	LBB0_11
; %bb.10:
	ldr	w10, [x22]
	cmp	w10, #2
	b.gt	LBB0_12
LBB0_11:
	ldr	w10, [x9]
	tst	w10, w26
	b.eq	LBB0_13
LBB0_12:
	ldr	w10, [x23]
	ldr	w12, [x24]
	orr	w10, w12, w10
	orr	w8, w10, w8
	str	w8, [x20, #4]
LBB0_13:
Lloh49:
	adrp	x10, _NFP_NET_CFG_CTRL_RSS_ANY@GOTPAGE
Lloh50:
	ldr	x10, [x10, _NFP_NET_CFG_CTRL_RSS_ANY@GOTPAGEOFF]
Lloh51:
	ldr	w10, [x10]
	tst	w10, w26
	b.eq	LBB0_15
; %bb.14:
Lloh52:
	adrp	x10, _NETIF_F_RXHASH@GOTPAGE
Lloh53:
	ldr	x10, [x10, _NETIF_F_RXHASH@GOTPAGEOFF]
Lloh54:
	ldr	w10, [x10]
	orr	w8, w8, w10
	str	w8, [x20, #4]
LBB0_15:
Lloh55:
	adrp	x10, _NFP_NET_CFG_CTRL_VXLAN@GOTPAGE
Lloh56:
	ldr	x10, [x10, _NFP_NET_CFG_CTRL_VXLAN@GOTPAGEOFF]
Lloh57:
	ldr	w10, [x10]
	tst	w10, w26
	b.eq	LBB0_19
; %bb.16:
	cbz	w11, LBB0_22
; %bb.17:
Lloh58:
	adrp	x11, _NETIF_F_GSO_UDP_TUNNEL@GOTPAGE
Lloh59:
	ldr	x11, [x11, _NETIF_F_GSO_UDP_TUNNEL@GOTPAGEOFF]
Lloh60:
	ldr	w11, [x11]
	orr	w8, w8, w11
	str	w8, [x20, #4]
Lloh61:
	adrp	x11, _NFP_NET_CFG_CTRL_NVGRE@GOTPAGE
Lloh62:
	ldr	x11, [x11, _NFP_NET_CFG_CTRL_NVGRE@GOTPAGEOFF]
Lloh63:
	ldr	w12, [x11]
	tst	w12, w26
	b.ne	LBB0_21
	b	LBB0_23
LBB0_18:
Lloh64:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh65:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh66:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_40
LBB0_19:
Lloh67:
	adrp	x12, _NFP_NET_CFG_CTRL_NVGRE@GOTPAGE
Lloh68:
	ldr	x12, [x12, _NFP_NET_CFG_CTRL_NVGRE@GOTPAGEOFF]
Lloh69:
	ldr	w12, [x12]
	tst	w12, w26
	b.eq	LBB0_23
; %bb.20:
	cbz	w11, LBB0_23
LBB0_21:
Lloh70:
	adrp	x11, _NETIF_F_GSO_GRE@GOTPAGE
Lloh71:
	ldr	x11, [x11, _NETIF_F_GSO_GRE@GOTPAGEOFF]
Lloh72:
	ldr	w11, [x11]
	orr	w8, w8, w11
	str	w8, [x20, #4]
	b	LBB0_23
LBB0_22:
Lloh73:
	adrp	x11, _NFP_NET_CFG_CTRL_NVGRE@GOTPAGE
Lloh74:
	ldr	x11, [x11, _NFP_NET_CFG_CTRL_NVGRE@GOTPAGEOFF]
Lloh75:
	ldr	w12, [x11]
LBB0_23:
	orr	w10, w12, w10
	tst	w10, w26
	b.eq	LBB0_25
; %bb.24:
	str	w8, [x20, #8]
LBB0_25:
	str	w8, [x20, #12]
Lloh76:
	adrp	x10, _NFP_NET_CFG_CTRL_RXVLAN@GOTPAGE
Lloh77:
	ldr	x10, [x10, _NFP_NET_CFG_CTRL_RXVLAN@GOTPAGEOFF]
Lloh78:
	ldr	w10, [x10]
	tst	w10, w26
	b.eq	LBB0_27
; %bb.26:
Lloh79:
	adrp	x10, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGE
Lloh80:
	ldr	x10, [x10, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGEOFF]
Lloh81:
	ldr	w10, [x10]
	orr	w8, w10, w8
	str	w8, [x20, #4]
LBB0_27:
Lloh82:
	adrp	x10, _NFP_NET_CFG_CTRL_TXVLAN@GOTPAGE
Lloh83:
	ldr	x10, [x10, _NFP_NET_CFG_CTRL_TXVLAN@GOTPAGEOFF]
Lloh84:
	ldr	w10, [x10]
	tst	w10, w26
	b.eq	LBB0_31
; %bb.28:
	ldr	w9, [x9]
	tst	w9, w26
	b.eq	LBB0_30
; %bb.29:
Lloh85:
	adrp	x1, l_.str@PAGE
Lloh86:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_netdev_warn
	b	LBB0_31
LBB0_30:
Lloh87:
	adrp	x9, _NETIF_F_HW_VLAN_CTAG_TX@GOTPAGE
Lloh88:
	ldr	x9, [x9, _NETIF_F_HW_VLAN_CTAG_TX@GOTPAGEOFF]
Lloh89:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x20, #4]
LBB0_31:
Lloh90:
	adrp	x8, _NFP_NET_CFG_CTRL_CTAG_FILTER@GOTPAGE
Lloh91:
	ldr	x8, [x8, _NFP_NET_CFG_CTRL_CTAG_FILTER@GOTPAGEOFF]
Lloh92:
	ldr	w8, [x8]
	tst	w8, w26
	b.eq	LBB0_33
; %bb.32:
Lloh93:
	adrp	x8, _NETIF_F_HW_VLAN_CTAG_FILTER@GOTPAGE
Lloh94:
	ldr	x8, [x8, _NETIF_F_HW_VLAN_CTAG_FILTER@GOTPAGEOFF]
Lloh95:
	ldr	w8, [x8]
	ldr	w9, [x20, #4]
	orr	w8, w9, w8
	str	w8, [x20, #4]
	b	LBB0_34
LBB0_33:
	ldr	w8, [x20, #4]
LBB0_34:
	ldr	w9, [x23]
	ldr	w10, [x24]
	orr	w9, w10, w9
Lloh96:
	adrp	x10, _IFF_NO_QUEUE@GOTPAGE
Lloh97:
	ldr	x10, [x10, _IFF_NO_QUEUE@GOTPAGEOFF]
	bic	w8, w8, w9
Lloh98:
	ldr	w9, [x10]
Lloh99:
	adrp	x10, _IFF_DISABLE_NETPOLL@GOTPAGE
Lloh100:
	ldr	x10, [x10, _IFF_DISABLE_NETPOLL@GOTPAGEOFF]
Lloh101:
	ldr	w10, [x10]
	orr	w9, w10, w9
	ldr	w10, [x20]
	orr	w9, w9, w10
Lloh102:
	adrp	x10, _NFP_NET_LSO_MAX_SEGS@GOTPAGE
Lloh103:
	ldr	x10, [x10, _NFP_NET_LSO_MAX_SEGS@GOTPAGEOFF]
Lloh104:
	ldr	w10, [x10]
	str	w9, [x20]
Lloh105:
	adrp	x9, _NETIF_F_LLTX@GOTPAGE
Lloh106:
	ldr	x9, [x9, _NETIF_F_LLTX@GOTPAGEOFF]
Lloh107:
	ldr	w9, [x9]
	orr	w8, w9, w8
	stp	w8, w10, [x20, #16]
	mov	x0, x21
	bl	_nfp_app_has_tc
	cbz	x0, LBB0_36
; %bb.35:
Lloh108:
	adrp	x8, _NETIF_F_HW_TC@GOTPAGE
Lloh109:
	ldr	x8, [x8, _NETIF_F_HW_TC@GOTPAGEOFF]
Lloh110:
	ldr	w8, [x8]
	ldr	w9, [x20, #16]
	orr	w9, w9, w8
	str	w9, [x20, #16]
	ldr	w9, [x20, #4]
	orr	w8, w9, w8
	str	w8, [x20, #4]
LBB0_36:
	mov	x0, x21
	mov	x1, x20
	bl	_nfp_app_repr_init
	mov	x22, x0
	cbnz	w0, LBB0_39
; %bb.37:
	mov	x0, x20
	bl	_register_netdev
	mov	x22, x0
	cbz	w0, LBB0_40
; %bb.38:
	mov	x0, x21
	mov	x1, x20
	bl	_nfp_app_repr_clean
LBB0_39:
	ldr	x0, [x19]
	bl	_dst_release
LBB0_40:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh44
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.cfi_endproc
                                        ; -- End function
	.comm	_METADATA_HW_PORT_MUX,4,2       ; @METADATA_HW_PORT_MUX
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_nfp_repr_netdev_ops,4,2        ; @nfp_repr_netdev_ops
	.comm	_nfp_port_ethtool_ops,4,2       ; @nfp_port_ethtool_ops
	.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	_NFP_NET_LSO_MAX_SEGS,4,2       ; @NFP_NET_LSO_MAX_SEGS
	.comm	_IFF_NO_QUEUE,4,2               ; @IFF_NO_QUEUE
	.comm	_IFF_DISABLE_NETPOLL,4,2        ; @IFF_DISABLE_NETPOLL
	.comm	_NETIF_F_LLTX,4,2               ; @NETIF_F_LLTX
	.comm	_NETIF_F_HW_TC,4,2              ; @NETIF_F_HW_TC
.subsections_via_symbols
