	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv88e6xxx_port_vlan_del
_mv88e6xxx_port_vlan_del:               ## @mv88e6xxx_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	(%rdi), %r12
	movq	(%r12), %rax
	cmpl	$0, (%rax)
	je	LBB0_8
## %bb.1:
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%r12, %rdi
	callq	_mv88e6xxx_reg_lock
	leaq	-48(%rbp), %rdx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_mv88e6xxx_port_get_pvid
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_11
## %bb.2:
	movq	(%r14), %r13
	xorl	%ebx, %ebx
	cmpq	8(%r14), %r13
	jle	LBB0_4
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	leaq	1(%r13), %rax
	cmpq	8(%r14), %r13
	movq	%rax, %r13
	jge	LBB0_10
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%r15d, %esi
	movq	%r13, %rdx
	callq	_mv88e6xxx_port_vlan_leave
	testl	%eax, %eax
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	-48(%rbp), %r13
	jne	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_mv88e6xxx_port_set_pvid
	testl	%eax, %eax
	je	LBB0_3
LBB0_9:
	movl	%eax, %ebx
	jmp	LBB0_11
LBB0_8:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_12
LBB0_10:
	xorl	%ebx, %ebx
LBB0_11:
	movq	%r12, %rdi
	callq	_mv88e6xxx_reg_unlock
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_mv88e6xxx_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 mv88e6xxx_port_vlan_del
_mv88e6xxx_port_vlan_del:               ; @mv88e6xxx_port_vlan_del
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	ldr	x19, [x0]
	ldr	x8, [x19]
	ldr	w8, [x8]
	cbz	w8, LBB0_10
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x0, x19
	bl	_mv88e6xxx_reg_lock
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x21
	bl	_mv88e6xxx_port_get_pvid
	mov	x23, x0
	cbnz	w0, LBB0_9
; %bb.2:
	ldp	x22, x8, [x20]
	cmp	x22, x8
	b.le	LBB0_5
LBB0_3:
	mov	w23, #0
	b	LBB0_9
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x22, #1
	ldr	x9, [x20, #8]
	cmp	x22, x9
	mov	x22, x8
	b.ge	LBB0_3
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_mv88e6xxx_port_vlan_leave
	cbnz	w0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #8]
	cmp	x22, x8
	b.ne	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	bl	_mv88e6xxx_port_set_pvid
	cbz	w0, LBB0_4
LBB0_8:
	mov	x23, x0
LBB0_9:
	mov	x0, x19
	bl	_mv88e6xxx_reg_unlock
	b	LBB0_11
LBB0_10:
Lloh0:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_11:
	mov	x0, x23
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_mv88e6xxx_port_vlan_del
.subsections_via_symbols
