	.file	"115764866.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, 1272
	.cfi_offset 3, -24
	mov	QWORD PTR -1272[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -1252[rbp], 0
	mov	DWORD PTR -1248[rbp], 0
	jmp	.L2
.L7:
	mov	rax, QWORD PTR -1272[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L3
	mov	ebx, DWORD PTR -1248[rbp]
	lea	eax, 1[rbx]
	mov	DWORD PTR -1248[rbp], eax
	lea	rax, -28[rbp]
	mov	rdi, rax
	call	atoi@PLT
	movsx	rdx, ebx
	mov	DWORD PTR -1232[rbp+rdx*4], eax
	mov	DWORD PTR -1252[rbp], 0
	mov	DWORD PTR -1244[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -1244[rbp]
	cdqe
	mov	BYTE PTR -28[rbp+rax], 0
	add	DWORD PTR -1244[rbp], 1
.L4:
	cmp	DWORD PTR -1244[rbp], 3
	jle	.L5
	jmp	.L6
.L3:
	mov	eax, DWORD PTR -1252[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -1252[rbp], edx
	mov	rdx, QWORD PTR -1272[rbp]
	movzx	edx, BYTE PTR [rdx]
	cdqe
	mov	BYTE PTR -28[rbp+rax], dl
.L6:
	add	QWORD PTR -1272[rbp], 1
.L2:
	mov	rax, QWORD PTR -1272[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L7
	mov	DWORD PTR -1240[rbp], 0
	jmp	.L8
.L13:
	mov	eax, DWORD PTR -1240[rbp]
	add	eax, 1
	mov	DWORD PTR -1236[rbp], eax
	jmp	.L9
.L12:
	mov	eax, DWORD PTR -1240[rbp]
	cdqe
	mov	edx, DWORD PTR -1232[rbp+rax*4]
	mov	eax, DWORD PTR -1236[rbp]
	cdqe
	mov	eax, DWORD PTR -1232[rbp+rax*4]
	add	eax, edx
	cmp	eax, 2020
	jne	.L10
	mov	eax, DWORD PTR -1240[rbp]
	cdqe
	mov	edx, DWORD PTR -1232[rbp+rax*4]
	mov	eax, DWORD PTR -1236[rbp]
	cdqe
	mov	eax, DWORD PTR -1232[rbp+rax*4]
	imul	eax, edx
	jmp	.L14
.L10:
	add	DWORD PTR -1236[rbp], 1
.L9:
	mov	eax, DWORD PTR -1236[rbp]
	cmp	eax, DWORD PTR -1248[rbp]
	jl	.L12
	add	DWORD PTR -1240[rbp], 1
.L8:
	mov	eax, DWORD PTR -1240[rbp]
	cmp	eax, DWORD PTR -1248[rbp]
	jl	.L13
	mov	eax, 0
.L14:
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	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	"115764866.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 = 1240
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #1232
	sub	sp, sp, #12
	str	r0, [fp, #-1248]
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-1240]
	mov	r3, #0
	str	r3, [fp, #-1236]
	b	.L2
.L7:
	ldr	r3, [fp, #-1248]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L3
	ldr	r4, [fp, #-1236]
	add	r3, r4, #1
	str	r3, [fp, #-1236]
	sub	r3, fp, #20
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	lsl	r3, r4, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-1208]
	mov	r3, #0
	str	r3, [fp, #-1240]
	mov	r3, #0
	str	r3, [fp, #-1232]
	b	.L4
.L5:
	sub	r2, fp, #20
	ldr	r3, [fp, #-1232]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-1232]
	add	r3, r3, #1
	str	r3, [fp, #-1232]
.L4:
	ldr	r3, [fp, #-1232]
	cmp	r3, #3
	ble	.L5
	b	.L6
.L3:
	ldr	r3, [fp, #-1240]
	add	r2, r3, #1
	str	r2, [fp, #-1240]
	ldr	r2, [fp, #-1248]
	ldrb	r2, [r2]	@ zero_extendqisi2
	sub	r1, fp, #12
	add	r3, r1, r3
	strb	r2, [r3, #-8]
.L6:
	ldr	r3, [fp, #-1248]
	add	r3, r3, #1
	str	r3, [fp, #-1248]
.L2:
	ldr	r3, [fp, #-1248]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L7
	mov	r3, #0
	str	r3, [fp, #-1228]
	b	.L8
.L13:
	ldr	r3, [fp, #-1228]
	add	r3, r3, #1
	str	r3, [fp, #-1224]
	b	.L9
.L12:
	ldr	r3, [fp, #-1228]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [r3, #-1208]
	ldr	r3, [fp, #-1224]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	ldr	r3, [r3, #-1208]
	add	r3, r2, r3
	ldr	r2, .L16+4
	cmp	r3, r2
	bne	.L10
	ldr	r3, [fp, #-1228]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [r3, #-1208]
	ldr	r3, [fp, #-1224]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	ldr	r3, [r3, #-1208]
	mul	r3, r2, r3
	b	.L14
.L10:
	ldr	r3, [fp, #-1224]
	add	r3, r3, #1
	str	r3, [fp, #-1224]
.L9:
	ldr	r2, [fp, #-1224]
	ldr	r3, [fp, #-1236]
	cmp	r2, r3
	blt	.L12
	ldr	r3, [fp, #-1228]
	add	r3, r3, #1
	str	r3, [fp, #-1228]
.L8:
	ldr	r2, [fp, #-1228]
	ldr	r3, [fp, #-1236]
	cmp	r2, r3
	blt	.L13
	mov	r3, #0
.L14:
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC0
	.word	2020
	.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, .L20
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L20+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, .L20+8
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.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
