	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mvpp2_ethtool_set_rxfh_context
_mvpp2_ethtool_set_rxfh_context:        ## @mvpp2_ethtool_set_rxfh_context
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%r8, %r12
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	callq	_netdev_priv
	movq	%rax, %r13
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_mvpp22_rss_is_supported
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_ETH_RSS_HASH_NO_CHANGE@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	je	LBB0_7
## %bb.3:
	movq	_ETH_RSS_HASH_CRC32@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jne	LBB0_4
LBB0_7:
	testq	%r14, %r14
	je	LBB0_8
LBB0_4:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_5
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
LBB0_5:
	subl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	(%r12), %esi
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_9
## %bb.13:
	movq	%r13, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mvpp22_port_rss_ctx_delete     ## TAILCALL
LBB0_9:
	movq	_ETH_RXFH_CONTEXT_ALLOC@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	jne	LBB0_12
## %bb.10:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_mvpp22_port_rss_ctx_create
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.11:
	movl	(%r12), %esi
LBB0_12:
	movq	%r13, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mvpp22_port_rss_ctx_indir_set  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_ETH_RSS_HASH_NO_CHANGE,8,3     ## @ETH_RSS_HASH_NO_CHANGE
	.comm	_ETH_RSS_HASH_CRC32,8,3         ## @ETH_RSS_HASH_CRC32
	.comm	_ETH_RXFH_CONTEXT_ALLOC,4,2     ## @ETH_RXFH_CONTEXT_ALLOC
	.no_dead_strip	_mvpp2_ethtool_set_rxfh_context
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mvpp2_ethtool_set_rxfh_context
_mvpp2_ethtool_set_rxfh_context:        ; @mvpp2_ethtool_set_rxfh_context
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x5
	mov	x20, x4
	mov	x24, x3
	mov	x23, x2
	mov	x19, x1
	bl	_netdev_priv
	mov	x21, x0
	bl	_mvpp22_rss_is_supported
	cbz	w0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _ETH_RSS_HASH_NO_CHANGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_RSS_HASH_NO_CHANGE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _ETH_RSS_HASH_CRC32@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ETH_RSS_HASH_CRC32@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x24
	ccmp	x9, x24, #4, ne
	b.ne	LBB0_3
; %bb.2:
	cbz	x23, LBB0_5
LBB0_3:
Lloh6:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	w1, [x20]
	cbz	w22, LBB0_7
; %bb.6:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_mvpp22_port_rss_ctx_delete
LBB0_7:
Lloh9:
	adrp	x8, _ETH_RXFH_CONTEXT_ALLOC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ETH_RXFH_CONTEXT_ALLOC@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w1, w8
	b.ne	LBB0_10
; %bb.8:
	mov	x0, x21
	mov	x1, x20
	bl	_mvpp22_port_rss_ctx_create
	cbnz	w0, LBB0_4
; %bb.9:
	ldr	w1, [x20]
LBB0_10:
	mov	x0, x21
	mov	x2, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_mvpp22_port_rss_ctx_indir_set
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_ETH_RSS_HASH_NO_CHANGE,8,3     ; @ETH_RSS_HASH_NO_CHANGE
	.comm	_ETH_RSS_HASH_CRC32,8,3         ; @ETH_RSS_HASH_CRC32
	.comm	_ETH_RXFH_CONTEXT_ALLOC,4,2     ; @ETH_RXFH_CONTEXT_ALLOC
	.no_dead_strip	_mvpp2_ethtool_set_rxfh_context
.subsections_via_symbols
