	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_vsi_link_event
_ice_vsi_link_event:                    ## @ice_vsi_link_event
	.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
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	___ICE_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	12(%rbx), %esi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_2
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movl	8(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_7
## %bb.3:
	movq	(%rbx), %rax
	movq	_ICE_VSI_PF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.4:
	callq	_netif_carrier_ok
	cmpl	%r14d, %eax
	je	LBB0_7
## %bb.5:
	movl	8(%rbx), %edi
	testl	%r14d, %r14d
	je	LBB0_6
## %bb.8:
	callq	_netif_carrier_on
	movl	8(%rbx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_netif_tx_wake_all_queues       ## TAILCALL
LBB0_6:
	callq	_netif_carrier_off
	movl	8(%rbx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_netif_tx_stop_all_queues       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	___ICE_DOWN,4,2                 ## @__ICE_DOWN
	.comm	_ICE_VSI_PF,8,3                 ## @ICE_VSI_PF
	.no_dead_strip	_ice_vsi_link_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ice_vsi_link_event
_ice_vsi_link_event:                    ; @ice_vsi_link_event
	.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
	cbz	x0, LBB0_2
; %bb.1:
	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, #12]
	bl	_test_bit
	cbz	x0, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	w0, [x19, #8]
	cbz	w0, LBB0_2
; %bb.4:
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _ICE_VSI_PF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ICE_VSI_PF@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.5:
	bl	_netif_carrier_ok
	cmp	w0, w20
	b.eq	LBB0_2
; %bb.6:
	ldr	w0, [x19, #8]
	cbz	w20, LBB0_8
; %bb.7:
	bl	_netif_carrier_on
	ldr	w0, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_netif_tx_wake_all_queues
LBB0_8:
	bl	_netif_carrier_off
	ldr	w0, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_netif_tx_stop_all_queues
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	___ICE_DOWN,4,2                 ; @__ICE_DOWN
	.comm	_ICE_VSI_PF,8,3                 ; @ICE_VSI_PF
	.no_dead_strip	_ice_vsi_link_event
.subsections_via_symbols
