	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_vc_request_queues_msg
_i40e_vc_request_queues_msg:            ## @i40e_vc_request_queues_msg
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rsi), %r13
	movq	(%rdi), %r15
	movq	24(%rdi), %r12
	movq	_I40E_VF_STATE_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	20(%rbx), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_I40E_MAX_VF_QUEUES@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	cmpq	%rcx, %r13
	jle	LBB0_4
## %bb.3:
	movq	8(%r12), %rdi
	movl	16(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	movq	%rax, %r15
	callq	_dev_err
	movq	(%r15), %r15
	jmp	LBB0_6
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_8
LBB0_4:
	movq	%r13, %rcx
	subq	%r15, %rcx
	movq	(%r12), %r8
	cmpq	%r8, %rcx
	jle	LBB0_7
## %bb.5:
	movq	8(%r12), %rdi
	movl	16(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_warn
	addq	(%r12), %r15
LBB0_6:
	movq	%r15, (%r14)
	movq	_VIRTCHNL_OP_REQUEST_QUEUES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movq	%r14, %rcx
	movl	$8, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_i40e_vc_send_msg_to_vf         ## TAILCALL
LBB0_7:
	movq	%r13, 8(%rbx)
	movq	%rbx, %rdi
	callq	_i40e_vc_notify_vf_reset
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_i40e_reset_vf
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_VF_STATE_ACTIVE,4,2       ## @I40E_VF_STATE_ACTIVE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_I40E_MAX_VF_QUEUES,8,3         ## @I40E_MAX_VF_QUEUES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VF %d tried to request more than %d queues.\n"

L_.str.1:                               ## @.str.1
	.asciz	"VF %d requested %d more queues, but only %d left.\n"

	.comm	_VIRTCHNL_OP_REQUEST_QUEUES,4,2 ## @VIRTCHNL_OP_REQUEST_QUEUES
	.no_dead_strip	_i40e_vc_request_queues_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_vc_request_queues_msg
_i40e_vc_request_queues_msg:            ; @i40e_vc_request_queues_msg
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	ldr	x23, [x1]
	ldr	x22, [x0]
	ldr	x21, [x0, #24]
Lloh0:
	adrp	x8, _I40E_VF_STATE_ACTIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40E_VF_STATE_ACTIVE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #20
	bl	_test_bit
	cbz	w0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x24, _I40E_MAX_VF_QUEUES@GOTPAGE
Lloh4:
	ldr	x24, [x24, _I40E_MAX_VF_QUEUES@GOTPAGEOFF]
	ldr	x3, [x24]
	cmp	x23, x3
	b.le	LBB0_4
; %bb.2:
	ldr	x0, [x21, #8]
	ldr	w2, [x19, #16]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	ldr	x8, [x24]
	b	LBB0_6
LBB0_3:
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_4:
	ldr	x4, [x21]
	sub	x3, x23, x22
	cmp	x3, x4
	b.le	LBB0_7
; %bb.5:
	ldr	x0, [x21, #8]
	ldr	w2, [x19, #16]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_warn
	ldr	x8, [x21]
	add	x8, x8, x22
LBB0_6:
	str	x8, [x20]
Lloh12:
	adrp	x8, _VIRTCHNL_OP_REQUEST_QUEUES@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VIRTCHNL_OP_REQUEST_QUEUES@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	x3, x20
	mov	w4, #8
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_i40e_vc_send_msg_to_vf
LBB0_7:
	str	x23, [x19, #8]
	mov	x0, x19
	bl	_i40e_vc_notify_vf_reset
	mov	x0, x19
	mov	w1, #0
	bl	_i40e_reset_vf
	mov	w0, #0
LBB0_8:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_VF_STATE_ACTIVE,4,2       ; @I40E_VF_STATE_ACTIVE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_I40E_MAX_VF_QUEUES,8,3         ; @I40E_MAX_VF_QUEUES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VF %d tried to request more than %d queues.\n"

l_.str.1:                               ; @.str.1
	.asciz	"VF %d requested %d more queues, but only %d left.\n"

	.comm	_VIRTCHNL_OP_REQUEST_QUEUES,4,2 ; @VIRTCHNL_OP_REQUEST_QUEUES
	.no_dead_strip	_i40e_vc_request_queues_msg
.subsections_via_symbols
