	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_vf_reset_event
_ixgbe_vf_reset_event:                  ## @ixgbe_vf_reset_event
	.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, %r14
	movq	%rdi, %r15
	leaq	24(%rdi), %rbx
	movq	(%rdi), %r13
	movq	24(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	8(%rdi), %edi
	callq	_netdev_get_num_tc
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %r12
	shlq	$5, %r12
	movl	16(%r13,%r12), %edx
	movq	%r15, %rdi
	movl	$1, %esi
	movq	%r14, %rcx
	callq	_ixgbe_set_vf_vlan
	xorl	%edx, %edx
	cmpl	$0, 16(%r13,%r12)
	sete	%dl
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ixgbe_set_vmolr
	movl	16(%r13,%r12), %esi
	movq	24(%r13,%r12), %rdx
	testl	%esi, %esi
	je	LBB0_1
LBB0_4:
	testq	%rdx, %rdx
	jne	LBB0_7
## %bb.5:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_7
## %bb.6:
	movq	16(%r15), %rdx
LBB0_7:
	movq	%r15, %rdi
	movq	%r14, %rcx
	callq	_ixgbe_set_vmvir
	jmp	LBB0_8
LBB0_1:
	testq	%rdx, %rdx
	jne	LBB0_4
## %bb.2:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ixgbe_clear_vmvir
LBB0_8:
	notl	%r14d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	addl	%r14d, %ebx
	movq	(%r15), %rax
	movq	$0, 8(%rax,%r12)
	movl	8(%r15), %edi
	callq	_ixgbe_set_rx_mode
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	*32(%r15)
	movq	_ixgbe_mbox_api_10@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r15), %rcx
	movl	%eax, (%rcx,%r12)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ixgbe_mbox_api_10,4,2          ## @ixgbe_mbox_api_10
	.no_dead_strip	_ixgbe_vf_reset_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_vf_reset_event
_ixgbe_vf_reset_event:                  ; @ixgbe_vf_reset_event
	.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	x21, x1
	mov	x19, x0
	mov	x20, x0
	ldr	x23, [x20, #24]!
	ldr	x24, [x0]
	ldr	w0, [x0, #8]
	bl	_netdev_get_num_tc
	mov	x22, x0
	add	x24, x24, x21, lsl #5
	ldr	w2, [x24, #16]
	mov	x0, x19
	mov	w1, #1
	mov	x3, x21
	bl	_ixgbe_set_vf_vlan
	ldr	w8, [x24, #16]
	cmp	w8, #0
	cset	w2, eq
	mov	x0, x20
	mov	x1, x21
	bl	_ixgbe_set_vmolr
	ldr	w1, [x24, #16]
	ldr	x2, [x24, #24]
	cmp	w1, #0
	ccmp	x2, #0, #0, eq
	ccmp	w22, #0, #0, eq
	b.eq	LBB0_4
; %bb.1:
	cmp	x2, #0
	ccmp	w22, #0, #4, eq
	b.eq	LBB0_3
; %bb.2:
	ldr	x2, [x19, #16]
LBB0_3:
	mov	x0, x19
	mov	x3, x21
	bl	_ixgbe_set_vmvir
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	mov	x1, x21
	bl	_ixgbe_clear_vmvir
LBB0_5:
	mvn	w8, w21
	add	w22, w23, w8
	ldr	x8, [x19]
	lsl	x21, x21, #5
	add	x8, x8, x21
	str	xzr, [x8, #8]
	ldr	w0, [x19, #8]
	bl	_ixgbe_set_rx_mode
	ldr	x8, [x19, #32]
	mov	x0, x20
	mov	x1, x22
	blr	x8
Lloh0:
	adrp	x8, _ixgbe_mbox_api_10@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ixgbe_mbox_api_10@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x9, [x19]
	str	w8, [x9, x21]
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_ixgbe_mbox_api_10,4,2          ; @ixgbe_mbox_api_10
	.no_dead_strip	_ixgbe_vf_reset_event
.subsections_via_symbols
