	.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_uc_tunnel_process
_mlxsw_sp_fdb_notify_mac_uc_tunnel_process: ## @mlxsw_sp_fdb_notify_mac_uc_tunnel_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	%rsp, %r14
	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, %r15
	leaq	-68(%rbp), %rcx
	leaq	-72(%rbp), %r8
	leaq	-56(%rbp), %r9
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movq	%r15, %rdx
	callq	_mlxsw_reg_sfn_uc_tunnel_unpack
	movl	-68(%rbp), %esi
	movq	%r13, %rdi
	callq	_mlxsw_sp_fid_lookup_by_index
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %r12
	movl	-72(%rbp), %esi
	movl	-56(%rbp), %edx
	leaq	-64(%rbp), %rcx
	movq	%r13, %rdi
	callq	_mlxsw_sp_nve_learned_ip_resolve
	testl	%eax, %eax
	jne	LBB0_8
## %bb.2:
	leaq	-88(%rbp), %rcx
	leaq	-80(%rbp), %r8
	leaq	-76(%rbp), %r9
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	___mlxsw_sp_fdb_notify_mac_uc_tunnel_process
	testl	%eax, %eax
	jne	LBB0_8
## %bb.3:
	movl	-68(%rbp), %edx
	movl	-56(%rbp), %ecx
	subq	$8, %rsp
	leaq	-64(%rbp), %r8
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	-52(%rbp), %r9d                 ## 4-byte Reload
	pushq	$1
	callq	_mlxsw_sp_port_fdb_tunnel_uc_op
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_4
LBB0_8:
	movq	%r12, %rdi
	callq	_mlxsw_sp_fid_put
LBB0_9:
	movl	-68(%rbp), %edx
	movl	-56(%rbp), %ecx
	subq	$8, %rsp
	leaq	-64(%rbp), %r8
	movq	%r13, %rdi
	movq	%r15, %rsi
	xorl	%r9d, %r9d
	pushq	$1
	callq	_mlxsw_sp_port_fdb_tunnel_uc_op
	addq	$16, %rsp
LBB0_10:
	movq	%r14, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	-88(%rbp), %rdi
	movl	-56(%rbp), %edx
	movl	-76(%rbp), %r8d
	leaq	-64(%rbp), %rcx
	movq	%r15, %rsi
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %r9d
	callq	_mlxsw_sp_fdb_nve_call_notifiers
	testl	%ebx, %ebx
	jne	LBB0_5
## %bb.6:
	movq	_SWITCHDEV_FDB_DEL_TO_BRIDGE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_SWITCHDEV_FDB_ADD_TO_BRIDGE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %edi
	movl	-80(%rbp), %edx
	movq	-88(%rbp), %rcx
	movq	%r15, %rsi
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	callq	_mlxsw_sp_fdb_call_notifiers
	movq	%r12, %rdi
	callq	_mlxsw_sp_fid_put
	jmp	LBB0_10
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.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_uc_tunnel_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_uc_tunnel_process
_mlxsw_sp_fdb_notify_mac_uc_tunnel_process: ; @mlxsw_sp_fdb_notify_mac_uc_tunnel_process
	.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, #48
	mov	x19, x3
	mov	x21, x0
	mov	x23, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
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, #84
	sub	x4, x29, #96
	sub	x5, x29, #60
	mov	x0, x1
	mov	x1, x2
	mov	x2, x20
	bl	_mlxsw_reg_sfn_uc_tunnel_unpack
	ldur	w1, [x29, #-84]
	mov	x0, x21
	bl	_mlxsw_sp_fid_lookup_by_index
	cbz	x0, LBB0_5
; %bb.1:
	mov	x22, x0
	ldur	w1, [x29, #-96]
	ldur	w2, [x29, #-60]
	sub	x3, x29, #80
	mov	x0, x21
	bl	_mlxsw_sp_nve_learned_ip_resolve
	cbnz	w0, LBB0_4
; %bb.2:
	sub	x3, x29, #72
	sub	x4, x29, #88
	sub	x5, x29, #92
	mov	x0, x21
	mov	x1, x22
	mov	x2, x19
	bl	___mlxsw_sp_fdb_notify_mac_uc_tunnel_process
	cbnz	w0, LBB0_4
; %bb.3:
	ldur	w2, [x29, #-84]
	ldur	w3, [x29, #-60]
	sub	x4, x29, #80
	mov	x0, x21
	mov	x1, x20
	mov	x5, x19
	mov	w6, #1
	bl	_mlxsw_sp_port_fdb_tunnel_uc_op
	cbz	w0, LBB0_8
LBB0_4:
	mov	x0, x22
	bl	_mlxsw_sp_fid_put
LBB0_5:
	ldur	w2, [x29, #-84]
	ldur	w3, [x29, #-60]
	sub	x4, x29, #80
	mov	x0, x21
	mov	x1, x20
	mov	w5, #0
	mov	w6, #1
	bl	_mlxsw_sp_port_fdb_tunnel_uc_op
LBB0_6:
	mov	sp, x23
	ldur	x8, [x29, #-56]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.7:
	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_8:
	ldur	x0, [x29, #-72]
	ldur	w2, [x29, #-60]
	ldur	w4, [x29, #-92]
	sub	x3, x29, #80
	mov	x1, x20
	mov	x5, x19
	bl	_mlxsw_sp_fdb_nve_call_notifiers
Lloh11:
	adrp	x8, _SWITCHDEV_FDB_ADD_TO_BRIDGE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SWITCHDEV_FDB_ADD_TO_BRIDGE@GOTPAGEOFF]
Lloh13:
	adrp	x9, _SWITCHDEV_FDB_DEL_TO_BRIDGE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _SWITCHDEV_FDB_DEL_TO_BRIDGE@GOTPAGEOFF]
	cmp	w19, #0
	csel	x8, x9, x8, eq
	ldr	w0, [x8]
	ldur	w2, [x29, #-88]
	ldur	x3, [x29, #-72]
	mov	x1, x20
	mov	x4, x19
	bl	_mlxsw_sp_fdb_call_notifiers
	mov	x0, x22
	bl	_mlxsw_sp_fid_put
	b	LBB0_6
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.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_uc_tunnel_process
.subsections_via_symbols
