	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfp_bpf_opt_remove_insns       ## -- Begin function nfp_bpf_opt_remove_insns
	.p2align	4, 0x90
_nfp_bpf_opt_remove_insns:              ## @nfp_bpf_opt_remove_insns
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	(%rdi), %rcx
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %r15
	movq	8(%r15), %rax
	movl	(%rcx,%rsi,4), %edx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_nfp_bpf_goto_meta
	testq	%r14, %r14
	je	LBB0_5
## %bb.1:
	movq	%rax, %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	4(%r12), %rax
	xorl	%edi, %edi
	cmpq	%r15, %rax
	sete	%dil
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %eax
	movq	_FLAG_INSN_SKIP_VERIFIER_OPT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %r13d
	andl	%eax, %r13d
	orl	%eax, %ecx
	movl	%ecx, (%r12)
	movq	_l@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_list_next_entry
	movq	%rax, %r12
	cmpl	$1, %r13d
	adcl	$-1, %ebx
	incl	%ebx
	cmpq	%r14, %rbx
	jb	LBB0_2
LBB0_5:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_FLAG_INSN_SKIP_VERIFIER_OPT,4,2 ## @FLAG_INSN_SKIP_VERIFIER_OPT
	.comm	_l,4,2                          ## @l
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfp_bpf_opt_remove_insns       ; -- Begin function nfp_bpf_opt_remove_insns
	.p2align	2
_nfp_bpf_opt_remove_insns:              ; @nfp_bpf_opt_remove_insns
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	ldp	x9, x8, [x0]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x20, [x8]
	ldr	x8, [x20, #8]
	ldr	w2, [x9, x1, lsl #2]
	mov	x0, x20
	mov	x1, x8
	bl	_nfp_bpf_goto_meta
	cbz	x19, LBB0_4
; %bb.1:
	mov	x21, x0
	mov	w22, #0
Lloh0:
	adrp	x23, _FLAG_INSN_SKIP_VERIFIER_OPT@GOTPAGE
Lloh1:
	ldr	x23, [x23, _FLAG_INSN_SKIP_VERIFIER_OPT@GOTPAGEOFF]
Lloh2:
	adrp	x24, _l@GOTPAGE
Lloh3:
	ldr	x24, [x24, _l@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x21, #4
	cmp	x8, x20
	cset	w0, eq
	bl	_WARN_ON_ONCE
	cbnz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x21]
	ldr	w9, [x23]
	tst	w9, w8
	cset	w25, ne
	orr	w8, w9, w8
	str	w8, [x21]
	ldr	w1, [x24]
	mov	x0, x21
	bl	_list_next_entry
	mov	x21, x0
	sub	w8, w22, w25
	add	w22, w8, #1
	cmp	x22, x19
	b.lo	LBB0_2
LBB0_4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_FLAG_INSN_SKIP_VERIFIER_OPT,4,2 ; @FLAG_INSN_SKIP_VERIFIER_OPT
	.comm	_l,4,2                          ; @l
.subsections_via_symbols
