	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enic_stop
_enic_stop:                             ## @enic_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %r15
	cmpl	$0, (%rax)
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rdi
	addq	%rbx, %rdi
	callq	_vnic_intr_mask
	movq	16(%r15), %rdi
	addq	%rbx, %rdi
	callq	_vnic_intr_masked
	incq	%r12
	movl	(%r15), %eax
	addq	$4, %rbx
	cmpq	%rax, %r12
	jb	LBB0_2
LBB0_3:
	movq	%r15, %rdi
	callq	_enic_synchronize_irqs
	movq	%r15, %rdi
	addq	$56, %rdi
	callq	_del_timer_sync
	movq	%r15, %rdi
	callq	_enic_dev_disable
	cmpl	$0, 4(%r15)
	je	LBB0_6
## %bb.4:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	48(%r15), %rdi
	addq	%r12, %rdi
	callq	_napi_disable
	incq	%rbx
	movl	4(%r15), %eax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jb	LBB0_5
LBB0_6:
	movq	%r14, %rdi
	callq	_netif_carrier_off
	movq	%r14, %rdi
	callq	_netif_tx_disable
	movq	%r15, %rdi
	callq	_enic_is_dynamic
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	%r15, %rdi
	callq	_enic_is_sriov_vf
	testl	%eax, %eax
	je	LBB0_32
LBB0_8:
	cmpl	$0, 8(%r15)
	je	LBB0_12
LBB0_9:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	40(%r15), %rdi
	addq	%r12, %rdi
	callq	_vnic_wq_disable
	testl	%eax, %eax
	jne	LBB0_29
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	incq	%rbx
	movl	8(%r15), %eax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jb	LBB0_10
LBB0_12:
	cmpl	$0, 4(%r15)
	je	LBB0_16
## %bb.13:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	32(%r15), %rdi
	addq	%r12, %rdi
	callq	_vnic_rq_disable
	testl	%eax, %eax
	jne	LBB0_29
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	incq	%rbx
	movl	4(%r15), %eax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jb	LBB0_14
LBB0_16:
	movq	%r15, %rdi
	callq	_enic_dev_notify_unset
	movq	%r15, %rdi
	callq	_enic_free_intr
	cmpl	$0, 8(%r15)
	je	LBB0_19
## %bb.17:
	xorl	%r12d, %r12d
	movq	_enic_free_wq_buf@GOTPCREL(%rip), %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	40(%r15), %rdi
	addq	%r12, %rdi
	movl	(%r14), %esi
	callq	_vnic_wq_clean
	incq	%rbx
	movl	8(%r15), %eax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jb	LBB0_18
LBB0_19:
	cmpl	$0, 4(%r15)
	je	LBB0_22
## %bb.20:
	xorl	%r12d, %r12d
	movq	_enic_free_rq_buf@GOTPCREL(%rip), %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	32(%r15), %rdi
	addq	%r12, %rdi
	movl	(%r14), %esi
	callq	_vnic_rq_clean
	incq	%rbx
	movl	4(%r15), %eax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jb	LBB0_21
LBB0_22:
	cmpl	$0, 12(%r15)
	je	LBB0_25
## %bb.23:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%r15), %rdi
	addq	%r14, %rdi
	callq	_vnic_cq_clean
	incq	%rbx
	movl	12(%r15), %eax
	addq	$4, %r14
	cmpq	%rax, %rbx
	jb	LBB0_24
LBB0_25:
	cmpl	$0, (%r15)
	je	LBB0_30
## %bb.26:
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rdi
	addq	%r12, %rdi
	callq	_vnic_intr_clean
	incq	%rbx
	movl	(%r15), %eax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jb	LBB0_27
	jmp	LBB0_31
LBB0_29:
	movl	%eax, %r14d
	jmp	LBB0_31
LBB0_30:
	xorl	%r14d, %r14d
LBB0_31:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_32:
	movq	%r15, %rdi
	callq	_enic_dev_del_station_addr
	cmpl	$0, 8(%r15)
	jne	LBB0_9
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_enic_free_wq_buf,4,2           ## @enic_free_wq_buf
	.comm	_enic_free_rq_buf,4,2           ## @enic_free_rq_buf
	.no_dead_strip	_enic_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enic_stop
