	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl8366_vlan_del               ## -- Begin function rtl8366_vlan_del
	.p2align	4, 0x90
_rtl8366_vlan_del:                      ## @rtl8366_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
	subq	$40, %rsp
	.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
	movl	4(%rbx), %edi
	movslq	%esi, %rdx
	leaq	L_.str(%rip), %rsi
	callq	_dev_info
	movq	(%r15), %r12
	xorl	%eax, %eax
	cmpq	8(%r15), %r12
	jle	LBB0_1
LBB0_11:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leaq	-80(%rbp), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movq	$0, -48(%rbp)
	movq	8(%rbx), %rax
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%r13, %rdx
	callq	*8(%rax)
	testl	%eax, %eax
	jne	LBB0_7
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	1(%r12), %rax
	cmpq	8(%r15), %r12
	movq	%rax, %r12
	jge	LBB0_10
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movl	4(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdx
	callq	_dev_info
	cmpl	$0, (%rbx)
	jle	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%rbx), %rax
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%r13, %rdx
	callq	*(%rax)
	testl	%eax, %eax
	jne	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	cmpq	-80(%rbp), %r12
	je	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=2
	incl	%r14d
	cmpl	(%rbx), %r14d
	jl	LBB0_4
	jmp	LBB0_9
LBB0_10:
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_7:
	movl	%eax, %r14d
	movl	4(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdx
	callq	_dev_err
	movl	%r14d, %eax
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"del VLAN on port %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"del VLAN %04x\n"

L_.str.2:                               ## @.str.2
	.asciz	"failed to remove VLAN %04x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl8366_vlan_del               ; -- Begin function rtl8366_vlan_del
	.p2align	2
_rtl8366_vlan_del:                      ; @rtl8366_vlan_del
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x2
                                        ; kill: def $w1 killed $w1 def $x1
	ldr	x20, [x0]
	ldr	w0, [x20, #4]
	sxtw	x2, w1
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
	ldp	x21, x8, [x19]
	cmp	x21, x8
	b.le	LBB0_2
LBB0_1:
	mov	w24, #0
	b	LBB0_11
LBB0_2:
Lloh2:
	adrp	x22, l_.str.1@PAGE
Lloh3:
	add	x22, x22, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	xzr, [sp, #32]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp]
	ldr	x8, [x20, #8]
	ldr	x8, [x8, #8]
	mov	x2, sp
	mov	x0, x20
	mov	x1, x23
	blr	x8
	cbnz	w0, LBB0_12
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x21, #1
	ldr	x9, [x19, #8]
	cmp	x21, x9
	mov	x21, x8
	b.ge	LBB0_1
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	w0, [x20, #4]
	mov	x1, x22
	mov	x2, x21
	bl	_dev_info
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w23, #0
LBB0_7:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	mov	x2, sp
	mov	x0, x20
	mov	x1, x23
	blr	x8
	cbnz	w0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x8, [sp]
	cmp	x21, x8
	b.eq	LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	add	w23, w23, #1
	ldr	w8, [x20]
	cmp	w23, w8
	b.lt	LBB0_7
	b	LBB0_4
LBB0_10:
	mov	x24, x0
LBB0_11:
	mov	x0, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_12:
	mov	x24, x0
	ldr	w0, [x20, #4]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x21
	bl	_dev_err
	b	LBB0_11
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"del VLAN on port %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"del VLAN %04x\n"

l_.str.2:                               ; @.str.2
	.asciz	"failed to remove VLAN %04x\n"

.subsections_via_symbols
