	.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
_mlxsw_sp_port_add_cls_matchall:        ## @mlxsw_sp_port_add_cls_matchall
	.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
	movl	%edx, %r13d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %rdi
	movq	16(%rsi), %r15
	callq	_flow_offload_has_one_action
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%rax, %r12
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movl	8(%rbx), %eax
	movl	%eax, 12(%r12)
	movq	(%rbx), %rax
	movq	(%rax), %r13
	movq	(%r13), %rax
	movq	_FLOW_ACTION_MIRRED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.6:
	movq	_ETH_P_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %r15
	jne	LBB0_7
## %bb.16:
	movq	_MLXSW_SP_PORT_MALL_MIRROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r12)
	movq	%r12, %rsi
	addq	$8, %rsi
	movq	%r14, %rdi
	movq	%r13, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_mlxsw_sp_port_add_cls_matchall_mirror
	movl	%eax, %ebx
	jmp	LBB0_12
LBB0_1:
	movl	4(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_err
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_4:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_15
LBB0_7:
	movq	(%r13), %rax
LBB0_8:
	movq	_FLOW_ACTION_SAMPLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.9:
	movq	_ETH_P_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %r15
	jne	LBB0_11
## %bb.10:
	movq	_MLXSW_SP_PORT_MALL_SAMPLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r12)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_mlxsw_sp_port_add_cls_matchall_sample
	movl	%eax, %ebx
	jmp	LBB0_12
LBB0_11:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_12:
	movq	%r12, %rdi
	testl	%ebx, %ebx
	je	LBB0_13
## %bb.14:
	callq	_kfree
	jmp	LBB0_15
LBB0_13:
	movq	%r14, %rsi
	callq	_list_add_tail
	xorl	%ebx, %ebx
LBB0_15:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"only singular actions are supported\n"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_FLOW_ACTION_MIRRED,8,3         ## @FLOW_ACTION_MIRRED
	.comm	_ETH_P_ALL,4,2                  ## @ETH_P_ALL
	.comm	_MLXSW_SP_PORT_MALL_MIRROR,4,2  ## @MLXSW_SP_PORT_MALL_MIRROR
	.comm	_FLOW_ACTION_SAMPLE,8,3         ## @FLOW_ACTION_SAMPLE
	.comm	_MLXSW_SP_PORT_MALL_SAMPLE,4,2  ## @MLXSW_SP_PORT_MALL_SAMPLE
	.no_dead_strip	_mlxsw_sp_port_add_cls_matchall
.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
_mlxsw_sp_port_add_cls_matchall:        ; @mlxsw_sp_port_add_cls_matchall
	.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, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x24, [x1, #16]
	ldr	x0, [x1]
	bl	_flow_offload_has_one_action
	cbz	w0, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #16
	bl	_kzalloc
	cbz	x0, LBB0_6
; %bb.2:
	mov	x20, x0
	ldr	w8, [x22, #8]
	str	w8, [x0, #12]
	ldr	x8, [x22]
	ldr	x23, [x8]
	ldr	x8, [x23]
Lloh3:
	adrp	x9, _FLOW_ACTION_MIRRED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FLOW_ACTION_MIRRED@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.3:
Lloh6:
	adrp	x8, _ETH_P_ALL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETH_P_ALL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_htons
	cmp	x24, x0
	b.ne	LBB0_8
; %bb.4:
Lloh9:
	adrp	x8, _MLXSW_SP_PORT_MALL_MIRROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MLXSW_SP_PORT_MALL_MIRROR@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x20, #4]
	add	x1, x20, #8
	mov	x0, x19
	mov	x2, x23
	mov	x3, x21
	bl	_mlxsw_sp_port_add_cls_matchall_mirror
	mov	x21, x0
	cbnz	w21, LBB0_14
	b	LBB0_12
LBB0_5:
	ldr	w0, [x19, #4]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_err
Lloh14:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh16:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_15
LBB0_8:
	ldr	x8, [x23]
LBB0_9:
Lloh18:
	adrp	x9, _FLOW_ACTION_SAMPLE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _FLOW_ACTION_SAMPLE@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.10:
Lloh21:
	adrp	x8, _ETH_P_ALL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ETH_P_ALL@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_htons
	cmp	x24, x0
	b.ne	LBB0_13
; %bb.11:
Lloh24:
	adrp	x8, _MLXSW_SP_PORT_MALL_SAMPLE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MLXSW_SP_PORT_MALL_SAMPLE@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	str	w8, [x20, #4]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	mov	x3, x21
	bl	_mlxsw_sp_port_add_cls_matchall_sample
	mov	x21, x0
	cbnz	w21, LBB0_14
LBB0_12:
	mov	x0, x20
	mov	x1, x19
	bl	_list_add_tail
	b	LBB0_15
LBB0_13:
Lloh27:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	neg	w21, w8
	cbz	w21, LBB0_12
LBB0_14:
	mov	x0, x20
	bl	_kfree
LBB0_15:
	mov	x0, x21
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"only singular actions are supported\n"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_FLOW_ACTION_MIRRED,8,3         ; @FLOW_ACTION_MIRRED
	.comm	_ETH_P_ALL,4,2                  ; @ETH_P_ALL
	.comm	_MLXSW_SP_PORT_MALL_MIRROR,4,2  ; @MLXSW_SP_PORT_MALL_MIRROR
	.comm	_FLOW_ACTION_SAMPLE,8,3         ; @FLOW_ACTION_SAMPLE
	.comm	_MLXSW_SP_PORT_MALL_SAMPLE,4,2  ; @MLXSW_SP_PORT_MALL_SAMPLE
	.no_dead_strip	_mlxsw_sp_port_add_cls_matchall
.subsections_via_symbols
