	.file	"420966.c"
	.intel_syntax noprefix
	.text
	.local	ticks
	.comm	ticks,8,8
	.globl	timer_handler
	.type	timer_handler, @function
timer_handler:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR ticks[rip]
	add	rax, 1
	mov	QWORD PTR ticks[rip], rax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	timer_handler, .-timer_handler
	.globl	ticks_elapsed
	.type	ticks_elapsed, @function
ticks_elapsed:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR ticks[rip]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	ticks_elapsed, .-ticks_elapsed
	.globl	seconds_elapsed
	.type	seconds_elapsed, @function
seconds_elapsed:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR ticks[rip]
	movabs	rdx, -2049638230412172401
	mul	rdx
	mov	rax, rdx
	shr	rax, 4
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	seconds_elapsed, .-seconds_elapsed
	.globl	wait
	.type	wait, @function
wait:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	movsd	QWORD PTR -24[rbp], xmm0
	mov	eax, 0
	call	ticks_elapsed
	mov	DWORD PTR -4[rbp], eax
	jmp	.L7
.L8:
	mov	eax, 0
	call	_hlt@PLT
.L7:
	mov	eax, 0
	call	ticks_elapsed
	sub	eax, DWORD PTR -4[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	xmm2, QWORD PTR .LC0[rip]
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR -24[rbp]
	comisd	xmm0, xmm1
	ja	.L8
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	wait, .-wait
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1077018624
	.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	"420966.c"
	.text
	.local	ticks
	.comm	ticks,4,4
	.align	2
	.global	timer_handler
	.syntax unified
	.arm
	.fpu softvfp
	.type	timer_handler, %function
timer_handler:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L2
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L2
	str	r3, [r2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L3:
	.align	2
.L2:
	.word	ticks
	.size	timer_handler, .-timer_handler
	.align	2
	.global	ticks_elapsed
	.syntax unified
	.arm
	.fpu softvfp
	.type	ticks_elapsed, %function
ticks_elapsed:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L6
	ldr	r3, [r3]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L7:
	.align	2
.L6:
	.word	ticks
	.size	ticks_elapsed, .-ticks_elapsed
	.align	2
	.global	seconds_elapsed
	.syntax unified
	.arm
	.fpu softvfp
	.type	seconds_elapsed, %function
seconds_elapsed:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L10
	ldr	r3, [r3]
	ldr	r2, .L10+4
	umull	r1, r3, r2, r3
	lsr	r3, r3, #2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L11:
	.align	2
.L10:
	.word	ticks
	.word	954437177
	.size	seconds_elapsed, .-seconds_elapsed
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dcmpgt
	.align	2
	.global	wait
	.syntax unified
	.arm
	.fpu softvfp
	.type	wait, %function
wait:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	bl	ticks_elapsed
	str	r0, [fp, #-8]
	b	.L13
.L14:
	bl	_hlt
.L13:
	bl	ticks_elapsed
	mov	r2, r0
	ldr	r3, [fp, #-8]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L16
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L14
	nop
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	1077018624
	.size	wait, .-wait
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
