	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_bpf_check_exit
_nfp_bpf_check_exit:                    ## @nfp_bpf_check_exit
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, %rdi
	callq	_cur_regs
	movq	%rax, %rbx
	movq	(%r12), %rax
	movq	_BPF_PROG_TYPE_XDP@GOTPCREL(%rip), %rcx
	xorl	%r15d, %r15d
	cmpq	(%rcx), %rax
	je	LBB0_11
## %bb.1:
	movq	_BPF_REG_0@GOTPCREL(%rip), %rax
	movslq	(%rax), %r13
	shlq	$4, %r13
	leaq	(%rbx,%r13), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	(%rbx,%r13), %rax
	movq	_SCALAR_VALUE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	8(%rbx,%r13), %rdi
	callq	_tnum_is_const
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	(%r12), %rax
	movq	_BPF_PROG_TYPE_SCHED_CLS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.5:
	leaq	(%rbx,%r13), %rax
	addq	$8, %rax
	movq	(%rax), %rcx
	movq	_TC_ACT_REDIRECT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	ja	LBB0_11
## %bb.6:
	movq	_TC_ACT_SHOT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	je	LBB0_11
## %bb.7:
	movq	_TC_ACT_STOLEN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	je	LBB0_11
## %bb.8:
	movq	_TC_ACT_QUEUED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	je	LBB0_11
## %bb.9:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	jmp	LBB0_10
LBB0_3:
	movq	8(%rbx,%r13), %rdx
	leaq	-96(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$48, %esi
	callq	_tnum_strn
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rdx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rcx
LBB0_10:
	callq	_pr_vlog
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	movl	%r15d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BPF_REG_0,4,2                  ## @BPF_REG_0
	.comm	_BPF_PROG_TYPE_XDP,8,3          ## @BPF_PROG_TYPE_XDP
	.comm	_SCALAR_VALUE,8,3               ## @SCALAR_VALUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unsupported exit state: %d, var_off: %s\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_BPF_PROG_TYPE_SCHED_CLS,8,3    ## @BPF_PROG_TYPE_SCHED_CLS
	.comm	_TC_ACT_REDIRECT,8,3            ## @TC_ACT_REDIRECT
	.comm	_TC_ACT_SHOT,8,3                ## @TC_ACT_SHOT
	.comm	_TC_ACT_STOLEN,8,3              ## @TC_ACT_STOLEN
	.comm	_TC_ACT_QUEUED,8,3              ## @TC_ACT_QUEUED
L_.str.1:                               ## @.str.1
	.asciz	"unsupported exit state: %d, imm: %llx\n"

	.no_dead_strip	_nfp_bpf_check_exit
.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_exit
_nfp_bpf_check_exit:                    ; @nfp_bpf_check_exit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	mov	x0, x1
	bl	_cur_regs
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _BPF_PROG_TYPE_XDP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BPF_PROG_TYPE_XDP@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_9
LBB0_2:
Lloh6:
	adrp	x8, _BPF_REG_0@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BPF_REG_0@GOTPAGEOFF]
Lloh8:
	ldrsw	x8, [x8]
	add	x21, x0, x8, lsl #4
	ldr	x8, [x21]
Lloh9:
	adrp	x9, _SCALAR_VALUE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SCALAR_VALUE@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.3:
	mov	x22, x21
	ldr	x0, [x22, #8]!
	bl	_tnum_is_const
	cbz	x0, LBB0_7
; %bb.4:
	mov	w0, #0
	ldr	x8, [x20]
Lloh12:
	adrp	x9, _BPF_PROG_TYPE_SCHED_CLS@GOTPAGE
Lloh13:
	ldr	x9, [x9, _BPF_PROG_TYPE_SCHED_CLS@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.5:
	ldr	x3, [x22]
Lloh15:
	adrp	x8, _TC_ACT_REDIRECT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TC_ACT_REDIRECT@GOTPAGEOFF]
Lloh17:
	adrp	x9, _TC_ACT_SHOT@GOTPAGE
Lloh18:
	ldr	x9, [x9, _TC_ACT_SHOT@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
Lloh20:
	ldr	x9, [x9]
Lloh21:
	adrp	x10, _TC_ACT_STOLEN@GOTPAGE
Lloh22:
	ldr	x10, [x10, _TC_ACT_STOLEN@GOTPAGEOFF]
Lloh23:
	adrp	x11, _TC_ACT_QUEUED@GOTPAGE
Lloh24:
	ldr	x11, [x11, _TC_ACT_QUEUED@GOTPAGEOFF]
Lloh25:
	ldr	x10, [x10]
Lloh26:
	ldr	x11, [x11]
	cmp	x3, x8
	ccmp	x3, x9, #4, ls
	ccmp	x3, x10, #4, ne
	ccmp	x3, x11, #4, ne
	b.eq	LBB0_9
; %bb.6:
	ldr	x2, [x21]
Lloh27:
	adrp	x1, l_.str.1@PAGE
Lloh28:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_7:
	ldr	x2, [x21, #8]
	add	x0, sp, #8
	mov	w1, #48
	bl	_tnum_strn
	ldr	x2, [x21]
Lloh29:
	adrp	x1, l_.str@PAGE
Lloh30:
	add	x1, x1, l_.str@PAGEOFF
	add	x3, sp, #8
LBB0_8:
	mov	x0, x19
	bl	_pr_vlog
Lloh31:
	adrp	x8, _EINVAL@GOTPAGE
Lloh32:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldur	x8, [x29, #-40]
Lloh34:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh35:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_BPF_REG_0,4,2                  ; @BPF_REG_0
	.comm	_BPF_PROG_TYPE_XDP,8,3          ; @BPF_PROG_TYPE_XDP
	.comm	_SCALAR_VALUE,8,3               ; @SCALAR_VALUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unsupported exit state: %d, var_off: %s\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_BPF_PROG_TYPE_SCHED_CLS,8,3    ; @BPF_PROG_TYPE_SCHED_CLS
	.comm	_TC_ACT_REDIRECT,8,3            ; @TC_ACT_REDIRECT
	.comm	_TC_ACT_SHOT,8,3                ; @TC_ACT_SHOT
	.comm	_TC_ACT_STOLEN,8,3              ; @TC_ACT_STOLEN
	.comm	_TC_ACT_QUEUED,8,3              ; @TC_ACT_QUEUED
l_.str.1:                               ; @.str.1
	.asciz	"unsupported exit state: %d, imm: %llx\n"

	.no_dead_strip	_nfp_bpf_check_exit
.subsections_via_symbols
