	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_flower_parse_meta
_mlxsw_sp_flower_parse_meta:            ## @mlxsw_sp_flower_parse_meta
	.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	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	%rsi, %rdi
	callq	_flow_cls_offload_flow_rule
	movq	%rax, %rbx
	movq	_FLOW_DISSECTOR_KEY_META@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_flow_rule_match_key
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_11
## %bb.1:
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_flow_rule_match_meta
	movq	-48(%rbp), %rax
	cmpl	$-1, (%rax)
	je	LBB0_4
## %bb.2:
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
LBB0_3:
	callq	_NL_SET_ERR_MSG_MOD
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_11:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r13, %rbx
	movl	8(%r12), %edi
	movq	-56(%rbp), %rax
	movl	(%rax), %esi
	callq	___dev_get_by_index
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_mlxsw_sp_port_dev_check
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movq	%r13, %rdi
	callq	_netdev_priv
	movq	(%rax), %rcx
	cmpq	(%r12), %rcx
	jne	LBB0_9
## %bb.10:
	movq	_MLXSW_AFK_ELEMENT_SRC_SYS_PORT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	8(%rax), %edx
	movq	%rbx, %rdi
	movl	$-1, %ecx
	callq	_mlxsw_sp_acl_rulei_keymask_u32
	jmp	LBB0_11
LBB0_5:
	movl	(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_3
LBB0_7:
	movl	(%r15), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_3
LBB0_9:
	movl	(%r15), %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_FLOW_DISSECTOR_KEY_META,4,2    ## @FLOW_DISSECTOR_KEY_META
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unsupported ingress ifindex mask"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"Can't find specified ingress port to match on"

L_.str.2:                               ## @.str.2
	.asciz	"Can't match on non-mlxsw ingress port"

L_.str.3:                               ## @.str.3
	.asciz	"Can't match on a port from different device"

	.comm	_MLXSW_AFK_ELEMENT_SRC_SYS_PORT,4,2 ## @MLXSW_AFK_ELEMENT_SRC_SYS_PORT
	.no_dead_strip	_mlxsw_sp_flower_parse_meta
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_sp_flower_parse_meta
_mlxsw_sp_flower_parse_meta:            ; @mlxsw_sp_flower_parse_meta
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_flow_cls_offload_flow_rule
	mov	x22, x0
Lloh0:
	adrp	x8, _FLOW_DISSECTOR_KEY_META@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FLOW_DISSECTOR_KEY_META@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_flow_rule_match_key
	cbz	w0, LBB0_4
; %bb.1:
	mov	x1, sp
	mov	x0, x22
	bl	_flow_rule_match_meta
	ldr	x8, [sp, #8]
	ldr	w8, [x8]
	cmn	w8, #1
	b.eq	LBB0_5
; %bb.2:
	ldr	w0, [x20]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
LBB0_3:
	bl	_NL_SET_ERR_MSG_MOD
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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
	add	sp, sp, #64
	ret
LBB0_5:
	ldr	w0, [x21, #8]
	ldr	x8, [sp]
	ldr	w1, [x8]
	bl	___dev_get_by_index
	cbz	x0, LBB0_9
; %bb.6:
	mov	x22, x0
	bl	_mlxsw_sp_port_dev_check
	cbz	w0, LBB0_10
; %bb.7:
	mov	x0, x22
	bl	_netdev_priv
	ldr	x8, [x0]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.8:
Lloh8:
	adrp	x8, _MLXSW_AFK_ELEMENT_SRC_SYS_PORT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MLXSW_AFK_ELEMENT_SRC_SYS_PORT@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w2, [x0, #8]
	mov	x0, x19
	mov	w3, #-1
	bl	_mlxsw_sp_acl_rulei_keymask_u32
	mov	w0, #0
	b	LBB0_4
LBB0_9:
	ldr	w0, [x20]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_10:
	ldr	w0, [x20]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_3
LBB0_11:
	ldr	w0, [x20]
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_FLOW_DISSECTOR_KEY_META,4,2    ; @FLOW_DISSECTOR_KEY_META
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unsupported ingress ifindex mask"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"Can't find specified ingress port to match on"

l_.str.2:                               ; @.str.2
	.asciz	"Can't match on non-mlxsw ingress port"

l_.str.3:                               ; @.str.3
	.asciz	"Can't match on a port from different device"

	.comm	_MLXSW_AFK_ELEMENT_SRC_SYS_PORT,4,2 ; @MLXSW_AFK_ELEMENT_SRC_SYS_PORT
	.no_dead_strip	_mlxsw_sp_flower_parse_meta
.subsections_via_symbols
