	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_ena_vsi
_ice_ena_vsi:                           ## @ice_ena_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	___ICE_NEEDS_RESTART@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	16(%rbx), %esi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movl	(%r15), %edi
	movl	16(%rbx), %esi
	callq	_clear_bit
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.2:
	movq	(%rbx), %rax
	movq	_ICE_VSI_PF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.3:
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.8:
	movq	8(%rbx), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ice_open                       ## TAILCALL
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	xorl	%eax, %eax
	callq	_rtnl_lock
	movq	8(%rbx), %rdi
	callq	_ice_open
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_rtnl_unlock
	movl	%ebx, %eax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	___ICE_NEEDS_RESTART,4,2        ## @__ICE_NEEDS_RESTART
	.comm	_ICE_VSI_PF,8,3                 ## @ICE_VSI_PF
	.no_dead_strip	_ice_ena_vsi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ice_ena_vsi
_ice_ena_vsi:                           ; @ice_ena_vsi
	.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, x1
	mov	x19, x0
Lloh0:
	adrp	x21, ___ICE_NEEDS_RESTART@GOTPAGE
Lloh1:
	ldr	x21, [x21, ___ICE_NEEDS_RESTART@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	w1, [x19, #16]
	bl	_test_bit
	cbz	w0, LBB0_6
; %bb.1:
	ldr	w0, [x21]
	ldr	w1, [x19, #16]
	bl	_clear_bit
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_6
; %bb.2:
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _ICE_VSI_PF@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ICE_VSI_PF@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.3:
	bl	_netif_running
	cbz	x0, LBB0_6
; %bb.4:
	cbz	w20, LBB0_8
; %bb.5:
	ldr	x0, [x19, #8]
	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	_ice_open
LBB0_6:
	mov	w0, #0
LBB0_7:
	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_8:
	bl	_rtnl_lock
	ldr	x0, [x19, #8]
	bl	_ice_open
	mov	x19, x0
	bl	_rtnl_unlock
	mov	x0, x19
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	___ICE_NEEDS_RESTART,4,2        ; @__ICE_NEEDS_RESTART
	.comm	_ICE_VSI_PF,8,3                 ; @ICE_VSI_PF
	.no_dead_strip	_ice_ena_vsi
.subsections_via_symbols
