	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b53_set_vlan_entry
_b53_set_vlan_entry:                    ## @b53_set_vlan_entry
	.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	%ecx, %ebx
	movl	%edx, %r12d
	movl	%esi, %r15d
	movq	%rdi, %r14
	callq	_is5325
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	testl	%r12d, %r12d
	je	LBB0_2
## %bb.3:
	movq	_VA_UNTAG_MASK_25@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	_VA_UNTAG_S_25@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %ebx
	orl	%r12d, %ebx
	cmpl	$3, (%r14)
	jl	LBB0_5
## %bb.4:
	movq	_VA_VID_HIGH_S@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%r15d, %eax
	shll	%cl, %eax
	movq	_VA_VALID_25_R4@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	orl	%eax, %ebx
	jmp	LBB0_6
LBB0_8:
	movq	%r14, %rdi
	callq	_is5365
	testq	%rax, %rax
	je	LBB0_13
## %bb.9:
	testl	%r12d, %r12d
	je	LBB0_10
## %bb.11:
	movq	_VA_UNTAG_MASK_65@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	_VA_UNTAG_S_65@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %ebx
	orl	%r12d, %ebx
	movq	_VA_VALID_65@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	jmp	LBB0_12
LBB0_2:
	xorl	%ebx, %ebx
	jmp	LBB0_6
LBB0_5:
	movq	_VA_VALID_25@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
LBB0_6:
	movq	_B53_VLAN_PAGE@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_B53_VLAN_WRITE_25@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %ecx
	callq	_b53_write32
	movl	(%r12), %esi
	movq	_B53_VLAN_TABLE_ACCESS_25@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_13:
	movq	_B53_ARLIO_PAGE@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	8(%r14), %rax
	movl	4(%rax), %edx
	movq	%r14, %rdi
	movl	%r15d, %ecx
	callq	_b53_write16
	movl	(%r13), %esi
	movq	8(%r14), %rax
	movl	8(%rax), %edx
	movq	_VTE_UNTAG_S@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %ebx
	orl	%r12d, %ebx
	movq	%r14, %rdi
	movl	%ebx, %ecx
	callq	_b53_write32
	movq	_VTA_CMD_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b53_do_vlan_op                 ## TAILCALL
LBB0_10:
	xorl	%ebx, %ebx
LBB0_12:
	movq	_B53_VLAN_PAGE@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_B53_VLAN_WRITE_65@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %ecx
	callq	_b53_write16
	movl	(%r12), %esi
	movq	_B53_VLAN_TABLE_ACCESS_65@GOTPCREL(%rip), %rax
LBB0_7:
	movq	_VTA_RW_STATE_WR@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r15d
	movl	(%rax), %edx
	movq	_VTA_RW_OP_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	%r14, %rdi
	movl	%r15d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b53_write16                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VA_UNTAG_MASK_25,4,2           ## @VA_UNTAG_MASK_25
	.comm	_VA_UNTAG_S_25,4,2              ## @VA_UNTAG_S_25
	.comm	_VA_VALID_25_R4,4,2             ## @VA_VALID_25_R4
	.comm	_VA_VID_HIGH_S,4,2              ## @VA_VID_HIGH_S
	.comm	_VA_VALID_25,4,2                ## @VA_VALID_25
	.comm	_B53_VLAN_PAGE,4,2              ## @B53_VLAN_PAGE
	.comm	_B53_VLAN_WRITE_25,4,2          ## @B53_VLAN_WRITE_25
	.comm	_B53_VLAN_TABLE_ACCESS_25,4,2   ## @B53_VLAN_TABLE_ACCESS_25
	.comm	_VTA_RW_STATE_WR,4,2            ## @VTA_RW_STATE_WR
	.comm	_VTA_RW_OP_EN,4,2               ## @VTA_RW_OP_EN
	.comm	_VA_UNTAG_MASK_65,4,2           ## @VA_UNTAG_MASK_65
	.comm	_VA_UNTAG_S_65,4,2              ## @VA_UNTAG_S_65
	.comm	_VA_VALID_65,4,2                ## @VA_VALID_65
	.comm	_B53_VLAN_WRITE_65,4,2          ## @B53_VLAN_WRITE_65
	.comm	_B53_VLAN_TABLE_ACCESS_65,4,2   ## @B53_VLAN_TABLE_ACCESS_65
	.comm	_B53_ARLIO_PAGE,4,2             ## @B53_ARLIO_PAGE
	.comm	_VTE_UNTAG_S,4,2                ## @VTE_UNTAG_S
	.comm	_VTA_CMD_WRITE,4,2              ## @VTA_CMD_WRITE
	.no_dead_strip	_b53_set_vlan_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b53_set_vlan_entry
