	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_vc_get_stats_msg
_ice_vc_get_stats_msg:                  ## @ice_vc_get_stats_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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_VIRTCHNL_STATUS_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	16(%rdi), %r12
	movq	_ICE_VF_STATE_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %esi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_ice_vc_isvalid_vsi_id
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movq	(%r12), %rax
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %r15
	testq	%r15, %r15
	je	LBB0_1
## %bb.4:
	leaq	-40(%rbp), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%r15, %rdi
	callq	_ice_update_eth_stats
	movl	(%r15), %eax
	movl	%eax, -40(%rbp)
	jmp	LBB0_5
LBB0_1:
	movq	_VIRTCHNL_STATUS_ERR_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_5:
	movq	_VIRTCHNL_OP_GET_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r14d, %edx
	movl	$4, %r8d
	callq	_ice_vc_send_msg_to_vf
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VIRTCHNL_STATUS_SUCCESS,4,2    ## @VIRTCHNL_STATUS_SUCCESS
	.comm	_ICE_VF_STATE_ACTIVE,4,2        ## @ICE_VF_STATE_ACTIVE
	.comm	_VIRTCHNL_STATUS_ERR_PARAM,4,2  ## @VIRTCHNL_STATUS_ERR_PARAM
	.comm	_VIRTCHNL_OP_GET_STATS,4,2      ## @VIRTCHNL_OP_GET_STATS
	.no_dead_strip	_ice_vc_get_stats_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ice_vc_get_stats_msg
_ice_vc_get_stats_msg:                  ; @ice_vc_get_stats_msg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _VIRTCHNL_STATUS_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VIRTCHNL_STATUS_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	ldr	x22, [x0, #16]
Lloh3:
	adrp	x8, _ICE_VF_STATE_ACTIVE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ICE_VF_STATE_ACTIVE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	_test_bit
	cbz	w0, LBB0_4
; %bb.1:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_ice_vc_isvalid_vsi_id
	cbz	w0, LBB0_4
; %bb.2:
	ldr	x8, [x22]
	ldr	x9, [x19]
	ldr	x21, [x8, x9, lsl #3]
	cbz	x21, LBB0_4
; %bb.3:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	x0, x21
	bl	_ice_update_eth_stats
	ldr	w8, [x21]
	str	w8, [sp, #8]
	b	LBB0_5
LBB0_4:
Lloh6:
	adrp	x8, _VIRTCHNL_STATUS_ERR_PARAM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VIRTCHNL_STATUS_ERR_PARAM@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
LBB0_5:
Lloh9:
	adrp	x8, _VIRTCHNL_OP_GET_STATS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VIRTCHNL_OP_GET_STATS@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x3, sp, #8
	mov	x0, x19
	mov	x2, x20
	mov	w4, #4
	bl	_ice_vc_send_msg_to_vf
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_VIRTCHNL_STATUS_SUCCESS,4,2    ; @VIRTCHNL_STATUS_SUCCESS
	.comm	_ICE_VF_STATE_ACTIVE,4,2        ; @ICE_VF_STATE_ACTIVE
	.comm	_VIRTCHNL_STATUS_ERR_PARAM,4,2  ; @VIRTCHNL_STATUS_ERR_PARAM
	.comm	_VIRTCHNL_OP_GET_STATS,4,2      ; @VIRTCHNL_OP_GET_STATS
	.no_dead_strip	_ice_vc_get_stats_msg
.subsections_via_symbols