_enic_stop:                             ; @enic_stop
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x21, #0
	mov	x22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	add	x0, x8, x21
	bl	_vnic_intr_mask
	ldr	x8, [x19, #16]
	add	x0, x8, x21
	bl	_vnic_intr_masked
	add	x22, x22, #1
	ldr	w8, [x19]
	add	x21, x21, #4
	cmp	x22, x8
	b.lo	LBB0_2
LBB0_3:
	mov	x0, x19
	bl	_enic_synchronize_irqs
	add	x0, x19, #56
	bl	_del_timer_sync
	mov	x0, x19
	bl	_enic_dev_disable
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_6
; %bb.4:
	mov	x21, #0
	mov	x22, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #48]
	add	x0, x8, x21
	bl	_napi_disable
	add	x22, x22, #1
	ldr	w8, [x19, #4]
	add	x21, x21, #4
	cmp	x22, x8
	b.lo	LBB0_5
LBB0_6:
	mov	x0, x20
	bl	_netif_carrier_off
	mov	x0, x20
	bl	_netif_tx_disable
	mov	x0, x19
	bl	_enic_is_dynamic
	cbnz	w0, LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_enic_is_sriov_vf
	cbz	w0, LBB0_30
LBB0_8:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_12
LBB0_9:
	mov	x20, #0
	mov	x21, #0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #40]
	add	x0, x8, x20
	bl	_vnic_wq_disable
	cbnz	w0, LBB0_29
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x21, x21, #1
	ldr	w8, [x19, #8]
	add	x20, x20, #4
	cmp	x21, x8
	b.lo	LBB0_10
LBB0_12:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_16
; %bb.13:
	mov	x20, #0
	mov	x21, #0
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #32]
	add	x0, x8, x20
	bl	_vnic_rq_disable
	cbnz	w0, LBB0_29
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x21, x21, #1
	ldr	w8, [x19, #4]
	add	x20, x20, #4
	cmp	x21, x8
	b.lo	LBB0_14
LBB0_16:
	mov	x0, x19
	bl	_enic_dev_notify_unset
	mov	x0, x19
	bl	_enic_free_intr
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_19
; %bb.17:
	mov	x20, #0
	mov	x21, #0
Lloh0:
	adrp	x22, _enic_free_wq_buf@GOTPAGE
Lloh1:
	ldr	x22, [x22, _enic_free_wq_buf@GOTPAGEOFF]
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #40]
	add	x0, x8, x20
	ldr	w1, [x22]
	bl	_vnic_wq_clean
	add	x21, x21, #1
	ldr	w8, [x19, #8]
	add	x20, x20, #4
	cmp	x21, x8
	b.lo	LBB0_18
LBB0_19:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_22
; %bb.20:
	mov	x20, #0
	mov	x21, #0
Lloh2:
	adrp	x22, _enic_free_rq_buf@GOTPAGE
Lloh3:
	ldr	x22, [x22, _enic_free_rq_buf@GOTPAGEOFF]
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #32]
	add	x0, x8, x20
	ldr	w1, [x22]
	bl	_vnic_rq_clean
	add	x21, x21, #1
	ldr	w8, [x19, #4]
	add	x20, x20, #4
	cmp	x21, x8
	b.lo	LBB0_21
LBB0_22:
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_25
; %bb.23:
	mov	x20, #0
	mov	x21, #0
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	add	x0, x8, x20
	bl	_vnic_cq_clean
	add	x21, x21, #1
	ldr	w8, [x19, #12]
	add	x20, x20, #4
	cmp	x21, x8
	b.lo	LBB0_24
LBB0_25:
	ldr	w8, [x19]
	cbz	w8, LBB0_28
; %bb.26:
	mov	x20, #0
	mov	x21, #0
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	add	x0, x8, x20
	bl	_vnic_intr_clean
	add	x21, x21, #1
	ldr	w8, [x19]
	add	x20, x20, #4
	cmp	x21, x8
	b.lo	LBB0_27
LBB0_28:
	mov	w0, #0
LBB0_29:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_30:
	mov	x0, x19
	bl	_enic_dev_del_station_addr
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_9
	b	LBB0_12
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_enic_free_wq_buf,4,2           ; @enic_free_wq_buf
	.comm	_enic_free_rq_buf,4,2           ; @enic_free_rq_buf
	.no_dead_strip	_enic_stop
.subsections_via_symbols
