	.file	"extr_perfquery.c_output_aggregate_perfcounters_ext.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"# Port extended counters: %s port %d (CapMask: 0x%02X CapMask2: 0x%07X)\n%s"
	.text
	.p2align 4
	.type	output_aggregate_perfcounters_ext, @function
output_aggregate_perfcounters_ext:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, esi
	xor	esi, esi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, edx
	mov	edx, 1536
	sub	rsp, 1576
	.cfi_def_cfa_offset 1632
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 1560[rsp], rax
	xor	eax, eax
	lea	r13, 16[rsp]
	mov	eax, DWORD PTR ALL_PORTS[rip]
	mov	rdi, r13
	mov	DWORD PTR 12[rsp], eax
	call	memset@PLT
	mov	esi, DWORD PTR IB_PC_EXT_PORT_SELECT_F[rip]
	mov	edi, DWORD PTR pc[rip]
	lea	rdx, 12[rsp]
	call	mad_encode_field@PLT
	mov	esi, DWORD PTR IB_PC_EXT_COUNTER_SELECT_F[rip]
	mov	edi, DWORD PTR pc[rip]
	lea	rdx, perf_count_ext[rip]
	call	mad_encode_field@PLT
	mov	esi, DWORD PTR IB_PC_EXT_XMT_BYTES_F[rip]
	mov	edi, DWORD PTR pc[rip]
	lea	rdx, perf_count_ext[rip+4]
	call	mad_encode_field@PLT
	mov	esi, DWORD PTR IB_PC_EXT_RCV_BYTES_F[rip]
	mov	edi, DWORD PTR pc[rip]
	lea	rdx, perf_count_ext[rip+8]
	call	mad_encode_field@PLT
	mov	esi, DWORD PTR IB_PC_EXT_XMT_PKTS_F[rip]
	mov	edi, DWORD PTR pc[rip]
	lea	rdx, perf_count_ext[rip+12]
	call	mad_encode_field@PLT
	mov	esi, DWORD PTR IB_PC_EXT_RCV_PKTS_F[rip]
	mov	edi, DWORD PTR pc[rip]
	lea	rdx, perf_count_ext[rip+16]
	call	mad_encode_field@PLT
	test	DWORD PTR IB_PM_EXT_WIDTH_SUPPORTED[rip], ebp
	jne	.L13
	mov	edi, ebx
	call	htonl@PLT
	test	DWORD PTR IB_PM_IS_ADDL_PORT_CTRS_EXT_SUP[rip], eax
	jne	.L14
