	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_port_ovs_leave
_mlxsw_sp_port_ovs_leave:               ## @mlxsw_sp_port_ovs_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_VLAN_N_VID@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	cmpl	$2, %ebx
	jl	LBB0_4
## %bb.1:
	incl	%ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	-2(%rbx), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_mlxsw_sp_port_vid_learning_set
	decl	%ebx
	cmpl	$2, %ebx
	ja	LBB0_2
## %bb.3:
	movl	(%r15), %ebx
LBB0_4:
	addl	$-2, %ebx
	movq	%r14, %rdi
	movl	$1, %esi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_mlxsw_sp_port_vlan_set
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_mlxsw_sp_port_stp_set
	movq	%r14, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mlxsw_sp_port_vp_mode_set      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VLAN_N_VID,4,2                 ## @VLAN_N_VID
	.no_dead_strip	_mlxsw_sp_port_ovs_leave
.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_ovs_leave
_mlxsw_sp_port_ovs_leave:               ; @mlxsw_sp_port_ovs_leave
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _VLAN_N_VID@GOTPAGE
Lloh1:
	ldr	x20, [x20, _VLAN_N_VID@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #2
	b.lt	LBB0_4
; %bb.1:
	add	w21, w8, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w1, w21, #2
	mov	x0, x19
	mov	w2, #1
	bl	_mlxsw_sp_port_vid_learning_set
	sub	w21, w21, #1
	cmp	w21, #2
	b.hi	LBB0_2
; %bb.3:
	ldr	w8, [x20]
LBB0_4:
	sub	w2, w8, #2
	mov	x0, x19
	mov	w1, #1
	mov	w3, #0
	mov	w4, #0
	bl	_mlxsw_sp_port_vlan_set
	mov	x0, x19
	mov	w1, #0
	bl	_mlxsw_sp_port_stp_set
	mov	x0, x19
	mov	w1, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mlxsw_sp_port_vp_mode_set
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_VLAN_N_VID,4,2                 ; @VLAN_N_VID
	.no_dead_strip	_mlxsw_sp_port_ovs_leave
.subsections_via_symbols
