	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_bpf_check_helper_call
_nfp_bpf_check_helper_call:             ## @nfp_bpf_check_helper_call
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, -144(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, %rdi
	callq	_cur_regs
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	_BPF_REG_1@GOTPCREL(%rip), %rax
	movslq	(%rax), %r15
	movq	%r13, %rdi
	callq	_cur_regs
	movq	%rax, %rbx
	movq	_BPF_REG_2@GOTPCREL(%rip), %rax
	movslq	(%rax), %r14
	movq	%r13, -112(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	callq	_cur_regs
	movq	%r12, -128(%rbp)                ## 8-byte Spill
	movl	28(%r12), %r12d
	leal	-128(%r12), %edx
	cmpl	$6, %edx
	ja	LBB0_4
## %bb.1:
	leaq	(%r15,%r15,2), %rcx
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	leaq	(%rsi,%rcx,4), %r8
	leaq	(%r14,%r14,2), %rcx
	leaq	(%rbx,%rcx,4), %r15
	movq	_BPF_REG_3@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	leaq	(%rcx,%rcx,2), %r14
	movq	-144(%rbp), %rbx                ## 8-byte Reload
	movq	(%rbx), %r13
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rdx,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_2:
	movq	%r8, -120(%rbp)                 ## 8-byte Spill
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	cmpl	$0, 28(%r13)
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	jne	LBB0_32
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_37
LBB0_4:
	leaq	L_.str.14(%rip), %rsi
	xorl	%r15d, %r15d
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movl	%r12d, %edx
LBB0_5:
	xorl	%eax, %eax
	callq	_pr_vlog
	jmp	LBB0_41
LBB0_6:
	movq	_NFP_BPF_SCALAR_VALUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_SCALAR_VALUE@GOTPCREL(%rip), %rdx
	movl	$1, %edi
	cmpl	(%rdx), %ecx
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	jne	LBB0_10
## %bb.7:
	movq	_NFP_BPF_MAP_VALUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_PTR_TO_MAP_VALUE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %edx
	jne	LBB0_10
## %bb.8:
	movq	_NFP_BPF_STACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_PTR_TO_STACK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_10
## %bb.9:
	movq	_NFP_BPF_PACKET_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_PTR_TO_PACKET@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	setne	%dil
LBB0_10:
	callq	_BUILD_BUG_ON
	cmpl	$0, 8(%r13)
	je	LBB0_34
## %bb.11:
	movq	_BPF_F_INDEX_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-136(%rbp), %rdx                ## 8-byte Reload
	testl	%eax, 4(%rdx,%r14,4)
	movq	-112(%rbp), %r13                ## 8-byte Reload
	jne	LBB0_33
## %bb.12:
	andl	8(%rdx,%r14,4), %eax
	movq	_BPF_F_CURRENT_CPU@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_33
## %bb.13:
	movq	%r13, %rdi
	callq	_cur_regs
	movq	_BPF_REG_4@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movl	(%rax,%rcx,4), %edx
	movq	_PTR_TO_STACK@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movq	_SCALAR_VALUE@GOTPCREL(%rip), %rdi
	cmpl	(%rdi), %edx
	je	LBB0_45
## %bb.14:
	cmpl	%esi, %edx
	je	LBB0_45
## %bb.15:
	movq	_PTR_TO_MAP_VALUE@GOTPCREL(%rip), %rdi
	cmpl	(%rdi), %edx
	je	LBB0_45
## %bb.16:
	movq	_PTR_TO_PACKET@GOTPCREL(%rip), %rdi
	cmpl	(%rdi), %edx
	je	LBB0_45
## %bb.17:
	leaq	L_.str.9(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r13, %rdi
	jmp	LBB0_5
LBB0_18:
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	movl	16(%r13), %ecx
	leaq	L_.str.4(%rip), %rdi
	movq	-112(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rsi
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdx
	movq	%r8, -120(%rbp)                 ## 8-byte Spill
	callq	_nfp_bpf_map_call_ok
	testl	%eax, %eax
	je	LBB0_30
## %bb.19:
	leaq	4(%rbx), %rax
	xorl	%ecx, %ecx
	cmpl	$0, (%rbx)
	cmovneq	%rax, %rcx
	leaq	L_.str.4(%rip), %rdi
	movq	%r15, %rsi
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	callq	_nfp_bpf_stack_arg_ok
	testl	%eax, %eax
	je	LBB0_30
## %bb.20:
	movq	-136(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%r14,4), %rdx
	leaq	L_.str.4(%rip), %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	callq	_nfp_bpf_stack_arg_ok
	testl	%eax, %eax
	je	LBB0_30
## %bb.21:
	movq	%r15, %rdi
	callq	_nfp_bpf_map_update_value_ok
	testl	%eax, %eax
	jne	LBB0_32
	jmp	LBB0_30
LBB0_22:
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	movl	20(%r13), %ecx
	leaq	L_.str.3(%rip), %rdi
	movq	-112(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rsi
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdx
	movq	%r8, -120(%rbp)                 ## 8-byte Spill
	callq	_nfp_bpf_map_call_ok
	testl	%eax, %eax
	je	LBB0_30
## %bb.23:
	leaq	4(%rbx), %rax
	xorl	%ecx, %ecx
	cmpl	$0, (%rbx)
	cmovneq	%rax, %rcx
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_29
LBB0_24:
	cmpl	$0, 36(%r13)
	je	LBB0_35
## %bb.25:
	movq	_NFP_BPF_ADJUST_HEAD_NO_META@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 32(%r13)
	je	LBB0_38
## %bb.26:
	movq	%r8, -120(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdx
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	movq	%r15, %rcx
	callq	_nfp_record_adjust_head
	jmp	LBB0_32
LBB0_27:
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	movl	12(%r13), %ecx
	leaq	L_.str.5(%rip), %rdi
	movq	-112(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rsi
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdx
	movq	%r8, -120(%rbp)                 ## 8-byte Spill
	callq	_nfp_bpf_map_call_ok
	testl	%eax, %eax
	je	LBB0_30
## %bb.28:
	leaq	4(%rbx), %rax
	xorl	%ecx, %ecx
	cmpl	$0, (%rbx)
	cmovneq	%rax, %rcx
	leaq	L_.str.5(%rip), %rdi
LBB0_29:
	movq	%r14, %rsi
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	callq	_nfp_bpf_stack_arg_ok
	testl	%eax, %eax
	jne	LBB0_32
LBB0_30:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	jmp	LBB0_42
LBB0_31:
	movq	%r8, -120(%rbp)                 ## 8-byte Spill
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	cmpl	$0, 24(%r13)
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	je	LBB0_36
LBB0_32:
	movl	%r12d, (%rbx)
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movq	(%rcx), %rax
	movq	%rax, 16(%rbx)
	movl	8(%rcx), %eax
	movl	%eax, 24(%rbx)
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	(%rcx), %rax
	movq	%rax, 4(%rbx)
	movl	8(%rcx), %eax
	movl	%eax, 12(%rbx)
	xorl	%r15d, %r15d
	jmp	LBB0_43
LBB0_33:
	leaq	(%rdx,%r14,4), %rax
	addq	$4, %rax
	movq	(%rax), %rdx
	leaq	-96(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$48, %esi
	callq	_tnum_strn
	leaq	L_.str.8(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r13, %rdi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_pr_vlog
	jmp	LBB0_41
LBB0_34:
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_39
LBB0_35:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_39
LBB0_36:
	leaq	L_.str.6(%rip), %rsi
LBB0_37:
	xorl	%r15d, %r15d
	jmp	LBB0_40
LBB0_38:
	leaq	L_.str.1(%rip), %rsi
LBB0_39:
	xorl	%r15d, %r15d
	movq	-112(%rbp), %rdi                ## 8-byte Reload
LBB0_40:
	xorl	%eax, %eax
	callq	_pr_vlog
LBB0_41:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
LBB0_42:
	subl	(%rax), %r15d
LBB0_43:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_50
## %bb.44:
	movl	%r15d, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_45:
	movq	%rbx, %r14
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	leaq	(%rax,%rcx,4), %rbx
	cmpl	%esi, %edx
	jne	LBB0_47
## %bb.46:
	leaq	L_.str.10(%rip), %rdi
	xorl	%r15d, %r15d
	movq	%r13, %rsi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_nfp_bpf_stack_arg_ok
	testl	%eax, %eax
	je	LBB0_41
LBB0_47:
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	leaq	L_.str.11(%rip), %rsi
	callq	_dev_warn_once
	leaq	L_.str.12(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_pr_vlog
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	cmpl	$0, (%rbx)
	je	LBB0_32
## %bb.48:
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %ecx
	movl	16(%rbx), %edx
	cmpl	%edx, %ecx
	je	LBB0_32
## %bb.49:
	leaq	L_.str.13(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_pr_vlog
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_42
LBB0_50:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_24
	.long	L0_0_set_6
	.long	L0_0_set_18
	.long	L0_0_set_22
	.long	L0_0_set_27
	.long	L0_0_set_31
	.end_data_region
                                        ## -- End function
	.comm	_BPF_REG_1,4,2                  ## @BPF_REG_1
	.comm	_BPF_REG_2,4,2                  ## @BPF_REG_2
	.comm	_BPF_REG_3,4,2                  ## @BPF_REG_3
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"adjust_head not supported by FW\n"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_NFP_BPF_ADJUST_HEAD_NO_META,4,2 ## @NFP_BPF_ADJUST_HEAD_NO_META
L_.str.1:                               ## @.str.1
	.asciz	"adjust_head: FW requires shifting metadata, not supported by the driver\n"

L_.str.2:                               ## @.str.2
	.asciz	"adjust_tail not supported by FW\n"

L_.str.3:                               ## @.str.3
	.asciz	"map_lookup"

L_.str.4:                               ## @.str.4
	.asciz	"map_update"

L_.str.5:                               ## @.str.5
	.asciz	"map_delete"

L_.str.6:                               ## @.str.6
	.asciz	"bpf_get_prandom_u32(): FW doesn't support random number generation\n"

	.comm	_NFP_BPF_SCALAR_VALUE,4,2       ## @NFP_BPF_SCALAR_VALUE
	.comm	_SCALAR_VALUE,4,2               ## @SCALAR_VALUE
	.comm	_NFP_BPF_MAP_VALUE,4,2          ## @NFP_BPF_MAP_VALUE
	.comm	_PTR_TO_MAP_VALUE,4,2           ## @PTR_TO_MAP_VALUE
	.comm	_NFP_BPF_STACK,4,2              ## @NFP_BPF_STACK
	.comm	_PTR_TO_STACK,4,2               ## @PTR_TO_STACK
	.comm	_NFP_BPF_PACKET_DATA,4,2        ## @NFP_BPF_PACKET_DATA
	.comm	_PTR_TO_PACKET,4,2              ## @PTR_TO_PACKET
L_.str.7:                               ## @.str.7
	.asciz	"event_output: not supported by FW\n"

	.comm	_BPF_F_INDEX_MASK,4,2           ## @BPF_F_INDEX_MASK
	.comm	_BPF_F_CURRENT_CPU,4,2          ## @BPF_F_CURRENT_CPU
L_.str.8:                               ## @.str.8
	.asciz	"event_output: must use BPF_F_CURRENT_CPU, var_off: %s\n"

	.comm	_BPF_REG_4,4,2                  ## @BPF_REG_4
L_.str.9:                               ## @.str.9
	.asciz	"event_output: unsupported ptr type: %d\n"

L_.str.10:                              ## @.str.10
	.asciz	"event_output"

L_.str.11:                              ## @.str.11
	.asciz	"bpf: note: return codes and behavior of bpf_event_output() helper differs for offloaded programs!\n"

L_.str.12:                              ## @.str.12
	.asciz	"warning: return codes and behavior of event_output helper differ for offload!\n"

L_.str.13:                              ## @.str.13
	.asciz	"event_output: ptr type changed: %d %d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.14:                              ## @.str.14
	.asciz	"unsupported function id: %d\n"

	.no_dead_strip	_nfp_bpf_check_helper_call
.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_helper_call
_nfp_bpf_check_helper_call:             ; @nfp_bpf_check_helper_call
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x19, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	mov	x0, x1
	bl	_cur_regs
	mov	x21, x0
Lloh3:
	adrp	x8, _BPF_REG_1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BPF_REG_1@GOTPAGEOFF]
Lloh5:
	ldrsw	x22, [x8]
	mov	x0, x19
	bl	_cur_regs
	mov	x25, x0
Lloh6:
	adrp	x8, _BPF_REG_2@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BPF_REG_2@GOTPAGEOFF]
Lloh8:
	ldrsw	x27, [x8]
	mov	x0, x19
	bl	_cur_regs
	ldr	w26, [x20, #28]
	sub	w8, w26, #128
	cmp	w8, #6
	b.hi	LBB0_4
; %bb.1:
	mov	x24, x0
	mov	w28, #12
	madd	x22, x22, x28, x21
Lloh9:
	adrp	x9, _BPF_REG_3@GOTPAGE
Lloh10:
	ldr	x9, [x9, _BPF_REG_3@GOTPAGEOFF]
	madd	x21, x27, x28, x25
Lloh11:
	ldrsw	x27, [x9]
	ldr	x25, [x23]
Lloh12:
	adrp	x9, lJTI0_0@PAGE
Lloh13:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w8, [x25, #28]
	cbnz	w8, LBB0_22
; %bb.3:
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_39
LBB0_4:
	str	x26, [sp]
Lloh16:
	adrp	x1, l_.str.14@PAGE
Lloh17:
	add	x1, x1, l_.str.14@PAGEOFF
	b	LBB0_39
LBB0_5:
Lloh18:
	adrp	x8, _NFP_BPF_SCALAR_VALUE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _NFP_BPF_SCALAR_VALUE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x28, _SCALAR_VALUE@GOTPAGE
Lloh22:
	ldr	x28, [x28, _SCALAR_VALUE@GOTPAGEOFF]
	ldr	w9, [x28]
	cmp	w8, w9
	b.ne	LBB0_23
; %bb.6:
Lloh23:
	adrp	x8, _NFP_BPF_MAP_VALUE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _NFP_BPF_MAP_VALUE@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x9, _PTR_TO_MAP_VALUE@GOTPAGE
Lloh27:
	ldr	x9, [x9, _PTR_TO_MAP_VALUE@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_23
; %bb.7:
Lloh29:
	adrp	x8, _NFP_BPF_STACK@GOTPAGE
Lloh30:
	ldr	x8, [x8, _NFP_BPF_STACK@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
Lloh32:
	adrp	x9, _PTR_TO_STACK@GOTPAGE
Lloh33:
	ldr	x9, [x9, _PTR_TO_STACK@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_23
; %bb.8:
Lloh35:
	adrp	x8, _NFP_BPF_PACKET_DATA@GOTPAGE
Lloh36:
	ldr	x8, [x8, _NFP_BPF_PACKET_DATA@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
Lloh38:
	adrp	x9, _PTR_TO_PACKET@GOTPAGE
Lloh39:
	ldr	x9, [x9, _PTR_TO_PACKET@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, ne
	b	LBB0_24
LBB0_9:
	ldr	w3, [x25, #16]
Lloh41:
	adrp	x0, l_.str.4@PAGE
Lloh42:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	mov	x4, x22
	bl	_nfp_bpf_map_call_ok
	cbz	w0, LBB0_40
; %bb.10:
	mov	x8, x20
	ldr	w9, [x8], #4
	cmp	w9, #0
	csel	x3, xzr, x8, eq
Lloh43:
	adrp	x0, l_.str.4@PAGE
Lloh44:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x19
	mov	x2, x21
	bl	_nfp_bpf_stack_arg_ok
	cbz	w0, LBB0_40
; %bb.11:
	madd	x2, x27, x28, x24
Lloh45:
	adrp	x0, l_.str.4@PAGE
Lloh46:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x19
	mov	x3, #0
	bl	_nfp_bpf_stack_arg_ok
	cbz	w0, LBB0_40
; %bb.12:
	mov	x0, x19
	bl	_nfp_bpf_map_update_value_ok
	cbnz	w0, LBB0_22
	b	LBB0_40
LBB0_13:
	ldr	w3, [x25, #20]
Lloh47:
	adrp	x0, l_.str.3@PAGE
Lloh48:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	mov	x4, x22
	bl	_nfp_bpf_map_call_ok
	cbz	w0, LBB0_40
; %bb.14:
	mov	x8, x20
	ldr	w9, [x8], #4
	cmp	w9, #0
	csel	x3, xzr, x8, eq
Lloh49:
	adrp	x0, l_.str.3@PAGE
Lloh50:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_20
LBB0_15:
	ldr	w8, [x25, #36]
	cbz	w8, LBB0_35
; %bb.16:
	ldr	w8, [x25, #32]
Lloh51:
	adrp	x9, _NFP_BPF_ADJUST_HEAD_NO_META@GOTPAGE
Lloh52:
	ldr	x9, [x9, _NFP_BPF_ADJUST_HEAD_NO_META@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_37
; %bb.17:
	mov	x0, x25
	mov	x1, x23
	mov	x2, x20
	mov	x3, x21
	bl	_nfp_record_adjust_head
	b	LBB0_22
LBB0_18:
	ldr	w3, [x25, #12]
Lloh54:
	adrp	x0, l_.str.5@PAGE
Lloh55:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	mov	x4, x22
	bl	_nfp_bpf_map_call_ok
	cbz	w0, LBB0_40
; %bb.19:
	mov	x8, x20
	ldr	w9, [x8], #4
	cmp	w9, #0
	csel	x3, xzr, x8, eq
Lloh56:
	adrp	x0, l_.str.5@PAGE
Lloh57:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_20:
	mov	x1, x19
	mov	x2, x21
	bl	_nfp_bpf_stack_arg_ok
	cbnz	w0, LBB0_22
	b	LBB0_40
LBB0_21:
	ldr	w8, [x25, #24]
	cbz	w8, LBB0_36
LBB0_22:
	mov	w0, #0
	str	w26, [x20]
	ldr	x8, [x22]
	ldr	w9, [x22, #8]
	str	w9, [x20, #24]
	str	x8, [x20, #16]
	ldr	x8, [x21]
	ldr	w9, [x21, #8]
	str	w9, [x20, #12]
	stur	x8, [x20, #4]
	b	LBB0_42
LBB0_23:
	mov	w0, #1
LBB0_24:
	bl	_BUILD_BUG_ON
	ldr	w8, [x25, #8]
	cbz	w8, LBB0_34
; %bb.25:
	mov	w8, #12
	madd	x8, x27, x8, x24
	ldr	w10, [x8, #4]!
Lloh58:
	adrp	x9, _BPF_F_INDEX_MASK@GOTPAGE
Lloh59:
	ldr	x9, [x9, _BPF_F_INDEX_MASK@GOTPAGEOFF]
Lloh60:
	ldr	w9, [x9]
	tst	w9, w10
	b.ne	LBB0_33
; %bb.26:
	mov	w10, #12
	madd	x10, x27, x10, x24
	ldr	w10, [x10, #8]
	and	w9, w10, w9
Lloh61:
	adrp	x10, _BPF_F_CURRENT_CPU@GOTPAGE
Lloh62:
	ldr	x10, [x10, _BPF_F_CURRENT_CPU@GOTPAGEOFF]
Lloh63:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_33
; %bb.27:
	mov	x0, x19
	bl	_cur_regs
Lloh64:
	adrp	x8, _BPF_REG_4@GOTPAGE
Lloh65:
	ldr	x8, [x8, _BPF_REG_4@GOTPAGEOFF]
Lloh66:
	ldrsw	x8, [x8]
	mov	w9, #12
	madd	x22, x8, x9, x0
	ldr	w8, [x22]
Lloh67:
	adrp	x9, _PTR_TO_STACK@GOTPAGE
Lloh68:
	ldr	x9, [x9, _PTR_TO_STACK@GOTPAGEOFF]
	ldr	w10, [x28]
Lloh69:
	ldr	w9, [x9]
Lloh70:
	adrp	x11, _PTR_TO_MAP_VALUE@GOTPAGE
Lloh71:
	ldr	x11, [x11, _PTR_TO_MAP_VALUE@GOTPAGEOFF]
Lloh72:
	adrp	x12, _PTR_TO_PACKET@GOTPAGE
Lloh73:
	ldr	x12, [x12, _PTR_TO_PACKET@GOTPAGEOFF]
Lloh74:
	ldr	w11, [x11]
Lloh75:
	ldr	w12, [x12]
	cmp	w8, w10
	ccmp	w8, w9, #4, ne
	ccmp	w8, w11, #4, ne
	ccmp	w8, w12, #4, ne
	b.ne	LBB0_38
; %bb.28:
	cmp	w8, w9
	b.ne	LBB0_30
; %bb.29:
Lloh76:
	adrp	x0, l_.str.10@PAGE
Lloh77:
	add	x0, x0, l_.str.10@PAGEOFF
	mov	x1, x19
	mov	x2, x22
	mov	x3, #0
	bl	_nfp_bpf_stack_arg_ok
	cbz	w0, LBB0_40
LBB0_30:
	ldr	x8, [x23]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x0, [x8]
Lloh78:
	adrp	x1, l_.str.11@PAGE
Lloh79:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_dev_warn_once
Lloh80:
	adrp	x1, l_.str.12@PAGE
Lloh81:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x19
	bl	_pr_vlog
	ldr	w8, [x20]
	cbz	w8, LBB0_22
; %bb.31:
	ldr	w9, [x22]
	ldr	w8, [x20, #16]
	cmp	w9, w8
	b.eq	LBB0_22
; %bb.32:
	stp	x8, x9, [sp]
Lloh82:
	adrp	x1, l_.str.13@PAGE
Lloh83:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x19
	bl	_pr_vlog
Lloh84:
	adrp	x8, _EINVAL@GOTPAGE
Lloh85:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_41
LBB0_33:
	ldr	x2, [x8]
	add	x20, sp, #24
	add	x0, sp, #24
	mov	w1, #48
	bl	_tnum_strn
	str	x20, [sp]
Lloh86:
	adrp	x1, l_.str.8@PAGE
Lloh87:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_39
LBB0_34:
Lloh88:
	adrp	x1, l_.str.7@PAGE
Lloh89:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_39
LBB0_35:
Lloh90:
	adrp	x1, l_.str@PAGE
Lloh91:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_39
LBB0_36:
Lloh92:
	adrp	x1, l_.str.6@PAGE
Lloh93:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_39
LBB0_37:
Lloh94:
	adrp	x1, l_.str.1@PAGE
Lloh95:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_39
LBB0_38:
	str	x8, [sp]
Lloh96:
	adrp	x1, l_.str.9@PAGE
Lloh97:
	add	x1, x1, l_.str.9@PAGEOFF
LBB0_39:
	mov	x0, x19
	bl	_pr_vlog
LBB0_40:
Lloh98:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh99:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_41:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_42:
	ldr	x8, [sp, #72]
Lloh100:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh101:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh102:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_44
; %bb.43:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_44:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh74
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh84, Lloh85
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpAdd	Lloh96, Lloh97
	.loh AdrpLdrGot	Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
                                        ; -- End function
	.comm	_BPF_REG_1,4,2                  ; @BPF_REG_1
	.comm	_BPF_REG_2,4,2                  ; @BPF_REG_2
	.comm	_BPF_REG_3,4,2                  ; @BPF_REG_3
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"adjust_head not supported by FW\n"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_NFP_BPF_ADJUST_HEAD_NO_META,4,2 ; @NFP_BPF_ADJUST_HEAD_NO_META
l_.str.1:                               ; @.str.1
	.asciz	"adjust_head: FW requires shifting metadata, not supported by the driver\n"

l_.str.2:                               ; @.str.2
	.asciz	"adjust_tail not supported by FW\n"

l_.str.3:                               ; @.str.3
	.asciz	"map_lookup"

l_.str.4:                               ; @.str.4
	.asciz	"map_update"

l_.str.5:                               ; @.str.5
	.asciz	"map_delete"

l_.str.6:                               ; @.str.6
	.asciz	"bpf_get_prandom_u32(): FW doesn't support random number generation\n"

	.comm	_NFP_BPF_SCALAR_VALUE,4,2       ; @NFP_BPF_SCALAR_VALUE
	.comm	_SCALAR_VALUE,4,2               ; @SCALAR_VALUE
	.comm	_NFP_BPF_MAP_VALUE,4,2          ; @NFP_BPF_MAP_VALUE
	.comm	_PTR_TO_MAP_VALUE,4,2           ; @PTR_TO_MAP_VALUE
	.comm	_NFP_BPF_STACK,4,2              ; @NFP_BPF_STACK
	.comm	_PTR_TO_STACK,4,2               ; @PTR_TO_STACK
	.comm	_NFP_BPF_PACKET_DATA,4,2        ; @NFP_BPF_PACKET_DATA
	.comm	_PTR_TO_PACKET,4,2              ; @PTR_TO_PACKET
l_.str.7:                               ; @.str.7
	.asciz	"event_output: not supported by FW\n"

	.comm	_BPF_F_INDEX_MASK,4,2           ; @BPF_F_INDEX_MASK
	.comm	_BPF_F_CURRENT_CPU,4,2          ; @BPF_F_CURRENT_CPU
l_.str.8:                               ; @.str.8
	.asciz	"event_output: must use BPF_F_CURRENT_CPU, var_off: %s\n"

	.comm	_BPF_REG_4,4,2                  ; @BPF_REG_4
l_.str.9:                               ; @.str.9
	.asciz	"event_output: unsupported ptr type: %d\n"

l_.str.10:                              ; @.str.10
	.asciz	"event_output"

l_.str.11:                              ; @.str.11
	.asciz	"bpf: note: return codes and behavior of bpf_event_output() helper differs for offloaded programs!\n"

l_.str.12:                              ; @.str.12
	.asciz	"warning: return codes and behavior of event_output helper differ for offload!\n"

l_.str.13:                              ; @.str.13
	.asciz	"event_output: ptr type changed: %d %d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.14:                              ; @.str.14
	.asciz	"unsupported function id: %d\n"

	.no_dead_strip	_nfp_bpf_check_helper_call
.subsections_via_symbols
