	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t4_set_vlan_acl                ## -- Begin function t4_set_vlan_acl
	.p2align	4, 0x90
_t4_set_vlan_acl:                       ## @t4_set_vlan_acl
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rdi, %r12
	xorl	%r14d, %r14d
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.1:
	movq	_FW_ACL_VLAN_CMD_EN_F@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_2:
	leaq	-72(%rbp), %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	_FW_ACL_VLAN_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FW_CMD_OP_V
	movl	%eax, %r13d
	movq	_FW_CMD_REQUEST_F@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	movq	_FW_CMD_WRITE_F@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	movq	_FW_CMD_EXEC_F@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	movl	4(%r12), %edi
	callq	_FW_ACL_VLAN_CMD_PFN_V
	movl	%eax, %ebx
	movl	%r15d, %edi
	callq	_FW_ACL_VLAN_CMD_VFN_V
	orl	%eax, %ebx
	orl	%r13d, %ebx
	movl	%ebx, %edi
	callq	_cpu_to_be32
	movq	%rax, -48(%rbp)
	movups	-72(%rbp), %xmm0
	movups	-56(%rbp), %xmm1
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	callq	_FW_LEN16
	orl	%r14d, %eax
	movl	%eax, %edi
	callq	_cpu_to_be32
	movq	%rax, -56(%rbp)
	movq	_FW_ACL_VLAN_CMD_DROPNOVLAN_F@GOTPCREL(%rip), %rax
	movq	_FW_ACL_VLAN_CMD_FM_F@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%r14d, %r14d
	cmovel	%r14d, %ecx
	movl	%ecx, -72(%rbp)
	je	LBB0_4
## %bb.3:
	movl	$1, -68(%rbp)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_cpu_to_be16
	movq	-64(%rbp), %rcx
	movl	%eax, (%rcx)
LBB0_4:
	movl	(%r12), %esi
	leaq	-72(%rbp), %rdx
	movq	%r12, %rdi
	movl	$32, %ecx
	xorl	%r8d, %r8d
	callq	_t4_wr_mbox
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FW_ACL_VLAN_CMD_EN_F,4,2       ## @FW_ACL_VLAN_CMD_EN_F
	.comm	_FW_ACL_VLAN_CMD,4,2            ## @FW_ACL_VLAN_CMD
	.comm	_FW_CMD_REQUEST_F,4,2           ## @FW_CMD_REQUEST_F
	.comm	_FW_CMD_WRITE_F,4,2             ## @FW_CMD_WRITE_F
	.comm	_FW_CMD_EXEC_F,4,2              ## @FW_CMD_EXEC_F
	.comm	_FW_ACL_VLAN_CMD_DROPNOVLAN_F,4,2 ## @FW_ACL_VLAN_CMD_DROPNOVLAN_F
	.comm	_FW_ACL_VLAN_CMD_FM_F,4,2       ## @FW_ACL_VLAN_CMD_FM_F
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t4_set_vlan_acl                ; -- Begin function t4_set_vlan_acl
	.p2align	2
_t4_set_vlan_acl:                       ; @t4_set_vlan_acl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x20, x3
	mov	x21, x2
	mov	x19, x0
Lloh0:
	adrp	x8, _FW_ACL_VLAN_CMD_EN_F@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FW_ACL_VLAN_CMD_EN_F@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	x3, #0
	csel	w22, wzr, w8, eq
	add	x0, sp, #32
	mov	w1, #0
	mov	w2, #32
	bl	_memset
Lloh3:
	adrp	x8, _FW_ACL_VLAN_CMD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FW_ACL_VLAN_CMD@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_FW_CMD_OP_V
Lloh6:
	adrp	x8, _FW_CMD_REQUEST_F@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FW_CMD_REQUEST_F@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh9:
	adrp	x9, _FW_CMD_WRITE_F@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FW_CMD_WRITE_F@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _FW_CMD_EXEC_F@GOTPAGE
Lloh13:
	ldr	x9, [x9, _FW_CMD_EXEC_F@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w23, w8, w9
	ldr	w0, [x19, #4]
	bl	_FW_ACL_VLAN_CMD_PFN_V
	orr	w23, w23, w0
	mov	x0, x21
	bl	_FW_ACL_VLAN_CMD_VFN_V
	orr	w0, w23, w0
	bl	_cpu_to_be32
	str	x0, [sp, #56]
	ldp	q0, q1, [sp, #32]
	stp	q0, q1, [sp]
	mov	x0, sp
	bl	_FW_LEN16
	orr	w0, w0, w22
	bl	_cpu_to_be32
	str	x0, [sp, #48]
Lloh15:
	adrp	x8, _FW_ACL_VLAN_CMD_DROPNOVLAN_F@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FW_ACL_VLAN_CMD_DROPNOVLAN_F@GOTPAGEOFF]
Lloh17:
	adrp	x9, _FW_ACL_VLAN_CMD_FM_F@GOTPAGE
Lloh18:
	ldr	x9, [x9, _FW_ACL_VLAN_CMD_FM_F@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w9, w8
	cmp	w22, #0
	csel	w8, wzr, w8, eq
	str	w8, [sp, #32]
	cbz	w22, LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [sp, #36]
	mov	x0, x20
	bl	_cpu_to_be16
	ldr	x8, [sp, #40]
	str	w0, [x8]
LBB0_2:
	ldr	w1, [x19]
	add	x2, sp, #32
	mov	x0, x19
	mov	w3, #32
	mov	x4, #0
	bl	_t4_wr_mbox
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.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	_FW_ACL_VLAN_CMD_EN_F,4,2       ; @FW_ACL_VLAN_CMD_EN_F
	.comm	_FW_ACL_VLAN_CMD,4,2            ; @FW_ACL_VLAN_CMD
	.comm	_FW_CMD_REQUEST_F,4,2           ; @FW_CMD_REQUEST_F
	.comm	_FW_CMD_WRITE_F,4,2             ; @FW_CMD_WRITE_F
	.comm	_FW_CMD_EXEC_F,4,2              ; @FW_CMD_EXEC_F
	.comm	_FW_ACL_VLAN_CMD_DROPNOVLAN_F,4,2 ; @FW_ACL_VLAN_CMD_DROPNOVLAN_F
	.comm	_FW_ACL_VLAN_CMD_FM_F,4,2       ; @FW_ACL_VLAN_CMD_FM_F
.subsections_via_symbols
