	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nicvf_qset_config              ## -- Begin function nicvf_qset_config
	.p2align	4, 0x90
_nicvf_qset_config:                     ## @nicvf_qset_config
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movq	$0, -8(%rbp)
	movq	24(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movl	%esi, (%rax)
	movl	12(%rdi), %ecx
	movl	%ecx, 4(%rax)
	movq	_NIC_MBOX_MSG_QS_CFG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -8(%rbp)
	movl	4(%rax), %ecx
	movl	%ecx, -12(%rbp)
	movl	8(%rdi), %ecx
	movl	%ecx, -16(%rbp)
	movq	$0, -24(%rbp)
	cmpl	$0, (%rax)
	je	LBB0_4
## %bb.2:
	movl	$1, -24(%rbp)
	movl	4(%rax), %eax
	movl	%eax, -12(%rbp)
	cmpq	$0, (%rdi)
	je	LBB0_4
## %bb.3:
	movl	$1, -16(%rbp)
LBB0_4:
	leaq	-24(%rbp), %rsi
	callq	_nicvf_send_msg_to_pf
	addq	$32, %rsp
	popq	%rbp
	retq
LBB0_5:
	movl	16(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	addq	$32, %rsp
	popq	%rbp
	jmp	_netdev_warn                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Qset is still not allocated, don't init queues\n"

	.comm	_NIC_MBOX_MSG_QS_CFG,4,2        ## @NIC_MBOX_MSG_QS_CFG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nicvf_qset_config              ; -- Begin function nicvf_qset_config
	.p2align	2
_nicvf_qset_config:                     ; @nicvf_qset_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
	str	xzr, [sp, #24]
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_5
; %bb.1:
	str	w1, [x8]
	ldr	w9, [x0, #12]
	str	w9, [x8, #4]
Lloh0:
	adrp	x9, _NIC_MBOX_MSG_QS_CFG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NIC_MBOX_MSG_QS_CFG@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [sp, #24]
	ldr	w9, [x8, #4]
	ldr	w10, [x0, #8]
	stp	w10, w9, [sp, #16]
	str	xzr, [sp, #8]
	ldr	w9, [x8]
	cbz	w9, LBB0_4
; %bb.2:
	mov	w9, #1
	ldr	w8, [x8, #4]
	str	w9, [sp, #8]
	str	w8, [sp, #20]
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.3:
	str	w9, [sp, #16]
LBB0_4:
	add	x1, sp, #8
	bl	_nicvf_send_msg_to_pf
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_5:
	ldr	w0, [x0, #16]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_netdev_warn
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Qset is still not allocated, don't init queues\n"

	.comm	_NIC_MBOX_MSG_QS_CFG,4,2        ; @NIC_MBOX_MSG_QS_CFG
.subsections_via_symbols
