	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nicvf_stop                     ## -- Begin function nicvf_stop
	.p2align	4, 0x90
_nicvf_stop:                            ## @nicvf_stop
	.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	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %r15
	movq	40(%rax), %r12
	cmpq	$0, 96(%rax)
	je	LBB0_2
## %bb.1:
	leaq	104(%r15), %rdi
	callq	_cancel_delayed_work_sync
	movq	96(%r15), %rdi
	callq	_drain_workqueue
LBB0_2:
	movq	_NIC_MBOX_MSG_SHUTDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_nicvf_send_msg_to_pf
	movq	%r14, %rdi
	callq	_netif_carrier_off
	movl	92(%r15), %edi
	callq	_netif_tx_stop_all_queues
	movl	$0, (%r15)
	cmpl	$0, 88(%r15)
	je	LBB0_3
LBB0_8:
	cmpl	$0, (%r12)
	jle	LBB0_11
## %bb.9:
	xorl	%ebx, %ebx
	movq	_NICVF_INTR_RBDR@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_nicvf_disable_intr
	movl	(%r13), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_nicvf_clear_intr
	incl	%ebx
	cmpl	(%r12), %ebx
	jl	LBB0_10
LBB0_11:
	movq	_NICVF_INTR_QS_ERR@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_nicvf_disable_intr
	movl	(%r12), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_nicvf_clear_intr
	cmpl	$0, 8(%r15)
	jle	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	72(%r15), %edi
	movl	%ebx, %esi
	callq	_pci_irq_vector
	movl	%eax, %edi
	callq	_synchronize_irq
	incl	%ebx
	cmpl	8(%r15), %ebx
	jl	LBB0_12
LBB0_13:
	leaq	68(%r15), %rdi
	callq	_tasklet_kill
	leaq	64(%r15), %rdi
	callq	_tasklet_kill
	cmpq	$0, 56(%r15)
	je	LBB0_15
## %bb.14:
	movq	%r15, %rdi
	addq	$48, %rdi
	callq	_cancel_delayed_work_sync
LBB0_15:
	movq	40(%r15), %rax
	cmpl	$0, 4(%rax)
	jle	LBB0_20
## %bb.16:
	xorl	%ebx, %ebx
	movq	_NICVF_INTR_CQ@GOTPCREL(%rip), %r13
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=1
	incq	%rbx
	movslq	4(%rax), %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_20
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	32(%r15), %rcx
	movq	(%rcx,%rbx,8), %r12
	testq	%r12, %r12
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	%r12, %rdi
	callq	_napi_synchronize
	movl	(%r13), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_nicvf_disable_intr
	movl	(%r13), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_nicvf_clear_intr
	movq	%r12, %rdi
	callq	_napi_disable
	movq	%r12, %rdi
	callq	_netif_napi_del
	movq	40(%r15), %rax
	jmp	LBB0_19
LBB0_20:
	movq	%r14, %rdi
	callq	_netif_tx_disable
	cmpl	$0, (%r14)
	jle	LBB0_23
## %bb.21:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_netdev_get_tx_queue
	movl	%eax, %edi
	callq	_netdev_tx_reset_queue
	incl	%ebx
	cmpl	(%r14), %ebx
	jl	LBB0_22
