	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ena_com_fill_hash_ctrl         ## -- Begin function ena_com_fill_hash_ctrl
	.p2align	4, 0x90
_ena_com_fill_hash_ctrl:                ## @ena_com_fill_hash_ctrl
	.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
	movl	%esi, %r12d
	movq	_ENA_ADMIN_RSS_PROTO_NUM@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jbe	LBB0_1
## %bb.2:
	movl	%edx, %r14d
	movq	%rdi, %r15
	movq	(%rdi), %r13
	movl	%r12d, %esi
	xorl	%edx, %edx
	callq	_ena_com_get_hash_ctrl
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_7
## %bb.3:
	movq	8(%r13), %rax
	movl	%r12d, %ebx
	movl	(%rax,%rbx,4), %ecx
	movl	%ecx, %eax
	notl	%eax
	testl	%eax, %r14d
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	movl	%r12d, %esi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_pr_err
LBB0_5:
	movq	(%r13), %rax
	movl	%r14d, (%rax,%rbx,4)
	movq	%r15, %rdi
	callq	_ena_com_set_hash_ctrl
	movl	%eax, %edi
	callq	_unlikely
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_ena_com_get_hash_ctrl
	jmp	LBB0_7
LBB0_1:
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENA_ADMIN_RSS_PROTO_NUM,4,2    ## @ENA_ADMIN_RSS_PROTO_NUM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid proto num (%u)\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"proto %d doesn't support the required fields %x. supports only: %x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ena_com_fill_hash_ctrl         ; -- Begin function ena_com_fill_hash_ctrl
	.p2align	2
_ena_com_fill_hash_ctrl:                ; @ena_com_fill_hash_ctrl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x1
Lloh0:
	adrp	x8, _ENA_ADMIN_RSS_PROTO_NUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENA_ADMIN_RSS_PROTO_NUM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ls	LBB0_7
; %bb.1:
	mov	x20, x2
	mov	x19, x0
	ldr	x23, [x0]
	mov	x1, x21
	mov	x2, #0
	bl	_ena_com_get_hash_ctrl
	mov	x22, x0
	bl	_unlikely
	cbnz	x0, LBB0_8
; %bb.2:
	ldr	x8, [x23, #8]
	mov	w22, w21
	ldr	w8, [x8, w21, uxtw #2]
	bics	wzr, w20, w8
	b.eq	LBB0_4
; %bb.3:
	stp	x20, x8, [sp]
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_pr_err
LBB0_4:
	ldr	x8, [x23]
	str	w20, [x8, x22, lsl #2]
	mov	x0, x19
	bl	_ena_com_set_hash_ctrl
	bl	_unlikely
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x19
	mov	w1, #0
	mov	x2, #0
	bl	_ena_com_get_hash_ctrl
LBB0_6:
	mov	w22, #0
	b	LBB0_8
LBB0_7:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_pr_err
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_8:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ENA_ADMIN_RSS_PROTO_NUM,4,2    ; @ENA_ADMIN_RSS_PROTO_NUM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid proto num (%u)\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"proto %d doesn't support the required fields %x. supports only: %x\n"

.subsections_via_symbols
