	.file	"647508.c"
	.intel_syntax noprefix
	.text
	.type	perf_event_open, @function
perf_event_open:
.LFB36:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	DWORD PTR -36[rbp], ecx
	mov	QWORD PTR -48[rbp], r8
	mov	rdi, QWORD PTR -48[rbp]
	mov	esi, DWORD PTR -36[rbp]
	mov	ecx, DWORD PTR -32[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	r9, rdi
	mov	r8d, esi
	mov	rsi, rax
	mov	edi, 298
	mov	eax, 0
	call	syscall@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE36:
	.size	perf_event_open, .-perf_event_open
	.type	open_perf_fd, @function
open_perf_fd:
.LFB37:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 160
	mov	DWORD PTR -148[rbp], edi
	mov	DWORD PTR -152[rbp], esi
	mov	QWORD PTR -160[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -128[rbp]
	mov	edx, 112
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -128[rbp], 0
	mov	DWORD PTR -124[rbp], 112
	mov	rax, QWORD PTR -160[rbp]
	mov	QWORD PTR -120[rbp], rax
	movzx	eax, BYTE PTR -88[rbp]
	or	eax, 1
	mov	BYTE PTR -88[rbp], al
	mov	QWORD PTR -96[rbp], 7
	mov	edx, DWORD PTR -152[rbp]
	mov	esi, DWORD PTR -148[rbp]
	lea	rax, -128[rbp]
	mov	r8d, 4
	mov	ecx, -1
	mov	rdi, rax
	call	perf_event_open
	mov	DWORD PTR -132[rbp], eax
	mov	eax, DWORD PTR -132[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE37:
	.size	open_perf_fd, .-open_perf_fd
	.type	scale_counter_value, @function
scale_counter_value:
.LFB38:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	rax, QWORD PTR 32[rbp]
	test	rax, rax
	je	.L7
	mov	rax, QWORD PTR 24[rbp]
	test	rax, rax
	jne	.L8
.L7:
	mov	eax, 0
	jmp	.L9
.L8:
	mov	rdx, QWORD PTR 24[rbp]
	mov	rax, QWORD PTR 32[rbp]
	cmp	rdx, rax
	je	.L10
	mov	rax, QWORD PTR 24[rbp]
	mov	rcx, QWORD PTR 32[rbp]
	mov	edx, 0
	div	rcx
	test	rax, rax
	js	.L11
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L12
.L11:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L12:
	movsd	QWORD PTR -8[rbp], xmm0
	mov	rax, QWORD PTR 16[rbp]
	test	rax, rax
	js	.L13
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L14
.L13:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L14:
	mulsd	xmm0, QWORD PTR -8[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	call	round@PLT
	comisd	xmm0, QWORD PTR .LC0[rip]
	jnb	.L15
	cvttsd2si	rax, xmm0
	jmp	.L9
.L15:
	movsd	xmm1, QWORD PTR .LC0[rip]
	subsd	xmm0, xmm1
	cvttsd2si	rax, xmm0
	movabs	rdx, -9223372036854775808
	xor	rax, rdx
	jmp	.L9
.L10:
	mov	rax, QWORD PTR 16[rbp]
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE38:
	.size	scale_counter_value, .-scale_counter_value
	.section	.rodata
	.align 8
.LC1:
	.string	"fail to open perf event, error %s \n"
	.text
	.type	collect, @function
collect:
.LFB39:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -36864[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 3264
	mov	QWORD PTR -40088[rbp], rdi
	mov	DWORD PTR -40092[rbp], esi
	mov	DWORD PTR -40096[rbp], edx
	mov	QWORD PTR -40104[rbp], rcx
	mov	DWORD PTR -40108[rbp], r8d
	mov	QWORD PTR -40120[rbp], r9
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -40060[rbp], 0
	mov	DWORD PTR -40056[rbp], 0
	mov	DWORD PTR -40072[rbp], 0
	jmp	.L18
.L25:
	mov	DWORD PTR -40068[rbp], 0
	jmp	.L19
.L24:
	mov	DWORD PTR -40064[rbp], 0
	jmp	.L20
.L23:
	mov	eax, DWORD PTR -40068[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40104[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40072[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -40088[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	mov	ecx, DWORD PTR -40064[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	open_perf_fd
	mov	edx, DWORD PTR -40060[rbp]
	movsx	rdx, edx
	mov	DWORD PTR -40016[rbp+rdx*4], eax
	mov	eax, DWORD PTR -40060[rbp]
	cdqe
	mov	eax, DWORD PTR -40016[rbp+rax*4]
	cmp	eax, -1
	jne	.L21
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	jmp	.L17
.L21:
	add	DWORD PTR -40060[rbp], 1
	add	DWORD PTR -40064[rbp], 1
.L20:
	mov	eax, DWORD PTR -40064[rbp]
	cmp	eax, DWORD PTR -40096[rbp]
	jl	.L23
	add	DWORD PTR -40068[rbp], 1
.L19:
	mov	eax, DWORD PTR -40068[rbp]
	cmp	eax, DWORD PTR -40108[rbp]
	jl	.L24
	add	DWORD PTR -40072[rbp], 1
.L18:
	mov	eax, DWORD PTR -40072[rbp]
	cmp	eax, DWORD PTR -40092[rbp]
	jl	.L25
	mov	DWORD PTR -40072[rbp], 0
	jmp	.L26
.L27:
	mov	eax, DWORD PTR -40072[rbp]
	cdqe
	mov	eax, DWORD PTR -40016[rbp+rax*4]
	mov	edx, 0
	mov	esi, 9219
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	mov	eax, DWORD PTR -40072[rbp]
	cdqe
	mov	eax, DWORD PTR -40016[rbp+rax*4]
	mov	edx, 0
	mov	esi, 9216
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	add	DWORD PTR -40072[rbp], 1
.L26:
	mov	eax, DWORD PTR -40072[rbp]
	cmp	eax, DWORD PTR -40060[rbp]
	jl	.L27
	mov	edi, DWORD PTR 16[rbp]
	call	sleep@PLT
	mov	DWORD PTR -40060[rbp], 0
	mov	DWORD PTR -40072[rbp], 0
	jmp	.L28
.L35:
	mov	DWORD PTR -40068[rbp], 0
	jmp	.L29
.L34:
	mov	DWORD PTR -40064[rbp], 0
	jmp	.L30
.L33:
	mov	eax, DWORD PTR -40060[rbp]
	cdqe
	mov	eax, DWORD PTR -40016[rbp+rax*4]
	mov	edx, 0
	mov	esi, 9217
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	mov	eax, DWORD PTR -40060[rbp]
	cdqe
	mov	eax, DWORD PTR -40016[rbp+rax*4]
	lea	rcx, -40048[rbp]
	mov	edx, 32
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -40052[rbp], eax
	cmp	DWORD PTR -40052[rbp], -1
	je	.L38
	mov	eax, DWORD PTR -40060[rbp]
	cdqe
	mov	eax, DWORD PTR -40016[rbp+rax*4]
	mov	edi, eax
	call	close@PLT
	add	DWORD PTR -40060[rbp], 1
	push	QWORD PTR -40024[rbp]
	push	QWORD PTR -40032[rbp]
	push	QWORD PTR -40040[rbp]
	push	QWORD PTR -40048[rbp]
	call	scale_counter_value
	add	rsp, 32
	mov	rdx, rax
	mov	eax, DWORD PTR -40056[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -40120[rbp]
	add	rax, rcx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40056[rbp]
	cdqe
	lea	rsi, 0[0+rax*8]
	mov	rax, QWORD PTR -40120[rbp]
	add	rax, rsi
	add	rdx, rcx
	mov	QWORD PTR [rax], rdx
	jmp	.L32
.L38:
	nop
.L32:
	add	DWORD PTR -40064[rbp], 1
.L30:
	mov	eax, DWORD PTR -40064[rbp]
	cmp	eax, DWORD PTR -40096[rbp]
	jl	.L33
	add	DWORD PTR -40056[rbp], 1
	add	DWORD PTR -40068[rbp], 1
.L29:
	mov	eax, DWORD PTR -40068[rbp]
	cmp	eax, DWORD PTR -40108[rbp]
	jl	.L34
	add	DWORD PTR -40072[rbp], 1
.L28:
	mov	eax, DWORD PTR -40072[rbp]
	cmp	eax, DWORD PTR -40092[rbp]
	jl	.L35
	nop
.L17:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L37
	call	__stack_chk_fail@PLT
.L37:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE39:
	.size	collect, .-collect
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1138753536
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"647508.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	perf_event_open, %function
perf_event_open:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #4]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-28]
	str	r3, [sp]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r0, #364
	bl	syscall
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	perf_event_open, .-perf_event_open
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	open_perf_fd, %function
open_perf_fd:
	@ args = 0, pretend = 0, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #152
	str	r0, [fp, #-136]
	str	r1, [fp, #-140]
	str	r2, [fp, #-148]
	str	r3, [fp, #-144]
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #124
	mov	r2, #112
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-124]
	mov	r3, #112
	str	r3, [fp, #-120]
	sub	r3, fp, #148
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-116]
	str	r3, [fp, #-112]
	ldrb	r3, [fp, #-84]
	orr	r3, r3, #1
	strb	r3, [fp, #-84]
	mov	r2, #7
	mov	r3, #0
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	sub	r0, fp, #124
	mov	r3, #4
	str	r3, [sp]
	mvn	r3, #0
	ldr	r2, [fp, #-140]
	ldr	r1, [fp, #-136]
	bl	perf_event_open
	str	r0, [fp, #-128]
	ldr	r3, [fp, #-128]
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC0
	.size	open_perf_fd, .-open_perf_fd
	.global	__aeabi_uldivmod
	.global	__aeabi_ul2d
	.global	__aeabi_dmul
	.global	__aeabi_d2ulz
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	scale_counter_value, %function
scale_counter_value:
	@ args = 32, pretend = 16, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	add	ip, fp, #4
	stm	ip, {r0, r1, r2, r3}
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	beq	.L9
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	bne	.L10
.L9:
	mov	r2, #0
	mov	r3, #0
	b	.L11
.L10:
	add	r1, fp, #12
	ldmia	r1, {r0-r1}
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	beq	.L12
	add	r1, fp, #12
	ldmia	r1, {r0-r1}
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_uldivmod
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_ul2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldmib	fp, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_ul2d
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	round
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2ulz
	mov	r2, r0
	mov	r3, r1
	b	.L11
.L12:
	ldmib	fp, {r2-r3}
.L11:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
	.size	scale_counter_value, .-scale_counter_value
	.section	.rodata
	.align	2
.LC1:
	.ascii	"fail to open perf event, error %s \012\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	collect, %function
collect:
	@ args = 12, pretend = 0, frame = 40088
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #39936
	sub	sp, sp, #172
	sub	ip, fp, #36864
	sub	ip, ip, #20
	str	r0, [ip, #-3204]
	sub	r0, fp, #36864
	sub	r0, r0, #20
	str	r1, [r0, #-3208]
	sub	r1, fp, #36864
	sub	r1, r1, #20
	str	r2, [r1, #-3212]
	sub	r2, fp, #36864
	sub	r2, r2, #20
	str	r3, [r2, #-3216]
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	r2, r3
	ldr	r3, [fp, #8]
	str	r3, [r2, #-3220]
	ldr	r3, .L35
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3188]
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3184]
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3200]
	b	.L14
.L21:
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3196]
	b	.L15
.L20:
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3192]
	b	.L16
.L19:
	sub	r3, fp, #36864
	sub	r3, r3, #20
	ldr	r3, [r3, #-3200]
	lsl	r3, r3, #2
	sub	r2, fp, #36864
	sub	r2, r2, #20
	ldr	r2, [r2, #-3204]
	add	r3, r2, r3
	ldr	r0, [r3]
	sub	r3, fp, #36864
	sub	r3, r3, #20
	ldr	r3, [r3, #-3196]
	lsl	r3, r3, #3
	sub	r2, fp, #36864
	sub	r2, r2, #20
	ldr	r2, [r2, #-3216]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36864
	sub	r1, r1, #20
	ldr	r1, [r1, #-3192]
	bl	open_perf_fd
	mov	r2, r0
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #36864
	sub	r3, r3, #20
	ldr	r3, [r3, #-3188]
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3, #-3140]
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #20
	ldr	r3, [r3, #-3188]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-3140]
	cmn	r3, #1
	bne	.L17
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L35+4
	bl	printf
	ldr	r3, .L35+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	b	.L13
.L17:
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #20
	ldr	r3, [r3, #-3188]
	add	r3, r3, #1
	str	r3, [r2, #-3188]
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #20
	ldr	r3, [r3, #-3192]
	add	r3, r3, #1
	str	r3, [r2, #-3192]
.L16:
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #20
	ldr	r2, [r2, #-3192]
	ldr	r3, [r3, #-3212]
	cmp	r2, r3
	blt	.L19
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #20
	ldr	r3, [r3, #-3196]
	add	r3, r3, #1
	str	r3, [r2, #-3196]
.L15:
	sub	r3, fp, #36864
	sub	r3, r3, #20
	ldr	r2, [r3, #-3196]
	ldr	r3, [fp, #4]
	cmp	r2, r3
	blt	.L20
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #20
	ldr	r3, [r3, #-3200]
	add	r3, r3, #1
	str	r3, [r2, #-3200]
.L14:
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #20
	ldr	r2, [r2, #-3200]
	ldr	r3, [r3, #-3208]
	cmp	r2, r3
	blt	.L21
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3200]
	b	.L22
.L23:
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #20
	ldr	r3, [r3, #-3200]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-3140]
	mov	r2, #0
	ldr	r1, .L35+12
	mov	r0, r3
	bl	ioctl
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #20
	ldr	r3, [r3, #-3200]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-3140]
	mov	r2, #0
	mov	r1, #9216
	mov	r0, r3
	bl	ioctl
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #20
	ldr	r3, [r3, #-3200]
	add	r3, r3, #1
	str	r3, [r2, #-3200]
.L22:
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #20
	ldr	r2, [r2, #-3200]
	ldr	r3, [r3, #-3188]
	cmp	r2, r3
	blt	.L23
	ldr	r0, [fp, #12]
	bl	sleep
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3188]
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3200]
	b	.L24
.L31:
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3196]
	b	.L25
.L30:
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3192]
	b	.L26
.L29:
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #20
	ldr	r3, [r3, #-3188]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-3140]
	mov	r2, #0
	ldr	r1, .L35+16
	mov	r0, r3
	bl	ioctl
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #20
	ldr	r3, [r3, #-3188]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r0, [r3, #-3140]
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	r6, r3
	sub	r3, fp, #39936
	sub	r3, r3, #20
	sub	r3, r3, #104
	mov	r2, #32
	mov	r1, r3
	bl	read
	str	r0, [r6, #-3180]
	sub	r3, fp, #36864
	sub	r3, r3, #20
	ldr	r3, [r3, #-3180]
	cmn	r3, #1
	beq	.L34
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #20
	ldr	r3, [r3, #-3188]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-3140]
	mov	r0, r3
	bl	close
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #20
	ldr	r3, [r3, #-3188]
	add	r3, r3, #1
	str	r3, [r2, #-3188]
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	lr, r3
	mov	ip, sp
	sub	r3, lr, #3152
	sub	r3, r3, #8
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	sub	r3, lr, #3168
	sub	r3, r3, #8
	ldm	r3, {r0, r1, r2, r3}
	bl	scale_counter_value
	sub	r3, fp, #36864
	sub	r3, r3, #20
	ldr	r3, [r3, #-3184]
	lsl	r3, r3, #3
	sub	r2, fp, #36864
	sub	r2, r2, #20
	ldr	r2, [r2, #-3220]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	ip, fp, #36864
	sub	ip, ip, #20
	ldr	ip, [ip, #-3184]
	lsl	ip, ip, #3
	sub	lr, fp, #36864
	sub	lr, lr, #20
	ldr	lr, [lr, #-3220]
	add	ip, lr, ip
	adds	r4, r0, r2
	adc	r5, r1, r3
	stm	ip, {r4-r5}
	b	.L28
.L34:
	nop
.L28:
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #20
	ldr	r3, [r3, #-3192]
	add	r3, r3, #1
	str	r3, [r2, #-3192]
.L26:
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #20
	ldr	r2, [r2, #-3192]
	ldr	r3, [r3, #-3212]
	cmp	r2, r3
	blt	.L29
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #20
	ldr	r3, [r3, #-3184]
	add	r3, r3, #1
	str	r3, [r2, #-3184]
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #20
	ldr	r3, [r3, #-3196]
	add	r3, r3, #1
	str	r3, [r2, #-3196]
.L25:
	sub	r3, fp, #36864
	sub	r3, r3, #20
	ldr	r2, [r3, #-3196]
	ldr	r3, [fp, #4]
	cmp	r2, r3
	blt	.L30
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #20
	ldr	r3, [r3, #-3200]
	add	r3, r3, #1
	str	r3, [r2, #-3200]
.L24:
	sub	r3, fp, #36864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #20
	ldr	r2, [r2, #-3200]
	ldr	r3, [r3, #-3208]
	cmp	r2, r3
	blt	.L31
	nop
.L13:
	ldr	r3, .L35
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L36:
	.align	2
.L35:
	.word	.LC2
	.word	.LC1
	.word	stdout
	.word	9219
	.word	9217
	.size	collect, .-collect
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
