	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pma_set_portcounters
_pma_set_portcounters:                  ## @pma_set_portcounters
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	(%rdi), %r13
	movq	%rsi, %rdi
	movl	%edx, %esi
	callq	_to_iport
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_ppd_from_ibp
	leaq	-96(%rbp), %rsi
	movq	%rax, %rdi
	callq	_qib_get_counters
	movl	(%r13), %eax
	movq	_IB_PMA_SEL_SYMBOL_ERROR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movl	-48(%rbp), %ecx
	movl	%ecx, 60(%rbx)
LBB0_2:
	movq	_IB_PMA_SEL_LINK_ERROR_RECOVERY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movl	-52(%rbp), %ecx
	movl	%ecx, 56(%rbx)
LBB0_4:
	movq	_IB_PMA_SEL_LINK_DOWNED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movl	-56(%rbp), %ecx
	movl	%ecx, 52(%rbx)
LBB0_6:
	movq	_IB_PMA_SEL_PORT_RCV_ERRORS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.7:
	movl	-60(%rbp), %ecx
	movl	%ecx, 48(%rbx)
LBB0_8:
	movq	_IB_PMA_SEL_PORT_RCV_REMPHYS_ERRORS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_10
## %bb.9:
	movl	-64(%rbp), %ecx
	movl	%ecx, 44(%rbx)
LBB0_10:
	movq	_IB_PMA_SEL_PORT_XMIT_DISCARDS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
## %bb.11:
	movl	-68(%rbp), %ecx
	movl	%ecx, 40(%rbx)
LBB0_12:
	movq	_IB_PMA_SEL_LOCAL_LINK_INTEGRITY_ERRORS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_14
## %bb.13:
	movl	-72(%rbp), %ecx
	movl	%ecx, 36(%rbx)
LBB0_14:
	movq	_IB_PMA_SEL_EXCESSIVE_BUFFER_OVERRUNS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_16
## %bb.15:
	movl	-76(%rbp), %ecx
	movl	%ecx, 32(%rbx)
LBB0_16:
	movq	_IB_PMA_SEL_PORT_VL15_DROPPED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_18
## %bb.17:
	movq	$0, 24(%rbx)
	movl	-80(%rbp), %ecx
	movl	%ecx, 16(%rbx)
LBB0_18:
	movq	_IB_PMA_SEL_PORT_XMIT_DATA@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_20
## %bb.19:
	movl	-84(%rbp), %ecx
	movl	%ecx, 12(%rbx)
LBB0_20:
	movq	_IB_PMA_SEL_PORT_RCV_DATA@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_22
## %bb.21:
	movl	-88(%rbp), %ecx
	movl	%ecx, 8(%rbx)
LBB0_22:
	movq	_IB_PMA_SEL_PORT_XMIT_PACKETS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_24
## %bb.23:
	movl	-92(%rbp), %ecx
	movl	%ecx, 4(%rbx)
LBB0_24:
	movq	_IB_PMA_SEL_PORT_RCV_PACKETS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_26
## %bb.25:
	movl	-96(%rbp), %eax
	movl	%eax, (%rbx)
