	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_fdb_notify_mac_lag_process
_mlxsw_sp_fdb_notify_mac_lag_process:   ## @mlxsw_sp_fdb_notify_mac_lag_process
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	leaq	-56(%rbp), %rcx
	leaq	-64(%rbp), %r8
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movq	%r14, %rdx
	callq	_mlxsw_reg_sfn_mac_lag_unpack
	movl	-64(%rbp), %esi
	movq	%r13, %rdi
	callq	_mlxsw_sp_lag_rep_port
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	-56(%rbp), %esi
	movq	%r13, %rdi
	callq	_mlxsw_sp_fid_is_dummy
	movb	$1, %cl
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	movl	-56(%rbp), %esi
	movq	%rbx, %rdi
	callq	_mlxsw_sp_port_vlan_find_by_fid
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:
	movq	%rax, %r12
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %rax
	xorl	%ebx, %ebx
	cmpq	$0, (%rax)
	movl	$0, %eax
	je	LBB0_11
## %bb.10:
	movl	(%r12), %eax
LBB0_11:
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	4(%r12), %edi
	callq	_mlxsw_sp_fid_lag_vid_valid
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movl	(%r12), %ebx
LBB0_13:
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_14
LBB0_1:
	movq	(%r13), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err_ratelimited
	movb	$1, %al
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
LBB0_3:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
                                        ## implicit-def: $eax
                                        ## kill: killed $eax
	xorl	%r15d, %r15d
LBB0_14:
	movl	-64(%rbp), %esi
	movl	-56(%rbp), %ecx
	subq	$8, %rsp
	movq	%r13, %rdi
	movq	%r14, %rdx
	movl	%ebx, %r8d
	movl	%r15d, %r9d
	pushq	$1
	callq	_mlxsw_sp_port_fdb_uc_lag_op
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:
	movq	(%r13), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_dev_err_ratelimited
	jmp	LBB0_21
LBB0_16:
	cmpb	$0, -52(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_21
## %bb.17:
	testl	%r15d, %r15d
	jne	LBB0_18
## %bb.19:
	movq	_SWITCHDEV_FDB_DEL_TO_BRIDGE@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_18:
	movq	_SWITCHDEV_FDB_ADD_TO_BRIDGE@GOTPCREL(%rip), %rax
LBB0_20:
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movl	(%rax), %edi
	movl	(%r12), %ecx
	movq	%r14, %rsi
	movl	%r15d, %r8d
	callq	_mlxsw_sp_fdb_call_notifiers
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.22:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_netdev_err
	jmp	LBB0_3
LBB0_8:
	movl	(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_netdev_err
	jmp	LBB0_3
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot find port representor for LAG\n"

L_.str.1:                               ## @.str.1
	.asciz	"Failed to find a matching {Port, VID} following FDB notification\n"

L_.str.2:                               ## @.str.2
	.asciz	"{Port, VID} not associated with a bridge\n"

L_.str.3:                               ## @.str.3
	.asciz	"Failed to set FDB entry\n"

	.comm	_SWITCHDEV_FDB_ADD_TO_BRIDGE,4,2 ## @SWITCHDEV_FDB_ADD_TO_BRIDGE
	.comm	_SWITCHDEV_FDB_DEL_TO_BRIDGE,4,2 ## @SWITCHDEV_FDB_DEL_TO_BRIDGE
	.no_dead_strip	_mlxsw_sp_fdb_notify_mac_lag_process
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_sp_fdb_notify_mac_lag_process
_mlxsw_sp_fdb_notify_mac_lag_process:   ; @mlxsw_sp_fdb_notify_mac_lag_process
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x21, x3
	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, #-72]
Lloh3:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	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, #0x1fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	sub	x3, x29, #80
	sub	x4, x29, #76
	mov	x0, x1
	mov	x1, x2
	mov	x2, x20
	bl	_mlxsw_reg_sfn_mac_lag_unpack
	ldur	w1, [x29, #-76]
	mov	x0, x19
	bl	_mlxsw_sp_lag_rep_port
	cbz	x0, LBB0_6
; %bb.1:
	mov	x22, x0
	ldur	w1, [x29, #-80]
	mov	x0, x19
	bl	_mlxsw_sp_fid_is_dummy
	cbnz	x0, LBB0_7
; %bb.2:
	ldur	w1, [x29, #-80]
	mov	x0, x22
	bl	_mlxsw_sp_port_vlan_find_by_fid
	cbz	x0, LBB0_15
; %bb.3:
	mov	x23, x0
	ldr	x24, [x0, #8]
	cbz	x24, LBB0_16
; %bb.4:
	ldr	x8, [x24, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_17
; %bb.5:
	ldr	w22, [x23]
	b	LBB0_18
LBB0_6:
	ldr	x8, [x19]
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err_ratelimited
LBB0_7:
	mov	x24, #0
LBB0_8:
	mov	w4, #0
	mov	w21, #0
	mov	w25, #1
                                        ; implicit-def: $w22
LBB0_9:
	ldp	w3, w1, [x29, #-80]
	mov	x0, x19
	mov	x2, x20
	mov	x5, x21
	mov	w6, #1
	bl	_mlxsw_sp_port_fdb_uc_lag_op
	cbz	w0, LBB0_11
; %bb.10:
	ldr	x8, [x19]
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_err_ratelimited
	b	LBB0_13
LBB0_11:
	tbnz	w25, #0, LBB0_13
; %bb.12:
Lloh12:
	adrp	x8, _SWITCHDEV_FDB_ADD_TO_BRIDGE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SWITCHDEV_FDB_ADD_TO_BRIDGE@GOTPAGEOFF]
Lloh14:
	adrp	x9, _SWITCHDEV_FDB_DEL_TO_BRIDGE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _SWITCHDEV_FDB_DEL_TO_BRIDGE@GOTPAGEOFF]
	cmp	w21, #0
	csel	x8, x9, x8, eq
	ldr	w0, [x8]
	ldr	w3, [x24]
	mov	x1, x20
	mov	x2, x22
	mov	x4, x21
	bl	_mlxsw_sp_fdb_call_notifiers
LBB0_13:
	ldur	x8, [x29, #-72]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.14:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_15:
	ldr	w0, [x22]
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_netdev_err
	b	LBB0_7
LBB0_16:
	ldr	w0, [x22]
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_netdev_err
	b	LBB0_8
LBB0_17:
	mov	w22, #0
LBB0_18:
	ldr	w0, [x23, #4]
	bl	_mlxsw_sp_fid_lag_vid_valid
	cbz	x0, LBB0_20
; %bb.19:
	mov	w25, #0
	ldr	w4, [x23]
	b	LBB0_9
LBB0_20:
	mov	w4, #0
	mov	w25, #0
	b	LBB0_9
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot find port representor for LAG\n"

l_.str.1:                               ; @.str.1
	.asciz	"Failed to find a matching {Port, VID} following FDB notification\n"

l_.str.2:                               ; @.str.2
	.asciz	"{Port, VID} not associated with a bridge\n"

l_.str.3:                               ; @.str.3
	.asciz	"Failed to set FDB entry\n"

	.comm	_SWITCHDEV_FDB_ADD_TO_BRIDGE,4,2 ; @SWITCHDEV_FDB_ADD_TO_BRIDGE
	.comm	_SWITCHDEV_FDB_DEL_TO_BRIDGE,4,2 ; @SWITCHDEV_FDB_DEL_TO_BRIDGE
	.no_dead_strip	_mlxsw_sp_fdb_notify_mac_lag_process
.subsections_via_symbols
