	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt7530_hw_vlan_update
_mt7530_hw_vlan_update:                 ## @mt7530_hw_vlan_update
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r12
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_MT7530_VTCR_RD_VID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edx
	callq	_mt7530_vlan_cmd
	movq	_MT7530_VAWD1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mt7530_read
	movq	_PORT_MEM_SHFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movq	_PORT_MEM_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, (%r12)
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	*%r15
	movq	_MT7530_VTCR_WR_VID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mt7530_vlan_cmd                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MT7530_VTCR_RD_VID,4,2         ## @MT7530_VTCR_RD_VID
	.comm	_MT7530_VAWD1,4,2               ## @MT7530_VAWD1
	.comm	_PORT_MEM_SHFT,4,2              ## @PORT_MEM_SHFT
	.comm	_PORT_MEM_MASK,4,2              ## @PORT_MEM_MASK
	.comm	_MT7530_VTCR_WR_VID,4,2         ## @MT7530_VTCR_WR_VID
	.no_dead_strip	_mt7530_hw_vlan_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt7530_hw_vlan_update
_mt7530_hw_vlan_update:                 ; @mt7530_hw_vlan_update
	.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, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _MT7530_VTCR_RD_VID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MT7530_VTCR_RD_VID@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, x21
	bl	_mt7530_vlan_cmd
Lloh3:
	adrp	x8, _MT7530_VAWD1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MT7530_VAWD1@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_mt7530_read
Lloh6:
	adrp	x8, _PORT_MEM_SHFT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PORT_MEM_SHFT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	asr	w8, w0, w8
Lloh9:
	adrp	x9, _PORT_MEM_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PORT_MEM_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	and	w8, w8, w9
	str	w8, [x20]
	mov	x0, x22
	mov	x1, x20
	blr	x19
Lloh12:
	adrp	x8, _MT7530_VTCR_WR_VID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MT7530_VTCR_WR_VID@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x22
	mov	x2, x21
	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	_mt7530_vlan_cmd
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MT7530_VTCR_RD_VID,4,2         ; @MT7530_VTCR_RD_VID
	.comm	_MT7530_VAWD1,4,2               ; @MT7530_VAWD1
	.comm	_PORT_MEM_SHFT,4,2              ; @PORT_MEM_SHFT
	.comm	_PORT_MEM_MASK,4,2              ; @PORT_MEM_MASK
	.comm	_MT7530_VTCR_WR_VID,4,2         ; @MT7530_VTCR_WR_VID
	.no_dead_strip	_mt7530_hw_vlan_update
.subsections_via_symbols
