	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_get_rxhash
_bnx2x_get_rxhash:                      ## @bnx2x_get_rxhash
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_NETIF_F_RXHASH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_5
## %bb.1:
	movl	(%rsi), %eax
	movq	_ETH_FAST_PATH_RX_CQE_RSS_HASH_FLG@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.2:
	movq	_ETH_FAST_PATH_RX_CQE_RSS_HASH_TYPE@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_TCP_IPV4_HASH_TYPE@GOTPCREL(%rip), %r8
	movq	_TCP_IPV6_HASH_TYPE@GOTPCREL(%rip), %r9
	movq	_PKT_HASH_TYPE_L4@GOTPCREL(%rip), %rcx
	movq	%rcx, %rdi
	cmpl	(%r9), %eax
	je	LBB0_4
## %bb.3:
	movq	_PKT_HASH_TYPE_L3@GOTPCREL(%rip), %rdi
LBB0_4:
	cmpl	(%r8), %eax
	cmoveq	%rcx, %rdi
	movl	(%rdi), %eax
	movl	%eax, (%rdx)
	movl	4(%rsi), %edi
	popq	%rbp
	jmp	_le32_to_cpu                    ## TAILCALL
LBB0_5:
	movq	_PKT_HASH_TYPE_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_F_RXHASH,4,2             ## @NETIF_F_RXHASH
	.comm	_ETH_FAST_PATH_RX_CQE_RSS_HASH_FLG,4,2 ## @ETH_FAST_PATH_RX_CQE_RSS_HASH_FLG
	.comm	_ETH_FAST_PATH_RX_CQE_RSS_HASH_TYPE,4,2 ## @ETH_FAST_PATH_RX_CQE_RSS_HASH_TYPE
	.comm	_TCP_IPV4_HASH_TYPE,4,2         ## @TCP_IPV4_HASH_TYPE
	.comm	_TCP_IPV6_HASH_TYPE,4,2         ## @TCP_IPV6_HASH_TYPE
	.comm	_PKT_HASH_TYPE_L4,4,2           ## @PKT_HASH_TYPE_L4
	.comm	_PKT_HASH_TYPE_L3,4,2           ## @PKT_HASH_TYPE_L3
	.comm	_PKT_HASH_TYPE_NONE,4,2         ## @PKT_HASH_TYPE_NONE
	.no_dead_strip	_bnx2x_get_rxhash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_get_rxhash
_bnx2x_get_rxhash:                      ; @bnx2x_get_rxhash
	.cfi_startproc
; %bb.0:
	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]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	ldr	w8, [x1]
Lloh3:
	adrp	x9, _ETH_FAST_PATH_RX_CQE_RSS_HASH_FLG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ETH_FAST_PATH_RX_CQE_RSS_HASH_FLG@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh6:
	adrp	x9, _ETH_FAST_PATH_RX_CQE_RSS_HASH_TYPE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ETH_FAST_PATH_RX_CQE_RSS_HASH_TYPE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh9:
	adrp	x9, _TCP_IPV4_HASH_TYPE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _TCP_IPV4_HASH_TYPE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _TCP_IPV6_HASH_TYPE@GOTPAGE
Lloh13:
	ldr	x10, [x10, _TCP_IPV6_HASH_TYPE@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	cmp	w8, w10
Lloh15:
	adrp	x10, _PKT_HASH_TYPE_L4@GOTPAGE
Lloh16:
	ldr	x10, [x10, _PKT_HASH_TYPE_L4@GOTPAGEOFF]
Lloh17:
	adrp	x11, _PKT_HASH_TYPE_L3@GOTPAGE
Lloh18:
	ldr	x11, [x11, _PKT_HASH_TYPE_L3@GOTPAGEOFF]
	ccmp	w8, w9, #4, ne
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
	str	w8, [x2]
	ldr	w0, [x1, #4]
	b	_le32_to_cpu
LBB0_3:
Lloh19:
	adrp	x8, _PKT_HASH_TYPE_NONE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _PKT_HASH_TYPE_NONE@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	str	w8, [x2]
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_F_RXHASH,4,2             ; @NETIF_F_RXHASH
	.comm	_ETH_FAST_PATH_RX_CQE_RSS_HASH_FLG,4,2 ; @ETH_FAST_PATH_RX_CQE_RSS_HASH_FLG
	.comm	_ETH_FAST_PATH_RX_CQE_RSS_HASH_TYPE,4,2 ; @ETH_FAST_PATH_RX_CQE_RSS_HASH_TYPE
	.comm	_TCP_IPV4_HASH_TYPE,4,2         ; @TCP_IPV4_HASH_TYPE
	.comm	_TCP_IPV6_HASH_TYPE,4,2         ; @TCP_IPV6_HASH_TYPE
	.comm	_PKT_HASH_TYPE_L4,4,2           ; @PKT_HASH_TYPE_L4
	.comm	_PKT_HASH_TYPE_L3,4,2           ; @PKT_HASH_TYPE_L3
	.comm	_PKT_HASH_TYPE_NONE,4,2         ; @PKT_HASH_TYPE_NONE
	.no_dead_strip	_bnx2x_get_rxhash
.subsections_via_symbols
