	.file	"extr_statsx-data.c_get_counter_versions_raw.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	get_counter_versions_raw
	.type	get_counter_versions_raw, @function
get_counter_versions_raw:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	xor	esi, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	mov	rdi, r12
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	lea	rbx, 100000[rbp]
	call	get_counter_f@PLT
	mov	rdx, rbp
	test	rax, rax
	jne	.L3
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L26:
	cmp	rdx, rbx
	je	.L25
.L3:
	mov	ecx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR [rax]
	add	rdx, 4
	mov	DWORD PTR -4[rdx], ecx
	test	rax, rax
	jne	.L26
.L2:
	mov	eax, edx
	sub	eax, ebp
	cmp	rbx, rdx
	ja	.L27
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L27:
	.cfi_restore_state
	xor	esi, esi
	mov	edx, 1
	mov	rdi, r12
	call	load_counter@PLT
	cmp	eax, -2
	je	.L1
	xor	esi, esi
	mov	rdi, r12
	call	get_counter_f@PLT
	mov	rdx, rax
	test	rax, rax
	je	.L10
	mov	rax, rbp
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L28:
	test	rdx, rdx
	je	.L11
.L7:
	mov	ecx, DWORD PTR 8[rdx]
	add	rax, 4
	mov	rdx, QWORD PTR [rdx]
	mov	DWORD PTR -4[rax], ecx
	cmp	rax, rbx
	jb	.L28
.L11:
	sub	eax, ebp
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L25:
	.cfi_restore_state
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, 100000
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L10:
	.cfi_restore_state
	xor	eax, eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	get_counter_versions_raw, .-get_counter_versions_raw
	.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_statsx-data.c_get_counter_versions_raw.c"
	.text
	.align	2
	.global	get_counter_versions_raw
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_counter_versions_raw, %function
get_counter_versions_raw:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r1, r3
	mov	r5, r0
	mov	r6, r2
	mov	r0, r2
	mov	r2, #0
	mov	r7, r3
	bl	get_counter_f
	add	r4, r5, #99328
	subs	lr, r0, #0
	mov	ip, r5
	add	r4, r4, #672
	bne	.L3
	b	.L2
.L23:
	cmp	r4, ip
	beq	.L22
.L3:
	ldr	r3, [lr, #4]
	ldr	lr, [lr]
	str	r3, [ip], #4
	cmp	lr, #0
	bne	.L23
.L2:
	cmp	r4, ip
	bhi	.L24
	sub	r0, ip, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L24:
	mov	r3, #1
	mov	r2, #0
	mov	r0, r6
	mov	r1, r7
	bl	load_counter
	cmn	r0, #2
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r0, r6
	mov	r1, r7
	mov	r2, #0
	bl	get_counter_f
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	ip, r5
.L8:
	ldm	r0, {r0, r3}
	str	r3, [ip], #4
	cmp	r0, #0
	cmpne	r4, ip
	bhi	.L8
	sub	r0, ip, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L22:
	sub	r0, r4, r5
	pop	{r4, r5, r6, r7, r8, pc}
	.size	get_counter_versions_raw, .-get_counter_versions_raw
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
