	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlxsw_sp_port_vlan_router_leave ## -- Begin function mlxsw_sp_port_vlan_router_leave
	.p2align	4, 0x90
_mlxsw_sp_port_vlan_router_leave:       ## @mlxsw_sp_port_vlan_router_leave
	.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
	movq	%rdi, %rbx
	movq	(%rdi), %r13
	movq	16(%rdi), %r15
	movq	%r13, %rdi
	callq	_mlxsw_sp_fid_rif
	movq	%rax, %r14
	movl	8(%rbx), %r12d
	movq	%r13, %rdi
	callq	_mlxsw_sp_fid_type
	movq	_MLXSW_SP_FID_TYPE_RFID@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	$0, (%rbx)
	movq	_BR_STATE_BLOCKING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_mlxsw_sp_port_vid_stp_set
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	$1, %edx
	callq	_mlxsw_sp_port_vid_learning_set
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_mlxsw_sp_fid_port_vid_unmap
	movq	%r13, %rdi
	callq	_mlxsw_sp_fid_put
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mlxsw_sp_rif_subport_put       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MLXSW_SP_FID_TYPE_RFID,8,3     ## @MLXSW_SP_FID_TYPE_RFID
	.comm	_BR_STATE_BLOCKING,4,2          ## @BR_STATE_BLOCKING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlxsw_sp_port_vlan_router_leave ; -- Begin function mlxsw_sp_port_vlan_router_leave
	.p2align	2
_mlxsw_sp_port_vlan_router_leave:       ; @mlxsw_sp_port_vlan_router_leave
	.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	x23, x0
	ldr	x21, [x0, #16]
	ldr	x19, [x0]
	mov	x0, x19
	bl	_mlxsw_sp_fid_rif
	mov	x20, x0
	ldr	w22, [x23, #8]
	mov	x0, x19
	bl	_mlxsw_sp_fid_type
Lloh0:
	adrp	x8, _MLXSW_SP_FID_TYPE_RFID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLXSW_SP_FID_TYPE_RFID@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, ne
	bl	_WARN_ON
	cbz	x0, LBB0_2
; %bb.1:
	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_2:
	str	xzr, [x23]
Lloh3:
	adrp	x8, _BR_STATE_BLOCKING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BR_STATE_BLOCKING@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x22
	bl	_mlxsw_sp_port_vid_stp_set
	mov	x0, x21
	mov	x1, x22
	mov	w2, #1
	bl	_mlxsw_sp_port_vid_learning_set
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_mlxsw_sp_fid_port_vid_unmap
	mov	x0, x19
	bl	_mlxsw_sp_fid_put
	mov	x0, x20
	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
	b	_mlxsw_sp_rif_subport_put
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MLXSW_SP_FID_TYPE_RFID,8,3     ; @MLXSW_SP_FID_TYPE_RFID
	.comm	_BR_STATE_BLOCKING,4,2          ; @BR_STATE_BLOCKING
.subsections_via_symbols
