	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_en_check_rxfh_func
_mlx4_en_check_rxfh_func:               ## @mlx4_en_check_rxfh_func
	.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	%rsi, %rbx
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	_ETH_RSS_HASH_TOP@GOTPCREL(%rip), %rcx
	cmpq	%rbx, (%rcx)
	jne	LBB0_5
## %bb.1:
	movq	(%rax), %rcx
	movq	(%rcx), %rcx
	movq	_MLX4_DEV_CAP_FLAG2_RSS_TOP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx)
	je	LBB0_9
## %bb.2:
	movq	_NETIF_F_RXHASH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%ebx, %ebx
	testl	%ecx, (%r14)
	jne	LBB0_10
## %bb.3:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_4
LBB0_5:
	movq	_ETH_RSS_HASH_XOR@GOTPCREL(%rip), %rcx
	cmpq	%rbx, (%rcx)
	jne	LBB0_9
## %bb.6:
	movq	(%rax), %rcx
	movq	(%rcx), %rcx
	movq	_MLX4_DEV_CAP_FLAG2_RSS_XOR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx)
	je	LBB0_9
## %bb.7:
	movq	_NETIF_F_RXHASH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%ebx, %ebx
	testl	%ecx, (%r14)
	je	LBB0_10
## %bb.8:
	leaq	L_.str.1(%rip), %rsi
LBB0_4:
	movq	%rax, %rdi
	callq	_en_warn
	jmp	LBB0_10
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_10:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_RSS_HASH_TOP,8,3           ## @ETH_RSS_HASH_TOP
	.comm	_MLX4_DEV_CAP_FLAG2_RSS_TOP,4,2 ## @MLX4_DEV_CAP_FLAG2_RSS_TOP
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NETIF_F_RXHASH,4,2             ## @NETIF_F_RXHASH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Toeplitz hash function should be used in conjunction with RX hashing for optimal performance\n"

	.comm	_ETH_RSS_HASH_XOR,8,3           ## @ETH_RSS_HASH_XOR
	.comm	_MLX4_DEV_CAP_FLAG2_RSS_XOR,4,2 ## @MLX4_DEV_CAP_FLAG2_RSS_XOR
L_.str.1:                               ## @.str.1
	.asciz	"Enabling both XOR Hash function and RX Hashing can limit RPS functionality\n"

	.no_dead_strip	_mlx4_en_check_rxfh_func
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx4_en_check_rxfh_func
_mlx4_en_check_rxfh_func:               ; @mlx4_en_check_rxfh_func
	.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	x20, x1
	mov	x19, x0
	bl	_netdev_priv
Lloh0:
	adrp	x8, _ETH_RSS_HASH_TOP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_RSS_HASH_TOP@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_4
; %bb.1:
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MLX4_DEV_CAP_FLAG2_RSS_TOP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MLX4_DEV_CAP_FLAG2_RSS_TOP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.2:
	ldr	w8, [x19]
Lloh6:
	adrp	x9, _NETIF_F_RXHASH@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NETIF_F_RXHASH@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_9
; %bb.3:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_8
LBB0_4:
Lloh11:
	adrp	x8, _ETH_RSS_HASH_XOR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ETH_RSS_HASH_XOR@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_10
; %bb.5:
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _MLX4_DEV_CAP_FLAG2_RSS_XOR@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MLX4_DEV_CAP_FLAG2_RSS_XOR@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.6:
	ldr	w8, [x19]
Lloh17:
	adrp	x9, _NETIF_F_RXHASH@GOTPAGE
Lloh18:
	ldr	x9, [x9, _NETIF_F_RXHASH@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.7:
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_8:
	bl	_en_warn
LBB0_9:
	mov	w0, #0
	b	LBB0_11
LBB0_10:
Lloh22:
	adrp	x8, _EINVAL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_RSS_HASH_TOP,8,3           ; @ETH_RSS_HASH_TOP
	.comm	_MLX4_DEV_CAP_FLAG2_RSS_TOP,4,2 ; @MLX4_DEV_CAP_FLAG2_RSS_TOP
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NETIF_F_RXHASH,4,2             ; @NETIF_F_RXHASH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Toeplitz hash function should be used in conjunction with RX hashing for optimal performance\n"

	.comm	_ETH_RSS_HASH_XOR,8,3           ; @ETH_RSS_HASH_XOR
	.comm	_MLX4_DEV_CAP_FLAG2_RSS_XOR,4,2 ; @MLX4_DEV_CAP_FLAG2_RSS_XOR
l_.str.1:                               ; @.str.1
	.asciz	"Enabling both XOR Hash function and RX Hashing can limit RPS functionality\n"

	.no_dead_strip	_mlx4_en_check_rxfh_func
.subsections_via_symbols
