	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt7530_port_set_vlan_aware
_mt7530_port_set_vlan_aware:            ## @mt7530_port_set_vlan_aware
	.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
	movl	%esi, %ebx
	movq	(%rdi), %r14
	movl	%esi, %edi
	callq	_MT7530_PCR_P
	movl	%eax, %r15d
	movq	_PCR_MATRIX_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_MT7530_ALL_MEMBERS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PCR_MATRIX
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_mt7530_rmw
	movl	%ebx, %edi
	callq	_MT7530_PCR_P
	movq	_PCR_PORT_VLAN_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_MT7530_PORT_SECURITY_MODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_mt7530_rmw
	movl	%ebx, %edi
	callq	_MT7530_PVC_P
	movl	%eax, %r15d
	movq	_VLAN_ATTR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_MT7530_VLAN_USER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_VLAN_ATTR
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mt7530_rmw                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PCR_MATRIX_MASK,4,2            ## @PCR_MATRIX_MASK
	.comm	_MT7530_ALL_MEMBERS,4,2         ## @MT7530_ALL_MEMBERS
	.comm	_PCR_PORT_VLAN_MASK,4,2         ## @PCR_PORT_VLAN_MASK
	.comm	_MT7530_PORT_SECURITY_MODE,4,2  ## @MT7530_PORT_SECURITY_MODE
	.comm	_VLAN_ATTR_MASK,4,2             ## @VLAN_ATTR_MASK
	.comm	_MT7530_VLAN_USER,4,2           ## @MT7530_VLAN_USER
	.no_dead_strip	_mt7530_port_set_vlan_aware
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt7530_port_set_vlan_aware
_mt7530_port_set_vlan_aware:            ; @mt7530_port_set_vlan_aware
	.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, x1
	ldr	x20, [x0]
	mov	x0, x1
	bl	_MT7530_PCR_P
	mov	x21, x0
Lloh0:
	adrp	x8, _PCR_MATRIX_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCR_MATRIX_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
Lloh3:
	adrp	x8, _MT7530_ALL_MEMBERS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MT7530_ALL_MEMBERS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_PCR_MATRIX
	mov	x3, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_mt7530_rmw
	mov	x0, x19
	bl	_MT7530_PCR_P
	mov	x1, x0
Lloh6:
	adrp	x8, _PCR_PORT_VLAN_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PCR_PORT_VLAN_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _MT7530_PORT_SECURITY_MODE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MT7530_PORT_SECURITY_MODE@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x20
	bl	_mt7530_rmw
	mov	x0, x19
	bl	_MT7530_PVC_P
	mov	x19, x0
Lloh12:
	adrp	x8, _VLAN_ATTR_MASK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VLAN_ATTR_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w21, [x8]
Lloh15:
	adrp	x8, _MT7530_VLAN_USER@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MT7530_VLAN_USER@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_VLAN_ATTR
	mov	x3, x0
	mov	x0, x20
	mov	x1, x19
	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_rmw
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.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	_PCR_MATRIX_MASK,4,2            ; @PCR_MATRIX_MASK
	.comm	_MT7530_ALL_MEMBERS,4,2         ; @MT7530_ALL_MEMBERS
	.comm	_PCR_PORT_VLAN_MASK,4,2         ; @PCR_PORT_VLAN_MASK
	.comm	_MT7530_PORT_SECURITY_MODE,4,2  ; @MT7530_PORT_SECURITY_MODE
	.comm	_VLAN_ATTR_MASK,4,2             ; @VLAN_ATTR_MASK
	.comm	_MT7530_VLAN_USER,4,2           ; @MT7530_VLAN_USER
	.no_dead_strip	_mt7530_port_set_vlan_aware
.subsections_via_symbols
