	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_tc_vlan_action
_parse_tc_vlan_action:                  ## @parse_tc_vlan_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	(%rdx), %rbx
	movq	_MLX5_FS_VLAN_DEPTH@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	cmpq	%rsi, %rbx
	jge	LBB0_18
## %bb.1:
	movq	%rdx, %r15
	movq	%rdi, %r12
	movl	(%r13), %eax
	cmpl	$128, %eax
	je	LBB0_6
## %bb.2:
	cmpl	$129, %eax
	jne	LBB0_11
## %bb.3:
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.4:
	movq	%rcx, %r13
	movl	(%r12), %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_mlx5_eswitch_vlan_actions_supported
	testl	%eax, %eax
	je	LBB0_18
## %bb.5:
	movq	_MLX5_FLOW_CONTEXT_ACTION_VLAN_POP_2@GOTPCREL(%rip), %r14
	movq	%r13, %rcx
	jmp	LBB0_15
LBB0_6:
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	12(%r13), %eax
	movq	24(%r15), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movl	4(%r13), %eax
	movq	16(%r15), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movl	8(%r13), %eax
	movq	8(%r15), %rcx
	movl	%eax, (%rcx,%rbx,4)
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	8(%r15), %rcx
	movl	%eax, (%rcx,%rbx,4)
LBB0_8:
	movl	(%r12), %edi
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.9:
	movl	(%r14), %esi
	callq	_mlx5_eswitch_vlan_actions_supported
	testl	%eax, %eax
	je	LBB0_18
## %bb.10:
	movq	_MLX5_FLOW_CONTEXT_ACTION_VLAN_PUSH_2@GOTPCREL(%rip), %r14
	jmp	LBB0_14
LBB0_11:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_19
LBB0_12:
	movq	_MLX5_FLOW_CONTEXT_ACTION_VLAN_POP@GOTPCREL(%rip), %r14
	jmp	LBB0_15
LBB0_13:
	movl	$1, %esi
	callq	_mlx5_eswitch_vlan_actions_supported
	movq	_MLX5_FLOW_CONTEXT_ACTION_VLAN_PUSH@GOTPCREL(%rip), %r14
	testl	%eax, %eax
	je	LBB0_16
LBB0_14:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
LBB0_15:
	movl	(%r14), %eax
	orl	%eax, (%rcx)
	incq	%rbx
	movq	%rbx, (%r15)
	xorl	%eax, %eax
	jmp	LBB0_20
LBB0_16:
	movl	8(%r13), %r12d
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpl	%eax, %r12d
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jne	LBB0_18
## %bb.17:
	cmpl	$0, 4(%r13)
	je	LBB0_15
LBB0_18:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
LBB0_19:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_FS_VLAN_DEPTH,8,3         ## @MLX5_FS_VLAN_DEPTH
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_MLX5_FLOW_CONTEXT_ACTION_VLAN_POP_2,4,2 ## @MLX5_FLOW_CONTEXT_ACTION_VLAN_POP_2
	.comm	_MLX5_FLOW_CONTEXT_ACTION_VLAN_POP,4,2 ## @MLX5_FLOW_CONTEXT_ACTION_VLAN_POP
	.comm	_ETH_P_8021Q,4,2                ## @ETH_P_8021Q
	.comm	_MLX5_FLOW_CONTEXT_ACTION_VLAN_PUSH_2,4,2 ## @MLX5_FLOW_CONTEXT_ACTION_VLAN_PUSH_2
	.comm	_MLX5_FLOW_CONTEXT_ACTION_VLAN_PUSH,4,2 ## @MLX5_FLOW_CONTEXT_ACTION_VLAN_PUSH
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_parse_tc_vlan_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_vlan_action
_parse_tc_vlan_action:                  ; @parse_tc_vlan_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	x21, x1
	ldr	x23, [x2]
Lloh0:
	adrp	x24, _MLX5_FS_VLAN_DEPTH@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MLX5_FS_VLAN_DEPTH@GOTPAGEOFF]
	ldr	x1, [x24]
	cmp	x23, x1
	b.ge	LBB0_18
