	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_bpf_check_mtu
_nfp_bpf_check_mtu:                     ## @nfp_bpf_check_mtu
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	movl	(%rax), %eax
	notl	%eax
	movq	_NFP_NET_CFG_CTRL_BPF@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	testl	%eax, (%rcx)
	jne	LBB0_3
## %bb.1:
	movq	_NFP_NET_CFG_BPF_INL_MTU@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_nn_readb
	shll	$6, %eax
	addl	$-32, %eax
	cmpl	%r15d, %eax
	jae	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_nn_info
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NFP_NET_CFG_CTRL_BPF,4,2       ## @NFP_NET_CFG_CTRL_BPF
	.comm	_NFP_NET_CFG_BPF_INL_MTU,4,2    ## @NFP_NET_CFG_BPF_INL_MTU
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BPF offload active, MTU over %u not supported\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
	.no_dead_strip	_nfp_bpf_check_mtu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp_bpf_check_mtu
_nfp_bpf_check_mtu:                     ; @nfp_bpf_check_mtu
	.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	x20, x2
	mov	x0, x1
	bl	_netdev_priv
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _NFP_NET_CFG_CTRL_BPF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NFP_NET_CFG_CTRL_BPF@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	bics	wzr, w9, w8
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _NFP_NET_CFG_BPF_INL_MTU@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NFP_NET_CFG_BPF_INL_MTU@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_nn_readb
	lsl	w8, w0, #6
	sub	w2, w8, #32
	cmp	w2, w20
	b.hs	LBB0_3
; %bb.2:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_nn_info
Lloh8:
	adrp	x8, _EBUSY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_NFP_NET_CFG_CTRL_BPF,4,2       ; @NFP_NET_CFG_CTRL_BPF
	.comm	_NFP_NET_CFG_BPF_INL_MTU,4,2    ; @NFP_NET_CFG_BPF_INL_MTU
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BPF offload active, MTU over %u not supported\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
	.no_dead_strip	_nfp_bpf_check_mtu
.subsections_via_symbols
