	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t4_alloc_encap_mac_filt        ## -- Begin function t4_alloc_encap_mac_filt
	.p2align	4, 0x90
_t4_alloc_encap_mac_filt:               ## @t4_alloc_encap_mac_filt
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	leaq	-48(%rbp), %r14
	pushq	$24
	popq	%rdx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	_FW_VI_MAC_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FW_CMD_OP_V
	movl	%eax, %ebx
	movq	_FW_CMD_REQUEST_F@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_FW_CMD_WRITE_F@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	%r15d, %edi
	callq	_FW_VI_MAC_CMD_VIID_V
	orl	%eax, %ebx
	movl	%ebx, %edi
	callq	_cpu_to_be32
	movq	%rax, 8(%r14)
	pushq	$1
	popq	%rdi
	callq	_FW_CMD_LEN16_V
	movl	%eax, %ebx
	movq	_FW_VI_MAC_TYPE_EXACTMAC_VNI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FW_VI_MAC_CMD_ENTRY_TYPE_V
	orl	%eax, %ebx
	movl	%ebx, %edi
	callq	_cpu_to_be32
	movq	%rax, (%r14)
	movq	_FW_VI_MAC_CMD_VALID_F@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_FW_VI_MAC_ADD_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FW_VI_MAC_CMD_IDX_V
	orl	%eax, %ebx
	movl	%ebx, %edi
	callq	_cpu_to_be16
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_FW_VI_MAC_CMD,4,2              ## @FW_VI_MAC_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_VI_MAC_TYPE_EXACTMAC_VNI,4,2 ## @FW_VI_MAC_TYPE_EXACTMAC_VNI
	.comm	_FW_VI_MAC_CMD_VALID_F,4,2      ## @FW_VI_MAC_CMD_VALID_F
	.comm	_FW_VI_MAC_ADD_MAC,4,2          ## @FW_VI_MAC_ADD_MAC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t4_alloc_encap_mac_filt        ; -- Begin function t4_alloc_encap_mac_filt
	.p2align	2
_t4_alloc_encap_mac_filt:               ; @t4_alloc_encap_mac_filt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x1
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh0:
	adrp	x8, _FW_VI_MAC_CMD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FW_VI_MAC_CMD@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_FW_CMD_OP_V
Lloh3:
	adrp	x8, _FW_CMD_REQUEST_F@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FW_CMD_REQUEST_F@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh6:
	adrp	x9, _FW_CMD_WRITE_F@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FW_CMD_WRITE_F@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w20, w8, w9
	mov	x0, x19
	bl	_FW_VI_MAC_CMD_VIID_V
	orr	w0, w20, w0
	bl	_cpu_to_be32
	str	x0, [sp, #16]
	mov	w0, #1
	bl	_FW_CMD_LEN16_V
	mov	x19, x0
Lloh9:
	adrp	x8, _FW_VI_MAC_TYPE_EXACTMAC_VNI@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FW_VI_MAC_TYPE_EXACTMAC_VNI@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_FW_VI_MAC_CMD_ENTRY_TYPE_V
	orr	w0, w0, w19
	bl	_cpu_to_be32
	str	x0, [sp, #8]
Lloh12:
	adrp	x8, _FW_VI_MAC_CMD_VALID_F@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FW_VI_MAC_CMD_VALID_F@GOTPAGEOFF]
Lloh14:
	ldr	w19, [x8]
Lloh15:
	adrp	x8, _FW_VI_MAC_ADD_MAC@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FW_VI_MAC_ADD_MAC@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_FW_VI_MAC_CMD_IDX_V
	orr	w0, w0, w19
	bl	_cpu_to_be16
	brk	#0x1
	.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	_FW_VI_MAC_CMD,4,2              ; @FW_VI_MAC_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_VI_MAC_TYPE_EXACTMAC_VNI,4,2 ; @FW_VI_MAC_TYPE_EXACTMAC_VNI
	.comm	_FW_VI_MAC_CMD_VALID_F,4,2      ; @FW_VI_MAC_CMD_VALID_F
	.comm	_FW_VI_MAC_ADD_MAC,4,2          ; @FW_VI_MAC_ADD_MAC
.subsections_via_symbols
