	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_bpf_xdp_offload
_nfp_bpf_xdp_offload:                   ## @nfp_bpf_xdp_offload
	.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
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rsi, %rdi
	callq	_nfp_net_ebpf_capable
	testl	%eax, %eax
	je	LBB0_1
## %bb.4:
	movq	_NFP_NET_CFG_CTRL_BPF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%eax, %eax
	andl	8(%rbx), %edx
	je	LBB0_5
## %bb.6:
	cmpq	$0, (%rbx)
	setne	%cl
	testq	%r15, %r15
	je	LBB0_8
	jmp	LBB0_9
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_5:
	xorl	%ecx, %ecx
	testq	%r15, %r15
	jne	LBB0_9
LBB0_8:
	testb	%cl, %cl
	je	LBB0_3
LBB0_9:
	testq	%r15, %r15
	sete	%sil
	testl	%edx, %edx
	sete	%al
	orb	%sil, %al
	orb	%cl, %al
	je	LBB0_10
## %bb.11:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nfp_net_bpf_offload            ## TAILCALL
LBB0_10:
	movq	_EBUSY@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NFP_NET_CFG_CTRL_BPF,4,2       ## @NFP_NET_CFG_CTRL_BPF
	.comm	_EBUSY,4,2                      ## @EBUSY
	.no_dead_strip	_nfp_bpf_xdp_offload
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp_bpf_xdp_offload
_nfp_bpf_xdp_offload:                   ; @nfp_bpf_xdp_offload
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x0, x1
	bl	_nfp_net_ebpf_capable
	cbz	w0, LBB0_3
; %bb.1:
	ldr	w8, [x21, #8]
Lloh0:
	adrp	x9, _NFP_NET_CFG_CTRL_BPF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NFP_NET_CFG_CTRL_BPF@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ands	w2, w9, w8
	b.eq	LBB0_4
; %bb.2:
	ldr	x8, [x21]
	cmp	x8, #0
	cset	w8, ne
	cbz	x20, LBB0_5
	b	LBB0_7
LBB0_3:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_10
LBB0_4:
	mov	w8, #0
	cbnz	x20, LBB0_7
LBB0_5:
	cbnz	w8, LBB0_7
; %bb.6:
	mov	w0, #0
	b	LBB0_11
LBB0_7:
	cmp	x20, #0
	ccmp	w2, #0, #4, ne
	cset	w9, eq
	orr	w8, w9, w8
	tbz	w8, #0, LBB0_9
; %bb.8:
	mov	x0, x21
	mov	x1, x20
	mov	x3, 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_bpf_offload
LBB0_9:
Lloh5:
	adrp	x8, _EBUSY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NFP_NET_CFG_CTRL_BPF,4,2       ; @NFP_NET_CFG_CTRL_BPF
	.comm	_EBUSY,4,2                      ; @EBUSY
	.no_dead_strip	_nfp_bpf_xdp_offload
.subsections_via_symbols
