	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_port_add_cls_matchall_mirror
_mlxsw_sp_port_add_cls_matchall_mirror: ## @mlxsw_sp_port_add_cls_matchall_mirror
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, %r8
	movl	(%rdx), %esi
	testl	%esi, %esi
	je	LBB0_5
## %bb.1:
	movl	%ecx, (%r8)
	testl	%ecx, %ecx
	jne	LBB0_2
## %bb.3:
	movq	_MLXSW_SP_SPAN_EGRESS@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_MLXSW_SP_SPAN_INGRESS@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %edx
	addq	$4, %r8
	movl	$1, %ecx
	popq	%rbp
	jmp	_mlxsw_sp_span_mirror_add       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not find requested device\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MLXSW_SP_SPAN_INGRESS,4,2      ## @MLXSW_SP_SPAN_INGRESS
	.comm	_MLXSW_SP_SPAN_EGRESS,4,2       ## @MLXSW_SP_SPAN_EGRESS
	.no_dead_strip	_mlxsw_sp_port_add_cls_matchall_mirror
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_sp_port_add_cls_matchall_mirror
_mlxsw_sp_port_add_cls_matchall_mirror: ; @mlxsw_sp_port_add_cls_matchall_mirror
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x4, x1
	ldr	w1, [x2]
	cbz	w1, LBB0_2
; %bb.1:
	str	w3, [x4], #4
Lloh0:
	adrp	x8, _MLXSW_SP_SPAN_INGRESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLXSW_SP_SPAN_INGRESS@GOTPAGEOFF]
Lloh2:
	adrp	x9, _MLXSW_SP_SPAN_EGRESS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MLXSW_SP_SPAN_EGRESS@GOTPAGEOFF]
	cmp	w3, #0
	csel	x8, x9, x8, eq
	ldr	w2, [x8]
	mov	w3, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_mlxsw_sp_span_mirror_add
LBB0_2:
	ldr	w0, [x0]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_err
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not find requested device\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MLXSW_SP_SPAN_INGRESS,4,2      ; @MLXSW_SP_SPAN_INGRESS
	.comm	_MLXSW_SP_SPAN_EGRESS,4,2       ; @MLXSW_SP_SPAN_EGRESS
	.no_dead_strip	_mlxsw_sp_port_add_cls_matchall_mirror
.subsections_via_symbols
