	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_vqs
_init_vqs:                              ## @init_vqs
	.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	$104, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_skb_recv_done@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -96(%rbp)
	movq	_skb_xmit_done@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -88(%rbp)
	movq	$0, -80(%rbp)
	movq	l___const.init_vqs.names+16(%rip), %rax
	movq	%rax, -112(%rbp)
	movdqa	l___const.init_vqs.names(%rip), %xmm0
	movdqa	%xmm0, -128(%rbp)
	movq	8(%rdi), %rdi
	movq	_VIRTIO_NET_F_CTRL_VQ@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_virtio_has_feature
	cmpq	$1, %rax
	movl	$3, %esi
	sbbl	$0, %esi
	movq	8(%rbx), %rdi
	movq	(%rdi), %rax
	leaq	-64(%rbp), %rdx
	leaq	-96(%rbp), %rcx
	leaq	-128(%rbp), %r8
	callq	*(%rax)
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_1
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	movl	%r14d, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	pshufd	$78, -64(%rbp), %xmm0           ## xmm0 = mem[2,3,0,1]
	movdqu	%xmm0, 24(%rbx)
	movq	8(%rbx), %rdi
	movl	(%r15), %esi
	callq	_virtio_has_feature
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	-48(%rbp), %rax
	movq	%rax, 16(%rbx)
	movq	8(%rbx), %rdi
	movq	_VIRTIO_NET_F_CTRL_VLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_virtio_has_feature
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_NETIF_F_HW_VLAN_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rbx), %rcx
	orl	%eax, (%rcx)
	jmp	LBB0_4
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_skb_recv_done,8,3              ## @skb_recv_done
	.comm	_skb_xmit_done,8,3              ## @skb_xmit_done
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"input"

L_.str.1:                               ## @.str.1
	.asciz	"output"

L_.str.2:                               ## @.str.2
	.asciz	"control"

	.section	__DATA,__const
	.p2align	4                               ## @__const.init_vqs.names
l___const.init_vqs.names:
	.quad	L_.str
	.quad	L_.str.1
	.quad	L_.str.2

	.comm	_VIRTIO_NET_F_CTRL_VQ,4,2       ## @VIRTIO_NET_F_CTRL_VQ
	.comm	_VIRTIO_NET_F_CTRL_VLAN,4,2     ## @VIRTIO_NET_F_CTRL_VLAN
	.comm	_NETIF_F_HW_VLAN_FILTER,4,2     ## @NETIF_F_HW_VLAN_FILTER
	.no_dead_strip	_init_vqs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_vqs
_init_vqs:                              ; @init_vqs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _skb_recv_done@GOTPAGE
Lloh4:
	ldr	x9, [x9, _skb_recv_done@GOTPAGEOFF]
	stur	x8, [x29, #-40]
Lloh5:
	ldr	x8, [x9]
Lloh6:
	adrp	x9, _skb_xmit_done@GOTPAGE
Lloh7:
	ldr	x9, [x9, _skb_xmit_done@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	stp	x8, x9, [sp, #24]
	str	xzr, [sp, #40]
Lloh9:
	adrp	x8, l___const.init_vqs.names@PAGE
Lloh10:
	add	x8, x8, l___const.init_vqs.names@PAGEOFF
	ldr	q0, [x8]
	str	q0, [sp]
	ldr	x8, [x8, #16]
	str	x8, [sp, #16]
	ldr	x0, [x0, #8]
Lloh11:
	adrp	x21, _VIRTIO_NET_F_CTRL_VQ@GOTPAGE
Lloh12:
	ldr	x21, [x21, _VIRTIO_NET_F_CTRL_VQ@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_virtio_has_feature
	cmp	x0, #0
	mov	w8, #2
	cinc	w1, w8, ne
	ldr	x0, [x19, #8]
	ldr	x8, [x0]
	ldr	x8, [x8]
	add	x2, sp, #48
	add	x3, sp, #24
	mov	x4, sp
	blr	x8
	mov	x20, x0
	cbz	w0, LBB0_3
LBB0_1:
	ldur	x8, [x29, #-40]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.2:
	mov	x0, x20
	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
	add	sp, sp, #128
	ret
LBB0_3:
	ldp	x8, x9, [sp, #48]
	stp	x9, x8, [x19, #24]
	ldr	x0, [x19, #8]
	ldr	w1, [x21]
	bl	_virtio_has_feature
	cbz	x0, LBB0_1
; %bb.4:
	ldr	x8, [sp, #64]
	str	x8, [x19, #16]
	ldr	x0, [x19, #8]
Lloh16:
	adrp	x8, _VIRTIO_NET_F_CTRL_VLAN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _VIRTIO_NET_F_CTRL_VLAN@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	bl	_virtio_has_feature
	cbz	x0, LBB0_1
; %bb.5:
Lloh19:
	adrp	x8, _NETIF_F_HW_VLAN_FILTER@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NETIF_F_HW_VLAN_FILTER@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	ldr	x9, [x19]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
	b	LBB0_1
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_skb_recv_done,8,3              ; @skb_recv_done
	.comm	_skb_xmit_done,8,3              ; @skb_xmit_done
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"input"

l_.str.1:                               ; @.str.1
	.asciz	"output"

l_.str.2:                               ; @.str.2
	.asciz	"control"

	.section	__DATA,__const
	.p2align	3                               ; @__const.init_vqs.names
l___const.init_vqs.names:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2

	.comm	_VIRTIO_NET_F_CTRL_VQ,4,2       ; @VIRTIO_NET_F_CTRL_VQ
	.comm	_VIRTIO_NET_F_CTRL_VLAN,4,2     ; @VIRTIO_NET_F_CTRL_VLAN
	.comm	_NETIF_F_HW_VLAN_FILTER,4,2     ; @NETIF_F_HW_VLAN_FILTER
	.no_dead_strip	_init_vqs
.subsections_via_symbols
