	.file	"extr_ecore_rdma.c_ecore_rdma_query_stats.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"ecore rdma query stats failed due to NULL rdma_info\n"
	.align 8
.LC1:
	.string	"ecore rdma query stats failed due to invalid statistics queue %d. maximum is %d\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"rc = %d\n"
	.text
	.p2align 4
	.globl	ecore_rdma_query_stats
	.type	ecore_rdma_query_stats, @function
ecore_rdma_query_stats:
.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
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	test	rdi, rdi
	je	.L9
	mov	r12, QWORD PTR 8[rdi]
	mov	rbp, rdi
	test	r12, r12
	je	.L11
	mov	r14, rsi
	mov	rbx, rdx
	call	ecore_rdma_inc_ref_cnt@PLT
	cmp	eax, DWORD PTR ECORE_SUCCESS[rip]
	mov	r13d, eax
	jne	.L1
	mov	rax, QWORD PTR 8[rbp]
	mov	rax, QWORD PTR 920[rax]
	mov	rcx, QWORD PTR [rax]
	cmp	rcx, r14
	jle	.L12
	mov	esi, DWORD PTR ECORE_RDMA_STATS_QUEUE[rip]
	mov	rdi, rbp
	lea	r15, 312[r12]
	call	RESC_START@PLT
	add	r14, rax
	mov	rdi, r14
	call	PSTORM_RDMA_QUEUE_STAT_OFFSET@PLT
	mov	rdi, r14
	add	rax, QWORD PTR BAR0_MAP_REG_PSDM_RAM[rip]
	mov	QWORD PTR 24[rsp], rax
	call	TSTORM_RDMA_QUEUE_STAT_OFFSET@PLT
	lea	r11, 768[r12]
	xor	esi, esi
	add	rax, QWORD PTR BAR0_MAP_REG_TSDM_RAM[rip]
	mov	rdi, r11
	mov	edx, 152
	mov	QWORD PTR 16[rsp], r11
	mov	QWORD PTR 40[rsp], rax
	call	OSAL_MEMSET@PLT
	lea	r10, 616[r12]
	xor	esi, esi
	mov	edx, 152
	mov	rdi, r10
	mov	QWORD PTR 8[rsp], r10
	call	OSAL_MEMSET@PLT
	lea	r9, 464[r12]
	xor	esi, esi
	mov	edx, 152
	mov	rdi, r9
	mov	QWORD PTR [rsp], r9
	call	OSAL_MEMSET@PLT
	xor	esi, esi
	mov	edx, 152
	mov	rdi, r15
	call	OSAL_MEMSET@PLT
	lea	rax, 160[r12]
	xor	esi, esi
	mov	edx, 152
	mov	rdi, rax
	mov	QWORD PTR 32[rsp], rax
	call	OSAL_MEMSET@PLT
	mov	rdi, rbp
	call	ecore_ptt_acquire@PLT
	mov	r9, QWORD PTR [rsp]
	mov	r10, QWORD PTR 8[rsp]
	test	rax, rax
	mov	r11, QWORD PTR 16[rsp]
	mov	rcx, QWORD PTR 24[rsp]
	mov	r14, rax
	je	.L13
	mov	rdx, r11
	mov	r8d, 4
	mov	rsi, rax
	mov	rdi, rbp
	mov	QWORD PTR 8[rsp], r9
	mov	QWORD PTR [rsp], r10
	call	ecore_memcpy_from@PLT
	mov	r10, QWORD PTR [rsp]
	mov	rsi, r14
	mov	rdi, rbp
	mov	rcx, QWORD PTR 40[rsp]
	mov	r8d, 4
	mov	rdx, r10
	call	ecore_memcpy_from@PLT
	mov	edi, DWORD PTR 0[rbp]
	call	TSTORM_ROCE_EVENTS_STAT_OFFSET@PLT
	mov	r9, QWORD PTR 8[rsp]
	mov	rsi, r14
	mov	rdi, rbp
	add	rax, QWORD PTR BAR0_MAP_REG_TSDM_RAM[rip]
	mov	r8d, 4
	mov	rdx, r9
	mov	rcx, rax
	call	ecore_memcpy_from@PLT
	mov	edi, DWORD PTR 0[rbp]
	call	YSTORM_ROCE_DCQCN_RECEIVED_STATS_OFFSET@PLT
	mov	rdx, r15
	mov	rsi, r14
	mov	rdi, rbp
	add	rax, QWORD PTR BAR0_MAP_REG_YSDM_RAM[rip]
	mov	r8d, 4
	mov	rcx, rax
	call	ecore_memcpy_from@PLT
	mov	edi, DWORD PTR 0[rbp]
	call	PSTORM_ROCE_DCQCN_SENT_STATS_OFFSET@PLT
	mov	rdx, QWORD PTR 32[rsp]
	mov	rsi, r14
	mov	rdi, rbp
	add	rax, QWORD PTR BAR0_MAP_REG_PSDM_RAM[rip]
	mov	r8d, 4
	mov	rcx, rax
	call	ecore_memcpy_from@PLT
	mov	rsi, r14
	mov	rdi, rbp
	call	ecore_ptt_release@PLT
	mov	edx, 152
	xor	esi, esi
	mov	rdi, rbx
	call	OSAL_MEMSET@PLT
	mov	rdi, QWORD PTR 912[r12]
	call	HILO_64_REGPAIR@PLT
	mov	rdi, QWORD PTR 904[r12]
	mov	QWORD PTR 144[rbx], rax
	call	HILO_64_REGPAIR@PLT
	mov	rdi, QWORD PTR 744[r12]
	mov	QWORD PTR 136[rbx], rax
	call	HILO_64_REGPAIR@PLT
	mov	rdi, QWORD PTR 736[r12]
	mov	QWORD PTR 128[rbx], rax
	call	HILO_64_REGPAIR@PLT
	mov	rdi, QWORD PTR 576[r12]
	mov	QWORD PTR 120[rbx], rax
	call	OSAL_LE16_TO_CPU@PLT
	mov	rdi, QWORD PTR 560[r12]
	mov	QWORD PTR 112[rbx], rax
	call	OSAL_LE16_TO_CPU@PLT
	mov	edi, DWORD PTR 544[r12]
	mov	QWORD PTR 104[rbx], rax
	call	OSAL_LE32_TO_CPU@PLT
	mov	edi, DWORD PTR 528[r12]
	mov	QWORD PTR 88[rbx], rax
	call	OSAL_LE32_TO_CPU@PLT
	mov	rdi, QWORD PTR 368[r12]
	mov	QWORD PTR 72[rbx], rax
	call	HILO_64_REGPAIR@PLT
	mov	rdi, QWORD PTR 360[r12]
	mov	QWORD PTR 56[rbx], rax
	call	HILO_64_REGPAIR@PLT
	mov	rdi, QWORD PTR 200[r12]
	mov	QWORD PTR 48[rbx], rax
	call	HILO_64_REGPAIR@PLT
	mov	QWORD PTR 40[rbx], rax
