	.file	"159514736.c"
	.intel_syntax noprefix
	.text
	.globl	run
	.type	run, @function
run:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 872
	.cfi_offset 3, -24
	mov	QWORD PTR -872[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -852[rbp], 0
	mov	WORD PTR -26[rbp], 44
	lea	rdx, -26[rbp]
	mov	rax, QWORD PTR -872[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -840[rbp], rax
	jmp	.L2
.L3:
	mov	ebx, DWORD PTR -852[rbp]
	lea	eax, 1[rbx]
	mov	DWORD PTR -852[rbp], eax
	mov	rax, QWORD PTR -840[rbp]
	mov	rdi, rax
	call	atoi@PLT
	movsx	rdx, ebx
	mov	DWORD PTR -832[rbp+rdx*4], eax
	lea	rax, -26[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -840[rbp], rax
.L2:
	cmp	QWORD PTR -840[rbp], 0
	jne	.L3
	mov	DWORD PTR -828[rbp], 12
	mov	DWORD PTR -824[rbp], 2
	mov	DWORD PTR -848[rbp], 0
	jmp	.L4
.L10:
	mov	eax, DWORD PTR -848[rbp]
	cdqe
	mov	eax, DWORD PTR -832[rbp+rax*4]
	mov	DWORD PTR -844[rbp], eax
	cmp	DWORD PTR -844[rbp], 99
	je	.L5
	cmp	DWORD PTR -844[rbp], 99
	jg	.L6
	cmp	DWORD PTR -844[rbp], 1
	je	.L7
	cmp	DWORD PTR -844[rbp], 2
	je	.L8
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -848[rbp]
	add	eax, 1
	cdqe
	mov	eax, DWORD PTR -832[rbp+rax*4]
	cdqe
	mov	ecx, DWORD PTR -832[rbp+rax*4]
	mov	eax, DWORD PTR -848[rbp]
	add	eax, 2
	cdqe
	mov	eax, DWORD PTR -832[rbp+rax*4]
	cdqe
	mov	edx, DWORD PTR -832[rbp+rax*4]
	mov	eax, DWORD PTR -848[rbp]
	add	eax, 3
	cdqe
	mov	eax, DWORD PTR -832[rbp+rax*4]
	add	edx, ecx
	cdqe
	mov	DWORD PTR -832[rbp+rax*4], edx
	jmp	.L6
.L8:
	mov	eax, DWORD PTR -848[rbp]
	add	eax, 1
	cdqe
	mov	eax, DWORD PTR -832[rbp+rax*4]
	cdqe
	mov	ecx, DWORD PTR -832[rbp+rax*4]
	mov	eax, DWORD PTR -848[rbp]
	add	eax, 2
	cdqe
	mov	eax, DWORD PTR -832[rbp+rax*4]
	cdqe
	mov	edx, DWORD PTR -832[rbp+rax*4]
	mov	eax, DWORD PTR -848[rbp]
	add	eax, 3
	cdqe
	mov	eax, DWORD PTR -832[rbp+rax*4]
	imul	edx, ecx
	cdqe
	mov	DWORD PTR -832[rbp+rax*4], edx
	jmp	.L6
.L5:
	mov	eax, DWORD PTR -832[rbp]
	jmp	.L11
.L6:
	add	DWORD PTR -848[rbp], 4
.L4:
	mov	eax, DWORD PTR -848[rbp]
	cmp	eax, DWORD PTR -852[rbp]
	jl	.L10
	mov	eax, 0
.L11:
	mov	rsi, QWORD PTR -24[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	run, .-run
	.section	.rodata
.LC2:
	.string	"_duration:%f\n%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.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
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	call	clock@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	run
	mov	DWORD PTR -12[rbp], eax
	call	clock@PLT
	sub	rax, QWORD PTR -8[rbp]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rax
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC0[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC1[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	mov	edx, DWORD PTR -12[rbp]
	mov	esi, edx
	movq	xmm0, rax
	lea	rdi, .LC2[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1083129856
	.align 8
.LC1:
	.long	0
	.long	1093567616
	.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	"159514736.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	run
	.syntax unified
	.arm
	.fpu softvfp
	.type	run, %function
run:
	@ args = 0, pretend = 0, frame = 832
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #836
	str	r0, [fp, #-840]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-836]
	mov	r3, #44
	strh	r3, [fp, #-20]	@ movhi
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, [fp, #-840]
	bl	strtok
	str	r0, [fp, #-832]
	b	.L2
.L3:
	ldr	r4, [fp, #-836]
	add	r3, r4, #1
	str	r3, [fp, #-836]
	ldr	r0, [fp, #-832]
	bl	atoi
	mov	r2, r0
	lsl	r3, r4, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-808]
	sub	r3, fp, #20
	mov	r1, r3
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-832]
.L2:
	ldr	r3, [fp, #-832]
	cmp	r3, #0
	bne	.L3
	mov	r3, #12
	str	r3, [fp, #-816]
	mov	r3, #2
	str	r3, [fp, #-812]
	mov	r3, #0
	str	r3, [fp, #-828]
	b	.L4
.L10:
	ldr	r3, [fp, #-828]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-808]
	str	r3, [fp, #-824]
	ldr	r3, [fp, #-824]
	cmp	r3, #99
	beq	.L5
	ldr	r3, [fp, #-824]
	cmp	r3, #99
	bgt	.L6
	ldr	r3, [fp, #-824]
	cmp	r3, #1
	beq	.L7
	ldr	r3, [fp, #-824]
	cmp	r3, #2
	beq	.L8
	b	.L6
.L7:
	ldr	r3, [fp, #-828]
	add	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-808]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r1, [r3, #-808]
	ldr	r3, [fp, #-828]
	add	r3, r3, #2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-808]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [r3, #-808]
	ldr	r3, [fp, #-828]
	add	r3, r3, #3
	lsl	r3, r3, #2
	sub	r0, fp, #12
	add	r3, r0, r3
	ldr	r3, [r3, #-808]
	add	r2, r1, r2
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-808]
	b	.L6
.L8:
	ldr	r3, [fp, #-828]
	add	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-808]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [r3, #-808]
	ldr	r3, [fp, #-828]
	add	r3, r3, #2
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	ldr	r3, [r3, #-808]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	ldr	r1, [r3, #-808]
	ldr	r3, [fp, #-828]
	add	r3, r3, #3
	lsl	r3, r3, #2
	sub	r0, fp, #12
	add	r3, r0, r3
	ldr	r3, [r3, #-808]
	mul	r2, r1, r2
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-808]
	b	.L6
.L5:
	ldr	r3, [fp, #-820]
	b	.L11
.L6:
	ldr	r3, [fp, #-828]
	add	r3, r3, #4
	str	r3, [fp, #-828]
.L4:
	ldr	r2, [fp, #-828]
	ldr	r3, [fp, #-836]
	cmp	r2, r3
	blt	.L10
	mov	r3, #0
.L11:
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC0
	.size	run, .-run
	.global	__aeabi_i2f
	.global	__aeabi_f2d
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.section	.rodata
	.align	2
.LC1:
	.ascii	"_duration:%f\012%d\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	bl	clock
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	run
	str	r0, [fp, #-8]
	bl	clock
	mov	r2, r0
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L17
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L17+4
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-8]
	str	r3, [sp]
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L17+8
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	1083129856
	.word	1093567616
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
