	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iavf_set_hena                  ## -- Begin function iavf_set_hena
	.p2align	4, 0x90
_iavf_set_hena:                         ## @iavf_set_hena
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	(%rdi), %rdx
	movq	_VIRTCHNL_OP_UNKNOWN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_2
## %bb.1:
	movl	12(%rdi), %eax
	movl	%eax, -8(%rbp)
	movq	_VIRTCHNL_OP_SET_RSS_HENA@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, (%rdi)
	movq	_IAVF_FLAG_AQ_SET_HENA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, 8(%rdi)
	movq	(%rax), %rsi
	leaq	-8(%rbp), %rdx
	movl	$4, %ecx
	callq	_iavf_send_pf_msg
	addq	$16, %rsp
	popq	%rbp
	retq
LBB0_2:
	movq	16(%rdi), %rdi
	leaq	L_.str(%rip), %rsi
	addq	$16, %rsp
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VIRTCHNL_OP_UNKNOWN,8,3        ## @VIRTCHNL_OP_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot set RSS hash enable, command %d pending\n"

	.comm	_VIRTCHNL_OP_SET_RSS_HENA,8,3   ## @VIRTCHNL_OP_SET_RSS_HENA
	.comm	_IAVF_FLAG_AQ_SET_HENA,4,2      ## @IAVF_FLAG_AQ_SET_HENA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iavf_set_hena                  ; -- Begin function iavf_set_hena
	.p2align	2
_iavf_set_hena:                         ; @iavf_set_hena
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x2, [x0]
Lloh0:
	adrp	x8, _VIRTCHNL_OP_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VIRTCHNL_OP_UNKNOWN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x2, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	w9, w8, [x0, #8]
	str	w8, [sp, #8]
Lloh3:
	adrp	x8, _VIRTCHNL_OP_SET_RSS_HENA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VIRTCHNL_OP_SET_RSS_HENA@GOTPAGEOFF]
	ldr	x10, [x8]
	str	x10, [x0]
Lloh5:
	adrp	x10, _IAVF_FLAG_AQ_SET_HENA@GOTPAGE
Lloh6:
	ldr	x10, [x10, _IAVF_FLAG_AQ_SET_HENA@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	bic	w9, w9, w10
	str	w9, [x0, #8]
	ldr	x1, [x8]
	add	x2, sp, #8
	mov	w3, #4
	bl	_iavf_send_pf_msg
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
LBB0_2:
	ldr	x0, [x0, #16]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	b	_dev_err
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_VIRTCHNL_OP_UNKNOWN,8,3        ; @VIRTCHNL_OP_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot set RSS hash enable, command %d pending\n"

	.comm	_VIRTCHNL_OP_SET_RSS_HENA,8,3   ; @VIRTCHNL_OP_SET_RSS_HENA
	.comm	_IAVF_FLAG_AQ_SET_HENA,4,2      ; @IAVF_FLAG_AQ_SET_HENA
.subsections_via_symbols
