	.file	"extr_mevent_test.c_timer_print.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"machdep.tsc_freq"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"timers done: usecs, min %ld, max %ld, mean %ld\n"
	.text
	.p2align 4
	.type	timer_print, @function
timer_print:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xor	r8d, r8d
	xor	ecx, ecx
	lea	rdi, .LC0[rip]
	sub	rsp, 32
	.cfi_def_cfa_offset 48
	mov	ebp, DWORD PTR UINT64_MAX[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	rdx, 16[rsp]
	lea	rsi, 12[rsp]
	mov	QWORD PTR 16[rsp], 4
	call	sysctlbyname@PLT
	mov	r11d, DWORD PTR TEVSZ[rip]
	cmp	r11d, 1
	jle	.L5
	mov	rdi, QWORD PTR tevbuf[rip]
	lea	eax, -2[r11]
	xor	ecx, ecx
	xor	r8d, r8d
	mov	r9d, DWORD PTR 12[rsp]
	lea	rsi, 4[rdi]
	lea	r10, [rsi+rax*4]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L10:
	add	rsi, 4
.L3:
	mov	eax, DWORD PTR 4[rdi]
	sub	eax, DWORD PTR [rdi]
	mov	rdi, rsi
	imul	eax, eax, 1000000
	cdq
	idiv	r9d
	add	ecx, eax
	cmp	ebp, eax
	cmovg	ebp, eax
	cmp	r8d, eax
	cmovl	r8d, eax
	cmp	r10, rsi
	jne	.L10
	mov	eax, ecx
	sub	r11d, 1
	cdq
	idiv	r11d
	mov	ecx, eax
.L2:
	mov	edx, r8d
	mov	esi, ebp
	lea	rdi, .LC1[rip]
	call	printf@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	xor	ecx, ecx
	xor	r8d, r8d
	jmp	.L2
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	timer_print, .-timer_print
	.comm	tevbuf,8,8
	.comm	UINT64_MAX,4,4
	.comm	TEVSZ,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_mevent_test.c_timer_print.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"machdep.tsc_freq\000"
	.global	__aeabi_idiv
	.align	2
.LC1:
	.ascii	"timers done: usecs, min %ld, max %ld, mean %ld\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	timer_print, %function
timer_print:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r10, #0
	mov	lr, #4
	sub	sp, sp, #24
	ldr	ip, .L10
	ldr	r4, .L10+4
	mov	r3, r10
	str	r10, [sp]
	ldr	r0, .L10+8
	add	r2, sp, #16
	add	r1, sp, #12
	ldr	r4, [r4]
	str	r4, [sp, #20]
	mov	r4,#0
	ldr	r5, [ip]
	str	lr, [sp, #16]
	bl	sysctlbyname
	ldr	r3, .L10+12
	ldr	r8, [r3]
	cmp	r8, #1
	ble	.L5
	mov	r6, r10
	ldr	r3, .L10+16
	ldr	r9, [sp, #12]
	ldr	r4, [r3]
	sub	r7, r4, #4
	add	r7, r7, r8, lsl #2
.L3:
	ldr	r3, [r4]
	ldr	r0, [r4, #4]
	mov	r1, r9
	sub	r0, r0, r3
	rsb	r3, r0, r0, lsl #5
	rsb	r3, r3, r3, lsl #6
	add	r0, r0, r3, lsl #3
	lsl	r0, r0, #6
	bl	__aeabi_idiv
	cmp	r5, r0
	movge	r5, r0
	add	r4, r4, #4
	cmp	r6, r0
	movlt	r6, r0
	cmp	r7, r4
	add	r10, r10, r0
	bne	.L3
	mov	r0, r10
	sub	r1, r8, #1
	bl	__aeabi_idiv
	mov	r3, r0
.L2:
	mov	r2, r6
	mov	r1, r5
	ldr	r0, .L10+20
	bl	printf
	ldr	r3, .L10+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
	mov	r3, r10
	mov	r6, r10
	b	.L2
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	UINT64_MAX
	.word	.LC2
	.word	.LC0
	.word	TEVSZ
	.word	tevbuf
	.word	.LC1
	.size	timer_print, .-timer_print
	.comm	tevbuf,4,4
	.comm	UINT64_MAX,4,4
	.comm	TEVSZ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