LBB0_26:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_pma_get_portcounters
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_PMA_SEL_SYMBOL_ERROR,4,2    ## @IB_PMA_SEL_SYMBOL_ERROR
	.comm	_IB_PMA_SEL_LINK_ERROR_RECOVERY,4,2 ## @IB_PMA_SEL_LINK_ERROR_RECOVERY
	.comm	_IB_PMA_SEL_LINK_DOWNED,4,2     ## @IB_PMA_SEL_LINK_DOWNED
	.comm	_IB_PMA_SEL_PORT_RCV_ERRORS,4,2 ## @IB_PMA_SEL_PORT_RCV_ERRORS
	.comm	_IB_PMA_SEL_PORT_RCV_REMPHYS_ERRORS,4,2 ## @IB_PMA_SEL_PORT_RCV_REMPHYS_ERRORS
	.comm	_IB_PMA_SEL_PORT_XMIT_DISCARDS,4,2 ## @IB_PMA_SEL_PORT_XMIT_DISCARDS
	.comm	_IB_PMA_SEL_LOCAL_LINK_INTEGRITY_ERRORS,4,2 ## @IB_PMA_SEL_LOCAL_LINK_INTEGRITY_ERRORS
	.comm	_IB_PMA_SEL_EXCESSIVE_BUFFER_OVERRUNS,4,2 ## @IB_PMA_SEL_EXCESSIVE_BUFFER_OVERRUNS
	.comm	_IB_PMA_SEL_PORT_VL15_DROPPED,4,2 ## @IB_PMA_SEL_PORT_VL15_DROPPED
	.comm	_IB_PMA_SEL_PORT_XMIT_DATA,4,2  ## @IB_PMA_SEL_PORT_XMIT_DATA
	.comm	_IB_PMA_SEL_PORT_RCV_DATA,4,2   ## @IB_PMA_SEL_PORT_RCV_DATA
	.comm	_IB_PMA_SEL_PORT_XMIT_PACKETS,4,2 ## @IB_PMA_SEL_PORT_XMIT_PACKETS
	.comm	_IB_PMA_SEL_PORT_RCV_PACKETS,4,2 ## @IB_PMA_SEL_PORT_RCV_PACKETS
	.no_dead_strip	_pma_set_portcounters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pma_set_portcounters
_pma_set_portcounters:                  ; @pma_set_portcounters
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x23, [x0]
	mov	x0, x1
	mov	x1, x2
	bl	_to_iport
	mov	x22, x0
	bl	_ppd_from_ibp
	add	x1, sp, #8
	bl	_qib_get_counters
	ldr	w8, [x23]
