	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_execute_l2_action
_mlx5e_execute_l2_action:               ## @mlx5e_execute_l2_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	%rsi, %rbx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rsi), %r14d
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	leaq	8(%rbx), %r13
	movl	8(%rbx), %esi
	movq	%r15, %rdi
	callq	_ether_addr_copy
	cmpl	$128, %r14d
	je	LBB0_5
## %bb.1:
	cmpl	$129, %r14d
	jne	LBB0_11
## %bb.2:
	movq	_MLX5E_FULLMATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_mlx5e_add_l2_flow_rule
	movq	%r15, %rdi
	callq	_is_multicast_ether_addr
	xorl	%r12d, %r12d
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edi
	movq	%r15, %rsi
	callq	_mlx5_mpfs_add_mac
	movl	%eax, %r12d
	xorl	%eax, %eax
	testl	%r12d, %r12d
	sete	%al
	movl	%eax, 4(%rbx)
LBB0_4:
	movq	_MLX5E_ACTION_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	testl	%r12d, %r12d
	jne	LBB0_10
	jmp	LBB0_11
LBB0_5:
	movq	%r15, %rdi
	callq	_is_multicast_ether_addr
	xorl	%r12d, %r12d
	testl	%eax, %eax
	jne	LBB0_8
## %bb.6:
	cmpl	$0, 4(%rbx)
	je	LBB0_8
## %bb.7:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edi
	movq	%r15, %rsi
	callq	_mlx5_mpfs_del_mac
	movl	%eax, %r12d
LBB0_8:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_mlx5e_del_l2_flow_rule
	movq	%rbx, %rdi
	callq	_mlx5e_del_l2_from_hash
	testl	%r12d, %r12d
	je	LBB0_11
LBB0_10:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	cmpl	$129, %r14d
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rcx
	movl	%r12d, %r8d
	callq	_netdev_warn
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_MLX5E_FULLMATCH,4,2            ## @MLX5E_FULLMATCH
	.comm	_MLX5E_ACTION_NONE,4,2          ## @MLX5E_ACTION_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MPFS, failed to %s mac %pM, err(%d)\n"

L_.str.1:                               ## @.str.1
	.asciz	"add"

L_.str.2:                               ## @.str.2
	.asciz	"del"

	.no_dead_strip	_mlx5e_execute_l2_action
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_execute_l2_action
_mlx5e_execute_l2_action:               ; @mlx5e_execute_l2_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
	sub	sp, sp, #16
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldr	w24, [x1]
Lloh3:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	mov	x22, x1
	ldr	w1, [x22, #8]!
	mov	x0, x20
	bl	_ether_addr_copy
	cmp	w24, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w24, #129
	b.ne	LBB0_12
; %bb.2:
Lloh8:
	adrp	x8, _MLX5E_FULLMATCH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MLX5E_FULLMATCH@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x22
	bl	_mlx5e_add_l2_flow_rule
	mov	x0, x20
	bl	_is_multicast_ether_addr
	cbz	w0, LBB0_6
; %bb.3:
	mov	w23, #0
	b	LBB0_7
LBB0_4:
	mov	x0, x20
	bl	_is_multicast_ether_addr
	cbz	w0, LBB0_8
LBB0_5:
	mov	w23, #0
	b	LBB0_10
LBB0_6:
	ldr	w0, [x19, #4]
	mov	x1, x20
	bl	_mlx5_mpfs_add_mac
	mov	x23, x0
	cmp	w0, #0
	cset	w8, eq
	str	w8, [x21, #4]
LBB0_7:
Lloh11:
	adrp	x8, _MLX5E_ACTION_NONE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MLX5E_ACTION_NONE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x21]
	cbnz	w23, LBB0_11
	b	LBB0_12
LBB0_8:
	ldr	w8, [x21, #4]
	cbz	w8, LBB0_5
; %bb.9:
	ldr	w0, [x19, #4]
	mov	x1, x20
	bl	_mlx5_mpfs_del_mac
	mov	x23, x0
LBB0_10:
	mov	x0, x19
	mov	x1, x22
	bl	_mlx5e_del_l2_flow_rule
	mov	x0, x21
	bl	_mlx5e_del_l2_from_hash
	cbz	w23, LBB0_12
LBB0_11:
	ldr	w0, [x19]
Lloh14:
	adrp	x8, l_.str.2@PAGE
Lloh15:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh16:
	adrp	x9, l_.str.1@PAGE
Lloh17:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	w24, #129
	csel	x2, x9, x8, eq
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x20
	mov	x4, x23
	bl	_netdev_warn
LBB0_12:
	ldur	x8, [x29, #-56]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	sub	sp, x29, #48
	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
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_MLX5E_FULLMATCH,4,2            ; @MLX5E_FULLMATCH
	.comm	_MLX5E_ACTION_NONE,4,2          ; @MLX5E_ACTION_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MPFS, failed to %s mac %pM, err(%d)\n"

l_.str.1:                               ; @.str.1
	.asciz	"add"

l_.str.2:                               ; @.str.2
	.asciz	"del"

	.no_dead_strip	_mlx5e_execute_l2_action
.subsections_via_symbols
