	.file	"extr_main.c_mlx5_ib_fill_counters.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mlx5_ib_fill_counters, @function
mlx5_ib_fill_counters:
.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
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	xor	ebx, ebx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	rdi, QWORD PTR basic_q_cnts[rip]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, QWORD PTR basic_q_cnts[rip]
	mov	rax, rbx
	sal	rax, 4
	add	rax, rdi
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR 0[rbp+rbx*8], rdx
	mov	QWORD PTR [r12+rbx*8], rax
	add	rbx, 1
.L2:
	movsx	r14, ebx
	call	ARRAY_SIZE@PLT
	cmp	eax, ebx
	jg	.L3
	mov	esi, DWORD PTR out_of_seq_cnt[rip]
	mov	edi, DWORD PTR 0[r13]
	call	MLX5_CAP_GEN@PLT
	test	rax, rax
	je	.L4
	mov	rdi, QWORD PTR out_of_seq_q_cnts[rip]
	movsx	rbx, r14d
	xor	r15d, r15d
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, QWORD PTR out_of_seq_q_cnts[rip]
	mov	rax, r15
	add	r15, 1
	sal	rax, 4
	add	rax, rdi
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR 0[rbp+rbx*8], rdx
	mov	QWORD PTR [r12+rbx*8], rax
	add	rbx, 1
.L5:
	movsx	r14, ebx
	call	ARRAY_SIZE@PLT
	cmp	eax, r15d
	jg	.L6
.L4:
	mov	esi, DWORD PTR retransmission_q_counters[rip]
	mov	edi, DWORD PTR 0[r13]
	call	MLX5_CAP_GEN@PLT
	test	rax, rax
	je	.L7
	mov	rdi, QWORD PTR retrans_q_cnts[rip]
	movsx	rbx, r14d
	xor	r15d, r15d
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdi, QWORD PTR retrans_q_cnts[rip]
	mov	rax, r15
	add	r15, 1
	sal	rax, 4
	add	rax, rdi
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR 0[rbp+rbx*8], rdx
	mov	QWORD PTR [r12+rbx*8], rax
	add	rbx, 1
.L8:
	movsx	r14, ebx
	call	ARRAY_SIZE@PLT
	cmp	eax, r15d
	jg	.L9
.L7:
	mov	esi, DWORD PTR enhanced_error_q_counters[rip]
	mov	edi, DWORD PTR 0[r13]
	call	MLX5_CAP_GEN@PLT
	test	rax, rax
	je	.L10
	mov	rdi, QWORD PTR extended_err_cnts[rip]
	movsx	rbx, r14d
	xor	r15d, r15d
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, QWORD PTR extended_err_cnts[rip]
	mov	rax, r15
	add	r15, 1
	sal	rax, 4
	add	rax, rdi
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR 0[rbp+rbx*8], rdx
	mov	QWORD PTR [r12+rbx*8], rax
	add	rbx, 1
.L11:
	movsx	r14, ebx
	call	ARRAY_SIZE@PLT
	cmp	eax, r15d
	jg	.L12
.L10:
	mov	esi, DWORD PTR cc_query_allowed[rip]
	mov	edi, DWORD PTR 0[r13]
	call	MLX5_CAP_GEN@PLT
	test	rax, rax
	je	.L13
	mov	rdi, QWORD PTR cong_cnts[rip]
	movsx	rbx, r14d
	xor	r15d, r15d
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rdi, QWORD PTR cong_cnts[rip]
	mov	rax, r15
	add	r15, 1
	sal	rax, 4
	add	rax, rdi
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR 0[rbp+rbx*8], rdx
	mov	QWORD PTR [r12+rbx*8], rax
	add	rbx, 1
.L14:
	movsx	r14, ebx
	call	ARRAY_SIZE@PLT
	cmp	eax, r15d
	jg	.L15
