	.file	"extr_mt753x_swconfig.c_get_mib_counter.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	get_mib_counter, @function
get_mib_counter:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movsx	rsi, esi
	mov	r15d, edx
	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
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR mt753x_mibs[rip]
	lea	rax, [rax+rsi*8]
	mov	r14d, DWORD PTR [rax]
	cmp	DWORD PTR 4[rax], 1
	lea	r13d, 4[r14]
	je	.L9
	.p2align 4,,10
	.p2align 3
.L3:
	mov	esi, r13d
	mov	edi, r15d
	call	MIB_COUNTER_REG@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	mt753x_reg_read@PLT
	mov	esi, r14d
	mov	edi, r15d
	mov	ebx, eax
	call	MIB_COUNTER_REG@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	mt753x_reg_read@PLT
	mov	esi, r13d
	mov	edi, r15d
	mov	r12d, eax
	call	MIB_COUNTER_REG@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	mt753x_reg_read@PLT
	cmp	ebx, eax
	jne	.L3
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L9:
	.cfi_restore_state
	mov	esi, r14d
	mov	edi, edx
	call	MIB_COUNTER_REG@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 56
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 48
	mov	esi, eax
	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
	jmp	mt753x_reg_read@PLT
	.cfi_endproc
.LFE0:
	.size	get_mib_counter, .-get_mib_counter
	.comm	mt753x_mibs,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_mt753x_swconfig.c_get_mib_counter.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_mib_counter, %function
get_mib_counter:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L8
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, [r3]
	mov	r6, r2
	add	r2, r3, r1, lsl #3
	ldr	r2, [r2, #4]
	ldr	r9, [r3, r1, lsl #3]
	cmp	r2, #1
	mov	r5, r0
	addne	r8, r9, #4
	beq	.L7
.L3:
	mov	r1, r8
	mov	r0, r6
	bl	MIB_COUNTER_REG
	mov	r1, r0
	mov	r0, r5
	bl	mt753x_reg_read
	mov	r1, r9
	mov	r4, r0
	mov	r0, r6
	bl	MIB_COUNTER_REG
	mov	r1, r0
	mov	r0, r5
	bl	mt753x_reg_read
	mov	r1, r8
	mov	r7, r0
	mov	r0, r6
	bl	MIB_COUNTER_REG
	mov	r1, r0
	mov	r0, r5
	bl	mt753x_reg_read
	cmp	r4, r0
	bne	.L3
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L7:
	mov	r1, r9
	mov	r0, r6
	bl	MIB_COUNTER_REG
	mov	r1, r0
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	mt753x_reg_read
.L9:
	.align	2
.L8:
	.word	mt753x_mibs
	.size	get_mib_counter, .-get_mib_counter
	.comm	mt753x_mibs,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
