	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_cache_ring_rss
_ixgbe_cache_ring_rss:                  ## @ixgbe_cache_ring_rss
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %r8d
	testl	%r8d, %r8d
	jle	LBB0_5
## %bb.1:
	movq	40(%rdi), %r9
	movl	32(%rdi), %r10d
	leaq	-1(%r8), %rsi
	movl	%r8d, %edx
	andl	$3, %edx
	cmpq	$3, %rsi
	jae	LBB0_14
## %bb.2:
	xorl	%esi, %esi
	jmp	LBB0_3
LBB0_14:
	andl	$-4, %r8d
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r9,%rsi,8), %rax
	movl	%esi, (%rax)
	movl	%r10d, 4(%rax)
	movq	8(%r9,%rsi,8), %rax
	leal	1(%rsi), %ecx
	movl	%ecx, (%rax)
	movl	%r10d, 4(%rax)
	movq	16(%r9,%rsi,8), %rax
	leal	2(%rsi), %ecx
	movl	%ecx, (%rax)
	movl	%r10d, 4(%rax)
	movq	24(%r9,%rsi,8), %rax
	leal	3(%rsi), %ecx
	movl	%ecx, (%rax)
	movl	%r10d, 4(%rax)
	addq	$4, %rsi
	cmpq	%r8, %rsi
	jne	LBB0_15
LBB0_3:
	testq	%rdx, %rdx
	je	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r9,%rsi,8), %rax
	movl	%esi, (%rax)
	movl	%r10d, 4(%rax)
	incq	%rsi
	decq	%rdx
	jne	LBB0_4
LBB0_5:
	movl	4(%rdi), %r8d
	testl	%r8d, %r8d
	jle	LBB0_6
## %bb.10:
	movq	24(%rdi), %rcx
	leaq	-1(%r8), %rax
	movl	%r8d, %edx
	andl	$7, %edx
	cmpq	$7, %rax
	jae	LBB0_16
## %bb.11:
	xorl	%esi, %esi
	jmp	LBB0_12
LBB0_6:
	xorl	%r8d, %r8d
	jmp	LBB0_7
LBB0_16:
	movl	%r8d, %r9d
	andl	$-8, %r9d
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rsi,8), %rax
	movl	%esi, (%rax)
	movq	8(%rcx,%rsi,8), %r10
	leal	1(%rsi), %eax
	movl	%eax, (%r10)
	movq	16(%rcx,%rsi,8), %r10
	leal	2(%rsi), %eax
	movl	%eax, (%r10)
	movq	24(%rcx,%rsi,8), %r10
	leal	3(%rsi), %eax
	movl	%eax, (%r10)
	movq	32(%rcx,%rsi,8), %r10
	leal	4(%rsi), %eax
	movl	%eax, (%r10)
	movq	40(%rcx,%rsi,8), %r10
	leal	5(%rsi), %eax
	movl	%eax, (%r10)
	movq	48(%rcx,%rsi,8), %r10
	leal	6(%rsi), %eax
	movl	%eax, (%r10)
	movq	56(%rcx,%rsi,8), %r10
	leal	7(%rsi), %eax
	movl	%eax, (%r10)
	addq	$8, %rsi
	cmpq	%r9, %rsi
	jne	LBB0_17
LBB0_12:
	testq	%rdx, %rdx
	je	LBB0_7
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rsi,8), %rax
	movl	%esi, (%rax)
	incq	%rsi
	decq	%rdx
	jne	LBB0_13
LBB0_7:
	movl	8(%rdi), %r10d
	testl	%r10d, %r10d
	jle	LBB0_24
## %bb.8:
	movq	16(%rdi), %rdx
	leaq	-1(%r10), %rax
	movl	%r10d, %r9d
	andl	$3, %r9d
	cmpq	$3, %rax
	jae	LBB0_18
## %bb.9:
	xorl	%edi, %edi
	testq	%r9, %r9
	jne	LBB0_22
	jmp	LBB0_24
LBB0_18:
	andl	$-4, %r10d
	movl	%r8d, %eax
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	leal	(%rax,%rdi), %ecx
	movq	(%rdx,%rdi,8), %rsi
	movl	%ecx, (%rsi)
	movq	8(%rdx,%rdi,8), %rcx
	leal	(%rax,%rdi), %esi
	incl	%esi
	movl	%esi, (%rcx)
	movq	16(%rdx,%rdi,8), %rcx
	leal	2(%rax,%rdi), %esi
	movl	%esi, (%rcx)
	movq	24(%rdx,%rdi,8), %rcx
	leal	(%rax,%rdi), %esi
	addl	$3, %esi
	movl	%esi, (%rcx)
	addq	$4, %rdi
	cmpq	%rdi, %r10
	jne	LBB0_19