.L13:
	mov	esi, DWORD PTR rx_icrc_encapsulated_counter[rip]
	mov	edi, DWORD PTR 0[r13]
	call	MLX5_CAP_PCAM_FEATURE@PLT
	test	rax, rax
	je	.L1
	sal	r14, 3
	mov	rdi, QWORD PTR ext_ppcnt_cnts[rip]
	xor	ebx, ebx
	add	rbp, r14
	add	r12, r14
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rdi, QWORD PTR ext_ppcnt_cnts[rip]
	mov	rax, rbx
	sal	rax, 4
	add	rax, rdi
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR 0[rbp+rbx*8], rdx
	mov	QWORD PTR [r12+rbx*8], rax
	add	rbx, 1
.L17:
	call	ARRAY_SIZE@PLT
	cmp	eax, ebx
	jg	.L18
.L1:
	add	rsp, 8
	.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
	.cfi_endproc
.LFE0:
	.size	mlx5_ib_fill_counters, .-mlx5_ib_fill_counters
	.comm	rx_icrc_encapsulated_counter,4,4
	.comm	retransmission_q_counters,4,4
	.comm	retrans_q_cnts,8,8
	.comm	out_of_seq_q_cnts,8,8
	.comm	out_of_seq_cnt,4,4
	.comm	extended_err_cnts,8,8
	.comm	ext_ppcnt_cnts,8,8
	.comm	enhanced_error_q_counters,4,4
	.comm	cong_cnts,8,8
	.comm	cc_query_allowed,4,4
	.comm	basic_q_cnts,8,8
	.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_main.c_mlx5_ib_fill_counters.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mlx5_ib_fill_counters, %function
