	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ena_rss_init_default
_ena_rss_init_default:                  ## @ena_rss_init_default
	.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, %r12
	movq	8(%rdi), %r14
	movq	16(%rdi), %r15
	movq	_ENA_RX_RSS_TABLE_LOG_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ena_com_rss_init
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	jmp	LBB0_13
LBB0_1:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	_ENA_RX_RSS_TABLE_SIZE@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_7
## %bb.2:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movl	%r13d, %edi
	callq	_ethtool_rxfh_indir_default
	movl	%eax, %edi
	callq	_ENA_IO_RXQ_IDX
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_ena_com_indirect_table_fill_entry
	movl	%eax, %ebx
	testl	%eax, %eax
	setne	%al
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%ebx, %ecx
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=1
	incl	%r13d
	cmpl	(%r14), %r13d
	jl	LBB0_5
LBB0_7:
	movq	_ENA_ADMIN_CRC32@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ENA_HASH_KEY_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%edx, %edx
	movl	$-1, %r8d
	callq	_ena_com_fill_hash_function
	movl	%eax, %r12d
	testl	%eax, %eax
	setne	%al
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	addl	%r12d, %ecx
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_11
LBB0_6:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_12
LBB0_9:
	movq	%r15, %rdi
	callq	_ena_com_set_default_hash_ctrl
	movl	%eax, %r12d
	testl	%eax, %eax
	setne	%al
	movl	(%r14), %ecx
	addl	%r12d, %ecx
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:
	leaq	L_.str.3(%rip), %rsi
LBB0_11:
	movl	%r12d, %ebx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_12:
	callq	_dev_err
	movq	%r15, %rdi
	callq	_ena_com_rss_destroy
LBB0_13:
	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_RX_RSS_TABLE_LOG_SIZE,4,2  ## @ENA_RX_RSS_TABLE_LOG_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot init indirect table\n"

	.comm	_ENA_RX_RSS_TABLE_SIZE,4,2      ## @ENA_RX_RSS_TABLE_SIZE
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
L_.str.1:                               ## @.str.1
	.asciz	"Cannot fill indirect table\n"

	.comm	_ENA_ADMIN_CRC32,4,2            ## @ENA_ADMIN_CRC32
	.comm	_ENA_HASH_KEY_SIZE,4,2          ## @ENA_HASH_KEY_SIZE
L_.str.2:                               ## @.str.2
	.asciz	"Cannot fill hash function\n"

L_.str.3:                               ## @.str.3
	.asciz	"Cannot fill hash control\n"

	.no_dead_strip	_ena_rss_init_default
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ena_rss_init_default
_ena_rss_init_default:                  ; @ena_rss_init_default
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x0
	ldp	x20, x19, [x0, #8]
Lloh0:
	adrp	x8, _ENA_RX_RSS_TABLE_LOG_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENA_RX_RSS_TABLE_LOG_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ena_com_rss_init
	mov	x21, x0
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_11
LBB0_2:
Lloh5:
	adrp	x26, _ENA_RX_RSS_TABLE_SIZE@GOTPAGE
Lloh6:
	ldr	x26, [x26, _ENA_RX_RSS_TABLE_SIZE@GOTPAGEOFF]
	ldr	w8, [x26]
Lloh7:
	adrp	x25, _EOPNOTSUPP@GOTPAGE
Lloh8:
	ldr	x25, [x25, _EOPNOTSUPP@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.3:
	mov	w24, #0
Lloh9:
	adrp	x23, l_.str.1@PAGE
Lloh10:
	add	x23, x23, l_.str.1@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	mov	x0, x24
	bl	_ethtool_rxfh_indir_default
	bl	_ENA_IO_RXQ_IDX
	mov	x2, x0
	mov	x0, x19
	mov	x1, x24
	bl	_ena_com_indirect_table_fill_entry
	mov	x21, x0
	ldr	w8, [x25]
	cmn	w0, w8
	ccmp	w0, #0, #4, ne
	cset	w0, ne
	bl	_unlikely
	cbnz	x0, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w24, w24, #1
	ldr	w8, [x26]
	cmp	w24, w8
	b.lt	LBB0_4
LBB0_6:
Lloh11:
	adrp	x8, _ENA_ADMIN_CRC32@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENA_ADMIN_CRC32@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _ENA_HASH_KEY_SIZE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENA_HASH_KEY_SIZE@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x2, #0
	mov	w4, #-1
	bl	_ena_com_fill_hash_function
	mov	x21, x0
	ldr	w8, [x25]
	cmn	w0, w8
	ccmp	w0, #0, #4, ne
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_8
; %bb.7:
Lloh17:
	adrp	x23, l_.str.2@PAGE
Lloh18:
	add	x23, x23, l_.str.2@PAGEOFF
	b	LBB0_10
LBB0_8:
	mov	x0, x19
	bl	_ena_com_set_default_hash_ctrl
	mov	x21, x0
	ldr	w8, [x25]
	cmn	w0, w8
	ccmp	w0, #0, #4, ne
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_12
; %bb.9:
Lloh19:
	adrp	x23, l_.str.3@PAGE
Lloh20:
	add	x23, x23, l_.str.3@PAGEOFF
LBB0_10:
	mov	x0, x20
	mov	x1, x23
	bl	_dev_err
	mov	x0, x19
	bl	_ena_com_rss_destroy
LBB0_11:
	mov	x0, x21
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_12:
	mov	w21, #0
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ENA_RX_RSS_TABLE_LOG_SIZE,4,2  ; @ENA_RX_RSS_TABLE_LOG_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot init indirect table\n"

	.comm	_ENA_RX_RSS_TABLE_SIZE,4,2      ; @ENA_RX_RSS_TABLE_SIZE
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
l_.str.1:                               ; @.str.1
	.asciz	"Cannot fill indirect table\n"

	.comm	_ENA_ADMIN_CRC32,4,2            ; @ENA_ADMIN_CRC32
	.comm	_ENA_HASH_KEY_SIZE,4,2          ; @ENA_HASH_KEY_SIZE
l_.str.2:                               ; @.str.2
	.asciz	"Cannot fill hash function\n"

l_.str.3:                               ; @.str.3
	.asciz	"Cannot fill hash control\n"

	.no_dead_strip	_ena_rss_init_default
.subsections_via_symbols
