	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_fl_set_tport
_nfp_fl_set_tport:                      ## @nfp_fl_set_tport
	.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
	testl	%esi, %esi
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_3:
	movl	(%rdi), %esi
	movl	4(%rdi), %edi
	testl	%esi, %edi
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
LBB0_2:
	movq	%r8, %rdi
	callq	_NL_SET_ERR_MSG_MOD
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	%ecx, %r14d
	movq	%rdx, %r15
	notl	%esi
	movl	12(%rdx), %ecx
	movl	16(%rdx), %edx
	callq	_nfp_fl_set_helper32
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_cpu_to_be16
	movl	%eax, 8(%r15)
	movl	%r14d, (%r15)
	movq	_NFP_FL_LW_SIZ@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$20, %eax
	shrq	%cl, %rax
	movl	%eax, 4(%r15)
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unsupported offload: pedit on unsupported section of L4 header"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
L_.str.1:                               ## @.str.1
	.asciz	"unsupported offload: invalid pedit L4 action"

	.comm	_NFP_FL_LW_SIZ,4,2              ## @NFP_FL_LW_SIZ
	.no_dead_strip	_nfp_fl_set_tport
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp_fl_set_tport
_nfp_fl_set_tport:                      ; @nfp_fl_set_tport
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	w1, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:
	ldp	w8, w0, [x0]
	tst	w0, w8
	b.eq	LBB0_6
; %bb.3:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_4:
	mov	x0, x4
	bl	_NL_SET_ERR_MSG_MOD
Lloh4:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	x20, x3
	mov	x19, x2
	mvn	w1, w8
	ldr	w2, [x2, #16]
	ldr	w3, [x19, #12]
	bl	_nfp_fl_set_helper32
	mov	w0, #0
	bl	_cpu_to_be16
	mov	x8, x0
	mov	w0, #0
Lloh7:
	adrp	x9, _NFP_FL_LW_SIZ@GOTPAGE
Lloh8:
	ldr	x9, [x9, _NFP_FL_LW_SIZ@GOTPAGEOFF]
	str	w20, [x19]
Lloh9:
	ldr	w9, [x9]
	mov	w10, #20
	lsr	x9, x10, x9
	stp	w9, w8, [x19, #4]
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unsupported offload: pedit on unsupported section of L4 header"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
l_.str.1:                               ; @.str.1
	.asciz	"unsupported offload: invalid pedit L4 action"

	.comm	_NFP_FL_LW_SIZ,4,2              ; @NFP_FL_LW_SIZ
	.no_dead_strip	_nfp_fl_set_tport
.subsections_via_symbols
