	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b53_vlan_filtering             ## -- Begin function b53_vlan_filtering
	.p2align	4, 0x90
_b53_vlan_filtering:                    ## @b53_vlan_filtering
	.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
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	(%rdi), %rbx
	movq	_B53_VLAN_PAGE@GOTPCREL(%rip), %r13
	movl	(%r13), %r12d
	movl	%esi, %edi
	callq	_B53_VLAN_PORT_DEF_TAG
	leaq	-48(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_b53_read16
	testl	%r14d, %r14d
	je	LBB0_1
## %bb.2:
	movq	8(%rbx), %rax
	movslq	%r15d, %rcx
	movq	(%rax,%rcx,8), %r12
	cmpq	%r12, -48(%rbp)
	je	LBB0_5
LBB0_4:
	movl	(%r13), %r13d
	movl	%r15d, %edi
	callq	_B53_VLAN_PORT_DEF_TAG
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	movq	%r12, %rcx
	callq	_b53_write16
LBB0_5:
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_b53_enable_vlan
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	-48(%rbp), %rax
	movq	8(%rbx), %rcx
	movslq	%r15d, %rdx
	movq	%rax, (%rcx,%rdx,8)
	movq	%rbx, %rdi
	callq	_b53_default_pvid
	movq	%rax, %r12
	cmpq	%r12, -48(%rbp)
	jne	LBB0_4
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_B53_VLAN_PAGE,4,2              ## @B53_VLAN_PAGE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b53_vlan_filtering             ; -- Begin function b53_vlan_filtering
	.p2align	2
_b53_vlan_filtering:                    ; @b53_vlan_filtering
	.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
	mov	x19, x2
	mov	x21, x1
	ldr	x20, [x0]
Lloh0:
	adrp	x23, _B53_VLAN_PAGE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _B53_VLAN_PAGE@GOTPAGEOFF]
	ldr	w22, [x23]
	mov	x0, x1
	bl	_B53_VLAN_PORT_DEF_TAG
	mov	x2, x0
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x22
	bl	_b53_read16
	cbz	w19, LBB0_2
; %bb.1:
	ldr	x8, [x20, #8]
	ldr	x22, [x8, w21, sxtw #3]
	b	LBB0_3
LBB0_2:
	ldr	x8, [sp, #8]
	ldr	x9, [x20, #8]
	str	x8, [x9, w21, sxtw #3]
	mov	x0, x20
	bl	_b53_default_pvid
	mov	x22, x0
LBB0_3:
	ldr	x8, [sp, #8]
	cmp	x8, x22
	b.eq	LBB0_5
; %bb.4:
	ldr	w23, [x23]
	mov	x0, x21
	bl	_B53_VLAN_PORT_DEF_TAG
	mov	x2, x0
	mov	x0, x20
	mov	x1, x23
	mov	x3, x22
	bl	_b53_write16
LBB0_5:
	ldr	w1, [x20]
	mov	x0, x20
	mov	x2, x19
	bl	_b53_enable_vlan
	mov	w0, #0
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_B53_VLAN_PAGE,4,2              ; @B53_VLAN_PAGE
.subsections_via_symbols