_b53_set_vlan_entry:                    ; @b53_set_vlan_entry
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x22, x3
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	bl	_is5325
	cbz	x0, LBB0_4
; %bb.1:
	cbz	w21, LBB0_7
; %bb.2:
Lloh0:
	adrp	x8, _VA_UNTAG_MASK_25@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VA_UNTAG_MASK_25@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _VA_UNTAG_S_25@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VA_UNTAG_S_25@GOTPAGEOFF]
	and	w8, w8, w22
Lloh5:
	ldr	w9, [x9]
	lsl	w8, w8, w9
	orr	w8, w8, w21
	ldr	w9, [x19]
	cmp	w9, #3
	b.lt	LBB0_8
; %bb.3:
Lloh6:
	adrp	x9, _VA_VALID_25_R4@GOTPAGE
Lloh7:
	ldr	x9, [x9, _VA_VALID_25_R4@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _VA_VID_HIGH_S@GOTPAGE
Lloh10:
	ldr	x10, [x10, _VA_VID_HIGH_S@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	lsl	w10, w20, w10
	orr	w8, w9, w8
	orr	w3, w8, w10
	b	LBB0_9
LBB0_4:
	mov	x0, x19
	bl	_is5365
	cbz	x0, LBB0_10
; %bb.5:
	cbz	w21, LBB0_11
; %bb.6:
Lloh12:
	adrp	x8, _VA_UNTAG_MASK_65@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VA_UNTAG_MASK_65@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	and	w8, w8, w22
Lloh15:
	adrp	x9, _VA_UNTAG_S_65@GOTPAGE
Lloh16:
	ldr	x9, [x9, _VA_UNTAG_S_65@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	lsl	w8, w8, w9
	orr	w8, w8, w21
Lloh18:
	adrp	x9, _VA_VALID_65@GOTPAGE
Lloh19:
	ldr	x9, [x9, _VA_VALID_65@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w3, w8, w9
	b	LBB0_12
LBB0_7:
	mov	w3, #0
	b	LBB0_9
LBB0_8:
Lloh21:
	adrp	x9, _VA_VALID_25@GOTPAGE
Lloh22:
	ldr	x9, [x9, _VA_VALID_25@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w3, w9, w8
LBB0_9:
Lloh24:
	adrp	x21, _B53_VLAN_PAGE@GOTPAGE
Lloh25:
	ldr	x21, [x21, _B53_VLAN_PAGE@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh26:
	adrp	x8, _B53_VLAN_WRITE_25@GOTPAGE
Lloh27:
	ldr	x8, [x8, _B53_VLAN_WRITE_25@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_b53_write32
	ldr	w1, [x21]
Lloh29:
	adrp	x8, _B53_VLAN_TABLE_ACCESS_25@GOTPAGE
Lloh30:
	ldr	x8, [x8, _B53_VLAN_TABLE_ACCESS_25@GOTPAGEOFF]
	b	LBB0_13
LBB0_10:
Lloh31:
	adrp	x23, _B53_ARLIO_PAGE@GOTPAGE
Lloh32:
	ldr	x23, [x23, _B53_ARLIO_PAGE@GOTPAGEOFF]
	ldr	w1, [x23]
	ldr	x8, [x19, #8]
	ldr	w2, [x8, #4]
	mov	x0, x19
	mov	x3, x20
	bl	_b53_write16
	ldr	w1, [x23]
	ldr	x8, [x19, #8]
	ldr	w2, [x8, #8]
Lloh33:
	adrp	x8, _VTE_UNTAG_S@GOTPAGE
Lloh34:
	ldr	x8, [x8, _VTE_UNTAG_S@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	lsl	w8, w22, w8
	orr	w3, w8, w21
	mov	x0, x19
	bl	_b53_write32
Lloh36:
	adrp	x8, _VTA_CMD_WRITE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _VTA_CMD_WRITE@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_b53_do_vlan_op
LBB0_11:
	mov	w3, #0
LBB0_12:
Lloh39:
	adrp	x21, _B53_VLAN_PAGE@GOTPAGE
Lloh40:
	ldr	x21, [x21, _B53_VLAN_PAGE@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh41:
	adrp	x8, _B53_VLAN_WRITE_65@GOTPAGE
Lloh42:
	ldr	x8, [x8, _B53_VLAN_WRITE_65@GOTPAGEOFF]
Lloh43:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_b53_write16
	ldr	w1, [x21]
Lloh44:
	adrp	x8, _B53_VLAN_TABLE_ACCESS_65@GOTPAGE
Lloh45:
	ldr	x8, [x8, _B53_VLAN_TABLE_ACCESS_65@GOTPAGEOFF]
LBB0_13:
	ldr	w2, [x8]
Lloh46:
	adrp	x8, _VTA_RW_STATE_WR@GOTPAGE
Lloh47:
	ldr	x8, [x8, _VTA_RW_STATE_WR@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	orr	w8, w8, w20
Lloh49:
	adrp	x9, _VTA_RW_OP_EN@GOTPAGE
Lloh50:
	ldr	x9, [x9, _VTA_RW_OP_EN@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	orr	w3, w8, w9
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_b53_write16
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_VA_UNTAG_MASK_25,4,2           ; @VA_UNTAG_MASK_25
	.comm	_VA_UNTAG_S_25,4,2              ; @VA_UNTAG_S_25
	.comm	_VA_VALID_25_R4,4,2             ; @VA_VALID_25_R4
	.comm	_VA_VID_HIGH_S,4,2              ; @VA_VID_HIGH_S
	.comm	_VA_VALID_25,4,2                ; @VA_VALID_25
	.comm	_B53_VLAN_PAGE,4,2              ; @B53_VLAN_PAGE
	.comm	_B53_VLAN_WRITE_25,4,2          ; @B53_VLAN_WRITE_25
	.comm	_B53_VLAN_TABLE_ACCESS_25,4,2   ; @B53_VLAN_TABLE_ACCESS_25
	.comm	_VTA_RW_STATE_WR,4,2            ; @VTA_RW_STATE_WR
	.comm	_VTA_RW_OP_EN,4,2               ; @VTA_RW_OP_EN
	.comm	_VA_UNTAG_MASK_65,4,2           ; @VA_UNTAG_MASK_65
	.comm	_VA_UNTAG_S_65,4,2              ; @VA_UNTAG_S_65
	.comm	_VA_VALID_65,4,2                ; @VA_VALID_65
	.comm	_B53_VLAN_WRITE_65,4,2          ; @B53_VLAN_WRITE_65
	.comm	_B53_VLAN_TABLE_ACCESS_65,4,2   ; @B53_VLAN_TABLE_ACCESS_65
	.comm	_B53_ARLIO_PAGE,4,2             ; @B53_ARLIO_PAGE
	.comm	_VTE_UNTAG_S,4,2                ; @VTE_UNTAG_S
	.comm	_VTA_CMD_WRITE,4,2              ; @VTA_CMD_WRITE
	.no_dead_strip	_b53_set_vlan_entry
.subsections_via_symbols
