	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmxnet3_vlan_rx_add_vid
_vmxnet3_vlan_rx_add_vid:               ## @vmxnet3_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r15
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_2
## %bb.1:
	movq	8(%r15), %rax
	movq	(%rax), %rdi
	movl	%r14d, %esi
	callq	_VMXNET3_SET_VFTABLE_ENTRY
	movq	%r15, %rbx
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	_VMXNET3_REG_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VMXNET3_CMD_UPDATE_VLAN_FILTERS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_VMXNET3_WRITE_BAR1_REG
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
LBB0_2:
	movl	(%r15), %esi
	movl	%r14d, %edi
	callq	_set_bit
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_VMXNET3_REG_CMD,4,2            ## @VMXNET3_REG_CMD
	.comm	_VMXNET3_CMD_UPDATE_VLAN_FILTERS,4,2 ## @VMXNET3_CMD_UPDATE_VLAN_FILTERS
	.no_dead_strip	_vmxnet3_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 vmxnet3_vlan_rx_add_vid
_vmxnet3_vlan_rx_add_vid:               ; @vmxnet3_vlan_rx_add_vid
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x0
	bl	_netdev_priv
	mov	x20, x0
	ldr	w8, [x21]
Lloh0:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x20, #8]
	ldr	x0, [x8]
	mov	x1, x19
	bl	_VMXNET3_SET_VFTABLE_ENTRY
	add	x21, x20, #4
	mov	x0, x21
	bl	_spin_lock_irqsave
Lloh3:
	adrp	x8, _VMXNET3_REG_CMD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VMXNET3_REG_CMD@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _VMXNET3_CMD_UPDATE_VLAN_FILTERS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VMXNET3_CMD_UPDATE_VLAN_FILTERS@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_VMXNET3_WRITE_BAR1_REG
	mov	x0, x21
	bl	_spin_unlock_irqrestore
LBB0_2:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_set_bit
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_VMXNET3_REG_CMD,4,2            ; @VMXNET3_REG_CMD
	.comm	_VMXNET3_CMD_UPDATE_VLAN_FILTERS,4,2 ; @VMXNET3_CMD_UPDATE_VLAN_FILTERS
	.no_dead_strip	_vmxnet3_vlan_rx_add_vid
.subsections_via_symbols
