	.file	"154826708.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC5:
	.string	"Start time: %5.2lf\nFinish time: %5.2lf\nTime spent: %5.2lf"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	eax, 0
	call	get_msdos_time@PLT
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm1, QWORD PTR .LC0[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -72[rbp], xmm0
	mov	DWORD PTR -112[rbp], 160
	mov	DWORD PTR -108[rbp], 100
	mov	DWORD PTR -104[rbp], 144
	mov	DWORD PTR -100[rbp], 56
	mov	DWORD PTR -96[rbp], 64
	mov	DWORD PTR -92[rbp], 1
	movsd	xmm0, QWORD PTR .LC1[rip]
	movsd	QWORD PTR -64[rbp], xmm0
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -104[rbp]
	movsd	xmm0, QWORD PTR -64[rbp]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -56[rbp], xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -100[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -92[rbp]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -48[rbp], xmm0
	mov	eax, 0
	call	cga_start@PLT
	mov	eax, DWORD PTR -108[rbp]
	neg	eax
	mov	DWORD PTR -120[rbp], eax
	jmp	.L2
.L6:
	mov	eax, DWORD PTR -96[rbp]
	neg	eax
	cmp	DWORD PTR -120[rbp], eax
	jl	.L3
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -96[rbp]
	jg	.L3
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -120[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -104[rbp]
	mulsd	xmm0, xmm1
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -96[rbp]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	mov	eax, DWORD PTR -120[rbp]
	mov	DWORD PTR -88[rbp], eax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -104[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -104[rbp]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	mulsd	xmm0, xmm0
	subsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movsd	xmm1, QWORD PTR .LC2[rip]
	addsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -84[rbp], eax
	mov	eax, DWORD PTR -84[rbp]
	neg	eax
	mov	DWORD PTR -116[rbp], eax
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -116[rbp]
	imul	eax, eax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR -32[rbp]
	mulsd	xmm0, xmm0
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movsd	xmm1, QWORD PTR -56[rbp]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -116[rbp]
	movsd	QWORD PTR -16[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	call	sin@PLT
	movsd	QWORD PTR -136[rbp], xmm0
	movsd	xmm1, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR .LC3[rip]
	mulsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sin@PLT
	movsd	xmm1, QWORD PTR .LC4[rip]
	mulsd	xmm0, xmm1
	addsd	xmm0, QWORD PTR -136[rbp]
	movsd	xmm1, QWORD PTR -48[rbp]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -112[rbp]
	subsd	xmm0, QWORD PTR -16[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -88[rbp]
	subsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -80[rbp], eax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -108[rbp]
	movapd	xmm1, xmm0
	subsd	xmm1, QWORD PTR -8[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -88[rbp]
	addsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -76[rbp], eax
	mov	edx, DWORD PTR -76[rbp]
	mov	eax, DWORD PTR -80[rbp]
	mov	esi, edx
	mov	edi, eax
	call	hat_slab@PLT
	add	DWORD PTR -116[rbp], 1
.L4:
	mov	eax, DWORD PTR -116[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jle	.L5
.L3:
	add	DWORD PTR -120[rbp], 1
.L2:
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -108[rbp]
	jl	.L6
	mov	eax, 0
	call	get_msdos_time@PLT
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm1, QWORD PTR .LC0[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	mov	eax, 0
	call	wait_for_key@PLT
	mov	eax, 0
	call	cga_end@PLT
	movsd	xmm0, QWORD PTR -40[rbp]
	movapd	xmm1, xmm0
	subsd	xmm1, QWORD PTR -72[rbp]
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -72[rbp]
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC5[rip]
	mov	eax, 3
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1079574528
	.align 8
.LC1:
	.long	2134057426
	.long	1074977148
	.align 8
.LC2:
	.long	0
	.long	1071644672
	.align 8
.LC3:
	.long	0
	.long	1074266112
	.align 8
.LC4:
	.long	-1717986918
	.long	1071225241
	.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	"154826708.c"
	.text
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dmul
	.global	__aeabi_dsub
	.global	__aeabi_dadd
	.global	__aeabi_d2iz
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Start time: %5.2lf\012Finish time: %5.2lf\012Time s"
	.ascii	"pent: %5.2lf\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #136
	bl	get_msdos_time
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L8
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	mov	r3, #160
	str	r3, [fp, #-124]
	mov	r3, #100
	str	r3, [fp, #-120]
	mov	r3, #144
	str	r3, [fp, #-116]
	mov	r3, #56
	str	r3, [fp, #-112]
	mov	r3, #64
	str	r3, [fp, #-108]
	mov	r3, #1
	str	r3, [fp, #-104]
	ldr	r2, .L8+4
	ldr	r3, .L8+8
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	ldr	r0, [fp, #-116]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r0, [fp, #-112]
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-104]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	bl	cga_start
	ldr	r3, [fp, #-120]
	rsb	r3, r3, #0
	str	r3, [fp, #-132]
	b	.L2
.L6:
	ldr	r3, [fp, #-108]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-132]
	cmp	r2, r3
	blt	.L3
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-108]
	cmp	r2, r3
	bgt	.L3
	ldr	r0, [fp, #-132]
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-116]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-108]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-132]
	str	r3, [fp, #-100]
	ldr	r0, [fp, #-116]
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-116]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r2, #0
	ldr	r3, .L8+12
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-96]
	rsb	r3, r3, #0
	str	r3, [fp, #-128]
	b	.L4
.L5:
	ldr	r3, [fp, #-128]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r0, [fp, #-128]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	sin
	mov	r4, r0
	mov	r5, r1
	mov	r2, #0
	ldr	r3, .L8+16
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sin
	ldr	r2, .L8+20
	ldr	r3, .L8+24
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r0, [fp, #-124]
	bl	__aeabi_i2d
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-100]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-92]
	ldr	r0, [fp, #-120]
	bl	__aeabi_i2d
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-100]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-88]
	ldr	r1, [fp, #-88]
	ldr	r0, [fp, #-92]
	bl	hat_slab
	ldr	r3, [fp, #-128]
	add	r3, r3, #1
	str	r3, [fp, #-128]
.L4:
	ldr	r2, [fp, #-128]
	ldr	r3, [fp, #-96]
	cmp	r2, r3
	ble	.L5
.L3:
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L2:
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-120]
	cmp	r2, r3
	blt	.L6
	bl	get_msdos_time
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L8
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	bl	wait_for_key
	bl	cga_end
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	ldr	r0, .L8+28
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L9:
	.align	2
.L8:
	.word	1079574528
	.word	2134057426
	.word	1074977148
	.word	1071644672
	.word	1074266112
	.word	-1717986918
	.word	1071225241
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