.L6:
	mov	rdi, rbp
	call	ecore_rdma_dec_ref_cnt@PLT
.L1:
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r13d
	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
.L11:
	.cfi_restore_state
	mov	edi, DWORD PTR 4[rdi]
	lea	rsi, .LC0[rip]
	call	DP_INFO@PLT
.L9:
	mov	r13d, DWORD PTR ECORE_INVAL[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	edi, DWORD PTR 4[rbp]
	mov	rdx, r14
	lea	rsi, .LC1[rip]
	call	DP_ERR@PLT
	mov	r13d, DWORD PTR ECORE_INVAL[rip]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L13:
	mov	r13d, DWORD PTR ECORE_TIMEOUT[rip]
	mov	esi, DWORD PTR ECORE_MSG_RDMA[rip]
	lea	rdx, .LC2[rip]
	mov	rdi, rbp
	mov	ecx, r13d
	call	DP_VERBOSE@PLT
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	ecore_rdma_query_stats, .-ecore_rdma_query_stats
	.comm	ECORE_TIMEOUT,4,4
	.comm	ECORE_SUCCESS,4,4
	.comm	ECORE_RDMA_STATS_QUEUE,4,4
	.comm	ECORE_MSG_RDMA,4,4
	.comm	ECORE_INVAL,4,4
	.comm	BAR0_MAP_REG_YSDM_RAM,8,8
	.comm	BAR0_MAP_REG_XSDM_RAM,8,8
	.comm	BAR0_MAP_REG_TSDM_RAM,8,8
	.comm	BAR0_MAP_REG_PSDM_RAM,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_ecore_rdma.c_ecore_rdma_query_stats.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ecore rdma query stats failed due to NULL rdma_info"
	.ascii	"\012\000"
	.align	2
.LC1:
	.ascii	"ecore rdma query stats failed due to invalid statis"
	.ascii	"tics queue %d. maximum is %d\012\000"
	.align	2
.LC2:
	.ascii	"rc = %d\012\000"
	.text
	.align	2
	.global	ecore_rdma_query_stats
	.syntax unified
	.arm
	.fpu softvfp
	.type	ecore_rdma_query_stats, %function
ecore_rdma_query_stats:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	subs	r4, r0, #0
	sub	sp, sp, #36
	beq	.L9
	ldr	r6, [r4, #8]
	cmp	r6, #0
	beq	.L11
	mov	r8, r1
	mov	r5, r2
	bl	ecore_rdma_inc_ref_cnt
	ldr	r3, .L14
	mov	r7, r0
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L1
	ldr	r3, [r4, #8]
	ldr	r3, [r3, #460]
	ldr	r3, [r3]
	cmp	r3, r8
	ble	.L12
	ldr	r3, .L14+4
	mov	r0, r4
	ldr	r1, [r3]
	bl	RESC_START
	add	r8, r0, r8
	mov	r0, r8
	bl	PSTORM_RDMA_QUEUE_STAT_OFFSET
	mov	r2, r0
	ldr	r3, .L14+8
	mov	r0, r8
	ldr	r3, [r3]
	add	fp, r6, #384
	add	r3, r2, r3
	str	r3, [sp, #12]
	bl	TSTORM_RDMA_QUEUE_STAT_OFFSET
	mov	lr, r0
	ldr	r3, .L14+12
	add	r8, r6, #232
	ldr	ip, [r3]
	mov	r2, #76
	add	r3, lr, ip
	mov	r1, #0
	mov	r0, fp
	add	r10, r6, #308
	str	r3, [sp, #28]
	str	r8, [sp, #16]
	bl	OSAL_MEMSET
	mov	r2, #76
	mov	r1, #0
	mov	r0, r10
	bl	OSAL_MEMSET
	add	r9, r6, #156
	mov	r0, r8
	mov	r2, #76
	mov	r1, #0
	str	r9, [sp, #20]
	bl	OSAL_MEMSET
	add	r3, r6, #80
	mov	r8, r3
	mov	r0, r9
	mov	r2, #76
	mov	r1, #0
	str	r3, [sp, #24]
	bl	OSAL_MEMSET
	mov	r2, #76
	mov	r1, #0
	mov	r0, r8
	bl	OSAL_MEMSET
	mov	r0, r4
	bl	ecore_ptt_acquire
	subs	r9, r0, #0
	ldr	r3, [sp, #12]
	beq	.L13
	mov	r8, #4
	mov	r2, fp
	mov	r1, r9
	mov	r0, r4
	str	r8, [sp]
	bl	ecore_memcpy_from
	mov	r2, r10
	mov	r1, r9
	ldr	r3, [sp, #28]
	mov	r0, r4
	str	r8, [sp]
	bl	ecore_memcpy_from
	ldr	r0, [r4]
	bl	TSTORM_ROCE_EVENTS_STAT_OFFSET
	ldr	r3, .L14+12
	mov	r1, r9
	ldr	r3, [r3]
	ldr	r2, [sp, #16]
	add	r3, r0, r3
	str	r8, [sp]
	mov	r0, r4
	bl	ecore_memcpy_from
	ldr	r0, [r4]
	bl	YSTORM_ROCE_DCQCN_RECEIVED_STATS_OFFSET
	ldr	r3, .L14+16
	str	r8, [sp]
	ldr	r3, [r3]
	mov	r1, r9
	add	r3, r0, r3
	ldr	r2, [sp, #20]
	mov	r0, r4
	bl	ecore_memcpy_from
	ldr	r0, [r4]
	bl	PSTORM_ROCE_DCQCN_SENT_STATS_OFFSET
	ldr	r3, .L14+8
	ldr	r2, [sp, #24]
	ldr	r3, [r3]
	mov	r1, r9
	add	r3, r0, r3
	str	r8, [sp]
	mov	r0, r4
	bl	ecore_memcpy_from
	mov	r1, r9
	mov	r0, r4
	bl	ecore_ptt_release
	mov	r2, #76
	mov	r1, #0
	mov	r0, r5
	bl	OSAL_MEMSET
	ldr	r0, [r6, #456]
	bl	HILO_64_REGPAIR
	mov	r3, r0
	ldr	r0, [r6, #452]
	str	r3, [r5, #72]
	bl	HILO_64_REGPAIR
	mov	r3, r0
	ldr	r0, [r6, #372]
	str	r3, [r5, #68]
	bl	HILO_64_REGPAIR
	mov	r3, r0
	ldr	r0, [r6, #368]
	str	r3, [r5, #64]
	bl	HILO_64_REGPAIR
	mov	r3, r0
	ldr	r0, [r6, #288]
	str	r3, [r5, #60]
	bl	OSAL_LE16_TO_CPU
	mov	r3, r0
	ldr	r0, [r6, #280]
	str	r3, [r5, #56]
	bl	OSAL_LE16_TO_CPU
	mov	r3, r0
	ldr	r0, [r6, #272]
	str	r3, [r5, #52]
	bl	OSAL_LE32_TO_CPU
	mov	r3, r0
	ldr	r0, [r6, #264]
	str	r3, [r5, #44]
	bl	OSAL_LE32_TO_CPU
	mov	r3, r0
	ldr	r0, [r6, #184]
	str	r3, [r5, #36]
	bl	HILO_64_REGPAIR
	mov	r3, r0
	ldr	r0, [r6, #180]
	str	r3, [r5, #28]
	bl	HILO_64_REGPAIR
	mov	r3, r0
	ldr	r0, [r6, #100]
	str	r3, [r5, #24]
	bl	HILO_64_REGPAIR
	str	r0, [r5, #20]
.L6:
	mov	r0, r4
	bl	ecore_rdma_dec_ref_cnt
.L1:
	mov	r0, r7
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
	ldr	r0, [r4, #4]
	ldr	r1, .L14+20
	bl	DP_INFO
.L9:
	ldr	r3, .L14+24
	ldr	r7, [r3]
	mov	r0, r7
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L12:
	mov	r2, r8
	ldr	r1, .L14+28
	ldr	r0, [r4, #4]
	bl	DP_ERR
	ldr	r3, .L14+24
	ldr	r7, [r3]
	b	.L6
.L13:
	ldr	r2, .L14+32
	ldr	r3, .L14+36
	ldr	r7, [r2]
	ldr	r1, [r3]
	mov	r0, r4
	mov	r3, r7
	ldr	r2, .L14+40
	bl	DP_VERBOSE
	b	.L6
.L15:
	.align	2
.L14:
	.word	ECORE_SUCCESS
	.word	ECORE_RDMA_STATS_QUEUE
	.word	BAR0_MAP_REG_PSDM_RAM
	.word	BAR0_MAP_REG_TSDM_RAM
	.word	BAR0_MAP_REG_YSDM_RAM
	.word	.LC0
	.word	ECORE_INVAL
	.word	.LC1
	.word	ECORE_TIMEOUT
	.word	ECORE_MSG_RDMA
	.word	.LC2
	.size	ecore_rdma_query_stats, .-ecore_rdma_query_stats
	.comm	ECORE_TIMEOUT,4,4
	.comm	ECORE_SUCCESS,4,4
	.comm	ECORE_RDMA_STATS_QUEUE,4,4
	.comm	ECORE_MSG_RDMA,4,4
	.comm	ECORE_INVAL,4,4
	.comm	BAR0_MAP_REG_YSDM_RAM,4,4
	.comm	BAR0_MAP_REG_XSDM_RAM,4,4
	.comm	BAR0_MAP_REG_TSDM_RAM,4,4
	.comm	BAR0_MAP_REG_PSDM_RAM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
