	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgbe_enable_rss
_xgbe_enable_rss:                       ## @xgbe_enable_rss
	.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
	cmpl	$0, 4(%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	callq	_xgbe_write_rss_hash_key
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	callq	_xgbe_write_rss_lookup_table
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	_MAC_RSSCR@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	(%rbx), %edx
	movq	%rbx, %rdi
	callq	_XGMAC_IOWRITE
	movl	(%r14), %esi
	movq	_RSSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$1, %ecx
	callq	_XGMAC_IOWRITE_BITS
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_MAC_RSSCR,4,2                  ## @MAC_RSSCR
	.comm	_RSSE,4,2                       ## @RSSE
	.no_dead_strip	_xgbe_enable_rss
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgbe_enable_rss
_xgbe_enable_rss:                       ; @xgbe_enable_rss
	.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
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x19, x0
	bl	_xgbe_write_rss_hash_key
	cbnz	w0, LBB0_5
; %bb.2:
	mov	x0, x19
	bl	_xgbe_write_rss_lookup_table
	cbnz	w0, LBB0_5
; %bb.3:
Lloh0:
	adrp	x20, _MAC_RSSCR@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MAC_RSSCR@GOTPAGEOFF]
	ldr	w1, [x20]
	ldr	w2, [x19]
	mov	x0, x19
	bl	_XGMAC_IOWRITE
	ldr	w1, [x20]
Lloh2:
	adrp	x8, _RSSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RSSE@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #1
	bl	_XGMAC_IOWRITE_BITS
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_MAC_RSSCR,4,2                  ; @MAC_RSSCR
	.comm	_RSSE,4,2                       ; @RSSE
	.no_dead_strip	_xgbe_enable_rss
.subsections_via_symbols
