	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_clear_linkup_counters          ## -- Begin function clear_linkup_counters
	.p2align	4, 0x90
_clear_linkup_counters:                 ## @clear_linkup_counters
	.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, %rbx
	movq	_C_DC_RCV_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CNTR_INVALID_VL@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	xorl	%ecx, %ecx
	callq	_write_dev_cntr
	movq	_OPA_EI_STATUS_SMASK@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	notl	%eax
	andl	%eax, 16(%rbx)
	movq	_C_DC_SEQ_CRC_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_write_dev_cntr
	movq	_C_DC_REINIT_FROM_PEER_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_write_dev_cntr
	movq	_C_DC_RX_REPLAY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_write_dev_cntr
	movq	_C_RCV_OVF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_write_dev_cntr
	movq	$0, 8(%rbx)
	movl	(%r15), %eax
	notl	%eax
	andl	%eax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_C_DC_RCV_ERR,4,2               ## @C_DC_RCV_ERR
	.comm	_CNTR_INVALID_VL,4,2            ## @CNTR_INVALID_VL
	.comm	_OPA_EI_STATUS_SMASK,4,2        ## @OPA_EI_STATUS_SMASK
	.comm	_C_DC_SEQ_CRC_CNT,4,2           ## @C_DC_SEQ_CRC_CNT
	.comm	_C_DC_REINIT_FROM_PEER_CNT,4,2  ## @C_DC_REINIT_FROM_PEER_CNT
	.comm	_C_DC_RX_REPLAY,4,2             ## @C_DC_RX_REPLAY
	.comm	_C_RCV_OVF,4,2                  ## @C_RCV_OVF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_clear_linkup_counters          ; -- Begin function clear_linkup_counters
	.p2align	2
_clear_linkup_counters:                 ; @clear_linkup_counters
	.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
Lloh0:
	adrp	x8, _C_DC_RCV_ERR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _C_DC_RCV_ERR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x20, _CNTR_INVALID_VL@GOTPAGE
Lloh4:
	ldr	x20, [x20, _CNTR_INVALID_VL@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	w3, #0
	bl	_write_dev_cntr
Lloh5:
	adrp	x21, _OPA_EI_STATUS_SMASK@GOTPAGE
Lloh6:
	ldr	x21, [x21, _OPA_EI_STATUS_SMASK@GOTPAGEOFF]
	ldr	w8, [x21]
	ldr	w9, [x19, #16]
	bic	w8, w9, w8
	str	w8, [x19, #16]
Lloh7:
	adrp	x8, _C_DC_SEQ_CRC_CNT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _C_DC_SEQ_CRC_CNT@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w3, #0
	bl	_write_dev_cntr
Lloh10:
	adrp	x8, _C_DC_REINIT_FROM_PEER_CNT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _C_DC_REINIT_FROM_PEER_CNT@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w3, #0
	bl	_write_dev_cntr
Lloh13:
	adrp	x8, _C_DC_RX_REPLAY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _C_DC_RX_REPLAY@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w3, #0
	bl	_write_dev_cntr
Lloh16:
	adrp	x8, _C_RCV_OVF@GOTPAGE
Lloh17:
	ldr	x8, [x8, _C_RCV_OVF@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w3, #0
	bl	_write_dev_cntr
	str	xzr, [x19, #8]
	ldr	w8, [x21]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [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
	ret
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_C_DC_RCV_ERR,4,2               ; @C_DC_RCV_ERR
	.comm	_CNTR_INVALID_VL,4,2            ; @CNTR_INVALID_VL
	.comm	_OPA_EI_STATUS_SMASK,4,2        ; @OPA_EI_STATUS_SMASK
	.comm	_C_DC_SEQ_CRC_CNT,4,2           ; @C_DC_SEQ_CRC_CNT
	.comm	_C_DC_REINIT_FROM_PEER_CNT,4,2  ; @C_DC_REINIT_FROM_PEER_CNT
	.comm	_C_DC_RX_REPLAY,4,2             ; @C_DC_RX_REPLAY
	.comm	_C_RCV_OVF,4,2                  ; @C_RCV_OVF
.subsections_via_symbols