mlx5_ib_fill_counters:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r10, .L34
	sub	sp, sp, #12
	mov	r8, r0
	mov	r5, r1
	mov	r4, #0
	ldr	r0, [r10]
	str	r2, [sp, #4]
	sub	r7, r1, #4
	sub	r6, r2, #4
	b	.L2
.L3:
	ldr	r0, [r10]
	add	r3, r0, r4, lsl #3
	ldr	r2, [r0, r4, lsl #3]
	ldr	r3, [r3, #4]
	add	r4, r4, #1
	str	r2, [r7, #4]!
	str	r3, [r6, #4]!
.L2:
	bl	ARRAY_SIZE
	cmp	r0, r4
	bgt	.L3
	ldr	r3, .L34+4
	ldr	r0, [r8]
	ldr	r1, [r3]
	bl	MLX5_CAP_GEN
	cmp	r0, #0
	beq	.L4
	ldr	fp, .L34+8
	ldr	r3, [sp, #4]
	sub	r6, r4, #-1073741823
	add	r7, r5, r6, lsl #2
	mov	r10, r4
	mov	r9, #0
	ldr	r0, [fp]
	add	r6, r3, r6, lsl #2
	b	.L5
.L6:
	ldr	r0, [fp]
	add	r2, r0, r9, lsl #3
	ldr	r1, [r0, r9, lsl #3]
	ldr	r2, [r2, #4]
	add	r9, r9, #1
	str	r1, [r7, #4]!
	str	r2, [r6, #4]!
.L5:
	bl	ARRAY_SIZE
	cmp	r0, r9
	add	r4, r10, r9
	bgt	.L6
.L4:
	ldr	r3, .L34+12
	ldr	r0, [r8]
	ldr	r1, [r3]
	bl	MLX5_CAP_GEN
	cmp	r0, #0
	beq	.L7
	ldr	fp, .L34+16
	ldr	r3, [sp, #4]
	sub	r6, r4, #-1073741823
	add	r7, r5, r6, lsl #2
	mov	r10, r4
	mov	r9, #0
	ldr	r0, [fp]
	add	r6, r3, r6, lsl #2
	b	.L8
.L9:
	ldr	r0, [fp]
	add	r2, r0, r9, lsl #3
	ldr	r1, [r0, r9, lsl #3]
	ldr	r2, [r2, #4]
	add	r9, r9, #1
	str	r1, [r7, #4]!
	str	r2, [r6, #4]!
.L8:
	bl	ARRAY_SIZE
	cmp	r0, r9
	add	r4, r10, r9
	bgt	.L9
.L7:
	ldr	r3, .L34+20
	ldr	r0, [r8]
	ldr	r1, [r3]
	bl	MLX5_CAP_GEN
	cmp	r0, #0
	beq	.L10
	ldr	fp, .L34+24
	ldr	r3, [sp, #4]
	sub	r6, r4, #-1073741823
	add	r7, r5, r6, lsl #2
	mov	r10, r4
	mov	r9, #0
	ldr	r0, [fp]
	add	r6, r3, r6, lsl #2
	b	.L11
.L12:
	ldr	r0, [fp]
	add	r2, r0, r9, lsl #3
	ldr	r1, [r0, r9, lsl #3]
	ldr	r2, [r2, #4]
	add	r9, r9, #1
	str	r1, [r7, #4]!
	str	r2, [r6, #4]!
.L11:
	bl	ARRAY_SIZE
	cmp	r0, r9
	add	r4, r10, r9
	bgt	.L12
.L10:
	ldr	r3, .L34+28
	ldr	r0, [r8]
	ldr	r1, [r3]
	bl	MLX5_CAP_GEN
	cmp	r0, #0
	beq	.L13
	ldr	fp, .L34+32
	ldr	r3, [sp, #4]
	sub	r6, r4, #-1073741823
	add	r7, r5, r6, lsl #2
	mov	r10, r4
	mov	r9, #0
	ldr	r0, [fp]
	add	r6, r3, r6, lsl #2
	b	.L14
.L15:
	ldr	r0, [fp]
	add	r2, r0, r9, lsl #3
	ldr	r1, [r0, r9, lsl #3]
	ldr	r2, [r2, #4]
	add	r9, r9, #1
	str	r1, [r7, #4]!
	str	r2, [r6, #4]!
.L14:
	bl	ARRAY_SIZE
	cmp	r0, r9
	add	r4, r10, r9
	bgt	.L15
.L13:
	ldr	r3, .L34+36
	ldr	r0, [r8]
	ldr	r1, [r3]
	bl	MLX5_CAP_PCAM_FEATURE
	cmp	r0, #0
	beq	.L1
	ldr	r7, .L34+40
	ldr	r3, [sp, #4]
	sub	r4, r4, #-1073741823
	add	r5, r5, r4, lsl #2
	mov	r6, #0
	ldr	r0, [r7]
	add	r4, r3, r4, lsl #2
	b	.L17
.L18:
	ldr	r0, [r7]
	add	r3, r0, r6, lsl #3
	ldr	r2, [r0, r6, lsl #3]
	ldr	r3, [r3, #4]
	add	r6, r6, #1
	str	r2, [r5, #4]!
	str	r3, [r4, #4]!
.L17:
	bl	ARRAY_SIZE
	cmp	r0, r6
	bgt	.L18
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L35:
	.align	2
.L34:
	.word	basic_q_cnts
	.word	out_of_seq_cnt
	.word	out_of_seq_q_cnts
	.word	retransmission_q_counters
	.word	retrans_q_cnts
	.word	enhanced_error_q_counters
	.word	extended_err_cnts
	.word	cc_query_allowed
	.word	cong_cnts
	.word	rx_icrc_encapsulated_counter
	.word	ext_ppcnt_cnts
	.size	mlx5_ib_fill_counters, .-mlx5_ib_fill_counters
	.comm	rx_icrc_encapsulated_counter,4,4
	.comm	retransmission_q_counters,4,4
	.comm	retrans_q_cnts,4,4
	.comm	out_of_seq_q_cnts,4,4
	.comm	out_of_seq_cnt,4,4
	.comm	extended_err_cnts,4,4
	.comm	ext_ppcnt_cnts,4,4
	.comm	enhanced_error_q_counters,4,4
	.comm	cong_cnts,4,4
	.comm	cc_query_allowed,4,4
	.comm	basic_q_cnts,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