; %bb.1:
	mov	x20, x3
	mov	x19, x2
	mov	x22, x0
	ldr	w8, [x21]
	cmp	w8, #128
	b.eq	LBB0_6
; %bb.2:
	cmp	w8, #129
	b.ne	LBB0_10
; %bb.3:
	cbz	x23, LBB0_11
; %bb.4:
	ldr	w0, [x22]
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_mlx5_eswitch_vlan_actions_supported
	cbz	w0, LBB0_18
; %bb.5:
Lloh2:
	adrp	x8, _MLX5_FLOW_CONTEXT_ACTION_VLAN_POP_2@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MLX5_FLOW_CONTEXT_ACTION_VLAN_POP_2@GOTPAGEOFF]
	b	LBB0_15
LBB0_6:
	ldr	w8, [x21, #12]
	ldr	x9, [x19, #24]
	lsl	x10, x23, #2
	str	w8, [x9, x10]
	ldr	w8, [x21, #4]
	ldp	x11, x9, [x19, #8]
	str	w8, [x9, x10]
	ldr	w8, [x21, #8]
	str	w8, [x11, x10]
	cbz	w8, LBB0_12
; %bb.7:
	ldr	w0, [x22]
	cbz	x23, LBB0_13
LBB0_8:
	ldr	w1, [x24]
	bl	_mlx5_eswitch_vlan_actions_supported
	cbz	w0, LBB0_18
; %bb.9:
Lloh4:
	adrp	x8, _MLX5_FLOW_CONTEXT_ACTION_VLAN_PUSH_2@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MLX5_FLOW_CONTEXT_ACTION_VLAN_PUSH_2@GOTPAGEOFF]
	b	LBB0_15
LBB0_10:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_19
LBB0_11:
Lloh8:
	adrp	x8, _MLX5_FLOW_CONTEXT_ACTION_VLAN_POP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MLX5_FLOW_CONTEXT_ACTION_VLAN_POP@GOTPAGEOFF]
	b	LBB0_15
LBB0_12:
Lloh10:
	adrp	x8, _ETH_P_8021Q@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ETH_P_8021Q@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_htons
	ldr	x8, [x19, #8]
	str	w0, [x8, x23, lsl #2]
	ldr	w0, [x22]
	cbnz	x23, LBB0_8
LBB0_13:
	mov	w1, #1
	bl	_mlx5_eswitch_vlan_actions_supported
	cbz	w0, LBB0_16
LBB0_14:
Lloh13:
	adrp	x8, _MLX5_FLOW_CONTEXT_ACTION_VLAN_PUSH@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MLX5_FLOW_CONTEXT_ACTION_VLAN_PUSH@GOTPAGEOFF]
LBB0_15:
	mov	w0, #0
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	add	x8, x23, #1
	str	x8, [x19]
	b	LBB0_20
LBB0_16:
	ldr	w22, [x21, #8]
Lloh15:
	adrp	x8, _ETH_P_8021Q@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ETH_P_8021Q@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_htons
	cmp	w22, w0
	b.ne	LBB0_18
; %bb.17:
	ldr	w8, [x21, #4]
	cbz	w8, LBB0_14
LBB0_18:
Lloh18:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_19:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_20:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_FS_VLAN_DEPTH,8,3         ; @MLX5_FS_VLAN_DEPTH
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_MLX5_FLOW_CONTEXT_ACTION_VLAN_POP_2,4,2 ; @MLX5_FLOW_CONTEXT_ACTION_VLAN_POP_2
	.comm	_MLX5_FLOW_CONTEXT_ACTION_VLAN_POP,4,2 ; @MLX5_FLOW_CONTEXT_ACTION_VLAN_POP
	.comm	_ETH_P_8021Q,4,2                ; @ETH_P_8021Q
	.comm	_MLX5_FLOW_CONTEXT_ACTION_VLAN_PUSH_2,4,2 ; @MLX5_FLOW_CONTEXT_ACTION_VLAN_PUSH_2
	.comm	_MLX5_FLOW_CONTEXT_ACTION_VLAN_PUSH,4,2 ; @MLX5_FLOW_CONTEXT_ACTION_VLAN_PUSH
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_parse_tc_vlan_action
.subsections_via_symbols
