	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_cache_ring_sriov
_ixgbe_cache_ring_sriov:                ## @ixgbe_cache_ring_sriov
	.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	_IXGBE_FLAG_VMDQ_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r15
	movq	40(%rdi), %rcx
	movq	_RING_F_RSS@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	_RING_F_VMDQ@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rax,%rax,2), %rax
	leaq	(%rcx,%rax,4), %rbx
	movl	(%rcx,%rax,4), %r14d
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	4(%rcx,%rax,4), %esi
	notl	%esi
	movl	$1, %edi
	callq	___ALIGN_MASK
	cmpl	$0, 4(%r15)
	leaq	(%r12,%r12,2), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	jle	LBB0_10
## %bb.3:
	imull	%r14d, %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rcx,%rdx,4), %r14
	addq	$8, %r14
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%r15), %rdx
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rdx, 8(%rcx)
	incq	%r13
	incl	%eax
	movslq	4(%r15), %rcx
	cmpq	%rcx, %r13
	jge	LBB0_10
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%rbx), %esi
	notl	%esi
	movl	%eax, %ecx
	andl	%esi, %ecx
	cmpl	(%r14), %ecx
	jl	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incl	%r12d
	movl	%eax, %edi
	callq	___ALIGN_MASK
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	32(%r15), %rcx
	movq	(%rcx,%r13,8), %rcx
	movl	%eax, (%rcx)
	testl	%r12d, %r12d
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%edx, %edx
	jmp	LBB0_9
LBB0_10:
	movq	%rbx, %rax
	movl	(%rbx), %ebx
	movq	%rax, %r12
	movl	4(%rax), %esi
	notl	%esi
	movl	$1, %edi
	callq	___ALIGN_MASK
	movl	8(%r15), %ecx
	testl	%ecx, %ecx
	jle	LBB0_15
## %bb.11:
	imull	%ebx, %eax
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	leaq	(%rdx,%rsi,4), %r14
	addq	$4, %r14
	xorl	%ebx, %ebx
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	16(%r15), %rdx
	movq	(%rdx,%rbx,8), %rdx
	movl	%eax, (%rdx)
	incq	%rbx
	incl	%eax
	movslq	%ecx, %rdx
	cmpq	%rdx, %rbx
	jge	LBB0_15
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edx
	andl	%eax, %edx
	cmpl	4(%r14), %edx
	jl	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	4(%r12), %esi
	notl	%esi
	movl	%eax, %edi
	callq	___ALIGN_MASK
	movl	8(%r15), %ecx
	jmp	LBB0_14
LBB0_15:
	movl	$1, %eax
	jmp	LBB0_16
LBB0_1:
	xorl	%eax, %eax
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RING_F_VMDQ,8,3                ## @RING_F_VMDQ
	.comm	_RING_F_RSS,8,3                 ## @RING_F_RSS
	.comm	_IXGBE_FLAG_VMDQ_ENABLED,4,2    ## @IXGBE_FLAG_VMDQ_ENABLED
	.comm	_RING_F_FCOE,8,3                ## @RING_F_FCOE
	.no_dead_strip	_ixgbe_cache_ring_sriov
.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_sriov
_ixgbe_cache_ring_sriov:                ; @ixgbe_cache_ring_sriov
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _IXGBE_FLAG_VMDQ_ENABLED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IXGBE_FLAG_VMDQ_ENABLED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _RING_F_RSS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RING_F_RSS@GOTPAGEOFF]
	ldr	x22, [x0, #40]
Lloh5:
	ldr	x23, [x8]
Lloh6:
	adrp	x8, _RING_F_VMDQ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RING_F_VMDQ@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	mov	w9, #12
	madd	x20, x8, x9, x22
	ldr	w26, [x20]
	mov	x21, x20
	ldr	w8, [x21, #4]!
	mvn	w1, w8
	mov	w0, #1
	bl	___ALIGN_MASK
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.2:
	mov	x24, #0
	mov	w25, #0
	mul	w0, w0, w26
	mov	w8, #12
	madd	x8, x23, x8, x22
	add	x26, x8, #8
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x19, #24]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	x9, [x8, #8]
	add	x24, x24, #1
	add	w0, w0, #1
	ldrsw	x8, [x19, #4]
	cmp	x24, x8
	b.ge	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21]
	bic	w9, w0, w8
	ldr	w10, [x26]
	cmp	w9, w10
	b.lt	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mvn	w1, w8
	add	w25, w25, #1
	bl	___ALIGN_MASK
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #32]
	ldr	x8, [x8, x24, lsl #3]
	str	w0, [x8]
	cbz	w25, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x9, #0
	b	LBB0_4
LBB0_9:
	ldr	w24, [x20]
	ldr	w8, [x21]
	mvn	w1, w8
	mov	w20, #1
	mov	w0, #1
	bl	___ALIGN_MASK
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.10:
	mov	x20, #0
	mul	w0, w0, w24
	mov	w9, #12
	madd	x9, x23, x9, x22
	add	x22, x9, #4
	add	x23, x9, #8
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x9, [x19, #16]
	ldr	x9, [x9, x20, lsl #3]
	str	w0, [x9]
	add	x20, x20, #1
	add	w0, w0, #1
	cmp	x20, w8, sxtw
	b.ge	LBB0_15
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x22]
	and	w9, w9, w0
	ldr	w10, [x23]
	cmp	w9, w10
	b.lt	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [x21]
	mvn	w1, w8
	bl	___ALIGN_MASK
	ldr	w8, [x19, #8]
	b	LBB0_11
LBB0_14:
	mov	w20, #0
	b	LBB0_16
LBB0_15:
	mov	w20, #1
LBB0_16:
	mov	x0, x20
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_RING_F_VMDQ,8,3                ; @RING_F_VMDQ
	.comm	_RING_F_RSS,8,3                 ; @RING_F_RSS
	.comm	_IXGBE_FLAG_VMDQ_ENABLED,4,2    ; @IXGBE_FLAG_VMDQ_ENABLED
	.comm	_RING_F_FCOE,8,3                ; @RING_F_FCOE
	.no_dead_strip	_ixgbe_cache_ring_sriov
.subsections_via_symbols
