	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_flower_compile_port
_nfp_flower_compile_port:               ## @nfp_flower_compile_port
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	testl	%edx, %edx
	je	LBB0_2
## %bb.1:
	movl	$-1, %edi
	jmp	LBB0_7
LBB0_2:
	testl	%ecx, %ecx
	je	LBB0_4
## %bb.3:
	movq	_NFP_FL_PORT_TYPE_TUN@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, %edi
	jmp	LBB0_7
LBB0_4:
	testl	%esi, %esi
	je	LBB0_5
## %bb.6:
	movl	%esi, %edi
LBB0_7:
	callq	_cpu_to_be32
	movq	%rax, (%rbx)
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str(%rip), %rsi
	movq	%r8, %rdi
	callq	_NL_SET_ERR_MSG_MOD
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_NFP_FL_PORT_TYPE_TUN,4,2       ## @NFP_FL_PORT_TYPE_TUN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unsupported offload: invalid ingress interface for match offload"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp_flower_compile_port
_nfp_flower_compile_port:               ; @nfp_flower_compile_port
	.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
	mov	x19, x0
	cbz	w2, LBB0_2
; %bb.1:
	mov	w0, #-1
	b	LBB0_6
LBB0_2:
	cbz	w3, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _NFP_FL_PORT_TYPE_TUN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NFP_FL_PORT_TYPE_TUN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	orr	w0, w8, w3
	b	LBB0_6
LBB0_4:
	cbz	w1, LBB0_8
; %bb.5:
	mov	x0, x1
LBB0_6:
	bl	_cpu_to_be32
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x4
	bl	_NL_SET_ERR_MSG_MOD
Lloh5:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NFP_FL_PORT_TYPE_TUN,4,2       ; @NFP_FL_PORT_TYPE_TUN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unsupported offload: invalid ingress interface for match offload"

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