	.file	"104828901.c"
	.intel_syntax noprefix
	.text
	.globl	setup
	.type	setup, @function
setup:
.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	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR -48[rbp]
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rcx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rcx], rax
	mov	QWORD PTR 24[rcx], rdx
	mov	rax, QWORD PTR -40[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	setup, .-setup
	.globl	finish
	.type	finish, @function
finish:
.LFB7:
	.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 16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR 24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR 32[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	finish, .-finish
	.globl	performance_test
	.type	performance_test, @function
performance_test:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	pxor	xmm0, xmm0
	movss	DWORD PTR -20[rbp], xmm0
	mov	QWORD PTR -8[rbp], 0
	jmp	.L5
.L6:
	mov	rdx, QWORD PTR 16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	sal	rax, 2
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	xmm1, DWORD PTR -20[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -20[rbp], xmm0
	add	QWORD PTR -8[rbp], 1
.L5:
	mov	rax, QWORD PTR 40[rbp]
	cmp	QWORD PTR -8[rbp], rax
	jl	.L6
	mov	DWORD PTR -16[rbp], 0
	jmp	.L7
.L8:
	mov	rdx, QWORD PTR 24[rbp]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	xmm1, DWORD PTR -20[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -20[rbp], xmm0
	add	DWORD PTR -16[rbp], 1
.L7:
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR 40[rbp]
	cmp	rdx, rax
	jl	.L8
	mov	DWORD PTR -12[rbp], 0
	jmp	.L9
.L10:
	mov	rdx, QWORD PTR 32[rbp]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	xmm1, DWORD PTR -20[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -20[rbp], xmm0
	add	DWORD PTR -12[rbp], 1
.L9:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR 40[rbp]
	cmp	rdx, rax
	jl	.L10
	movss	xmm0, DWORD PTR -20[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	performance_test, .-performance_test
	.section	.rodata
.LC1:
	.string	"w"
.LC2:
	.string	"aos.csv"
.LC3:
	.string	"n,time\n"
.LC5:
	.string	"%ld,%lf\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	fopen@PLT
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	rcx, rax
	mov	edx, 7
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	QWORD PTR -104[rbp], 0
	jmp	.L13
.L16:
	lea	rax, -48[rbp]
	mov	rdx, QWORD PTR -104[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	setup
	mov	DWORD PTR -112[rbp], 0
	jmp	.L14
.L15:
	lea	rdx, -80[rbp]
	mov	eax, DWORD PTR -108[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	clock_gettime@PLT
	push	QWORD PTR -24[rbp]
	push	QWORD PTR -32[rbp]
	push	QWORD PTR -40[rbp]
	push	QWORD PTR -48[rbp]
	call	performance_test
	add	rsp, 32
	lea	rdx, -64[rbp]
	mov	eax, DWORD PTR -108[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	clock_gettime@PLT
	mov	rax, QWORD PTR -56[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	mov	rax, QWORD PTR -72[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	subsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -96[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -96[rbp], xmm0
	add	DWORD PTR -112[rbp], 1
.L14:
	cmp	DWORD PTR -112[rbp], 99
	jle	.L15
	movsd	xmm0, QWORD PTR -96[rbp]
	movsd	xmm1, QWORD PTR .LC4[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -96[rbp], xmm0
	mov	rcx, QWORD PTR -96[rbp]
	mov	rdx, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR -88[rbp]
	movq	xmm0, rcx
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	push	QWORD PTR -24[rbp]
	push	QWORD PTR -32[rbp]
	push	QWORD PTR -40[rbp]
	push	QWORD PTR -48[rbp]
	call	finish
	add	rsp, 32
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, QWORD PTR -104[rbp]
	movsd	xmm0, QWORD PTR .LC6[rip]
	addsd	xmm0, xmm1
	cvttsd2si	rax, xmm0
	mov	QWORD PTR -104[rbp], rax
.L13:
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, QWORD PTR -104[rbp]
	movsd	xmm0, QWORD PTR .LC7[rip]
	comisd	xmm0, xmm1
	ja	.L16
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC4:
	.long	0
	.long	1079574528
	.align 8
.LC6:
	.long	0
	.long	1076101120
	.align 8
.LC7:
	.long	0
	.long	1090021888
	.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	"104828901.c"
	.text
	.align	2
	.global	setup
	.syntax unified
	.arm
	.fpu softvfp
	.type	setup, %function
setup:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	mov	ip, r3
	sub	r3, fp, #20
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r0, [fp, #-24]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	setup, .-setup
	.align	2
	.global	finish
	.syntax unified
	.arm
	.fpu softvfp
	.type	finish, %function
finish:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	sub	ip, fp, #20
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-12]
	mov	r0, r3
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	finish, .-finish
	.global	__aeabi_fadd
	.align	2
	.global	performance_test
	.syntax unified
	.arm
	.fpu softvfp
	.type	performance_test, %function
performance_test:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	sub	ip, fp, #36
	stm	ip, {r0, r1, r2, r3}
	mov	r3, #0
	str	r3, [fp, #-20]	@ float
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L5
.L6:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-20]	@ float
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L5:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L6
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L7
.L8:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-20]	@ float
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L7:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L8
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L9
.L10:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-20]	@ float
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L9:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L10
	ldr	r3, [fp, #-20]	@ float
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	performance_test, .-performance_test
	.section	.rodata
	.align	2
.LC0:
	.ascii	"w\000"
	.align	2
.LC1:
	.ascii	"aos.csv\000"
	.align	2
.LC2:
	.ascii	"n,time\012\000"
	.global	__aeabi_i2d
	.global	__aeabi_dsub
	.global	__aeabi_dadd
	.global	__aeabi_ddiv
	.align	2
.LC3:
	.ascii	"%ld,%lf\012\000"
	.global	__aeabi_d2iz
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #72
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r1, .L19+4
	ldr	r0, .L19+8
	bl	fopen
	str	r0, [fp, #-68]
	ldr	r3, [fp, #-68]
	mov	r2, #7
	mov	r1, #1
	ldr	r0, .L19+12
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L13
.L16:
	sub	r3, fp, #32
	ldr	r1, [fp, #-76]
	mov	r0, r3
	bl	setup
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L14
.L15:
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, [fp, #-64]
	bl	clock_gettime
	sub	r3, fp, #32
	ldm	r3, {r0, r1, r2, r3}
	bl	performance_test
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, [fp, #-64]
	bl	clock_gettime
	ldr	r3, [fp, #-36]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-44]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L14:
	ldr	r3, [fp, #-72]
	cmp	r3, #99
	ble	.L15
	mov	r2, #0
	ldr	r3, .L19+16
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	ldr	r2, [fp, #-76]
	ldr	r1, .L19+20
	ldr	r0, [fp, #-68]
	bl	fprintf
	sub	r3, fp, #32
	ldm	r3, {r0, r1, r2, r3}
	bl	finish
	ldr	r0, [fp, #-76]
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L19+24
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-76]
.L13:
	ldr	r3, [fp, #-76]
	ldr	r2, .L19+28
	cmp	r3, r2
	blt	.L16
	mov	r3, #0
	ldr	r2, .L19
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	1079574528
	.word	.LC3
	.word	1076101120
	.word	100000
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
