	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_vc_get_rss_hena
_i40e_vc_get_rss_hena:                  ## @i40e_vc_get_rss_hena
	.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	%rdi, %r14
	movq	8(%rdi), %r12
	movq	_I40E_VF_STATE_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %r15d
	movl	$4, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r13
	movq	%r12, %rdi
	callq	_i40e_pf_get_default_rss_hena
	movl	%eax, (%r13)
	xorl	%edx, %edx
	jmp	LBB0_6
LBB0_1:
	movq	_I40E_ERR_PARAM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_I40E_ERR_NO_MEMORY@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %edx
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
LBB0_6:
	movq	_VIRTCHNL_OP_GET_RSS_HENA_CAPS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r13, %rcx
	movl	%r15d, %r8d
	callq	_i40e_vc_send_msg_to_vf
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_kfree
	movl	%ebx, %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	_I40E_ERR_PARAM,4,2             ## @I40E_ERR_PARAM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_I40E_ERR_NO_MEMORY,4,2         ## @I40E_ERR_NO_MEMORY
	.comm	_VIRTCHNL_OP_GET_RSS_HENA_CAPS,4,2 ## @VIRTCHNL_OP_GET_RSS_HENA_CAPS
	.no_dead_strip	_i40e_vc_get_rss_hena
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_vc_get_rss_hena
_i40e_vc_get_rss_hena:                  ; @i40e_vc_get_rss_hena
	.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	x19, x0
	ldr	x21, [x0, #8]
Lloh0:
	adrp	x8, _I40E_VF_STATE_ACTIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40E_VF_STATE_ACTIVE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	w0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w0, #4
	bl	_kzalloc
	mov	x20, x0
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x21
	bl	_i40e_pf_get_default_rss_hena
	mov	w2, #0
	str	w0, [x20]
	mov	w4, #4
	b	LBB0_6
LBB0_3:
	mov	x20, #0
	mov	w4, #0
Lloh6:
	adrp	x8, _I40E_ERR_PARAM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _I40E_ERR_PARAM@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	mov	w4, #0
Lloh8:
	adrp	x8, _I40E_ERR_NO_MEMORY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _I40E_ERR_NO_MEMORY@GOTPAGEOFF]
LBB0_5:
	ldr	w2, [x8]
LBB0_6:
Lloh10:
	adrp	x8, _VIRTCHNL_OP_GET_RSS_HENA_CAPS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _VIRTCHNL_OP_GET_RSS_HENA_CAPS@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x3, x20
	bl	_i40e_vc_send_msg_to_vf
	mov	x19, x0
	mov	x0, x20
	bl	_kfree
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.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	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_I40E_ERR_NO_MEMORY,4,2         ; @I40E_ERR_NO_MEMORY
	.comm	_VIRTCHNL_OP_GET_RSS_HENA_CAPS,4,2 ; @VIRTCHNL_OP_GET_RSS_HENA_CAPS
	.no_dead_strip	_i40e_vc_get_rss_hena
.subsections_via_symbols
