	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pma_get_opa_port_ectrs
_pma_get_opa_port_ectrs:                ## @pma_get_opa_port_ectrs
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_dd_from_ibdev
	movq	%rax, %r14
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_to_iport
	movq	%rax, %rdi
	callq	_ppd_from_ibp
	movq	%rax, %r15
	movq	_C_DC_SEQ_CRC_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CNTR_INVALID_VL@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%r14, %rdi
	callq	_read_dev_cntr
	movq	%rax, %rbx
	movq	_C_DC_REINIT_FROM_PEER_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%r14, %rdi
	callq	_read_dev_cntr
	addq	%rax, %rbx
	movq	_UINT_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rbx
	movq	$-1, %rcx
	cmovgq	%rcx, %rbx
	testq	%rax, %rax
	cmovsq	%rcx, %rbx
	movq	%rbx, %rdi
	callq	_cpu_to_be32
	movq	%rax, 72(%r12)
	movq	_C_SW_LINK_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%r15, %rdi
	callq	_read_port_cntr
	movq	%rax, %rdi
	callq	_cpu_to_be32
	movq	%rax, 64(%r12)
	movq	_C_DC_RCV_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%r14, %rdi
	callq	_read_dev_cntr
	movq	%rax, %rdi
	callq	_cpu_to_be64
	movq	%rax, 56(%r12)
	movq	_C_DC_RMT_PHY_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%r14, %rdi
	callq	_read_dev_cntr
	movq	%rax, %rdi
	callq	_cpu_to_be64
	movq	%rax, 48(%r12)
	movq	$0, 40(%r12)
	movq	_C_SW_XMIT_DSCD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%r15, %rdi
	callq	_read_port_cntr
	movq	%rax, %rdi
	callq	_cpu_to_be64
	movq	%rax, 32(%r12)
	movq	_C_SW_XMIT_CSTR_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%r15, %rdi
	callq	_read_port_cntr
	movq	%rax, %rdi
	callq	_cpu_to_be64
	movq	%rax, 24(%r12)
	movq	_C_SW_RCV_CSTR_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%r15, %rdi
	callq	_read_port_cntr
	movq	%rax, %rdi
	callq	_cpu_to_be64
	movq	%rax, 16(%r12)
	movq	_C_DC_RX_REPLAY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%r14, %rdi
	callq	_read_dev_cntr
	movq	%rax, %rdi
	callq	_cpu_to_be64
	movq	%rax, 8(%r12)
	movq	_C_RCV_OVF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%r14, %rdi
	callq	_read_dev_cntr
	movq	%rax, %rdi
	callq	_cpu_to_be64
	movq	%rax, (%r12)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_C_DC_SEQ_CRC_CNT,4,2           ## @C_DC_SEQ_CRC_CNT
	.comm	_CNTR_INVALID_VL,4,2            ## @CNTR_INVALID_VL
	.comm	_C_DC_REINIT_FROM_PEER_CNT,4,2  ## @C_DC_REINIT_FROM_PEER_CNT
	.comm	_UINT_MAX,8,3                   ## @UINT_MAX
	.comm	_C_SW_LINK_DOWN,4,2             ## @C_SW_LINK_DOWN
	.comm	_C_DC_RCV_ERR,4,2               ## @C_DC_RCV_ERR
	.comm	_C_DC_RMT_PHY_ERR,4,2           ## @C_DC_RMT_PHY_ERR
	.comm	_C_SW_XMIT_DSCD,4,2             ## @C_SW_XMIT_DSCD
	.comm	_C_SW_XMIT_CSTR_ERR,4,2         ## @C_SW_XMIT_CSTR_ERR
	.comm	_C_SW_RCV_CSTR_ERR,4,2          ## @C_SW_RCV_CSTR_ERR
	.comm	_C_DC_RX_REPLAY,4,2             ## @C_DC_RX_REPLAY
	.comm	_C_RCV_OVF,4,2                  ## @C_RCV_OVF
	.no_dead_strip	_pma_get_opa_port_ectrs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pma_get_opa_port_ectrs
_pma_get_opa_port_ectrs:                ; @pma_get_opa_port_ectrs
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
	bl	_dd_from_ibdev
	mov	x20, x0
	mov	x0, x22
	mov	x1, x21
	bl	_to_iport
	bl	_ppd_from_ibp
	mov	x21, x0
Lloh0:
	adrp	x8, _C_DC_SEQ_CRC_CNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _C_DC_SEQ_CRC_CNT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x23, _CNTR_INVALID_VL@GOTPAGE
