	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_fl_pedit
_nfp_fl_pedit:                          ## @nfp_fl_pedit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%r9, %r8
	movq	16(%rbp), %r9
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_8
## %bb.1:
	movl	4(%rdi), %esi
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_7:
	movq	_NFP_FL_ACTION_OPCODE_SET_UDP@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_8:
	leaq	L_.str(%rip), %rsi
	movq	%r9, %rdi
	callq	_NL_SET_ERR_MSG_MOD
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_5:
	movq	_NFP_FL_ACTION_OPCODE_SET_TCP@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %ecx
	movq	%r8, %rdx
	movq	%r9, %r8
	popq	%rbp
	jmp	_nfp_fl_set_tport               ## TAILCALL
LBB0_4:
	leaq	12(%r8), %rdx
	leaq	8(%r8), %rcx
	addq	$4, %r8
	popq	%rbp
	jmp	_nfp_fl_set_ip6                 ## TAILCALL
LBB0_3:
	leaq	20(%r8), %rdx
	addq	$16, %r8
	movq	%r8, %rcx
	movq	%r9, %r8
	popq	%rbp
	jmp	_nfp_fl_set_ip4                 ## TAILCALL
LBB0_2:
	addq	$24, %r8
	movq	%r8, %rdx
	movq	%r9, %rcx
	popq	%rbp
	jmp	_nfp_fl_set_eth                 ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_NFP_FL_ACTION_OPCODE_SET_TCP,4,2 ## @NFP_FL_ACTION_OPCODE_SET_TCP
	.comm	_NFP_FL_ACTION_OPCODE_SET_UDP,4,2 ## @NFP_FL_ACTION_OPCODE_SET_UDP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unsupported offload: pedit on unsupported header"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_nfp_fl_pedit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp_fl_pedit
_nfp_fl_pedit:                          ; @nfp_fl_pedit
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_3
; %bb.1:
	ldr	w1, [x0, #4]
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _NFP_FL_ACTION_OPCODE_SET_UDP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NFP_FL_ACTION_OPCODE_SET_UDP@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x6
	bl	_NL_SET_ERR_MSG_MOD
Lloh6:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh9:
	adrp	x8, _NFP_FL_ACTION_OPCODE_SET_TCP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NFP_FL_ACTION_OPCODE_SET_TCP@GOTPAGEOFF]
LBB0_5:
	ldr	w3, [x8]
	mov	x2, x5
	mov	x4, x6
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_nfp_fl_set_tport
LBB0_6:
	add	x2, x5, #12
	add	x3, x5, #8
	add	x4, x5, #4
	mov	x5, x6
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_nfp_fl_set_ip6
LBB0_7:
	add	x2, x5, #20
	add	x3, x5, #16
	mov	x4, x6
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_nfp_fl_set_ip4
LBB0_8:
	add	x2, x5, #24
	mov	x3, x6
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_nfp_fl_set_eth
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
                                        ; -- End function
	.comm	_NFP_FL_ACTION_OPCODE_SET_TCP,4,2 ; @NFP_FL_ACTION_OPCODE_SET_TCP
	.comm	_NFP_FL_ACTION_OPCODE_SET_UDP,4,2 ; @NFP_FL_ACTION_OPCODE_SET_UDP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unsupported offload: pedit on unsupported header"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_nfp_fl_pedit
.subsections_via_symbols