LBB0_23:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_nicvf_config_data_transfer
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_nicvf_qset_config
	movq	_NICVF_INTR_MBOX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_nicvf_disable_intr
	movq	%r15, %rdi
	callq	_nicvf_unregister_interrupts
	movq	%r15, %rdi
	callq	_nicvf_free_cq_poll
	movq	24(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_25
## %bb.24:
	callq	_dev_kfree_skb_any
	movq	$0, 24(%r15)
LBB0_25:
	movq	%r15, 16(%r15)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	4(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_8
## %bb.4:
	xorl	%ebx, %ebx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	80(%r15), %rcx
	movq	(%rcx,%rbx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rcx), %rdi
	callq	_nicvf_stop
	movq	80(%r15), %rax
	movq	$0, (%rax,%rbx,8)
	movl	4(%r15), %eax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_NIC_MBOX_MSG_SHUTDOWN,4,2      ## @NIC_MBOX_MSG_SHUTDOWN
	.comm	_NICVF_INTR_RBDR,4,2            ## @NICVF_INTR_RBDR
	.comm	_NICVF_INTR_QS_ERR,4,2          ## @NICVF_INTR_QS_ERR
	.comm	_NICVF_INTR_CQ,4,2              ## @NICVF_INTR_CQ
	.comm	_NICVF_INTR_MBOX,4,2            ## @NICVF_INTR_MBOX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nicvf_stop                     ; -- Begin function nicvf_stop
	.p2align	2
_nicvf_stop:                            ; @nicvf_stop
	.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
	mov	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	x22, [x0, #40]
	ldr	x8, [x0, #96]
	cbz	x8, LBB0_2
; %bb.1:
	add	x0, x19, #104
	bl	_cancel_delayed_work_sync
	ldr	x0, [x19, #96]
	bl	_drain_workqueue
LBB0_2:
Lloh0:
	adrp	x8, _NIC_MBOX_MSG_SHUTDOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NIC_MBOX_MSG_SHUTDOWN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_nicvf_send_msg_to_pf
	mov	x0, x20
	bl	_netif_carrier_off
	ldr	w0, [x19, #92]
	bl	_netif_tx_stop_all_queues
	str	wzr, [x19]
	ldr	w8, [x19, #88]
	cbz	w8, LBB0_22
LBB0_3:
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	w21, #0
Lloh3:
	adrp	x23, _NICVF_INTR_RBDR@GOTPAGE
Lloh4:
	ldr	x23, [x23, _NICVF_INTR_RBDR@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23]
	mov	x0, x19
	mov	x2, x21
	bl	_nicvf_disable_intr
	ldr	w1, [x23]
	mov	x0, x19
	mov	x2, x21
	bl	_nicvf_clear_intr
	add	w21, w21, #1
	ldr	w8, [x22]
	cmp	w21, w8
	b.lt	LBB0_5
LBB0_6:
Lloh5:
	adrp	x21, _NICVF_INTR_QS_ERR@GOTPAGE
Lloh6:
	ldr	x21, [x21, _NICVF_INTR_QS_ERR@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #0
	bl	_nicvf_disable_intr
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #0
	bl	_nicvf_clear_intr
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.7:
	mov	w21, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #72]
	mov	x1, x21
	bl	_pci_irq_vector
	bl	_synchronize_irq
	add	w21, w21, #1
	ldr	w8, [x19, #8]
	cmp	w21, w8
	b.lt	LBB0_8
LBB0_9:
	add	x0, x19, #68
	bl	_tasklet_kill
	add	x0, x19, #64
	bl	_tasklet_kill
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_11
; %bb.10:
	add	x0, x19, #48
	bl	_cancel_delayed_work_sync
LBB0_11:
	ldr	x8, [x19, #40]
	ldr	w9, [x8, #4]
	cmp	w9, #1
	b.lt	LBB0_16
; %bb.12:
	mov	x21, #0
Lloh7:
	adrp	x23, _NICVF_INTR_CQ@GOTPAGE
Lloh8:
	ldr	x23, [x23, _NICVF_INTR_CQ@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x21, x21, #1
	ldrsw	x9, [x8, #4]
	cmp	x21, x9
	b.ge	LBB0_16
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #32]
	ldr	x22, [x9, x21, lsl #3]
	cbz	x22, LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x22
	bl	_napi_synchronize
	ldr	w1, [x23]
	mov	x0, x19
	mov	x2, x21
	bl	_nicvf_disable_intr
	ldr	w1, [x23]
	mov	x0, x19
	mov	x2, x21
	bl	_nicvf_clear_intr
	mov	x0, x22
	bl	_napi_disable
	mov	x0, x22
	bl	_netif_napi_del
	ldr	x8, [x19, #40]
	b	LBB0_13
LBB0_16:
	mov	x0, x20
	bl	_netif_tx_disable
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_19
; %bb.17:
	mov	w21, #0
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_netdev_get_tx_queue
	bl	_netdev_tx_reset_queue
	add	w21, w21, #1
	ldr	w8, [x20]
	cmp	w21, w8
	b.lt	LBB0_18
LBB0_19:
	mov	x0, x19
	mov	w1, #0
	bl	_nicvf_config_data_transfer
	mov	x0, x19
	mov	w1, #0
	bl	_nicvf_qset_config
Lloh9:
	adrp	x8, _NICVF_INTR_MBOX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NICVF_INTR_MBOX@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_nicvf_disable_intr
	mov	x0, x19
	bl	_nicvf_unregister_interrupts
	mov	x0, x19
	bl	_nicvf_free_cq_poll
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_21
; %bb.20:
	bl	_dev_kfree_skb_any
	str	xzr, [x19, #24]
LBB0_21:
	str	x19, [x19, #16]
	mov	w0, #0
	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_22:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.23:
	mov	x21, #0
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	add	x21, x21, #1
	cmp	x21, w8, sxtw
	b.ge	LBB0_3
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #80]
	ldr	x9, [x9, x21, lsl #3]
	cbz	x9, LBB0_24
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	x0, [x9]
	bl	_nicvf_stop
	ldr	x8, [x19, #80]
	str	xzr, [x8, x21, lsl #3]
	ldr	w8, [x19, #4]
	b	LBB0_24
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_NIC_MBOX_MSG_SHUTDOWN,4,2      ; @NIC_MBOX_MSG_SHUTDOWN
	.comm	_NICVF_INTR_RBDR,4,2            ; @NICVF_INTR_RBDR
	.comm	_NICVF_INTR_QS_ERR,4,2          ; @NICVF_INTR_QS_ERR
	.comm	_NICVF_INTR_CQ,4,2              ; @NICVF_INTR_CQ
	.comm	_NICVF_INTR_MBOX,4,2            ; @NICVF_INTR_MBOX
.subsections_via_symbols
