	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ena_set_rx_hash
_ena_set_rx_hash:                       ## @ena_set_rx_hash
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	(%rdi), %rax
	movq	_NETIF_F_RXHASH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	andl	(%rax), %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	(%rbx), %rax
	movq	_ENA_ETH_IO_L4_PROTO_TCP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%cl
	movq	_ENA_ETH_IO_L4_PROTO_UDP@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	sete	%al
	orb	%cl, %al
	movzbl	%al, %edi
	callq	_likely
	movq	_PKT_HASH_TYPE_NONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%edx, %ecx
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_PKT_HASH_TYPE_L4@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_3:
	cmpq	$0, 16(%rbx)
	cmovel	%ecx, %edx
	movl	8(%rbx), %esi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_skb_set_hash                   ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_F_RXHASH,4,2             ## @NETIF_F_RXHASH
	.comm	_ENA_ETH_IO_L4_PROTO_TCP,8,3    ## @ENA_ETH_IO_L4_PROTO_TCP
	.comm	_ENA_ETH_IO_L4_PROTO_UDP,8,3    ## @ENA_ETH_IO_L4_PROTO_UDP
	.comm	_PKT_HASH_TYPE_L4,4,2           ## @PKT_HASH_TYPE_L4
	.comm	_PKT_HASH_TYPE_NONE,4,2         ## @PKT_HASH_TYPE_NONE
	.no_dead_strip	_ena_set_rx_hash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ena_set_rx_hash
_ena_set_rx_hash:                       ; @ena_set_rx_hash
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x1
	ldr	x8, [x0]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _NETIF_F_RXHASH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NETIF_F_RXHASH@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w0, w9, w8
	bl	_likely
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _ENA_ETH_IO_L4_PROTO_TCP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ENA_ETH_IO_L4_PROTO_TCP@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh6:
	adrp	x9, _ENA_ETH_IO_L4_PROTO_UDP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ENA_ETH_IO_L4_PROTO_UDP@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ccmp	x8, x9, #4, ne
	cset	w0, eq
	bl	_likely
	ldr	x8, [x20, #16]
Lloh9:
	adrp	x9, _PKT_HASH_TYPE_NONE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PKT_HASH_TYPE_NONE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _PKT_HASH_TYPE_L4@GOTPAGE
Lloh13:
	ldr	x10, [x10, _PKT_HASH_TYPE_L4@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	cmp	x0, #0
	csel	w10, w9, w10, eq
	cmp	x8, #0
	csel	w2, w10, w9, eq
	ldr	w1, [x20, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_skb_set_hash
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_F_RXHASH,4,2             ; @NETIF_F_RXHASH
	.comm	_ENA_ETH_IO_L4_PROTO_TCP,8,3    ; @ENA_ETH_IO_L4_PROTO_TCP
	.comm	_ENA_ETH_IO_L4_PROTO_UDP,8,3    ; @ENA_ETH_IO_L4_PROTO_UDP
	.comm	_PKT_HASH_TYPE_L4,4,2           ; @PKT_HASH_TYPE_L4
	.comm	_PKT_HASH_TYPE_NONE,4,2         ; @PKT_HASH_TYPE_NONE
	.no_dead_strip	_ena_set_rx_hash
.subsections_via_symbols
