	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ena_set_rxfh
_ena_set_rxfh:                          ## @ena_set_rxfh
	.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
	movl	%ecx, %ebx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %r13
	movq	(%rax), %r12
	testq	%r14, %r14
	je	LBB0_8
## %bb.1:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	_ENA_RX_RSS_TABLE_SIZE@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_6
## %bb.2:
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14,%r15,4), %edi
	callq	_ENA_IO_RXQ_IDX
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_ena_com_indirect_table_fill_entry
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%r15
	movslq	(%r13), %rax
	cmpq	%rax, %r15
	jl	LBB0_4
LBB0_6:
	movq	%r12, %rdi
	callq	_ena_com_indirect_table_set
	testl	%eax, %eax
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	je	LBB0_8
## %bb.7:
	movl	%eax, %r14d
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rcx
	jmp	LBB0_15
LBB0_8:
	cmpl	$129, %ebx
	je	LBB0_9
## %bb.10:
	cmpl	$128, %ebx
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	jne	LBB0_17
## %bb.11:
	movq	_ENA_ADMIN_CRC32@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_5:
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_netif_err
	jmp	LBB0_16
LBB0_9:
	movq	_ENA_ADMIN_TOEPLITZ@GOTPCREL(%rip), %rax
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
LBB0_12:
	xorl	%ebx, %ebx
	testq	%rdx, %rdx
	je	LBB0_16
## %bb.13:
	movl	(%rax), %esi
	movq	_ENA_HASH_KEY_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movl	$-1, %r8d
	callq	_ena_com_fill_hash_function
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rcx
LBB0_15:
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_netif_err
	movq	_EPERM@GOTPCREL(%rip), %rax
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	subl	(%rcx), %ebx
	movl	(%rax), %eax
	addl	%r14d, %eax
	cmovnel	%r14d, %ebx
	jmp	LBB0_16
LBB0_17:
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rcx
	movl	%ebx, %r8d
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_netif_err
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_16:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENA_RX_RSS_TABLE_SIZE,4,2      ## @ENA_RX_RSS_TABLE_SIZE
	.comm	_drv,4,2                        ## @drv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot fill indirect table (index is too large)\n"

L_.str.1:                               ## @.str.1
	.asciz	"Cannot set indirect table\n"

	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_ENA_ADMIN_TOEPLITZ,4,2         ## @ENA_ADMIN_TOEPLITZ
	.comm	_ENA_ADMIN_CRC32,4,2            ## @ENA_ADMIN_CRC32
L_.str.2:                               ## @.str.2
	.asciz	"Unsupported hfunc %d\n"

	.comm	_ENA_HASH_KEY_SIZE,4,2          ## @ENA_HASH_KEY_SIZE
L_.str.3:                               ## @.str.3
	.asciz	"Cannot fill key\n"

	.no_dead_strip	_ena_set_rxfh
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ena_set_rxfh
_ena_set_rxfh:                          ; @ena_set_rxfh
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x3
	mov	x21, x2
	mov	x24, x1
	mov	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	ldr	x22, [x0]
	cbz	x24, LBB0_7
; %bb.1:
Lloh0:
	adrp	x27, _ENA_RX_RSS_TABLE_SIZE@GOTPAGE
Lloh1:
	ldr	x27, [x27, _ENA_RX_RSS_TABLE_SIZE@GOTPAGEOFF]
	ldr	w8, [x27]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x26, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x24, x26, lsl #2]
	bl	_ENA_IO_RXQ_IDX
	mov	x2, x0
	mov	x0, x22
	mov	x1, x26
	bl	_ena_com_indirect_table_fill_entry
	mov	x25, x0
	bl	_unlikely
	cbnz	x0, LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x26, x26, #1
	ldrsw	x8, [x27]
	cmp	x26, x8
	b.lt	LBB0_3
LBB0_5:
	mov	x0, x22
	bl	_ena_com_indirect_table_set
	cbz	w0, LBB0_7
; %bb.6:
	mov	x24, x0
Lloh2:
	adrp	x8, _drv@GOTPAGE
Lloh3:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x3, l_.str.1@PAGE
Lloh6:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_netif_err
Lloh7:
	adrp	x8, _EPERM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _EOPNOTSUPP@GOTPAGE
Lloh11:
	ldr	x9, [x9, _EOPNOTSUPP@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	cmn	w24, w8
	csneg	w25, w24, w9, ne
	b	LBB0_16
LBB0_7:
	cmp	w23, #129
	b.eq	LBB0_11
; %bb.8:
	cmp	w23, #128
	b.ne	LBB0_15
; %bb.9:
Lloh13:
	adrp	x8, _ENA_ADMIN_CRC32@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENA_ADMIN_CRC32@GOTPAGEOFF]
	cbnz	x21, LBB0_12
	b	LBB0_14
LBB0_10:
Lloh15:
	adrp	x8, _drv@GOTPAGE
Lloh16:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x3, l_.str@PAGE
Lloh19:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_netif_err
	b	LBB0_16
LBB0_11:
Lloh20:
	adrp	x8, _ENA_ADMIN_TOEPLITZ@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENA_ADMIN_TOEPLITZ@GOTPAGEOFF]
	cbz	x21, LBB0_14
LBB0_12:
	ldr	w1, [x8]
Lloh22:
	adrp	x8, _ENA_HASH_KEY_SIZE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENA_HASH_KEY_SIZE@GOTPAGEOFF]
Lloh24:
	ldr	w3, [x8]
	mov	x0, x22
	mov	x2, x21
	mov	w4, #-1
	bl	_ena_com_fill_hash_function
	mov	x21, x0
	bl	_unlikely
	cbz	x0, LBB0_14
; %bb.13:
Lloh25:
	adrp	x8, _drv@GOTPAGE
Lloh26:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
Lloh28:
	adrp	x3, l_.str.3@PAGE
Lloh29:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_netif_err
Lloh30:
	adrp	x8, _EPERM@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _EOPNOTSUPP@GOTPAGE
Lloh34:
	ldr	x9, [x9, _EOPNOTSUPP@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	cmn	w21, w8
	csneg	w25, w21, w9, ne
	b	LBB0_16
LBB0_14:
	mov	w25, #0
	b	LBB0_16
LBB0_15:
Lloh36:
	adrp	x8, _drv@GOTPAGE
Lloh37:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	str	x23, [sp]
Lloh39:
	adrp	x3, l_.str.2@PAGE
Lloh40:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_netif_err
Lloh41:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh42:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	neg	w25, w8
LBB0_16:
	mov	x0, x25
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_ENA_RX_RSS_TABLE_SIZE,4,2      ; @ENA_RX_RSS_TABLE_SIZE
	.comm	_drv,4,2                        ; @drv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot fill indirect table (index is too large)\n"

l_.str.1:                               ; @.str.1
	.asciz	"Cannot set indirect table\n"

	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_ENA_ADMIN_TOEPLITZ,4,2         ; @ENA_ADMIN_TOEPLITZ
	.comm	_ENA_ADMIN_CRC32,4,2            ; @ENA_ADMIN_CRC32
l_.str.2:                               ; @.str.2
	.asciz	"Unsupported hfunc %d\n"

	.comm	_ENA_HASH_KEY_SIZE,4,2          ; @ENA_HASH_KEY_SIZE
l_.str.3:                               ; @.str.3
	.asciz	"Cannot fill key\n"

	.no_dead_strip	_ena_set_rxfh
.subsections_via_symbols
