	.file	"725438.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%s: a demo code\n"
	.align 8
.LC1:
	.string	"run as follows:\n$ %s <input.txt>\n  where <input.txt> is the name of the input file\n"
	.text
	.globl	print_help
	.type	print_help, @function
print_help:
.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	print_help, .-print_help
	.globl	read_line
	.type	read_line, @function
read_line:
.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, 144
	mov	QWORD PTR -136[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rdx, QWORD PTR -136[rbp]
	lea	rax, -112[rbp]
	mov	esi, 100
	mov	rdi, rax
	call	fgets@PLT
	mov	QWORD PTR -128[rbp], rax
	cmp	QWORD PTR -128[rbp], 0
	jne	.L3
	movsd	xmm0, QWORD PTR .LC2[rip]
	jmp	.L5
.L3:
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	atof@PLT
	movq	rax, xmm0
	mov	QWORD PTR -120[rbp], rax
	movsd	xmm0, QWORD PTR -120[rbp]
.L5:
	movq	rax, xmm0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	read_line, .-read_line
	.globl	gaussian
	.type	gaussian, @function
gaussian:
.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 -8[rbp], xmm0
	movsd	QWORD PTR -16[rbp], xmm1
	movsd	QWORD PTR -24[rbp], xmm2
	movsd	QWORD PTR -32[rbp], xmm3
	movsd	xmm0, QWORD PTR -8[rbp]
	subsd	xmm0, QWORD PTR -32[rbp]
	movq	xmm1, QWORD PTR .LC3[rip]
	xorpd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -8[rbp]
	subsd	xmm0, QWORD PTR -32[rbp]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	addsd	xmm0, xmm0
	mulsd	xmm0, QWORD PTR -16[rbp]
	divsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	exp@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	mulsd	xmm0, QWORD PTR -24[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	gaussian, .-gaussian
	.section	.rodata
.LC4:
	.string	"r"
	.align 8
.LC5:
	.string	"error: could not open input file '%s'\n"
.LC6:
	.string	"got      mean = %g\n"
.LC7:
	.string	"got     sigma = %g\n"
.LC8:
	.string	"got amplitude = %g\n"
.LC10:
	.string	"error: sigma cannot be <= 0"
	.align 8
.LC11:
	.string	"error: amplitude cannot be < 0"
.LC14:
	.string	"=> x span from %g to %g\n"
.LC15:
	.string	"w"
.LC16:
	.string	"output.txt"
.LC17:
	.string	"%g %.25f\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
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 168
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -164[rbp], edi
	mov	QWORD PTR -176[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	cmp	DWORD PTR -164[rbp], 2
	je	.L10
	mov	rax, QWORD PTR -176[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	print_help
	mov	eax, -1
	jmp	.L11
.L10:
	mov	rax, QWORD PTR -176[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -144[rbp], rax
	cmp	QWORD PTR -144[rbp], 0
	jne	.L12
	mov	rax, QWORD PTR -176[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L11
.L12:
	mov	rax, QWORD PTR -144[rbp]
	mov	rdi, rax
	call	read_line
	movq	rax, xmm0
	mov	QWORD PTR -136[rbp], rax
	mov	rax, QWORD PTR -144[rbp]
	mov	rdi, rax
	call	read_line
	movq	rax, xmm0
	mov	QWORD PTR -128[rbp], rax
	mov	rax, QWORD PTR -144[rbp]
	mov	rdi, rax
	call	read_line
	movq	rax, xmm0
	mov	QWORD PTR -120[rbp], rax
	mov	rax, QWORD PTR -144[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -136[rbp]
	movq	xmm0, rax
	lea	rdi, .LC6[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -128[rbp]
	movq	xmm0, rax
	lea	rdi, .LC7[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -120[rbp]
	movq	xmm0, rax
	lea	rdi, .LC8[rip]
	mov	eax, 1
	call	printf@PLT
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -128[rbp]
	jb	.L31
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L11
.L31:
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -120[rbp]
	jbe	.L32
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L11
.L32:
	movsd	xmm0, QWORD PTR .LC12[rip]
	movsd	QWORD PTR -112[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC13[rip]
	movsd	QWORD PTR -104[rbp], xmm0
	movsd	xmm0, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR -112[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC14[rip]
	mov	eax, 2
	call	printf@PLT
	mov	DWORD PTR -148[rbp], 100
	mov	eax, DWORD PTR -148[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -96[rbp], rdx
	movsx	rdx, eax
	mov	QWORD PTR -192[rbp], rdx
	mov	QWORD PTR -184[rbp], 0
	movsx	rdx, eax
	mov	QWORD PTR -208[rbp], rdx
	mov	QWORD PTR -200[rbp], 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L17:
	cmp	rsp, rdx
	je	.L18
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L17
.L18:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L19
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L19:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -88[rbp], rax
	mov	eax, DWORD PTR -148[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -80[rbp], rdx
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L20:
	cmp	rsp, rdx
	je	.L21
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L20
.L21:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L22
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L22:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -72[rbp], rax
	movsd	xmm0, QWORD PTR -104[rbp]
	subsd	xmm0, QWORD PTR -112[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -148[rbp]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -64[rbp], xmm0
	mov	DWORD PTR -152[rbp], 0
	jmp	.L23
.L24:
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -152[rbp]
	mulsd	xmm0, QWORD PTR -64[rbp]
	addsd	xmm0, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -152[rbp]
	movsx	rdx, edx
	movsd	QWORD PTR [rax+rdx*8], xmm0
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -152[rbp]
	movsx	rdx, edx
	movsd	xmm2, QWORD PTR [rax+rdx*8]
	movsd	xmm1, QWORD PTR -120[rbp]
	movsd	xmm0, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR -136[rbp]
	movapd	xmm3, xmm2
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	gaussian
	movq	rax, xmm0
	mov	rdx, QWORD PTR -72[rbp]
	mov	ecx, DWORD PTR -152[rbp]
	movsx	rcx, ecx
	mov	QWORD PTR [rdx+rcx*8], rax
	add	DWORD PTR -152[rbp], 1
.L23:
	mov	eax, DWORD PTR -152[rbp]
	cmp	eax, DWORD PTR -148[rbp]
	jl	.L24
	lea	rsi, .LC15[rip]
	lea	rdi, .LC16[rip]
	call	fopen@PLT
	mov	QWORD PTR -144[rbp], rax
	mov	DWORD PTR -156[rbp], 0
	jmp	.L25
.L26:
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR -156[rbp]
	movsx	rdx, edx
	movsd	xmm0, QWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -156[rbp]
	movsx	rdx, edx
	mov	rdx, QWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR -144[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	mov	eax, 2
	call	fprintf@PLT
	add	DWORD PTR -156[rbp], 1
.L25:
	mov	eax, DWORD PTR -156[rbp]
	cmp	eax, DWORD PTR -148[rbp]
	jl	.L26
	mov	rax, QWORD PTR -144[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L11:
	mov	rsp, rbx
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC2:
	.long	0
	.long	2146959360
	.align 16
.LC3:
	.long	0
	.long	-2147483648
	.long	0
	.long	0
	.align 8
.LC12:
	.long	0
	.long	-1071382528
	.align 8
.LC13:
	.long	0
	.long	1076101120
	.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	"725438.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s: a demo code\012\000"
	.align	2
.LC1:
	.ascii	"run as follows:\012$ %s <input.txt>\012  where <inp"
	.ascii	"ut.txt> is the name of the input file\012\000"
	.text
	.align	2
	.global	print_help
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_help, %function
print_help:
	@ 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	r1, [fp, #-8]
	ldr	r0, .L2
	bl	printf
	ldr	r1, [fp, #-8]
	ldr	r0, .L2+4
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC0
	.word	.LC1
	.size	print_help, .-print_help
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	read_line
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_line, %function
read_line:
	@ args = 0, pretend = 0, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #128
	str	r0, [fp, #-128]
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #108
	ldr	r2, [fp, #-128]
	mov	r1, #100
	mov	r0, r3
	bl	fgets
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	bne	.L5
	mov	r2, #0
	ldr	r3, .L9+4
	b	.L7
.L5:
	sub	r3, fp, #108
	mov	r0, r3
	bl	atof
	str	r0, [fp, #-116]
	str	r1, [fp, #-112]
	sub	r3, fp, #116
	ldmia	r3, {r2-r3}
.L7:
	ldr	r1, .L9
	ldr	r0, [r1]
	ldr	r1, [fp, #-8]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC2
	.word	2146959360
	.size	read_line, .-read_line
	.global	__aeabi_dsub
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.global	__aeabi_ddiv
	.align	2
	.global	gaussian
	.syntax unified
	.arm
	.fpu softvfp
	.type	gaussian, %function
gaussian:
	@ args = 16, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	eor	r5, r3, #-2147483648
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #28
	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, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	exp
	ldmib	fp, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	gaussian, .-gaussian
	.section	.rodata
	.align	2
.LC3:
	.ascii	"r\000"
	.align	2
.LC4:
	.ascii	"error: could not open input file '%s'\012\000"
	.align	2
.LC5:
	.ascii	"got      mean = %g\012\000"
	.align	2
.LC6:
	.ascii	"got     sigma = %g\012\000"
	.align	2
.LC7:
	.ascii	"got amplitude = %g\012\000"
	.global	__aeabi_dcmple
	.align	2
.LC8:
	.ascii	"error: sigma cannot be <= 0\000"
	.global	__aeabi_dcmplt
	.align	2
.LC9:
	.ascii	"error: amplitude cannot be < 0\000"
	.align	2
.LC10:
	.ascii	"=> x span from %g to %g\012\000"
	.global	__aeabi_i2d
	.align	2
.LC11:
	.ascii	"w\000"
	.align	2
.LC12:
	.ascii	"output.txt\000"
	.align	2
.LC13:
	.ascii	"%g %.25f\012\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #116
	str	r0, [fp, #-112]
	str	r1, [fp, #-116]
	ldr	r3, .L31
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, sp
	mov	r6, r3
	ldr	r3, [fp, #-112]
	cmp	r3, #2
	beq	.L14
	ldr	r3, [fp, #-116]
	ldr	r3, [r3]
	mov	r0, r3
	bl	print_help
	mvn	r3, #0
	b	.L15
.L14:
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L31+4
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-100]
	ldr	r3, [fp, #-100]
	cmp	r3, #0
	bne	.L16
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L31+8
	bl	printf
	mvn	r3, #0
	b	.L15
.L16:
	ldr	r0, [fp, #-100]
	bl	read_line
	str	r0, [fp, #-76]
	str	r1, [fp, #-72]
	ldr	r0, [fp, #-100]
	bl	read_line
	str	r0, [fp, #-68]
	str	r1, [fp, #-64]
	ldr	r0, [fp, #-100]
	bl	read_line
	str	r0, [fp, #-60]
	str	r1, [fp, #-56]
	ldr	r0, [fp, #-100]
	bl	fclose
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	ldr	r0, .L31+12
	bl	printf
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	ldr	r0, .L31+16
	bl	printf
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	ldr	r0, .L31+20
	bl	printf
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L29
	ldr	r0, .L31+24
	bl	puts
	mvn	r3, #0
	b	.L15
.L29:
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L30
	ldr	r0, .L31+28
	bl	puts
	mvn	r3, #0
	b	.L15
.L30:
	mov	r2, #0
	ldr	r3, .L31+32
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	mov	r2, #0
	ldr	r3, .L31+36
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	ldr	r0, .L31+40
	bl	printf
	mov	r3, #100
	str	r3, [fp, #-96]
	ldr	ip, [fp, #-96]
	sub	r3, ip, #1
	str	r3, [fp, #-92]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #16
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-88]
	ldr	ip, [fp, #-96]
	sub	r3, ip, #1
	str	r3, [fp, #-84]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #16
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-80]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-96]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-104]
	b	.L21
.L22:
	ldr	r0, [fp, #-104]
	bl	__aeabi_i2d
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-88]
	ldr	r1, [fp, #-104]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	gaussian
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-80]
	ldr	r1, [fp, #-104]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-104]
.L21:
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #-96]
	cmp	r2, r3
	blt	.L22
	ldr	r1, .L31+44
	ldr	r0, .L31+48
	bl	fopen
	str	r0, [fp, #-100]
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L23
.L24:
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L31+52
	ldr	r0, [fp, #-100]
	bl	fprintf
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L23:
	ldr	r2, [fp, #-108]
	ldr	r3, [fp, #-96]
	cmp	r2, r3
	blt	.L24
	ldr	r0, [fp, #-100]
	bl	fclose
	mov	r3, #0
.L15:
	mov	sp, r6
	ldr	r2, .L31
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC14
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	-1071382528
	.word	1076101120
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