Lloh0:
	adrp	x9, _IB_PMA_SEL_SYMBOL_ERROR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_PMA_SEL_SYMBOL_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w9, [sp, #56]
	str	w9, [x22, #60]
LBB0_2:
Lloh3:
	adrp	x9, _IB_PMA_SEL_LINK_ERROR_RECOVERY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IB_PMA_SEL_LINK_ERROR_RECOVERY@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	w9, [sp, #52]
	str	w9, [x22, #56]
LBB0_4:
Lloh6:
	adrp	x9, _IB_PMA_SEL_LINK_DOWNED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IB_PMA_SEL_LINK_DOWNED@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	ldr	w9, [sp, #48]
	str	w9, [x22, #52]
LBB0_6:
Lloh9:
	adrp	x9, _IB_PMA_SEL_PORT_RCV_ERRORS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IB_PMA_SEL_PORT_RCV_ERRORS@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	ldr	w9, [sp, #44]
	str	w9, [x22, #48]
LBB0_8:
Lloh12:
	adrp	x9, _IB_PMA_SEL_PORT_RCV_REMPHYS_ERRORS@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IB_PMA_SEL_PORT_RCV_REMPHYS_ERRORS@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.9:
	ldr	w9, [sp, #40]
	str	w9, [x22, #44]
LBB0_10:
Lloh15:
	adrp	x9, _IB_PMA_SEL_PORT_XMIT_DISCARDS@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IB_PMA_SEL_PORT_XMIT_DISCARDS@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:
	ldr	w9, [sp, #36]
	str	w9, [x22, #40]
LBB0_12:
Lloh18:
	adrp	x9, _IB_PMA_SEL_LOCAL_LINK_INTEGRITY_ERRORS@GOTPAGE
Lloh19:
	ldr	x9, [x9, _IB_PMA_SEL_LOCAL_LINK_INTEGRITY_ERRORS@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.13:
	ldr	w9, [sp, #32]
	str	w9, [x22, #36]
LBB0_14:
Lloh21:
	adrp	x9, _IB_PMA_SEL_EXCESSIVE_BUFFER_OVERRUNS@GOTPAGE
Lloh22:
	ldr	x9, [x9, _IB_PMA_SEL_EXCESSIVE_BUFFER_OVERRUNS@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.15:
	ldr	w9, [sp, #28]
	str	w9, [x22, #32]
LBB0_16:
Lloh24:
	adrp	x9, _IB_PMA_SEL_PORT_VL15_DROPPED@GOTPAGE
Lloh25:
	ldr	x9, [x9, _IB_PMA_SEL_PORT_VL15_DROPPED@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.17:
	str	xzr, [x22, #24]
	ldr	w9, [sp, #24]
	str	w9, [x22, #16]
LBB0_18:
Lloh27:
	adrp	x9, _IB_PMA_SEL_PORT_XMIT_DATA@GOTPAGE
Lloh28:
	ldr	x9, [x9, _IB_PMA_SEL_PORT_XMIT_DATA@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_20
; %bb.19:
	ldr	w9, [sp, #20]
	str	w9, [x22, #12]
LBB0_20:
Lloh30:
	adrp	x9, _IB_PMA_SEL_PORT_RCV_DATA@GOTPAGE
Lloh31:
	ldr	x9, [x9, _IB_PMA_SEL_PORT_RCV_DATA@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_22
; %bb.21:
	ldr	w9, [sp, #16]
	str	w9, [x22, #8]
LBB0_22:
Lloh33:
	adrp	x9, _IB_PMA_SEL_PORT_XMIT_PACKETS@GOTPAGE
Lloh34:
	ldr	x9, [x9, _IB_PMA_SEL_PORT_XMIT_PACKETS@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_24
; %bb.23:
	ldr	w9, [sp, #12]
	str	w9, [x22, #4]
LBB0_24:
Lloh36:
	adrp	x9, _IB_PMA_SEL_PORT_RCV_PACKETS@GOTPAGE
Lloh37:
	ldr	x9, [x9, _IB_PMA_SEL_PORT_RCV_PACKETS@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_26
; %bb.25:
	ldr	w8, [sp, #8]
	str	w8, [x22]
LBB0_26:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_pma_get_portcounters
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_PMA_SEL_SYMBOL_ERROR,4,2    ; @IB_PMA_SEL_SYMBOL_ERROR
	.comm	_IB_PMA_SEL_LINK_ERROR_RECOVERY,4,2 ; @IB_PMA_SEL_LINK_ERROR_RECOVERY
	.comm	_IB_PMA_SEL_LINK_DOWNED,4,2     ; @IB_PMA_SEL_LINK_DOWNED
	.comm	_IB_PMA_SEL_PORT_RCV_ERRORS,4,2 ; @IB_PMA_SEL_PORT_RCV_ERRORS
	.comm	_IB_PMA_SEL_PORT_RCV_REMPHYS_ERRORS,4,2 ; @IB_PMA_SEL_PORT_RCV_REMPHYS_ERRORS
	.comm	_IB_PMA_SEL_PORT_XMIT_DISCARDS,4,2 ; @IB_PMA_SEL_PORT_XMIT_DISCARDS
	.comm	_IB_PMA_SEL_LOCAL_LINK_INTEGRITY_ERRORS,4,2 ; @IB_PMA_SEL_LOCAL_LINK_INTEGRITY_ERRORS
	.comm	_IB_PMA_SEL_EXCESSIVE_BUFFER_OVERRUNS,4,2 ; @IB_PMA_SEL_EXCESSIVE_BUFFER_OVERRUNS
	.comm	_IB_PMA_SEL_PORT_VL15_DROPPED,4,2 ; @IB_PMA_SEL_PORT_VL15_DROPPED
	.comm	_IB_PMA_SEL_PORT_XMIT_DATA,4,2  ; @IB_PMA_SEL_PORT_XMIT_DATA
	.comm	_IB_PMA_SEL_PORT_RCV_DATA,4,2   ; @IB_PMA_SEL_PORT_RCV_DATA
	.comm	_IB_PMA_SEL_PORT_XMIT_PACKETS,4,2 ; @IB_PMA_SEL_PORT_XMIT_PACKETS
	.comm	_IB_PMA_SEL_PORT_RCV_PACKETS,4,2 ; @IB_PMA_SEL_PORT_RCV_PACKETS
	.no_dead_strip	_pma_set_portcounters
.subsections_via_symbols
