	.file	"248580244.c"
	.intel_syntax noprefix
	.text
	.globl	psp_list_new
	.type	psp_list_new, @function
psp_list_new:
.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, 16
	mov	edi, 8
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	psp_list_new, .-psp_list_new
	.globl	psp_list_free
	.type	psp_list_free, @function
psp_list_free:
.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	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L4
.L5:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	psp_node_free
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -16[rbp], rax
.L4:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L5
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	psp_list_free, .-psp_list_free
	.globl	psp_node_new
	.type	psp_node_new, @function
psp_node_new:
.LFB8:
	.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
	movsd	QWORD PTR -24[rbp], xmm0
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	psp_node_new, .-psp_node_new
	.globl	psp_node_free
	.type	psp_node_free, @function
psp_node_free:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	psp_node_free, .-psp_node_free
	.globl	psp_insert
	.type	psp_insert, @function
psp_insert:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L10
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
.L10:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	psp_insert, .-psp_insert
	.section	.rodata
.LC0:
	.string	"%lf"
	.text
	.globl	psp_read
	.type	psp_read, @function
psp_read:
.LFB11:
	.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	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L12
.L13:
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	call	psp_node_new
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	psp_insert
.L12:
	lea	rdx, -16[rbp]
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, 1
	je	.L13
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	psp_read, .-psp_read
	.globl	psp_mean
	.type	psp_mean, @function
