	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_bridge_port_vlan_del
_mlxsw_sp_bridge_port_vlan_del:         ## @mlxsw_sp_bridge_port_vlan_del
	.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	%rdx, %r15
	movq	%rdi, %rbx
	movq	(%rdi), %r13
	movq	%rdx, %rsi
	callq	_mlxsw_sp_port_vlan_find_by_vid
	movq	%rax, %r14
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%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:
	xorl	%r12d, %r12d
	cmpq	%r15, %r13
	cmovneq	%r13, %r12
	movq	%r14, %rdi
	callq	_mlxsw_sp_port_vlan_bridge_leave
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_mlxsw_sp_port_pvid_set
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_mlxsw_sp_port_vlan_set
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mlxsw_sp_port_vlan_destroy     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mlxsw_sp_bridge_port_vlan_del
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_sp_bridge_port_vlan_del
_mlxsw_sp_bridge_port_vlan_del:         ; @mlxsw_sp_bridge_port_vlan_del
	.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, x2
	mov	x21, x0
	ldr	x22, [x0]
	mov	x1, x2
	bl	_mlxsw_sp_port_vlan_find_by_vid
	mov	x20, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_2
; %bb.1:
	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
	ret
LBB0_2:
	cmp	x22, x19
	csel	x22, xzr, x22, eq
	mov	x0, x20
	bl	_mlxsw_sp_port_vlan_bridge_leave
	mov	x0, x21
	mov	x1, x22
	bl	_mlxsw_sp_port_pvid_set
	mov	x0, x21
	mov	x1, x19
	mov	x2, x19
	mov	w3, #0
	mov	w4, #0
	bl	_mlxsw_sp_port_vlan_set
	mov	x0, x20
	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_vlan_destroy
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mlxsw_sp_bridge_port_vlan_del
.subsections_via_symbols