Lloh4:
	ldr	x23, [x23, _CNTR_INVALID_VL@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x20
	bl	_read_dev_cntr
	mov	x22, x0
Lloh5:
	adrp	x8, _C_DC_REINIT_FROM_PEER_CNT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _C_DC_REINIT_FROM_PEER_CNT@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	w2, [x23]
	mov	x0, x20
	bl	_read_dev_cntr
Lloh8:
	adrp	x8, _UINT_MAX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _UINT_MAX@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	add	x9, x0, x22
	cmp	x9, x8
	ccmp	x0, #0, #8, le
	csinv	x0, x9, xzr, ge
	bl	_cpu_to_be32
	str	x0, [x19, #72]
Lloh11:
	adrp	x8, _C_SW_LINK_DOWN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _C_SW_LINK_DOWN@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	w2, [x23]
	mov	x0, x21
	bl	_read_port_cntr
	bl	_cpu_to_be32
	str	x0, [x19, #64]
Lloh14:
	adrp	x8, _C_DC_RCV_ERR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _C_DC_RCV_ERR@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldr	w2, [x23]
	mov	x0, x20
	bl	_read_dev_cntr
	bl	_cpu_to_be64
	str	x0, [x19, #56]
Lloh17:
	adrp	x8, _C_DC_RMT_PHY_ERR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _C_DC_RMT_PHY_ERR@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	ldr	w2, [x23]
	mov	x0, x20
	bl	_read_dev_cntr
	bl	_cpu_to_be64
	stp	xzr, x0, [x19, #40]
Lloh20:
	adrp	x8, _C_SW_XMIT_DSCD@GOTPAGE
Lloh21:
	ldr	x8, [x8, _C_SW_XMIT_DSCD@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	ldr	w2, [x23]
	mov	x0, x21
	bl	_read_port_cntr
	bl	_cpu_to_be64
	str	x0, [x19, #32]
Lloh23:
	adrp	x8, _C_SW_XMIT_CSTR_ERR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _C_SW_XMIT_CSTR_ERR@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	ldr	w2, [x23]
	mov	x0, x21
	bl	_read_port_cntr
	bl	_cpu_to_be64
	str	x0, [x19, #24]
Lloh26:
	adrp	x8, _C_SW_RCV_CSTR_ERR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _C_SW_RCV_CSTR_ERR@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	ldr	w2, [x23]
	mov	x0, x21
	bl	_read_port_cntr
	bl	_cpu_to_be64
	str	x0, [x19, #16]
Lloh29:
	adrp	x8, _C_DC_RX_REPLAY@GOTPAGE
Lloh30:
	ldr	x8, [x8, _C_DC_RX_REPLAY@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	ldr	w2, [x23]
	mov	x0, x20
	bl	_read_dev_cntr
	bl	_cpu_to_be64
	str	x0, [x19, #8]
Lloh32:
	adrp	x8, _C_RCV_OVF@GOTPAGE
Lloh33:
	ldr	x8, [x8, _C_RCV_OVF@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	ldr	w2, [x23]
	mov	x0, x20
	bl	_read_dev_cntr
	bl	_cpu_to_be64
	str	x0, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_C_DC_SEQ_CRC_CNT,4,2           ; @C_DC_SEQ_CRC_CNT
	.comm	_CNTR_INVALID_VL,4,2            ; @CNTR_INVALID_VL
	.comm	_C_DC_REINIT_FROM_PEER_CNT,4,2  ; @C_DC_REINIT_FROM_PEER_CNT
	.comm	_UINT_MAX,8,3                   ; @UINT_MAX
	.comm	_C_SW_LINK_DOWN,4,2             ; @C_SW_LINK_DOWN
	.comm	_C_DC_RCV_ERR,4,2               ; @C_DC_RCV_ERR
	.comm	_C_DC_RMT_PHY_ERR,4,2           ; @C_DC_RMT_PHY_ERR
	.comm	_C_SW_XMIT_DSCD,4,2             ; @C_SW_XMIT_DSCD
	.comm	_C_SW_XMIT_CSTR_ERR,4,2         ; @C_SW_XMIT_CSTR_ERR
	.comm	_C_SW_RCV_CSTR_ERR,4,2          ; @C_SW_RCV_CSTR_ERR
	.comm	_C_DC_RX_REPLAY,4,2             ; @C_DC_RX_REPLAY
	.comm	_C_RCV_OVF,4,2                  ; @C_RCV_OVF
	.no_dead_strip	_pma_get_opa_port_ectrs
.subsections_via_symbols