psp_mean:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -24[rbp], 0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -16[rbp], xmm0
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L16
.L17:
	add	QWORD PTR -24[rbp], 1
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR [rax]
	movsd	xmm1, QWORD PTR -16[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
.L16:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L17
	mov	rax, QWORD PTR -24[rbp]
	test	rax, rax
	js	.L18
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L19
.L18:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L19:
	movsd	xmm1, QWORD PTR -16[rbp]
	divsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	psp_mean, .-psp_mean
	.globl	psp_variance
	.type	psp_variance, @function
psp_variance:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 56
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -40[rbp], 0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -32[rbp], xmm0
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	psp_mean
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L22
.L23:
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR [rax]
	subsd	xmm0, QWORD PTR -16[rbp]
	movsd	QWORD PTR -8[rbp], xmm0
	add	QWORD PTR -40[rbp], 1
	movsd	xmm0, QWORD PTR -8[rbp]
	mulsd	xmm0, xmm0
	movsd	xmm1, QWORD PTR -32[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -24[rbp], rax
.L22:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L23
	mov	rax, QWORD PTR -40[rbp]
	sub	rax, 1
	test	rax, rax
	js	.L24
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L25
.L24:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L25:
	movsd	xmm1, QWORD PTR -32[rbp]
	divsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	psp_variance, .-psp_variance
	.globl	psp_stdev
	.type	psp_stdev, @function
psp_stdev:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	psp_variance
	movq	rax, xmm0
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	psp_stdev, .-psp_stdev
	.globl	psp_ln
	.type	psp_ln, @function
psp_ln:
.LFB15:
	.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	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L30
.L31:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	movq	xmm0, rax
	call	log@PLT
	movq	rax, xmm0
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
.L30:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L31
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	psp_ln, .-psp_ln
	.globl	psp_get_range
	.type	psp_get_range, @function
psp_get_range:
.LFB16:
	.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, 88
	.cfi_offset 3, -24
	mov	QWORD PTR -88[rbp], rdi
	mov	QWORD PTR -96[rbp], rsi
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	psp_ln
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	psp_mean
	movq	rax, xmm0
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	psp_stdev
	movq	rax, xmm0
	mov	QWORD PTR -72[rbp], rax
	movsd	xmm0, QWORD PTR -72[rbp]
	movapd	xmm1, xmm0
	addsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -80[rbp]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	exp@PLT
	movq	rax, xmm0
	mov	QWORD PTR -64[rbp], rax
	movsd	xmm0, QWORD PTR -80[rbp]
	subsd	xmm0, QWORD PTR -72[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	call	exp@PLT
	movq	rax, xmm0
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	movq	xmm0, rax
	call	exp@PLT
	movq	rax, xmm0
	mov	QWORD PTR -48[rbp], rax
	movsd	xmm0, QWORD PTR -80[rbp]
	addsd	xmm0, QWORD PTR -72[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	call	exp@PLT
	movq	rax, xmm0
	mov	QWORD PTR -40[rbp], rax
	movsd	xmm0, QWORD PTR -72[rbp]
	addsd	xmm0, xmm0
	addsd	xmm0, QWORD PTR -80[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	call	exp@PLT
	movq	rax, xmm0
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	rcx, QWORD PTR -64[rbp]
	mov	rbx, QWORD PTR -56[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR -48[rbp]
	mov	rbx, QWORD PTR -40[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR 32[rax], rdx
	mov	rax, QWORD PTR -88[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	psp_get_range, .-psp_get_range
	.section	.rodata
.LC2:
	.string	"test%04d.txt"
.LC3:
	.string	"r"
	.align 8
.LC4:
	.string	"[%04d] mean of ln(x):             %f\n"
	.align 8
.LC5:
	.string	"[%04d] sample variance of ln(x):  %f\n"
	.align 8
.LC6:
	.string	"[%04d] very small:                %f\n"
	.align 8
.LC7:
	.string	"[%04d] small:                     %f\n"
	.align 8
.LC8:
	.string	"[%04d] medium:                    %f\n"
	.align 8
.LC9:
	.string	"[%04d] large:                     %f\n"
	.align 8
.LC10:
	.string	"[%04d] very large:                %f\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 352
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -340[rbp], 0
.L36:
	add	DWORD PTR -340[rbp], 1
	mov	edx, DWORD PTR -340[rbp]
	lea	rax, -272[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -272[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -336[rbp], rax
	cmp	QWORD PTR -336[rbp], 0
	je	.L35
	call	psp_list_new
	mov	QWORD PTR -328[rbp], rax
	mov	rdx, QWORD PTR -336[rbp]
	mov	rax, QWORD PTR -328[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	psp_read
	lea	rax, -320[rbp]
	mov	rdx, QWORD PTR -328[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	psp_get_range
	mov	rax, QWORD PTR -328[rbp]
	mov	rdi, rax
	call	psp_mean
	movq	rax, xmm0
	mov	edx, DWORD PTR -340[rbp]
	movq	xmm0, rax
	mov	esi, edx
	lea	rdi, .LC4[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -328[rbp]
	mov	rdi, rax
	call	psp_variance
	movq	rax, xmm0
	mov	edx, DWORD PTR -340[rbp]
	movq	xmm0, rax
	mov	esi, edx
	lea	rdi, .LC5[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rdx, QWORD PTR -320[rbp]
	mov	eax, DWORD PTR -340[rbp]
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rdx, QWORD PTR -312[rbp]
	mov	eax, DWORD PTR -340[rbp]
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rdx, QWORD PTR -304[rbp]
	mov	eax, DWORD PTR -340[rbp]
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rdx, QWORD PTR -296[rbp]
	mov	eax, DWORD PTR -340[rbp]
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rdx, QWORD PTR -288[rbp]
	mov	eax, DWORD PTR -340[rbp]
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 1
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	rax, QWORD PTR -328[rbp]
	mov	rdi, rax
	call	psp_list_free
	mov	rax, QWORD PTR -336[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L35:
	cmp	QWORD PTR -336[rbp], 0
	jne	.L36
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L38
	call	__stack_chk_fail@PLT
.L38:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.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	"248580244.c"
	.text
	.align	2
	.global	psp_list_new
	.syntax unified
	.arm
	.fpu softvfp
	.type	psp_list_new, %function
psp_list_new:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r0, #4
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	psp_list_new, .-psp_list_new
	.align	2
	.global	psp_list_free
	.syntax unified
	.arm
	.fpu softvfp
	.type	psp_list_free, %function
psp_list_free:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	b	.L4
.L5:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	psp_node_free
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-12]
.L4:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L5
	ldr	r0, [fp, #-16]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	psp_list_free, .-psp_list_free
	.align	2
	.global	psp_node_new
	.syntax unified
	.arm
	.fpu softvfp
	.type	psp_node_new, %function
psp_node_new:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	mov	r0, #16
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-8]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	psp_node_new, .-psp_node_new
	.align	2
	.global	psp_node_free
	.syntax unified
	.arm
	.fpu softvfp
	.type	psp_node_free, %function
psp_node_free:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	psp_node_free, .-psp_node_free
	.align	2
	.global	psp_insert
	.syntax unified
	.arm
	.fpu softvfp
	.type	psp_insert, %function
psp_insert:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #8]
.L10:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	psp_insert, .-psp_insert
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%lf\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	psp_read
	.syntax unified
	.arm
	.fpu softvfp
	.type	psp_read, %function
psp_read:
	@ 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, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L12
.L13:
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	psp_node_new
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	psp_insert
.L12:
	sub	r3, fp, #20
	mov	r2, r3
	ldr	r1, .L15+4
	ldr	r0, [fp, #-28]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L13
	nop
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC1
	.word	.LC0
	.size	psp_read, .-psp_read
	.global	__aeabi_dadd
	.global	__aeabi_ui2d
	.global	__aeabi_ddiv
	.align	2
	.global	psp_mean
	.syntax unified
	.arm
	.fpu softvfp
	.type	psp_mean, %function
psp_mean:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	b	.L18
.L19:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldmia	r3, {r2-r3}
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-16]
.L18:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L19
	ldr	r0, [fp, #-20]
	bl	__aeabi_ui2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	psp_mean, .-psp_mean
	.global	__aeabi_dsub
	.global	__aeabi_dmul
	.align	2
	.global	psp_variance
	.syntax unified
	.arm
	.fpu softvfp
	.type	psp_variance, %function
psp_variance:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r0, [fp, #-40]
	bl	psp_mean
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	b	.L22
.L23:
	ldr	r3, [fp, #-32]
	ldmia	r3, {r0-r1}
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-32]
.L22:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L23
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_ui2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	psp_variance, .-psp_variance
	.align	2
	.global	psp_stdev
	.syntax unified
	.arm
	.fpu softvfp
	.type	psp_stdev, %function
psp_stdev:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	psp_variance
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	psp_stdev, .-psp_stdev
	.align	2
	.global	psp_ln
	.syntax unified
	.arm
	.fpu softvfp
	.type	psp_ln, %function
psp_ln:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L28
.L29:
	ldr	r3, [fp, #-8]
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	log
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-8]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
.L28:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L29
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	psp_ln, .-psp_ln
	.align	2
	.global	psp_get_range
	.syntax unified
	.arm
	.fpu softvfp
	.type	psp_get_range, %function
psp_get_range:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r0, [fp, #-68]
	bl	psp_ln
	ldr	r0, [fp, #-68]
	bl	psp_mean
	str	r0, [fp, #-60]
	str	r1, [fp, #-56]
	ldr	r0, [fp, #-68]
	bl	psp_stdev
	str	r0, [fp, #-52]
	str	r1, [fp, #-48]
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	exp
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	exp
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	exp
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	exp
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	exp
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-64]
	mov	lr, r3
	sub	ip, fp, #44
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1}
	stm	lr, {r0, r1}
	ldr	r0, [fp, #-64]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	psp_get_range, .-psp_get_range
	.section	.rodata
	.align	2
.LC2:
	.ascii	"test%04d.txt\000"
	.align	2
.LC3:
	.ascii	"r\000"
	.align	2
.LC4:
	.ascii	"[%04d] mean of ln(x):             %f\012\000"
	.align	2
.LC5:
	.ascii	"[%04d] sample variance of ln(x):  %f\012\000"
	.align	2
.LC6:
	.ascii	"[%04d] very small:                %f\012\000"
	.align	2
.LC7:
	.ascii	"[%04d] small:                     %f\012\000"
	.align	2
.LC8:
	.ascii	"[%04d] medium:                    %f\012\000"
	.align	2
.LC9:
	.ascii	"[%04d] large:                     %f\012\000"
	.align	2
.LC10:
	.ascii	"[%04d] very large:                %f\012\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 320
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #320
	ldr	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-320]
.L34:
	ldr	r3, [fp, #-320]
	add	r3, r3, #1
	str	r3, [fp, #-320]
	sub	r3, fp, #264
	ldr	r2, [fp, #-320]
	ldr	r1, .L37+4
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #264
	ldr	r1, .L37+8
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-316]
	ldr	r3, [fp, #-316]
	cmp	r3, #0
	beq	.L33
	bl	psp_list_new
	str	r0, [fp, #-312]
	ldr	r1, [fp, #-316]
	ldr	r0, [fp, #-312]
	bl	psp_read
	sub	r3, fp, #308
	ldr	r1, [fp, #-312]
	mov	r0, r3
	bl	psp_get_range
	ldr	r0, [fp, #-312]
	bl	psp_mean
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-320]
	ldr	r0, .L37+12
	bl	printf
	ldr	r0, [fp, #-312]
	bl	psp_variance
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-320]
	ldr	r0, .L37+16
	bl	printf
	sub	r3, fp, #308
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-320]
	ldr	r0, .L37+20
	bl	printf
	sub	r3, fp, #300
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-320]
	ldr	r0, .L37+24
	bl	printf
	sub	r3, fp, #292
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-320]
	ldr	r0, .L37+28
	bl	printf
	sub	r3, fp, #284
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-320]
	ldr	r0, .L37+32
	bl	printf
	sub	r3, fp, #276
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-320]
	ldr	r0, .L37+36
	bl	printf
	mov	r0, #10
	bl	putchar
	ldr	r0, [fp, #-312]
	bl	psp_list_free
	ldr	r0, [fp, #-316]
	bl	fclose
.L33:
	ldr	r3, [fp, #-316]
	cmp	r3, #0
	bne	.L34
	mov	r3, #0
	ldr	r2, .L37
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L36
	bl	__stack_chk_fail
.L36:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC11
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
