	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function virtnet_vlan_rx_kill_vid
_virtnet_vlan_rx_kill_vid:              ## @virtnet_vlan_rx_kill_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %rbx
	movl	8(%rax), %edi
	movl	%r14d, %esi
	callq	_cpu_to_virtio16
	movq	(%rbx), %rsi
	movl	%eax, (%rsi)
	leaq	-40(%rbp), %r12
	movq	%r12, %rdi
	movl	$4, %edx
	callq	_sg_init_one
	movq	_VIRTIO_NET_CTRL_VLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VIRTIO_NET_CTRL_VLAN_DEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r12, %rcx
	callq	_virtnet_send_command
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_dev_warn
LBB0_2:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VIRTIO_NET_CTRL_VLAN,4,2       ## @VIRTIO_NET_CTRL_VLAN
	.comm	_VIRTIO_NET_CTRL_VLAN_DEL,4,2   ## @VIRTIO_NET_CTRL_VLAN_DEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to kill VLAN ID %d.\n"

	.no_dead_strip	_virtnet_vlan_rx_kill_vid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function virtnet_vlan_rx_kill_vid
_virtnet_vlan_rx_kill_vid:              ; @virtnet_vlan_rx_kill_vid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x2
	mov	x20, x0
	bl	_netdev_priv
	mov	x21, x0
	ldr	w0, [x0, #8]
	mov	x1, x19
	bl	_cpu_to_virtio16
	ldr	x1, [x21]
	str	w0, [x1]
	add	x0, sp, #8
	mov	w2, #4
	bl	_sg_init_one
Lloh0:
	adrp	x8, _VIRTIO_NET_CTRL_VLAN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VIRTIO_NET_CTRL_VLAN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _VIRTIO_NET_CTRL_VLAN_DEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VIRTIO_NET_CTRL_VLAN_DEL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x0, x21
	bl	_virtnet_send_command
	cbnz	w0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_dev_warn
LBB0_2:
	mov	w0, #0
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_VIRTIO_NET_CTRL_VLAN,4,2       ; @VIRTIO_NET_CTRL_VLAN
	.comm	_VIRTIO_NET_CTRL_VLAN_DEL,4,2   ; @VIRTIO_NET_CTRL_VLAN_DEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to kill VLAN ID %d.\n"

	.no_dead_strip	_virtnet_vlan_rx_kill_vid
.subsections_via_symbols
