	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_dis_vsi
_ice_dis_vsi:                           ## @ice_dis_vsi
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	___ICE_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbx), %esi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_8
## %bb.1:
	movq	___ICE_NEEDS_RESTART@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbx), %esi
	callq	_set_bit
	movq	(%rbx), %rax
	movq	_ICE_VSI_PF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.2:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.3:
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.7:
	movq	8(%rbx), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ice_stop                       ## TAILCALL
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ice_vsi_close                  ## TAILCALL
LBB0_5:
	xorl	%eax, %eax
	callq	_rtnl_lock
	movq	8(%rbx), %rdi
	callq	_ice_stop
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_rtnl_unlock                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	___ICE_DOWN,4,2                 ## @__ICE_DOWN
	.comm	___ICE_NEEDS_RESTART,4,2        ## @__ICE_NEEDS_RESTART
	.comm	_ICE_VSI_PF,8,3                 ## @ICE_VSI_PF
	.no_dead_strip	_ice_dis_vsi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ice_dis_vsi
_ice_dis_vsi:                           ; @ice_dis_vsi
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___ICE_DOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___ICE_DOWN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x19, #16]
	bl	_test_bit
	cbnz	x0, LBB0_6
; %bb.1:
Lloh3:
	adrp	x8, ___ICE_NEEDS_RESTART@GOTPAGE
Lloh4:
	ldr	x8, [x8, ___ICE_NEEDS_RESTART@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x19, #16]
	bl	_set_bit
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _ICE_VSI_PF@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ICE_VSI_PF@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.2:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_6
; %bb.3:
	bl	_netif_running
	cbz	x0, LBB0_7
; %bb.4:
	cbz	w20, LBB0_8
; %bb.5:
	ldr	x0, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ice_stop
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ice_vsi_close
LBB0_8:
	bl	_rtnl_lock
	ldr	x0, [x19, #8]
	bl	_ice_stop
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rtnl_unlock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	___ICE_DOWN,4,2                 ; @__ICE_DOWN
	.comm	___ICE_NEEDS_RESTART,4,2        ; @__ICE_NEEDS_RESTART
	.comm	_ICE_VSI_PF,8,3                 ; @ICE_VSI_PF
	.no_dead_strip	_ice_dis_vsi
.subsections_via_symbols
