	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enetc_cmd_rss_table
_enetc_cmd_rss_table:                   ## @enetc_cmd_rss_table
	.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
	movq	%rsi, %r15
	movq	_RSSE_ALIGN@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	cmpl	%edx, %esi
	jle	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_2:
	movl	%edx, %r14d
	movq	%rdi, %rbx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	(%rdi), %rdi
	addl	%edx, %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %rdx
	callq	_dma_alloc_coherent
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	movq	(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_4:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%rax, %r12
	movl	-48(%rbp), %edi
	movl	(%r13), %esi
	callq	_ALIGN
	movl	%eax, %ebx
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_PTR_ALIGN
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_15
## %bb.6:
	testl	%r14d, %r14d
	jle	LBB0_15
## %bb.7:
	movq	%rax, %r12
	movl	%r14d, %r13d
	xorl	%eax, %eax
	cmpl	$4, %r14d
	jb	LBB0_11
## %bb.8:
	movq	%r12, %rcx
	subq	%r15, %rcx
	cmpq	$32, %rcx
	jb	LBB0_11
## %bb.9:
	leaq	-56(%rbp), %rcx
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_enetc_cmd_rss_table.cold.1
	testb	$1, %al
	jne	LBB0_15
## %bb.10:
	movq	-56(%rbp), %rax
LBB0_11:
	movq	%rax, %rcx
	notq	%rcx
	addq	%r13, %rcx
	movq	%r13, %rdx
	andq	$3, %rdx
	je	LBB0_13
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%rax,8), %rsi
	movq	%rsi, (%r12,%rax,8)
	incq	%rax
	decq	%rdx
	jne	LBB0_12
LBB0_13:
	cmpq	$3, %rcx
	jb	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%rax,8), %rcx
	movq	%rcx, (%r12,%rax,8)
	movq	8(%r15,%rax,8), %rcx
	movq	%rcx, 8(%r12,%rax,8)
	movq	16(%r15,%rax,8), %rcx
	movq	%rcx, 16(%r12,%rax,8)
	movq	24(%r15,%rax,8), %rcx
	movq	%rcx, 24(%r12,%rax,8)
	addq	$4, %rax
	cmpq	%rax, %r13
	jne	LBB0_14
LBB0_15:
	movl	%r14d, %edi
	callq	_cpu_to_le16
	movl	%ebx, %edi
	callq	_lower_32_bits
	movl	%eax, %edi
	callq	_cpu_to_le32
	ud2
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function enetc_cmd_rss_table.cold.1
_enetc_cmd_rss_table.cold.1:            ## @enetc_cmd_rss_table.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %r8d
	andl	$-4, %r8d
	movq	%r8, (%rcx)
	leaq	-4(%r8), %rax
	movq	%rax, %rcx
	shrq	$2, %rcx
	incq	%rcx
	movl	%ecx, %r9d
	andl	$3, %r9d
	cmpq	$12, %rax
	jae	LBB1_2
## %bb.1:
	xorl	%eax, %eax
	jmp	LBB1_4
LBB1_2:
	andq	$-4, %rcx
	xorl	%eax, %eax
LBB1_3:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%rsi,%rax,8), %xmm0
	movups	16(%rsi,%rax,8), %xmm1
	movups	%xmm0, (%rdx,%rax,8)
	movups	%xmm1, 16(%rdx,%rax,8)
	movups	32(%rsi,%rax,8), %xmm0
	movups	48(%rsi,%rax,8), %xmm1
	movups	%xmm0, 32(%rdx,%rax,8)
	movups	%xmm1, 48(%rdx,%rax,8)
	movups	64(%rsi,%rax,8), %xmm0
	movups	80(%rsi,%rax,8), %xmm1
	movups	%xmm0, 64(%rdx,%rax,8)
	movups	%xmm1, 80(%rdx,%rax,8)
	movups	96(%rsi,%rax,8), %xmm0
	movups	112(%rsi,%rax,8), %xmm1
	movups	%xmm0, 96(%rdx,%rax,8)
	movups	%xmm1, 112(%rdx,%rax,8)
	addq	$16, %rax
	addq	$-4, %rcx
	jne	LBB1_3
LBB1_4:
	testq	%r9, %r9
	je	LBB1_7
## %bb.5:
	leaq	(%rdx,%rax,8), %rcx
	addq	$16, %rcx
	leaq	(%rsi,%rax,8), %rax
	addq	$16, %rax
	shlq	$5, %r9
	xorl	%edx, %edx
LBB1_6:                                 ## =>This Inner Loop Header: Depth=1
	movups	-16(%rax,%rdx), %xmm0
	movups	(%rax,%rdx), %xmm1
	movups	%xmm0, -16(%rcx,%rdx)
	movups	%xmm1, (%rcx,%rdx)
	addq	$32, %rdx
	cmpq	%rdx, %r9
	jne	LBB1_6
LBB1_7:
	cmpq	%rdi, %r8
	jne	LBB1_10
## %bb.8:
	movb	$1, %al
	jmp	LBB1_9
LBB1_10:
	xorl	%eax, %eax
LBB1_9:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RSSE_ALIGN,4,2                 ## @RSSE_ALIGN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DMA mapping of RSS table failed!\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_enetc_cmd_rss_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enetc_cmd_rss_table
_enetc_cmd_rss_table:                   ; @enetc_cmd_rss_table
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x23, _RSSE_ALIGN@GOTPAGE
Lloh1:
	ldr	x23, [x23, _RSSE_ALIGN@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, w2
	b.le	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
	mov	x21, x3
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	ldr	x0, [x0]
	add	w1, w8, w2
Lloh4:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh6:
	ldr	w3, [x8]
	add	x2, sp, #12
	bl	_dma_alloc_coherent
	cbnz	x0, LBB0_5
; %bb.3:
	ldr	x0, [x22]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_5:
	ldr	w8, [sp, #12]
	ldr	w1, [x23]
	mov	x22, x0
	mov	x0, x8
	bl	_ALIGN
	mov	x24, x21
	mov	x21, x0
	ldr	w1, [x23]
	mov	x0, x22
	bl	_PTR_ALIGN
	cbnz	w24, LBB0_14
; %bb.6:
	cmp	w19, #1
	b.lt	LBB0_14
; %bb.7:
	mov	x9, #0
	mov	w8, w19
	cmp	w19, #8
	b.lo	LBB0_12
; %bb.8:
	sub	x10, x0, x20
	cmp	x10, #64
	b.lo	LBB0_12
; %bb.9:
	and	x9, x8, #0xfffffff8
	add	x10, x0, #32
	add	x11, x20, #32
	mov	x12, x9
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x11, #-32]
	ldp	q2, q3, [x11], #64
	stp	q0, q1, [x10, #-32]
	stp	q2, q3, [x10], #64
	subs	x12, x12, #8
	b.ne	LBB0_10
; %bb.11:
	cmp	x9, x8
	b.eq	LBB0_14
LBB0_12:
	lsl	x11, x9, #3
	add	x10, x0, x11
	add	x11, x20, x11
	sub	x8, x8, x9
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x11], #8
	str	x9, [x10], #8
	subs	x8, x8, #1
	b.ne	LBB0_13
LBB0_14:
	mov	x0, x19
	bl	_cpu_to_le16
	mov	x0, x21
	bl	_lower_32_bits
	bl	_cpu_to_le32
	brk	#0x1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_RSSE_ALIGN,4,2                 ; @RSSE_ALIGN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DMA mapping of RSS table failed!\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_enetc_cmd_rss_table
.subsections_via_symbols
