	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ena_com_fill_hash_function     ## -- Begin function ena_com_fill_hash_function
	.p2align	4, 0x90
_ena_com_fill_hash_function:            ## @ena_com_fill_hash_function
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r12d
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %r13
	movq	24(%rdi), %rbx
	movl	%ecx, %edi
	andl	$3, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_15
LBB0_2:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	_ENA_ADMIN_RSS_HASH_FUNCTION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	16(%r13), %ecx
	leaq	-48(%rbp), %rsi
	movq	%r13, %rdi
	movl	$8, %r8d
	xorl	%r9d, %r9d
	callq	_ena_com_get_feature_ex
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
LBB0_15:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	-48(%rbp), %eax
	movl	%r15d, %r14d
	btl	%r15d, %eax
	jae	LBB0_4
## %bb.5:
	cmpl	$129, %r14d
	je	LBB0_9
## %bb.6:
	cmpl	$128, %r14d
	jne	LBB0_10
## %bb.7:
	cmpl	$5, %r12d
	jb	LBB0_12
## %bb.8:
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	movl	$4, %edx
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_11
LBB0_4:
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_pr_err
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_15
LBB0_9:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%r13)
	jmp	LBB0_13
LBB0_10:
	leaq	L_.str.2(%rip), %rdi
	xorl	%ebx, %ebx
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_pr_err
LBB0_11:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_15
LBB0_12:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	4(%rbx), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	callq	_memcpy
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%r13)
	shrl	$2, %r12d
	movl	%r12d, (%rbx)
LBB0_13:
	movl	%r14d, (%r13)
	movq	%r13, %rdi
	callq	_ena_com_set_hash_function
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	%r13, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_ena_com_get_hash_function
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENA_ADMIN_RSS_HASH_FUNCTION,4,2 ## @ENA_ADMIN_RSS_HASH_FUNCTION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Flow hash function %d isn't supported\n"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
L_.str.1:                               ## @.str.1
	.asciz	"key len (%hu) is bigger than the max supported (%zu)\n"

L_.str.2:                               ## @.str.2
	.asciz	"Invalid hash function (%d)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ena_com_fill_hash_function     ; -- Begin function ena_com_fill_hash_function
	.p2align	2
_ena_com_fill_hash_function:            ; @ena_com_fill_hash_function
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x4
	mov	x21, x3
	mov	x23, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x25, [x0, #24]
	and	w0, w3, #0x3
	bl	_unlikely
	cbz	x0, LBB0_3
LBB0_1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, _ENA_ADMIN_RSS_HASH_FUNCTION@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENA_ADMIN_RSS_HASH_FUNCTION@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	ldr	w3, [x19, #16]
	add	x1, sp, #8
	mov	x0, x19
	mov	w4, #8
	mov	w5, #0
	bl	_ena_com_get_feature_ex
	mov	x24, x0
	bl	_unlikely
	cbz	x0, LBB0_5
LBB0_4:
	mov	x0, x24
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_5:
	ldr	w8, [sp, #8]
	lsr	w8, w8, w20
	tbz	w8, #0, LBB0_10
; %bb.6:
	cmp	w20, #129
	b.eq	LBB0_11
; %bb.7:
	cmp	w20, #128
	b.ne	LBB0_12
; %bb.8:
	cmp	w21, #5
	b.lo	LBB0_13
; %bb.9:
	mov	w8, #4
	str	x8, [sp]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_pr_err
	b	LBB0_1
LBB0_10:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_pr_err
Lloh9:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_2
LBB0_11:
	str	x22, [x19, #8]
	b	LBB0_14
LBB0_12:
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_pr_err
	b	LBB0_1
LBB0_13:
	ldr	w0, [x25, #4]
	mov	x1, x23
	mov	x2, x21
	bl	_memcpy
	str	x22, [x19, #8]
	lsr	w8, w21, #2
	str	w8, [x25]
LBB0_14:
	str	w20, [x19]
	mov	x0, x19
	bl	_ena_com_set_hash_function
	mov	x24, x0
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.15:
	mov	x0, x19
	mov	x1, #0
	mov	x2, #0
	bl	_ena_com_get_hash_function
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENA_ADMIN_RSS_HASH_FUNCTION,4,2 ; @ENA_ADMIN_RSS_HASH_FUNCTION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Flow hash function %d isn't supported\n"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
l_.str.1:                               ; @.str.1
	.asciz	"key len (%hu) is bigger than the max supported (%zu)\n"

l_.str.2:                               ; @.str.2
	.asciz	"Invalid hash function (%d)\n"

.subsections_via_symbols
