	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_vc_disable_queues_msg
_i40e_vc_disable_queues_msg:            ## @i40e_vc_disable_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	24(%rdi), %r12
	movl	$0, (%rdi)
	movq	_I40E_VF_STATE_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%rbx), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	16(%r14), %esi
	movq	%rbx, %rdi
	callq	_i40e_vc_isvalid_vsi_id
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movq	(%r14), %rax
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	cmpq	$0, 8(%r14)
	je	LBB0_1
LBB0_5:
	movq	_I40E_MAX_VF_QUEUES@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jg	LBB0_1
## %bb.6:
	movq	8(%r14), %rsi
	cmpq	%rcx, %rsi
	jle	LBB0_7
LBB0_1:
	movq	_I40E_ERR_PARAM@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %r15d
LBB0_11:
	movq	_VIRTCHNL_OP_DISABLE_QUEUES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_i40e_vc_send_resp_to_vf        ## TAILCALL
LBB0_7:
	movq	(%r12), %rax
	movq	8(%rbx), %rcx
	movl	(%rax,%rcx,4), %edi
	xorl	%r15d, %r15d
	xorl	%edx, %edx
	callq	_i40e_ctrl_vf_tx_rings
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	movq	(%r12), %rax
	movq	8(%rbx), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	(%r14), %rsi
	xorl	%edx, %edx
	callq	_i40e_ctrl_vf_rx_rings
	testq	%rax, %rax
	je	LBB0_11
LBB0_9:
	movq	_I40E_ERR_TIMEOUT@GOTPCREL(%rip), %rax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_VF_STATE_ACTIVE,4,2       ## @I40E_VF_STATE_ACTIVE
	.comm	_I40E_ERR_PARAM,4,2             ## @I40E_ERR_PARAM
	.comm	_I40E_MAX_VF_QUEUES,8,3         ## @I40E_MAX_VF_QUEUES
	.comm	_I40E_ERR_TIMEOUT,4,2           ## @I40E_ERR_TIMEOUT
	.comm	_VIRTCHNL_OP_DISABLE_QUEUES,4,2 ## @VIRTCHNL_OP_DISABLE_QUEUES
	.no_dead_strip	_i40e_vc_disable_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_disable_queues_msg
_i40e_vc_disable_queues_msg:            ; @i40e_vc_disable_queues_msg
	.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	x20, x1
	mov	x19, x0
	ldr	x21, [x0, #24]
	str	wzr, [x0]
Lloh0:
	adrp	x8, _I40E_VF_STATE_ACTIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40E_VF_STATE_ACTIVE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #16
	bl	_test_bit
	cbz	w0, LBB0_6
; %bb.1:
	ldr	w1, [x20, #16]
	mov	x0, x19
	bl	_i40e_vc_isvalid_vsi_id
	cbz	w0, LBB0_6
; %bb.2:
	ldr	x8, [x20]
	cbnz	x8, LBB0_4
; %bb.3:
	ldr	x9, [x20, #8]
	cbz	x9, LBB0_6
LBB0_4:
Lloh3:
	adrp	x9, _I40E_MAX_VF_QUEUES@GOTPAGE
Lloh4:
	ldr	x9, [x9, _I40E_MAX_VF_QUEUES@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_6
; %bb.5:
	ldr	x1, [x20, #8]
	cmp	x1, x9
	b.le	LBB0_9
LBB0_6:
Lloh6:
	adrp	x8, _I40E_ERR_PARAM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _I40E_ERR_PARAM@GOTPAGEOFF]
LBB0_7:
	ldr	w2, [x8]
LBB0_8:
Lloh8:
	adrp	x8, _VIRTCHNL_OP_DISABLE_QUEUES@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VIRTCHNL_OP_DISABLE_QUEUES@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	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
	b	_i40e_vc_send_resp_to_vf
LBB0_9:
	ldr	x8, [x21]
	ldr	x9, [x19, #8]
	ldr	w0, [x8, x9, lsl #2]
	mov	w2, #0
	bl	_i40e_ctrl_vf_tx_rings
	cbz	x0, LBB0_11
; %bb.10:
Lloh11:
	adrp	x8, _I40E_ERR_TIMEOUT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _I40E_ERR_TIMEOUT@GOTPAGEOFF]
	b	LBB0_7
LBB0_11:
	ldr	x8, [x21]
	ldr	x9, [x19, #8]
	ldr	w0, [x8, x9, lsl #2]
	ldr	x1, [x20]
	mov	w2, #0
	bl	_i40e_ctrl_vf_rx_rings
Lloh13:
	adrp	x8, _I40E_ERR_TIMEOUT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _I40E_ERR_TIMEOUT@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w2, wzr, w8, eq
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_VF_STATE_ACTIVE,4,2       ; @I40E_VF_STATE_ACTIVE
	.comm	_I40E_ERR_PARAM,4,2             ; @I40E_ERR_PARAM
	.comm	_I40E_MAX_VF_QUEUES,8,3         ; @I40E_MAX_VF_QUEUES
	.comm	_I40E_ERR_TIMEOUT,4,2           ; @I40E_ERR_TIMEOUT
	.comm	_VIRTCHNL_OP_DISABLE_QUEUES,4,2 ; @VIRTCHNL_OP_DISABLE_QUEUES
	.no_dead_strip	_i40e_vc_disable_queues_msg
.subsections_via_symbols
