	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_vc_enable_queues_msg
_i40e_vc_enable_queues_msg:             ## @i40e_vc_enable_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, %r12
	movq	40(%rdi), %r15
	movq	_I40E_VF_STATE_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	32(%r12), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	movl	16(%r14), %esi
	movq	%r12, %rdi
	callq	_i40e_vc_isvalid_vsi_id
	testl	%eax, %eax
	je	LBB0_7
## %bb.2:
	movq	(%r14), %rsi
	testq	%rsi, %rsi
	jne	LBB0_4
## %bb.3:
	cmpq	$0, 8(%r14)
	je	LBB0_7
LBB0_4:
	movq	(%r15), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %edi
	movl	$1, %edx
	callq	_i40e_ctrl_vf_rx_rings
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	(%r15), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	8(%r14), %rsi
	movl	$1, %edx
	callq	_i40e_ctrl_vf_tx_rings
	testq	%rax, %rax
	je	LBB0_10
LBB0_6:
	movq	_I40E_ERR_TIMEOUT@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_I40E_ERR_PARAM@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %r14d
LBB0_9:
	movq	_VIRTCHNL_OP_ENABLE_QUEUES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_i40e_vc_send_resp_to_vf        ## TAILCALL
LBB0_10:
	xorl	%r14d, %r14d
	cmpq	$0, 24(%r12)
	je	LBB0_16
## %bb.11:
	cmpl	$2, 8(%r12)
	jl	LBB0_16
## %bb.12:
	xorl	%r14d, %r14d
	movl	$1, %ebx
	movq	_I40E_ERR_TIMEOUT@GOTPCREL(%rip), %r13
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_14 Depth=1
	incq	%rbx
	movslq	8(%r12), %rax
	cmpq	%rax, %rbx
	jge	LBB0_16
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	16(%r12), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_i40e_vsi_start_rings
	testq	%rax, %rax
	je	LBB0_13
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	(%r13), %r14d
	jmp	LBB0_13
LBB0_16:
	movl	$1, 12(%r12)
	jmp	LBB0_9
	.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_ERR_TIMEOUT,4,2           ## @I40E_ERR_TIMEOUT
	.comm	_VIRTCHNL_OP_ENABLE_QUEUES,4,2  ## @VIRTCHNL_OP_ENABLE_QUEUES
	.no_dead_strip	_i40e_vc_enable_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_enable_queues_msg
_i40e_vc_enable_queues_msg:             ; @i40e_vc_enable_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	x21, [x0, #40]
Lloh0:
	adrp	x8, _I40E_VF_STATE_ACTIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40E_VF_STATE_ACTIVE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #32
	bl	_test_bit
	cbz	w0, LBB0_7
; %bb.1:
	ldr	w1, [x20, #16]
	mov	x0, x19
	bl	_i40e_vc_isvalid_vsi_id
	cbz	w0, LBB0_7
; %bb.2:
	ldr	x1, [x20]
	cbnz	x1, LBB0_4
; %bb.3:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_7
LBB0_4:
	ldr	x8, [x21]
	ldr	x9, [x19]
	ldr	w0, [x8, x9, lsl #2]
	mov	w2, #1
	bl	_i40e_ctrl_vf_rx_rings
	cbnz	x0, LBB0_6
; %bb.5:
	ldr	x8, [x21]
	ldr	x9, [x19]
	ldr	w0, [x8, x9, lsl #2]
	ldr	x1, [x20, #8]
	mov	w2, #1
	bl	_i40e_ctrl_vf_tx_rings
	cbz	x0, LBB0_10
LBB0_6:
Lloh3:
	adrp	x8, _I40E_ERR_TIMEOUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I40E_ERR_TIMEOUT@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh5:
	adrp	x8, _I40E_ERR_PARAM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _I40E_ERR_PARAM@GOTPAGEOFF]
LBB0_8:
	ldr	w20, [x8]
LBB0_9:
Lloh7:
	adrp	x8, _VIRTCHNL_OP_ENABLE_QUEUES@GOTPAGE
Lloh8:
	ldr	x8, [x8, _VIRTCHNL_OP_ENABLE_QUEUES@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	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_resp_to_vf
LBB0_10:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_14
; %bb.11:
	ldr	w8, [x19, #8]
	cmp	w8, #2
	b.lt	LBB0_14
; %bb.12:
	mov	w20, #0
	mov	w22, #1
Lloh10:
	adrp	x23, _I40E_ERR_TIMEOUT@GOTPAGE
Lloh11:
	ldr	x23, [x23, _I40E_ERR_TIMEOUT@GOTPAGEOFF]
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x9, [x19, #16]
	ldr	x9, [x9, x22, lsl #3]
	ldr	w0, [x8, x9, lsl #2]
	bl	_i40e_vsi_start_rings
	ldr	w8, [x23]
	cmp	x0, #0
	csel	w20, w20, w8, eq
	add	x22, x22, #1
	ldrsw	x8, [x19, #8]
	cmp	x22, x8
	b.lt	LBB0_13
	b	LBB0_15
LBB0_14:
	mov	w20, #0
LBB0_15:
	mov	w8, #1
	str	w8, [x19, #12]
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.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_ERR_TIMEOUT,4,2           ; @I40E_ERR_TIMEOUT
	.comm	_VIRTCHNL_OP_ENABLE_QUEUES,4,2  ; @VIRTCHNL_OP_ENABLE_QUEUES
	.no_dead_strip	_i40e_vc_enable_queues_msg
.subsections_via_symbols
