	.file	"extr_hw.c_viafb_load_fetch_count_reg.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	viafb_load_fetch_count_reg
	.type	viafb_load_fetch_count_reg, @function
viafb_load_fetch_count_reg:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	cmp	edx, 128
	je	.L2
	lea	eax, -129[rdx]
	mov	ebx, edx
	cmp	eax, 1
	ja	.L1
	call	IGA1_FETCH_COUNT_FORMULA@PLT
	mov	ecx, DWORD PTR VIASR[rip]
	mov	rdx, QWORD PTR fetch_count_reg[rip+24]
	mov	esi, DWORD PTR fetch_count_reg[rip+16]
	mov	edi, eax
	call	viafb_load_reg@PLT
	cmp	ebx, 130
	je	.L1
.L2:
	mov	esi, r12d
	mov	edi, ebp
	call	IGA2_FETCH_COUNT_FORMULA@PLT
	mov	ecx, DWORD PTR VIACR[rip]
	mov	rdx, QWORD PTR fetch_count_reg[rip+8]
	mov	esi, DWORD PTR fetch_count_reg[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	edi, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	viafb_load_reg@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	viafb_load_fetch_count_reg, .-viafb_load_fetch_count_reg
	.comm	fetch_count_reg,32,32
	.comm	VIASR,4,4
	.comm	VIACR,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_hw.c_viafb_load_fetch_count_reg.c"
	.text
	.align	2
	.global	viafb_load_fetch_count_reg
	.syntax unified
	.arm
	.fpu softvfp
	.type	viafb_load_fetch_count_reg, %function
viafb_load_fetch_count_reg:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r2, #128
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	mov	r7, r1
	ldreq	r5, .L12
	beq	.L2
	sub	r3, r2, #129
	cmp	r3, #1
	mov	r4, r2
	pophi	{r4, r5, r6, r7, r8, pc}
	bl	IGA1_FETCH_COUNT_FORMULA
	ldr	r5, .L12
	ldr	r3, .L12+4
	ldr	r2, [r5, #12]
	ldr	r3, [r3]
	ldr	r1, [r5, #8]
	bl	viafb_load_reg
	cmp	r4, #130
	popeq	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r1, r7
	mov	r0, r6
	bl	IGA2_FETCH_COUNT_FORMULA
	ldr	r3, .L12+8
	ldr	r2, [r5, #4]
	ldr	r1, [r5]
	ldr	r3, [r3]
	pop	{r4, r5, r6, r7, r8, lr}
	b	viafb_load_reg
.L13:
	.align	2
.L12:
	.word	fetch_count_reg
	.word	VIASR
	.word	VIACR
	.size	viafb_load_fetch_count_reg, .-viafb_load_fetch_count_reg
	.comm	fetch_count_reg,16,4
	.comm	VIASR,4,4
	.comm	VIACR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