.L3:
	mov	edx, DWORD PTR pc[rip]
	mov	ecx, 4
	mov	esi, 1536
	mov	rdi, r13
	call	mad_dump_perfcounters_ext@PLT
	mov	edi, ebp
	call	ntohs@PLT
	mov	r15d, DWORD PTR ALL_PORTS[rip]
	mov	rdi, r14
	mov	r12d, eax
	call	portid2str@PLT
	mov	r9, r13
	mov	r8d, ebx
	mov	ecx, r12d
	mov	rsi, rax
	mov	edx, r15d
	lea	rdi, .LC0[rip]
	call	printf@PLT
	mov	rax, QWORD PTR 1560[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	add	rsp, 1576
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	esi, DWORD PTR IB_PC_EXT_XMT_UPKTS_F[rip]
	mov	edi, DWORD PTR pc[rip]
	lea	rdx, perf_count_ext[rip+20]
	call	mad_encode_field@PLT
	mov	esi, DWORD PTR IB_PC_EXT_RCV_UPKTS_F[rip]
	mov	edi, DWORD PTR pc[rip]
	lea	rdx, perf_count_ext[rip+24]
	call	mad_encode_field@PLT
	mov	esi, DWORD PTR IB_PC_EXT_XMT_MPKTS_F[rip]
	mov	edi, DWORD PTR pc[rip]
	lea	rdx, perf_count_ext[rip+28]
	call	mad_encode_field@PLT
	mov	edi, DWORD PTR pc[rip]
	mov	esi, DWORD PTR IB_PC_EXT_RCV_MPKTS_F[rip]
	lea	rdx, perf_count_ext[rip+32]
	call	mad_encode_field@PLT
	mov	edi, ebx
	call	htonl@PLT
	test	DWORD PTR IB_PM_IS_ADDL_PORT_CTRS_EXT_SUP[rip], eax
	je	.L3
.L14:
	mov	esi, DWORD PTR IB_PC_EXT_COUNTER_SELECT2_F[rip]
	mov	edi, DWORD PTR pc[rip]
	lea	rdx, perf_count_ext[rip+36]
	call	mad_encode_field@PLT
	mov	esi, DWORD PTR IB_PC_EXT_ERR_SYM_F[rip]
	mov	edi, DWORD PTR pc[rip]
	lea	rdx, perf_count_ext[rip+40]
	call	mad_encode_field@PLT
	mov	esi, DWORD PTR IB_PC_EXT_LINK_RECOVERS_F[rip]
	mov	edi, DWORD PTR pc[rip]
	lea	rdx, perf_count_ext[rip+44]
	call	mad_encode_field@PLT
	mov	esi, DWORD PTR IB_PC_EXT_LINK_DOWNED_F[rip]
	mov	edi, DWORD PTR pc[rip]
	lea	rdx, perf_count_ext[rip+48]
	call	mad_encode_field@PLT
	mov	esi, DWORD PTR IB_PC_EXT_ERR_RCV_F[rip]
	mov	edi, DWORD PTR pc[rip]
	lea	rdx, perf_count_ext[rip+52]
	call	mad_encode_field@PLT
	mov	esi, DWORD PTR IB_PC_EXT_ERR_PHYSRCV_F[rip]
	mov	edi, DWORD PTR pc[rip]
	lea	rdx, perf_count_ext[rip+56]
	call	mad_encode_field@PLT
	mov	esi, DWORD PTR IB_PC_EXT_ERR_SWITCH_REL_F[rip]
	mov	edi, DWORD PTR pc[rip]
	lea	rdx, perf_count_ext[rip+60]
	call	mad_encode_field@PLT
	mov	esi, DWORD PTR IB_PC_EXT_XMT_DISCARDS_F[rip]
	mov	edi, DWORD PTR pc[rip]
	lea	rdx, perf_count_ext[rip+64]
	call	mad_encode_field@PLT
	mov	esi, DWORD PTR IB_PC_EXT_ERR_XMTCONSTR_F[rip]
	mov	edi, DWORD PTR pc[rip]
	lea	rdx, perf_count_ext[rip+68]
	call	mad_encode_field@PLT
	mov	esi, DWORD PTR IB_PC_EXT_ERR_RCVCONSTR_F[rip]
	mov	edi, DWORD PTR pc[rip]
	lea	rdx, perf_count_ext[rip+72]
	call	mad_encode_field@PLT
	mov	esi, DWORD PTR IB_PC_EXT_ERR_LOCALINTEG_F[rip]
	mov	edi, DWORD PTR pc[rip]
	lea	rdx, perf_count_ext[rip+76]
	call	mad_encode_field@PLT
	mov	esi, DWORD PTR IB_PC_EXT_ERR_EXCESS_OVR_F[rip]
	mov	edi, DWORD PTR pc[rip]
	lea	rdx, perf_count_ext[rip+80]
	call	mad_encode_field@PLT
	mov	esi, DWORD PTR IB_PC_EXT_VL15_DROPPED_F[rip]
	mov	edi, DWORD PTR pc[rip]
	lea	rdx, perf_count_ext[rip+84]
	call	mad_encode_field@PLT
	mov	esi, DWORD PTR IB_PC_EXT_XMT_WAIT_F[rip]
	mov	edi, DWORD PTR pc[rip]
	lea	rdx, perf_count_ext[rip+88]
	call	mad_encode_field@PLT
	mov	esi, DWORD PTR IB_PC_EXT_QP1_DROP_F[rip]
	mov	edi, DWORD PTR pc[rip]
	lea	rdx, perf_count_ext[rip+92]
	call	mad_encode_field@PLT
	jmp	.L3
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	output_aggregate_perfcounters_ext, .-output_aggregate_perfcounters_ext
	.comm	perf_count_ext,96,32
	.comm	pc,4,4
	.comm	IB_PM_IS_ADDL_PORT_CTRS_EXT_SUP,4,4
	.comm	IB_PM_EXT_WIDTH_SUPPORTED,4,4
	.comm	IB_PC_EXT_XMT_WAIT_F,4,4
	.comm	IB_PC_EXT_XMT_UPKTS_F,4,4
	.comm	IB_PC_EXT_XMT_PKTS_F,4,4
	.comm	IB_PC_EXT_XMT_MPKTS_F,4,4
	.comm	IB_PC_EXT_XMT_DISCARDS_F,4,4
	.comm	IB_PC_EXT_XMT_BYTES_F,4,4
	.comm	IB_PC_EXT_VL15_DROPPED_F,4,4
	.comm	IB_PC_EXT_RCV_UPKTS_F,4,4
	.comm	IB_PC_EXT_RCV_PKTS_F,4,4
	.comm	IB_PC_EXT_RCV_MPKTS_F,4,4
	.comm	IB_PC_EXT_RCV_BYTES_F,4,4
	.comm	IB_PC_EXT_QP1_DROP_F,4,4
	.comm	IB_PC_EXT_PORT_SELECT_F,4,4
	.comm	IB_PC_EXT_LINK_RECOVERS_F,4,4
	.comm	IB_PC_EXT_LINK_DOWNED_F,4,4
	.comm	IB_PC_EXT_ERR_XMTCONSTR_F,4,4
	.comm	IB_PC_EXT_ERR_SYM_F,4,4
	.comm	IB_PC_EXT_ERR_SWITCH_REL_F,4,4
	.comm	IB_PC_EXT_ERR_RCV_F,4,4
	.comm	IB_PC_EXT_ERR_RCVCONSTR_F,4,4
	.comm	IB_PC_EXT_ERR_PHYSRCV_F,4,4
	.comm	IB_PC_EXT_ERR_LOCALINTEG_F,4,4
	.comm	IB_PC_EXT_ERR_EXCESS_OVR_F,4,4
	.comm	IB_PC_EXT_COUNTER_SELECT_F,4,4
	.comm	IB_PC_EXT_COUNTER_SELECT2_F,4,4
	.comm	ALL_PORTS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_perfquery.c_output_aggregate_perfcounters_ext.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"# Port extended counters: %s port %d (CapMask: 0x%0"
	.ascii	"2X CapMask2: 0x%07X)\012%s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	output_aggregate_perfcounters_ext, %function
output_aggregate_perfcounters_ext:
	@ args = 0, pretend = 0, frame = 1544
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r6, r1
	ldr	r9, .L16
	sub	sp, sp, #1552
	sub	sp, sp, #4
	ldr	ip, .L16+4
	ldr	r3, [r9]
	add	r7, sp, #12
	mov	r1, #0
	mov	r8, r0
	mov	r5, r2
	mov	r0, r7
	mov	r2, #1536
	ldr	ip, [ip]
	str	ip, [sp, #1548]
	mov	ip,#0
	ldr	r4, .L16+8
	str	r3, [sp, #8]
	bl	memset
	ldr	r3, .L16+12
	add	r2, sp, #8
	ldr	r1, [r3]
	ldr	r0, [r4]
	bl	mad_encode_field
	ldr	r3, .L16+16
	ldr	r2, .L16+20
	ldr	r1, [r3]
	ldr	r0, [r4]
	bl	mad_encode_field
	ldr	r3, .L16+24
	ldr	r2, .L16+28
	ldr	r1, [r3]
	ldr	r0, [r4]
	bl	mad_encode_field
	ldr	r3, .L16+32
	ldr	r2, .L16+36
	ldr	r1, [r3]
	ldr	r0, [r4]
	bl	mad_encode_field
	ldr	r3, .L16+40
	ldr	r2, .L16+44
	ldr	r1, [r3]
	ldr	r0, [r4]
	bl	mad_encode_field
	ldr	r3, .L16+48
	ldr	r0, [r4]
	ldr	r1, [r3]
	ldr	r2, .L16+52
	bl	mad_encode_field
	ldr	r3, .L16+56
	ldr	r3, [r3]
	tst	r6, r3
	bne	.L13
.L2:
	mov	r0, r5
	bl	htonl
	ldr	r3, .L16+60
	ldr	r3, [r3]
	tst	r0, r3
	bne	.L14
.L3:
	ldr	r2, [r4]
	mov	r3, #4
	mov	r1, #1536
	mov	r0, r7
	bl	mad_dump_perfcounters_ext
	mov	r0, r8
	bl	portid2str
	mov	r4, r0
	mov	r0, r6
	ldr	r6, [r9]
	bl	ntohs
	mov	r2, r6
	mov	r3, r0
	mov	r1, r4
	stm	sp, {r5, r7}
	ldr	r0, .L16+64
	bl	printf
	ldr	r3, .L16+4
	ldr	r2, [r3]
	ldr	r3, [sp, #1548]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	add	sp, sp, #1552
	add	sp, sp, #4
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L13:
	ldr	r3, .L16+68
	ldr	r2, .L16+72
	ldr	r1, [r3]
	ldr	r0, [r4]
	bl	mad_encode_field
	ldr	r3, .L16+76
	ldr	r2, .L16+80
	ldr	r1, [r3]
	ldr	r0, [r4]
	bl	mad_encode_field
	ldr	r3, .L16+84
	ldr	r2, .L16+88
	ldr	r1, [r3]
	ldr	r0, [r4]
	bl	mad_encode_field
	ldr	r3, .L16+92
	ldr	r2, .L16+96
	ldr	r1, [r3]
	ldr	r0, [r4]
	bl	mad_encode_field
	b	.L2
.L14:
	ldr	r3, .L16+100
	ldr	r2, .L16+104
	ldr	r1, [r3]
	ldr	r0, [r4]
	bl	mad_encode_field
	ldr	r3, .L16+108
	ldr	r2, .L16+112
	ldr	r1, [r3]
	ldr	r0, [r4]
	bl	mad_encode_field
	ldr	r3, .L16+116
	ldr	r2, .L16+120
	ldr	r1, [r3]
	ldr	r0, [r4]
	bl	mad_encode_field
	ldr	r3, .L16+124
	ldr	r2, .L16+128
	ldr	r1, [r3]
	ldr	r0, [r4]
	bl	mad_encode_field
	ldr	r3, .L16+132
	ldr	r2, .L16+136
	ldr	r1, [r3]
	ldr	r0, [r4]
	bl	mad_encode_field
	ldr	r3, .L16+140
	ldr	r2, .L16+144
	ldr	r1, [r3]
	ldr	r0, [r4]
	bl	mad_encode_field
	ldr	r3, .L16+148
	ldr	r2, .L16+152
	ldr	r1, [r3]
	ldr	r0, [r4]
	bl	mad_encode_field
	ldr	r3, .L16+156
	ldr	r2, .L16+160
	ldr	r1, [r3]
	ldr	r0, [r4]
	bl	mad_encode_field
	ldr	r3, .L16+164
	ldr	r2, .L16+168
	ldr	r1, [r3]
	ldr	r0, [r4]
	bl	mad_encode_field
	ldr	r3, .L16+172
	ldr	r2, .L16+176
	ldr	r1, [r3]
	ldr	r0, [r4]
	bl	mad_encode_field
	ldr	r3, .L16+180
	ldr	r2, .L16+184
	ldr	r1, [r3]
	ldr	r0, [r4]
	bl	mad_encode_field
	ldr	r3, .L16+188
	ldr	r2, .L16+192
	ldr	r1, [r3]
	ldr	r0, [r4]
	bl	mad_encode_field
	ldr	r3, .L16+196
	ldr	r2, .L16+200
	ldr	r1, [r3]
	ldr	r0, [r4]
	bl	mad_encode_field
	ldr	r3, .L16+204
	ldr	r2, .L16+208
	ldr	r1, [r3]
	ldr	r0, [r4]
	bl	mad_encode_field
	ldr	r3, .L16+212
	ldr	r2, .L16+216
	ldr	r1, [r3]
	ldr	r0, [r4]
	bl	mad_encode_field
	b	.L3
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	ALL_PORTS
	.word	.LC1
	.word	pc
	.word	IB_PC_EXT_PORT_SELECT_F
	.word	IB_PC_EXT_COUNTER_SELECT_F
	.word	perf_count_ext
	.word	IB_PC_EXT_XMT_BYTES_F
	.word	perf_count_ext+4
	.word	IB_PC_EXT_RCV_BYTES_F
	.word	perf_count_ext+8
	.word	IB_PC_EXT_XMT_PKTS_F
	.word	perf_count_ext+12
	.word	IB_PC_EXT_RCV_PKTS_F
	.word	perf_count_ext+16
	.word	IB_PM_EXT_WIDTH_SUPPORTED
	.word	IB_PM_IS_ADDL_PORT_CTRS_EXT_SUP
	.word	.LC0
	.word	IB_PC_EXT_XMT_UPKTS_F
	.word	perf_count_ext+20
	.word	IB_PC_EXT_RCV_UPKTS_F
	.word	perf_count_ext+24
	.word	IB_PC_EXT_XMT_MPKTS_F
	.word	perf_count_ext+28
	.word	IB_PC_EXT_RCV_MPKTS_F
	.word	perf_count_ext+32
	.word	IB_PC_EXT_COUNTER_SELECT2_F
	.word	perf_count_ext+36
	.word	IB_PC_EXT_ERR_SYM_F
	.word	perf_count_ext+40
	.word	IB_PC_EXT_LINK_RECOVERS_F
	.word	perf_count_ext+44
	.word	IB_PC_EXT_LINK_DOWNED_F
	.word	perf_count_ext+48
	.word	IB_PC_EXT_ERR_RCV_F
	.word	perf_count_ext+52
	.word	IB_PC_EXT_ERR_PHYSRCV_F
	.word	perf_count_ext+56
	.word	IB_PC_EXT_ERR_SWITCH_REL_F
	.word	perf_count_ext+60
	.word	IB_PC_EXT_XMT_DISCARDS_F
	.word	perf_count_ext+64
	.word	IB_PC_EXT_ERR_XMTCONSTR_F
	.word	perf_count_ext+68
	.word	IB_PC_EXT_ERR_RCVCONSTR_F
	.word	perf_count_ext+72
	.word	IB_PC_EXT_ERR_LOCALINTEG_F
	.word	perf_count_ext+76
	.word	IB_PC_EXT_ERR_EXCESS_OVR_F
	.word	perf_count_ext+80
	.word	IB_PC_EXT_VL15_DROPPED_F
	.word	perf_count_ext+84
	.word	IB_PC_EXT_XMT_WAIT_F
	.word	perf_count_ext+88
	.word	IB_PC_EXT_QP1_DROP_F
	.word	perf_count_ext+92
	.size	output_aggregate_perfcounters_ext, .-output_aggregate_perfcounters_ext
	.comm	perf_count_ext,96,4
	.comm	pc,4,4
	.comm	IB_PM_IS_ADDL_PORT_CTRS_EXT_SUP,4,4
	.comm	IB_PM_EXT_WIDTH_SUPPORTED,4,4
	.comm	IB_PC_EXT_XMT_WAIT_F,4,4
	.comm	IB_PC_EXT_XMT_UPKTS_F,4,4
	.comm	IB_PC_EXT_XMT_PKTS_F,4,4
	.comm	IB_PC_EXT_XMT_MPKTS_F,4,4
	.comm	IB_PC_EXT_XMT_DISCARDS_F,4,4
	.comm	IB_PC_EXT_XMT_BYTES_F,4,4
	.comm	IB_PC_EXT_VL15_DROPPED_F,4,4
	.comm	IB_PC_EXT_RCV_UPKTS_F,4,4
	.comm	IB_PC_EXT_RCV_PKTS_F,4,4
	.comm	IB_PC_EXT_RCV_MPKTS_F,4,4
	.comm	IB_PC_EXT_RCV_BYTES_F,4,4
	.comm	IB_PC_EXT_QP1_DROP_F,4,4
	.comm	IB_PC_EXT_PORT_SELECT_F,4,4
	.comm	IB_PC_EXT_LINK_RECOVERS_F,4,4
	.comm	IB_PC_EXT_LINK_DOWNED_F,4,4
	.comm	IB_PC_EXT_ERR_XMTCONSTR_F,4,4
	.comm	IB_PC_EXT_ERR_SYM_F,4,4
	.comm	IB_PC_EXT_ERR_SWITCH_REL_F,4,4
	.comm	IB_PC_EXT_ERR_RCV_F,4,4
	.comm	IB_PC_EXT_ERR_RCVCONSTR_F,4,4
	.comm	IB_PC_EXT_ERR_PHYSRCV_F,4,4
	.comm	IB_PC_EXT_ERR_LOCALINTEG_F,4,4
	.comm	IB_PC_EXT_ERR_EXCESS_OVR_F,4,4
	.comm	IB_PC_EXT_COUNTER_SELECT_F,4,4
	.comm	IB_PC_EXT_COUNTER_SELECT2_F,4,4
	.comm	ALL_PORTS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
