	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_flower_output_action
_nfp_flower_output_action:              ## @nfp_flower_output_action
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	56(%rbp), %rbx
	movq	40(%rbp), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_3:
	movq	%rcx, %r12
	movq	%rsi, %r13
	movslq	(%rcx), %rsi
	leaq	4(%rsi), %rax
	movq	_NFP_FL_MAX_A_SIZ@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jbe	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
LBB0_2:
	movq	%rbx, %rdi
	callq	_NL_SET_ERR_MSG_MOD
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	%r9d, %r11d
	movq	%r8, %r9
	movq	%rdx, %r15
	movq	%rdi, %r14
	movl	48(%rbp), %r10d
	movq	16(%rbp), %rcx
	movq	(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	shlq	$2, %rsi
	addq	(%rdx), %rsi
	movl	(%rcx), %eax
	movq	%r13, %rdx
	movq	%r15, %rcx
	movl	%r11d, %r8d
	pushq	%rbx
	pushq	%r10
	pushq	24(%rbp)
	pushq	%rax
	movl	%r11d, %ebx
	callq	_nfp_fl_output
	addq	$32, %rsp
	testl	%eax, %eax
	jne	LBB0_14
## %bb.6:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	56(%rbp), %rbx
	movq	32(%rbp), %rdx
	movl	(%r12), %ecx
	addl	$4, %ecx
	movl	%ecx, (%r12)
	movq	_NFP_FL_FEATS_LAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	testl	%eax, (%rsi)
	je	LBB0_13
## %bb.7:
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	movq	%rbx, %r8
	callq	_nfp_fl_pre_lag
	testl	%eax, %eax
	js	LBB0_14
## %bb.8:
	movq	32(%rbp), %rdx
	je	LBB0_12
## %bb.9:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_11
## %bb.10:
	cmpl	$0, (%rdx)
	je	LBB0_12
LBB0_11:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_2
LBB0_12:
	addl	%eax, (%r12)
LBB0_13:
	incl	(%rdx)
	xorl	%eax, %eax
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unsupported offload: set actions without updating checksums are not supported"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_NFP_FL_MAX_A_SIZ,4,2           ## @NFP_FL_MAX_A_SIZ
L_.str.1:                               ## @.str.1
	.asciz	"unsupported offload: mirred output increases action list size beyond the allowed maximum"

	.comm	_NFP_FL_FEATS_LAG,4,2           ## @NFP_FL_FEATS_LAG
L_.str.2:                               ## @.str.2
	.asciz	"unsupported offload: LAG action has to be last action in action list"

	.no_dead_strip	_nfp_flower_output_action
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp_flower_output_action
_nfp_flower_output_action:              ; @nfp_flower_output_action
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	x19, [x29, #40]
	ldr	x8, [x29, #24]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:
	mov	x20, x3
	ldrsw	x8, [x3]
	add	x9, x8, #4
Lloh2:
	adrp	x10, _NFP_FL_MAX_A_SIZ@GOTPAGE
Lloh3:
	ldr	x10, [x10, _NFP_FL_MAX_A_SIZ@GOTPAGEOFF]
Lloh4:
	ldrsw	x10, [x10]
	cmp	x9, x10
	b.ls	LBB0_6
; %bb.3:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_4:
	mov	x0, x19
	bl	_NL_SET_ERR_MSG_MOD
Lloh7:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_6:
	mov	x21, x5
	mov	x5, x4
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	ldr	w9, [x29, #32]
	ldr	x26, [x0]
	ldr	x10, [x2]
	add	x1, x10, x8, lsl #2
	ldr	w6, [x6]
	str	x19, [sp, #8]
	str	w9, [sp]
	mov	x2, x23
	mov	x3, x22
	mov	x4, x21
	bl	_nfp_fl_output
	cbnz	w0, LBB0_5
; %bb.7:
	ldr	x25, [x29, #16]
	ldr	w8, [x20]
	add	w3, w8, #4
	str	w3, [x20]
	ldr	w8, [x26]
Lloh10:
	adrp	x9, _NFP_FL_FEATS_LAG@GOTPAGE
Lloh11:
	ldr	x9, [x9, _NFP_FL_FEATS_LAG@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.8:
	mov	x0, x24
	mov	x1, x23
	mov	x2, x22
	mov	x4, x19
	bl	_nfp_fl_pre_lag
	tbnz	w0, #31, LBB0_5
; %bb.9:
	cbz	w0, LBB0_13
; %bb.10:
	cbz	w21, LBB0_12
; %bb.11:
	ldr	w8, [x25]
	cbz	w8, LBB0_13
LBB0_12:
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_13:
	ldr	w8, [x20]
	add	w8, w8, w0
	str	w8, [x20]
LBB0_14:
	mov	w0, #0
	ldr	w8, [x25]
	add	w8, w8, #1
	str	w8, [x25]
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unsupported offload: set actions without updating checksums are not supported"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_NFP_FL_MAX_A_SIZ,4,2           ; @NFP_FL_MAX_A_SIZ
l_.str.1:                               ; @.str.1
	.asciz	"unsupported offload: mirred output increases action list size beyond the allowed maximum"

	.comm	_NFP_FL_FEATS_LAG,4,2           ; @NFP_FL_FEATS_LAG
l_.str.2:                               ; @.str.2
	.asciz	"unsupported offload: LAG action has to be last action in action list"

	.no_dead_strip	_nfp_flower_output_action
.subsections_via_symbols
