	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_clear_vmdq_generic       ## -- Begin function ixgbe_clear_vmdq_generic
	.p2align	4, 0x90
_ixgbe_clear_vmdq_generic:              ## @ixgbe_clear_vmdq_generic
	.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	%rsi, %rbx
	movq	%rdi, %r14
	cmpq	%rsi, (%rdi)
	jle	LBB0_7
## %bb.1:
	movq	%rdx, %r15
	movq	%rbx, %rdi
	callq	_IXGBE_MPSAR_LO
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_IXGBE_MPSAR_HI
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	movq	%rax, %r13
	xorl	%eax, %eax
	movq	%r12, %rcx
	orq	%r13, %rcx
	je	LBB0_8
## %bb.2:
	movq	_IXGBE_CLEAR_VMDQ_ALL@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jne	LBB0_9
## %bb.3:
	testq	%r12, %r12
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_IXGBE_MPSAR_LO
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_IXGBE_WRITE_REG
LBB0_5:
	testq	%r13, %r13
	je	LBB0_13
## %bb.6:
	movq	%rbx, %rdi
	callq	_IXGBE_MPSAR_HI
	xorl	%r12d, %r12d
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_IXGBE_WRITE_REG
	jmp	LBB0_14
LBB0_7:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_hw_dbg
	movq	_IXGBE_ERR_INVALID_ARGUMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	cmpq	$31, %r15
	jg	LBB0_11
## %bb.10:
	movl	$-2, %eax
	movl	%r15d, %ecx
	roll	%cl, %eax
	cltq
	andq	%rax, %r12
	movq	%rbx, %rdi
	callq	_IXGBE_MPSAR_LO
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	%r12, %rdx
	jmp	LBB0_12
LBB0_11:
	addb	$-32, %r15b
	movl	$-2, %eax
	movl	%r15d, %ecx
	roll	%cl, %eax
	cltq
	andq	%rax, %r13
	movq	%rbx, %rdi
	callq	_IXGBE_MPSAR_HI
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	%r13, %rdx
LBB0_12:
	callq	_IXGBE_WRITE_REG
	jmp	LBB0_15
LBB0_13:
	xorl	%r12d, %r12d
LBB0_14:
	xorl	%r13d, %r13d
LBB0_15:
	xorl	%eax, %eax
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.16:
	testq	%r12, %r12
	jne	LBB0_8
## %bb.17:
	testq	%r13, %r13
	jne	LBB0_8
## %bb.18:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	*8(%r14)
	xorl	%eax, %eax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RAR index %d is out of range.\n"

	.comm	_IXGBE_ERR_INVALID_ARGUMENT,4,2 ## @IXGBE_ERR_INVALID_ARGUMENT
	.comm	_IXGBE_CLEAR_VMDQ_ALL,8,3       ## @IXGBE_CLEAR_VMDQ_ALL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_clear_vmdq_generic       ; -- Begin function ixgbe_clear_vmdq_generic
	.p2align	2
_ixgbe_clear_vmdq_generic:              ; @ixgbe_clear_vmdq_generic
	.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	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
	cmp	x8, x1
	b.le	LBB0_7
; %bb.1:
	mov	x23, x2
	mov	x0, x19
	bl	_IXGBE_MPSAR_LO
	mov	x1, x0
	mov	x0, x20
	bl	_IXGBE_READ_REG
	mov	x22, x0
	mov	x0, x19
	bl	_IXGBE_MPSAR_HI
	mov	x1, x0
	mov	x0, x20
	bl	_IXGBE_READ_REG
	orr	x8, x22, x0
	cbz	x8, LBB0_16
; %bb.2:
	mov	x21, x0
Lloh0:
	adrp	x8, _IXGBE_CLEAR_VMDQ_ALL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGBE_CLEAR_VMDQ_ALL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x23
	b.ne	LBB0_8
; %bb.3:
	cbz	x22, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_IXGBE_MPSAR_LO
	mov	x1, x0
	mov	x0, x20
	mov	x2, #0
	bl	_IXGBE_WRITE_REG
LBB0_5:
	cbz	x21, LBB0_12
; %bb.6:
	mov	x0, x19
	bl	_IXGBE_MPSAR_HI
	mov	x1, x0
	mov	x0, x20
	mov	x2, #0
	bl	_IXGBE_WRITE_REG
	mov	x22, #0
	mov	x21, #0
	mov	w0, #0
	cbnz	x19, LBB0_13
	b	LBB0_17
LBB0_7:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_hw_dbg
Lloh5:
	adrp	x8, _IXGBE_ERR_INVALID_ARGUMENT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IXGBE_ERR_INVALID_ARGUMENT@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	b	LBB0_17
LBB0_8:
	mov	w8, #1
	lsl	w8, w8, w23
	cmp	x23, #31
	b.gt	LBB0_10
; %bb.9:
	mvn	w8, w8
	sxtw	x8, w8
	and	x22, x22, x8
	mov	x0, x19
	bl	_IXGBE_MPSAR_LO
	mov	x1, x0
	mov	x0, x20
	mov	x2, x22
	b	LBB0_11
LBB0_10:
	mvn	w8, w8
	sxtw	x8, w8
	and	x21, x21, x8
	mov	x0, x19
	bl	_IXGBE_MPSAR_HI
	mov	x1, x0
	mov	x0, x20
	mov	x2, x21
LBB0_11:
	bl	_IXGBE_WRITE_REG
	mov	w0, #0
	cbnz	x19, LBB0_13
	b	LBB0_17
LBB0_12:
	mov	x22, #0
	mov	w0, #0
	cbz	x19, LBB0_17
LBB0_13:
	cbnz	x22, LBB0_17
; %bb.14:
	cbnz	x21, LBB0_17
; %bb.15:
	ldr	x8, [x20, #8]
	mov	x0, x20
	mov	x1, x19
	blr	x8
LBB0_16:
	mov	w0, #0
LBB0_17:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RAR index %d is out of range.\n"

	.comm	_IXGBE_ERR_INVALID_ARGUMENT,4,2 ; @IXGBE_ERR_INVALID_ARGUMENT
	.comm	_IXGBE_CLEAR_VMDQ_ALL,8,3       ; @IXGBE_CLEAR_VMDQ_ALL
.subsections_via_symbols
