	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function liquidio_vlan_rx_add_vid
_liquidio_vlan_rx_add_vid:              ## @liquidio_vlan_rx_add_vid
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rdi, %r15
	callq	_GET_LIO
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	-88(%rbp), %r13
	xorl	%r12d, %r12d
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	$0, -56(%rbp)
	movq	_OCTNET_CMD_ADD_VLAN_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movl	%r14d, -64(%rbp)
	movq	8(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movq	%r15, -80(%rbp)
	movq	_liquidio_link_ctrl_cmd_completion@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)
	movq	(%rbx), %rdi
	movq	%r13, %rsi
	callq	_octnet_send_nic_ctrl_pkt
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_err
	movq	_EPERM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_2:
	movl	%r12d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OCTNET_CMD_ADD_VLAN_FILTER,4,2 ## @OCTNET_CMD_ADD_VLAN_FILTER
	.comm	_liquidio_link_ctrl_cmd_completion,4,2 ## @liquidio_link_ctrl_cmd_completion
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Add VLAN filter failed in core (ret: 0x%x)\n"

	.comm	_EPERM,4,2                      ## @EPERM
	.no_dead_strip	_liquidio_vlan_rx_add_vid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function liquidio_vlan_rx_add_vid
_liquidio_vlan_rx_add_vid:              ; @liquidio_vlan_rx_add_vid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x2
	mov	x20, x0
	bl	_GET_LIO
	mov	x21, x0
	ldr	x22, [x0]
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	str	xzr, [sp, #40]
Lloh0:
	adrp	x8, _OCTNET_CMD_ADD_VLAN_FILTER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OCTNET_CMD_ADD_VLAN_FILTER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w19, w8, [sp, #32]
	ldr	x8, [x21, #8]
	ldr	w8, [x8]
	str	w8, [sp, #24]
	str	x20, [sp, #16]
Lloh3:
	adrp	x8, _liquidio_link_ctrl_cmd_completion@GOTPAGE
Lloh4:
	ldr	x8, [x8, _liquidio_link_ctrl_cmd_completion@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	ldr	x0, [x21]
	add	x1, sp, #8
	bl	_octnet_send_nic_ctrl_pkt
	cbz	w0, LBB0_2
; %bb.1:
	mov	x2, x0
	ldr	x0, [x22]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh8:
	adrp	x8, _EPERM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_2:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_OCTNET_CMD_ADD_VLAN_FILTER,4,2 ; @OCTNET_CMD_ADD_VLAN_FILTER
	.comm	_liquidio_link_ctrl_cmd_completion,4,2 ; @liquidio_link_ctrl_cmd_completion
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Add VLAN filter failed in core (ret: 0x%x)\n"

	.comm	_EPERM,4,2                      ; @EPERM
	.no_dead_strip	_liquidio_vlan_rx_add_vid
.subsections_via_symbols
