	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt753x_port_isolation
_mt753x_port_isolation:                 ## @mt753x_port_isolation
	.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, %r14
	movq	_MT753X_NUM_PORTS@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	movq	_PORT_MATRIX_S@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_PCR
	movl	%eax, %r15d
	movl	(%r14), %edi
	callq	_BIT
	movzbl	(%r13), %ecx
	shll	%cl, %eax
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_mt753x_reg_write
	incl	%ebx
	cmpl	(%r12), %ebx
	jl	LBB0_2
LBB0_3:
	movl	(%r14), %edi
	callq	_PCR
	movq	_PORT_MATRIX_M@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_mt753x_reg_write
	cmpl	$0, (%r12)
	jle	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	movq	_VA_TRANSPARENT_PORT@GOTPCREL(%rip), %r13
	movq	_VLAN_ATTR_S@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_PVC
	movq	_STAG_VPID_S@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	movl	$33024, %esi                    ## imm = 0x8100
	shll	%cl, %esi
	movl	(%r13), %edx
	movzbl	(%r15), %ecx
	shll	%cl, %edx
	orl	%esi, %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_mt753x_reg_write
	incl	%ebx
	cmpl	(%r12), %ebx
	jl	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MT753X_NUM_PORTS,4,2           ## @MT753X_NUM_PORTS
	.comm	_PORT_MATRIX_S,4,2              ## @PORT_MATRIX_S
	.comm	_PORT_MATRIX_M,4,2              ## @PORT_MATRIX_M
	.comm	_STAG_VPID_S,4,2                ## @STAG_VPID_S
	.comm	_VA_TRANSPARENT_PORT,4,2        ## @VA_TRANSPARENT_PORT
	.comm	_VLAN_ATTR_S,4,2                ## @VLAN_ATTR_S
	.no_dead_strip	_mt753x_port_isolation
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt753x_port_isolation
_mt753x_port_isolation:                 ; @mt753x_port_isolation
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x22, _MT753X_NUM_PORTS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MT753X_NUM_PORTS@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w20, #0
Lloh2:
	adrp	x23, _PORT_MATRIX_S@GOTPAGE
Lloh3:
	ldr	x23, [x23, _PORT_MATRIX_S@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_PCR
	mov	x21, x0
	ldr	w0, [x19]
	bl	_BIT
	ldr	w8, [x23]
	lsl	w2, w0, w8
	mov	x0, x19
	mov	x1, x21
	bl	_mt753x_reg_write
	add	w20, w20, #1
	ldr	w8, [x22]
	cmp	w20, w8
	b.lt	LBB0_2
LBB0_3:
	ldr	w0, [x19]
	bl	_PCR
	mov	x1, x0
Lloh4:
	adrp	x8, _PORT_MATRIX_M@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PORT_MATRIX_M@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_mt753x_reg_write
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	w20, #0
Lloh7:
	adrp	x21, _STAG_VPID_S@GOTPAGE
Lloh8:
	ldr	x21, [x21, _STAG_VPID_S@GOTPAGEOFF]
	mov	w23, #33024
Lloh9:
	adrp	x24, _VA_TRANSPARENT_PORT@GOTPAGE
Lloh10:
	ldr	x24, [x24, _VA_TRANSPARENT_PORT@GOTPAGEOFF]
Lloh11:
	adrp	x25, _VLAN_ATTR_S@GOTPAGE
Lloh12:
	ldr	x25, [x25, _VLAN_ATTR_S@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_PVC
	mov	x1, x0
	ldr	w8, [x21]
	lsl	w8, w23, w8
	ldr	w9, [x24]
	ldr	w10, [x25]
	lsl	w9, w9, w10
	orr	w2, w9, w8
	mov	x0, x19
	bl	_mt753x_reg_write
	add	w20, w20, #1
	ldr	w8, [x22]
	cmp	w20, w8
	b.lt	LBB0_5
LBB0_6:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MT753X_NUM_PORTS,4,2           ; @MT753X_NUM_PORTS
	.comm	_PORT_MATRIX_S,4,2              ; @PORT_MATRIX_S
	.comm	_PORT_MATRIX_M,4,2              ; @PORT_MATRIX_M
	.comm	_STAG_VPID_S,4,2                ; @STAG_VPID_S
	.comm	_VA_TRANSPARENT_PORT,4,2        ; @VA_TRANSPARENT_PORT
	.comm	_VLAN_ATTR_S,4,2                ; @VLAN_ATTR_S
	.no_dead_strip	_mt753x_port_isolation
.subsections_via_symbols
