	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aq_ethtool_set_rss
_aq_ethtool_set_rss:                    ## @aq_ethtool_set_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rdx, %r15
	movq	%rsi, %rbx
	callq	_netdev_priv
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_aq_nic_get_cfg
	movq	%rax, %r14
	movl	(%rax), %r8d
	movq	_ETH_RSS_HASH_NO_CHANGE@GOTPCREL(%rip), %rax
	cmpq	%r13, (%rax)
	je	LBB0_3
## %bb.1:
	movq	_ETH_RSS_HASH_TOP@GOTPCREL(%rip), %rax
	cmpq	%r13, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_21
LBB0_3:
	testq	%rbx, %rbx
	je	LBB0_19
## %bb.4:
	testl	%r8d, %r8d
	je	LBB0_19
## %bb.5:
	movq	8(%r14), %rcx
	xorl	%edx, %edx
	cmpl	$8, %r8d
	jb	LBB0_15
## %bb.6:
	movq	%rcx, %rax
	subq	%rbx, %rax
	cmpq	$32, %rax
	jb	LBB0_15
## %bb.7:
	movl	%r8d, %edx
	andl	$-8, %edx
	leaq	-8(%rdx), %rax
	movq	%rax, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movl	%edi, %r9d
	andl	$3, %r9d
	cmpq	$24, %rax
	jae	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_9:
	andq	$-4, %rdi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movups	(%rbx,%rax,4), %xmm0
	movups	16(%rbx,%rax,4), %xmm1
	movups	%xmm0, (%rcx,%rax,4)
	movups	%xmm1, 16(%rcx,%rax,4)
	movups	32(%rbx,%rax,4), %xmm0
	movups	48(%rbx,%rax,4), %xmm1
	movups	%xmm0, 32(%rcx,%rax,4)
	movups	%xmm1, 48(%rcx,%rax,4)
	movups	64(%rbx,%rax,4), %xmm0
	movups	80(%rbx,%rax,4), %xmm1
	movups	%xmm0, 64(%rcx,%rax,4)
	movups	%xmm1, 80(%rcx,%rax,4)
	movups	96(%rbx,%rax,4), %xmm0
	movups	112(%rbx,%rax,4), %xmm1
	movups	%xmm0, 96(%rcx,%rax,4)
	movups	%xmm1, 112(%rcx,%rax,4)
	addq	$32, %rax
	addq	$-4, %rdi
	jne	LBB0_10
LBB0_11:
	testq	%r9, %r9
	je	LBB0_14
## %bb.12:
	leaq	(%rcx,%rax,4), %rdi
	addq	$16, %rdi
	leaq	(%rbx,%rax,4), %rax
	addq	$16, %rax
	shlq	$5, %r9
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rax,%rsi), %xmm0
	movups	(%rax,%rsi), %xmm1
	movups	%xmm0, -16(%rdi,%rsi)
	movups	%xmm1, (%rdi,%rsi)
	addq	$32, %rsi
	cmpq	%rsi, %r9
	jne	LBB0_13
LBB0_14:
	cmpq	%r8, %rdx
	je	LBB0_19
LBB0_15:
	movq	%rdx, %rax
	notq	%rax
	addq	%r8, %rax
	movq	%r8, %rsi
	andq	$3, %rsi
	je	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%rdx,4), %edi
	movl	%edi, (%rcx,%rdx,4)
	incq	%rdx
	decq	%rsi
	jne	LBB0_16
LBB0_17:
	cmpq	$3, %rax
	jb	LBB0_19
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%rdx,4), %eax
	movl	%eax, (%rcx,%rdx,4)
	movl	4(%rbx,%rdx,4), %eax
	movl	%eax, 4(%rcx,%rdx,4)
	movl	8(%rbx,%rdx,4), %eax
	movl	%eax, 8(%rcx,%rdx,4)
	movl	12(%rbx,%rdx,4), %eax
	movl	%eax, 12(%rcx,%rdx,4)
	addq	$4, %rdx
	cmpq	%rdx, %r8
	jne	LBB0_18
LBB0_19:
	testq	%r15, %r15
	je	LBB0_22
## %bb.20:
	movl	16(%r14), %edi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	8(%r12), %rax
	movl	(%r12), %edi
	movq	%r14, %rsi
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_22
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movq	8(%r12), %rax
	movq	8(%rax), %rax
	movl	(%r12), %edi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_RSS_HASH_NO_CHANGE,8,3     ## @ETH_RSS_HASH_NO_CHANGE
	.comm	_ETH_RSS_HASH_TOP,8,3           ## @ETH_RSS_HASH_TOP
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_aq_ethtool_set_rss
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aq_ethtool_set_rss
_aq_ethtool_set_rss:                    ; @aq_ethtool_set_rss
	.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	x23, x3
	mov	x21, x2
	mov	x22, x1
	bl	_netdev_priv
	mov	x19, x0
	bl	_aq_nic_get_cfg
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_TOP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ETH_RSS_HASH_TOP@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x23
	ccmp	x9, x23, #4, ne
	b.ne	LBB0_13
; %bb.1:
	mov	x20, x0
	cbz	x22, LBB0_10
; %bb.2:
	ldr	w8, [x20]
	cbz	w8, LBB0_10
; %bb.3:
	mov	x9, #0
	ldr	x10, [x20, #8]
	cmp	w8, #16
	b.lo	LBB0_8
; %bb.4:
	sub	x11, x10, x22
	cmp	x11, #64
	b.lo	LBB0_8
; %bb.5:
	and	x9, x8, #0xfffffff0
	add	x11, x10, #32
	add	x12, x22, #32
	mov	x13, x9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x12, #-32]
	ldp	q2, q3, [x12], #64
	stp	q0, q1, [x11, #-32]
	stp	q2, q3, [x11], #64
	subs	x13, x13, #16
	b.ne	LBB0_6
; %bb.7:
	cmp	x9, x8
	b.eq	LBB0_10
LBB0_8:
	lsl	x12, x9, #2
	add	x11, x22, x12
	add	x10, x10, x12
	sub	x8, x8, x9
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x11], #4
	str	w9, [x10], #4
	subs	x8, x8, #1
	b.ne	LBB0_9
LBB0_10:
	cbz	x21, LBB0_12
; %bb.11:
	ldr	w0, [x20, #16]
	mov	x1, x21
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w0, [x19]
	mov	x1, x20
	blr	x8
	cbnz	w0, LBB0_14
LBB0_12:
	ldr	x8, [x19, #8]
	ldr	x2, [x8, #8]
	ldr	w0, [x19]
	mov	x1, x20
	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
	br	x2
LBB0_13:
Lloh6:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_14:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_RSS_HASH_NO_CHANGE,8,3     ; @ETH_RSS_HASH_NO_CHANGE
	.comm	_ETH_RSS_HASH_TOP,8,3           ; @ETH_RSS_HASH_TOP
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_aq_ethtool_set_rss
.subsections_via_symbols
