	.file	"122014284.c"
	.intel_syntax noprefix
	.text
	.globl	len_annon
	.bss
	.align 8
	.type	len_annon, @object
	.size	len_annon, 8
len_annon:
	.zero	8
	.globl	loop_for
	.align 8
	.type	loop_for, @object
	.size	loop_for, 8
loop_for:
	.zero	8
	.globl	mem_annon
	.align 8
	.type	mem_annon, @object
	.size	mem_annon, 8
mem_annon:
	.zero	8
	.section	.rodata
	.align 8
.LC0:
	.string	"# Params: len_annon=%ld loop_for=%ld\n"
.LC1:
	.string	"BEGIN,END,BYTES/SEC"
.LC2:
	.string	"%ld,%ld,%f\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -16[rbp], 0
	mov	QWORD PTR -8[rbp], 0
	mov	DWORD PTR -28[rbp], 1
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -28[rbp], edx
	mov	eax, eax
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atol@PLT
	mov	QWORD PTR len_annon[rip], rax
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -28[rbp], edx
	mov	eax, eax
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atol@PLT
	mov	QWORD PTR loop_for[rip], rax
	mov	rdx, QWORD PTR loop_for[rip]
	mov	rax, QWORD PTR len_annon[rip]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	time@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR len_annon[rip]
	mov	r9d, 0
	mov	r8d, 0
	mov	ecx, 34
	mov	edx, 3
	mov	rsi, rax
	mov	edi, 0
	call	mmap@PLT
	mov	QWORD PTR mem_annon[rip], rax
	mov	QWORD PTR -24[rbp], 0
	jmp	.L2
.L3:
	mov	rdx, QWORD PTR mem_annon[rip]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], dl
	add	QWORD PTR -24[rbp], 1
.L2:
	mov	rax, QWORD PTR len_annon[rip]
	cmp	QWORD PTR -24[rbp], rax
	jb	.L3
	mov	edi, 0
	call	time@PLT
	mov	QWORD PTR -8[rbp], rax
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	rax, QWORD PTR len_annon[rip]
	test	rax, rax
	js	.L4
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L5
.L4:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L5:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR -16[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	divsd	xmm0, xmm1
	movq	rcx, xmm0
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rcx
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L6
.L9:
	mov	QWORD PTR -24[rbp], 0
	jmp	.L7
.L8:
	mov	rdx, QWORD PTR mem_annon[rip]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	add	edx, 1
	mov	BYTE PTR [rax], dl
	add	QWORD PTR -24[rbp], 1
.L7:
	mov	rax, QWORD PTR len_annon[rip]
	cmp	QWORD PTR -24[rbp], rax
	jb	.L8
.L6:
	mov	edi, 0
	call	time@PLT
	sub	rax, QWORD PTR -16[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR loop_for[rip]
	cmp	rdx, rax
	jl	.L9
	mov	rdx, QWORD PTR len_annon[rip]
	mov	rax, QWORD PTR mem_annon[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	munmap@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.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	"122014284.c"
	.text
	.global	len_annon
	.bss
	.align	2
	.type	len_annon, %object
	.size	len_annon, 4
len_annon:
	.space	4
	.global	loop_for
	.align	2
	.type	loop_for, %object
	.size	loop_for, 4
loop_for:
	.space	4
	.global	mem_annon
	.align	2
	.type	mem_annon, %object
	.size	mem_annon, 4
mem_annon:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"# Params: len_annon=%ld loop_for=%ld\012\000"
	.align	2
.LC1:
	.ascii	"BEGIN,END,BYTES/SEC\000"
	.global	__aeabi_ui2d
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.align	2
.LC2:
	.ascii	"%ld,%ld,%f\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atol
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L9
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atol
	mov	r3, r0
	ldr	r2, .L9+4
	str	r3, [r2]
	ldr	r3, .L9
	ldr	r3, [r3]
	ldr	r2, .L9+4
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L9+8
	bl	printf
	mov	r0, #0
	bl	time
	str	r0, [fp, #-24]
	ldr	r3, .L9
	ldr	r1, [r3]
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #34
	mov	r2, #3
	mov	r0, #0
	bl	mmap
	mov	r3, r0
	ldr	r2, .L9+12
	str	r3, [r2]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L2
.L3:
	ldr	r3, .L9+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L2:
	ldr	r3, .L9
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bcc	.L3
	mov	r0, #0
	bl	time
	str	r0, [fp, #-20]
	ldr	r0, .L9+16
	bl	puts
	ldr	r3, .L9
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_ui2d
	mov	r4, r0
	mov	r5, r1
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-24]
	ldr	r0, .L9+20
	bl	printf
	b	.L4
.L7:
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L5
.L6:
	ldr	r3, .L9+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	add	r2, r2, #1
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L5:
	ldr	r3, .L9
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bcc	.L6
.L4:
	mov	r0, #0
	bl	time
	mov	r2, r0
	ldr	r3, [fp, #-24]
	sub	r2, r2, r3
	ldr	r3, .L9+4
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L7
	ldr	r3, .L9+12
	ldr	r3, [r3]
	ldr	r2, .L9
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	munmap
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L10:
	.align	2
.L9:
	.word	len_annon
	.word	loop_for
	.word	.LC0
	.word	mem_annon
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
