	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enic_dev_deinit
_enic_dev_deinit:                       ## @enic_dev_deinit
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	cmpl	$0, (%rdi)
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rdi
	addq	%rbx, %rdi
	callq	_napi_hash_del
	movq	8(%r14), %rdi
	addq	%rbx, %rdi
	callq	_netif_napi_del
	incq	%r15
	movl	(%r14), %eax
	addq	$4, %rbx
	cmpq	%rax, %r15
	jb	LBB0_2
LBB0_3:
	movl	16(%r14), %edi
	callq	_vnic_dev_get_intr_mode
	movq	_VNIC_DEV_INTR_MODE_MSIX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.4:
	cmpl	$0, 4(%r14)
	je	LBB0_7
## %bb.5:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %r15
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_enic_cq_wq
	leaq	(%r15,%rax,4), %rdi
	callq	_netif_napi_del
	incl	%ebx
	cmpl	4(%r14), %ebx
	jb	LBB0_6
LBB0_7:
	movq	%r14, %rdi
	callq	_enic_free_vnic_resources
	movq	%r14, %rdi
	callq	_enic_clear_intr_mode
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_enic_free_affinity_hint        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VNIC_DEV_INTR_MODE_MSIX,8,3    ## @VNIC_DEV_INTR_MODE_MSIX
	.no_dead_strip	_enic_dev_deinit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enic_dev_deinit
_enic_dev_deinit:                       ; @enic_dev_deinit
	.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	x19, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x20, #0
	mov	x21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x0, x8, x20
	bl	_napi_hash_del
	ldr	x8, [x19, #8]
	add	x0, x8, x20
	bl	_netif_napi_del
	add	x21, x21, #1
	ldr	w8, [x19]
	add	x20, x20, #4
	cmp	x21, x8
	b.lo	LBB0_2
LBB0_3:
	ldr	w0, [x19, #16]
	bl	_vnic_dev_get_intr_mode
Lloh0:
	adrp	x8, _VNIC_DEV_INTR_MODE_MSIX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VNIC_DEV_INTR_MODE_MSIX@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.4:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_7
; %bb.5:
	mov	w20, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x19, #8]
	mov	x0, x19
	mov	x1, x20
	bl	_enic_cq_wq
	add	x0, x21, x0, lsl #2
	bl	_netif_napi_del
	add	w20, w20, #1
	ldr	w8, [x19, #4]
	cmp	w20, w8
	b.lo	LBB0_6
LBB0_7:
	mov	x0, x19
	bl	_enic_free_vnic_resources
	mov	x0, x19
	bl	_enic_clear_intr_mode
	mov	x0, x19
	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
	b	_enic_free_affinity_hint
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VNIC_DEV_INTR_MODE_MSIX,8,3    ; @VNIC_DEV_INTR_MODE_MSIX
	.no_dead_strip	_enic_dev_deinit
.subsections_via_symbols
