	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nic_link_status_get
_nic_link_status_get:                   ## @nic_link_status_get
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_NIC_MBOX_MSG_BGX_LINK_CHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	8(%rdi), %rax
	movl	(%rax,%rsi,4), %edi
	callq	_NIC_GET_BGX_FROM_VF_LMAC_MAP
	movq	%rax, %r15
	movq	8(%rbx), %rax
	movl	(%rax,%r14,4), %edi
	callq	_NIC_GET_LMAC_FROM_VF_LMAC_MAP
	movl	(%rbx), %edi
	leaq	-64(%rbp), %rcx
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_bgx_get_lmac_link_state
	movaps	-64(%rbp), %xmm0
	movaps	%xmm0, -48(%rbp)
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_nic_send_msg_to_vf
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NIC_MBOX_MSG_BGX_LINK_CHANGE,4,2 ## @NIC_MBOX_MSG_BGX_LINK_CHANGE
	.no_dead_strip	_nic_link_status_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nic_link_status_get
_nic_link_status_get:                   ; @nic_link_status_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _NIC_MBOX_MSG_BGX_LINK_CHANGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NIC_MBOX_MSG_BGX_LINK_CHANGE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #32]
	ldr	x8, [x0, #8]
	lsl	x22, x1, #2
	ldr	w0, [x8, x22]
	bl	_NIC_GET_BGX_FROM_VF_LMAC_MAP
	mov	x21, x0
	ldr	x8, [x20, #8]
	ldr	w0, [x8, x22]
	bl	_NIC_GET_LMAC_FROM_VF_LMAC_MAP
	mov	x2, x0
	ldr	w0, [x20]
	mov	x3, sp
	mov	x1, x21
	bl	_bgx_get_lmac_link_state
	ldr	q0, [sp]
	str	q0, [sp, #16]
	add	x2, sp, #16
	mov	x0, x20
	mov	x1, x19
	bl	_nic_send_msg_to_vf
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NIC_MBOX_MSG_BGX_LINK_CHANGE,4,2 ; @NIC_MBOX_MSG_BGX_LINK_CHANGE
	.no_dead_strip	_nic_link_status_get
.subsections_via_symbols