## %bb.20:
	addl	%edi, %r8d
	testq	%r9, %r9
	je	LBB0_24
LBB0_22:
	leaq	(%rdx,%rdi,8), %rax
	movl	%r8d, %edx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	leal	(%rdx,%rsi), %ecx
	movq	(%rax,%rsi,8), %rdi
	movl	%ecx, (%rdi)
	incq	%rsi
	cmpq	%rsi, %r9
	jne	LBB0_23
LBB0_24:
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ixgbe_cache_ring_rss
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_cache_ring_rss
_ixgbe_cache_ring_rss:                  ; @ixgbe_cache_ring_rss
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
	ldr	x9, [x0, #40]
	ldr	w10, [x0, #32]
	cmp	w8, #4
	b.hs	LBB0_3
; %bb.2:
	mov	x11, #0
	b	LBB0_6
LBB0_3:
	mov	x12, #0
	and	x11, x8, #0xfffffffc
	add	x13, x9, #16
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	w14, w12, #1
	add	w15, w12, #2
	add	w16, w12, #3
	ldp	x17, x1, [x13, #-16]
	ldp	x2, x3, [x13], #32
	stp	w12, w10, [x17]
	stp	w14, w10, [x1]
	stp	w15, w10, [x2]
	stp	w16, w10, [x3]
	add	x12, x12, #4
	cmp	x11, x12
	b.ne	LBB0_4
; %bb.5:
	cmp	x11, x8
	b.eq	LBB0_7
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x9, x11, lsl #3]
	stp	w11, w10, [x12]
	add	x11, x11, #1
	cmp	x8, x11
	b.ne	LBB0_6
LBB0_7:
	ldr	w8, [x0, #4]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.8:
	ldr	x9, [x0, #24]
	cmp	w8, #4
	b.hs	LBB0_11
; %bb.9:
	mov	x10, #0
	b	LBB0_14
LBB0_10:
	mov	w8, #0
	b	LBB0_15
LBB0_11:
	mov	x11, #0
	and	x10, x8, #0xfffffffc
	add	x12, x9, #16
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	add	w13, w11, #1
	add	w14, w11, #2
	add	w15, w11, #3
	ldp	x16, x17, [x12, #-16]
	ldp	x1, x2, [x12], #32
	str	w11, [x16]
	str	w13, [x17]
	str	w14, [x1]
	str	w15, [x2]
	add	x11, x11, #4
	cmp	x10, x11
	b.ne	LBB0_12
; %bb.13:
	cmp	x10, x8
	b.eq	LBB0_15
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9, x10, lsl #3]
	str	w10, [x11]
	add	x10, x10, #1
	cmp	x8, x10
	b.ne	LBB0_14
LBB0_15:
	ldr	w10, [x0, #8]
	cmp	w10, #1
	b.lt	LBB0_23
; %bb.16:
	ldr	x11, [x0, #16]
	cmp	w10, #4
	b.hs	LBB0_18
; %bb.17:
	mov	x12, #0
	mov	x9, x8
	b	LBB0_21
LBB0_18:
	and	x12, x10, #0xfffffffc
	add	w9, w8, w12
	add	x13, x11, #16
	mov	x14, x12
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	add	w15, w8, #1
	add	w16, w8, #2
	add	w17, w8, #3
	ldp	x0, x1, [x13, #-16]
	ldp	x2, x3, [x13], #32
	str	w8, [x0]
	str	w15, [x1]
	str	w16, [x2]
	str	w17, [x3]
	add	w8, w8, #4
	subs	x14, x14, #4
	b.ne	LBB0_19
; %bb.20:
	cmp	x12, x10
	b.eq	LBB0_23
LBB0_21:
	add	x8, x11, x12, lsl #3
	sub	x10, x10, x12
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x8], #8
	str	w9, [x11]
	add	w9, w9, #1
	subs	x10, x10, #1
	b.ne	LBB0_22
LBB0_23:
	mov	w0, #1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ixgbe_cache_ring_rss
.subsections_via_symbols
