	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfp_verify_insn                ## -- Begin function nfp_verify_insn
	.p2align	4, 0x90
_nfp_verify_insn:                       ## @nfp_verify_insn
	.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	%esi, %edx
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %r15
	movq	(%r15), %rsi
	movq	%r15, %rdi
	callq	_nfp_bpf_goto_meta
	movq	%rax, %rbx
	movq	%rax, (%r15)
	movl	(%rax), %edi
	callq	_nfp_bpf_supported_opcode
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_MAX_BPF_REG@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, 8(%rbx)
	jge	LBB0_4
## %bb.3:
	cmpq	%rax, 16(%rbx)
	jge	LBB0_4
## %bb.6:
	movq	%rbx, %rdi
	callq	_is_mbpf_helper_call
	testq	%rax, %rax
	je	LBB0_7
## %bb.14:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nfp_bpf_check_helper_call      ## TAILCALL
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_pr_vlog
	jmp	LBB0_5
LBB0_1:
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_pr_vlog
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_BPF_JMP@GOTPCREL(%rip), %rax
	movq	_BPF_EXIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	cmpl	%ecx, (%rbx)
	jne	LBB0_8
## %bb.15:
	movq	%r15, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nfp_bpf_check_exit             ## TAILCALL
LBB0_8:
	movq	%rbx, %rdi
	callq	_is_mbpf_load
	testq	%rax, %rax
	je	LBB0_9
## %bb.16:
	movq	8(%rbx), %rcx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nfp_bpf_check_ptr              ## TAILCALL
LBB0_9:
	movq	%rbx, %rdi
	callq	_is_mbpf_store
	testq	%rax, %rax
	je	LBB0_10
## %bb.17:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nfp_bpf_check_store            ## TAILCALL
LBB0_10:
	movq	%rbx, %rdi
	callq	_is_mbpf_xadd
	testq	%rax, %rax
	je	LBB0_11
## %bb.18:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nfp_bpf_check_xadd             ## TAILCALL
LBB0_11:
	movq	%rbx, %rdi
	callq	_is_mbpf_alu
	testq	%rax, %rax
	je	LBB0_12
## %bb.19:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nfp_bpf_check_alu              ## TAILCALL
LBB0_12:
	xorl	%ebx, %ebx
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"instruction %#02x not supported\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MAX_BPF_REG,8,3                ## @MAX_BPF_REG
L_.str.1:                               ## @.str.1
	.asciz	"program uses extended registers - jit hardening?\n"

	.comm	_BPF_JMP,4,2                    ## @BPF_JMP
	.comm	_BPF_EXIT,4,2                   ## @BPF_EXIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfp_verify_insn                ; -- Begin function nfp_verify_insn
	.p2align	2
_nfp_verify_insn:                       ; @nfp_verify_insn
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x2, x1
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x20, [x8]
	ldr	x1, [x20]
	mov	x0, x20
	bl	_nfp_bpf_goto_meta
	mov	x21, x0
	str	x0, [x20]
	ldr	w0, [x0]
	bl	_nfp_bpf_supported_opcode
	cbz	w0, LBB0_6
; %bb.1:
	ldr	x9, [x21, #8]
Lloh0:
	adrp	x8, _MAX_BPF_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_BPF_REG@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x9, x8
	b.ge	LBB0_5
; %bb.2:
	ldr	x9, [x21, #16]
	cmp	x9, x8
	b.ge	LBB0_5
; %bb.3:
	mov	x0, x21
	bl	_is_mbpf_helper_call
	cbz	x0, LBB0_9
; %bb.4:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_nfp_bpf_check_helper_call
LBB0_5:
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_6:
	ldr	w8, [x21]
	str	x8, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
LBB0_7:
	mov	x0, x19
	bl	_pr_vlog
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_9:
	ldr	w8, [x21]
Lloh10:
	adrp	x9, _BPF_JMP@GOTPAGE
Lloh11:
	ldr	x9, [x9, _BPF_JMP@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
Lloh13:
	adrp	x10, _BPF_EXIT@GOTPAGE
Lloh14:
	ldr	x10, [x10, _BPF_EXIT@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	orr	w9, w10, w9
	cmp	w8, w9
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_nfp_bpf_check_exit
LBB0_11:
	mov	x0, x21
	bl	_is_mbpf_load
	cbz	x0, LBB0_13
; %bb.12:
	ldr	x3, [x21, #8]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_nfp_bpf_check_ptr
LBB0_13:
	mov	x0, x21
	bl	_is_mbpf_store
	cbz	x0, LBB0_15
; %bb.14:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_nfp_bpf_check_store
LBB0_15:
	mov	x0, x21
	bl	_is_mbpf_xadd
	cbz	x0, LBB0_17
; %bb.16:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_nfp_bpf_check_xadd
LBB0_17:
	mov	x0, x21
	bl	_is_mbpf_alu
	cbz	x0, LBB0_8
; %bb.18:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_nfp_bpf_check_alu
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"instruction %#02x not supported\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MAX_BPF_REG,8,3                ; @MAX_BPF_REG
l_.str.1:                               ; @.str.1
	.asciz	"program uses extended registers - jit hardening?\n"

	.comm	_BPF_JMP,4,2                    ; @BPF_JMP
	.comm	_BPF_EXIT,4,2                   ; @BPF_EXIT
.subsections_via_symbols
