	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_tc_pedit_action
_parse_tc_pedit_action:                 ## @parse_tc_pedit_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	_FLOW_ACTION_MANGLE@GOTPCREL(%rip), %rax
	movq	(%rsi), %rcx
	xorl	%r14d, %r14d
	cmpq	(%rax), %rcx
	setne	%r15b
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	movq	8(%rsi), %r13
	movq	_FLOW_ACT_MANGLE_UNSPEC@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r9, %rdi
	jmp	LBB0_6
LBB0_2:
	movq	%rsi, %rbx
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	(%rdi), %edi
	movl	%edx, %esi
	callq	_mlx5e_flow_namespace_max_modify_action
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movb	%r15b, %r14b
	movl	24(%rbx), %esi
	movl	16(%rbx), %ecx
	movl	20(%rbx), %edx
	notl	%esi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r14,4), %rbx
	movq	%r13, %rdi
	movq	%rbx, %r8
	callq	_set_pedit_val
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	incl	(%rbx)
	xorl	%r12d, %r12d
	jmp	LBB0_7
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_6:
	callq	_NL_SET_ERR_MSG_MOD
LBB0_7:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FLOW_ACTION_MANGLE,8,3         ## @FLOW_ACTION_MANGLE
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_FLOW_ACT_MANGLE_UNSPEC,8,3     ## @FLOW_ACT_MANGLE_UNSPEC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"legacy pedit isn't offloaded"

L_.str.1:                               ## @.str.1
	.asciz	"The pedit offload action is not supported"

	.no_dead_strip	_parse_tc_pedit_action
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_tc_pedit_action
_parse_tc_pedit_action:                 ; @parse_tc_pedit_action
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x5
	ldp	x8, x23, [x1]
Lloh0:
	adrp	x9, _FLOW_ACTION_MANGLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FLOW_ACTION_MANGLE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w24, ne
Lloh3:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w19, w8
Lloh6:
	adrp	x8, _FLOW_ACT_MANGLE_UNSPEC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FLOW_ACT_MANGLE_UNSPEC@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x23, x8
	b.ne	LBB0_2
; %bb.1:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_6
LBB0_2:
	mov	x21, x4
	mov	x22, x1
	ldr	w0, [x0]
	mov	x1, x2
	bl	_mlx5e_flow_namespace_max_modify_action
	cbz	w0, LBB0_5
; %bb.3:
	ldp	w2, w8, [x22, #20]
	ldr	w3, [x22, #16]
	mvn	w1, w8
	add	x20, x21, x24, lsl #2
	mov	x0, x23
	mov	x4, x20
	bl	_set_pedit_val
	mov	x19, x0
	cbnz	w0, LBB0_7
; %bb.4:
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	b	LBB0_7
LBB0_5:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_6:
	mov	x0, x20
	bl	_NL_SET_ERR_MSG_MOD
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_FLOW_ACTION_MANGLE,8,3         ; @FLOW_ACTION_MANGLE
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_FLOW_ACT_MANGLE_UNSPEC,8,3     ; @FLOW_ACT_MANGLE_UNSPEC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"legacy pedit isn't offloaded"

l_.str.1:                               ; @.str.1
	.asciz	"The pedit offload action is not supported"

	.no_dead_strip	_parse_tc_pedit_action
.subsections_via_symbols
