	.file	"434238.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC8:
	.string	"w"
.LC9:
	.string	"moonEuler.txt"
.LC13:
	.string	"%d %f %f %f\n"
.LC14:
	.string	"moonEulerConfig.txt"
.LC16:
	.string	"\n tStep = %d\n"
.LC17:
	.string	"\n tEnd = %d\n"
.LC18:
	.string	"\n Execution time = %f sec\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
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 184
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	call	clock@PLT
	mov	QWORD PTR -184[rbp], rax
	mov	DWORD PTR -200[rbp], 10000000
	mov	DWORD PTR -196[rbp], 1000
	mov	DWORD PTR -192[rbp], 4
	movsd	xmm0, QWORD PTR .LC0[rip]
	movsd	QWORD PTR -144[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC1[rip]
	movsd	QWORD PTR -136[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC2[rip]
	movsd	QWORD PTR -128[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR -120[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC4[rip]
	movsd	QWORD PTR -112[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC5[rip]
	movsd	QWORD PTR -104[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC6[rip]
	movsd	QWORD PTR -96[rbp], xmm0
	movsd	xmm1, QWORD PTR -96[rbp]
	movsd	xmm0, QWORD PTR -144[rbp]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -88[rbp], xmm0
	movsd	xmm1, QWORD PTR -88[rbp]
	movsd	xmm0, QWORD PTR -136[rbp]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -80[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -72[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -64[rbp], xmm0
	mov	eax, DWORD PTR -192[rbp]
	add	eax, eax
	cdqe
	sub	rax, 1
	mov	QWORD PTR -176[rbp], rax
	mov	eax, DWORD PTR -192[rbp]
	add	eax, eax
	cdqe
	mov	r14, rax
	mov	r15d, 0
	mov	eax, DWORD PTR -192[rbp]
	add	eax, eax
	cdqe
	mov	r12, rax
	mov	r13d, 0
	mov	eax, DWORD PTR -192[rbp]
	add	eax, eax
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L2:
	cmp	rsp, rdx
	je	.L3
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L2
.L3:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L4
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L4:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -168[rbp], rax
	mov	rax, QWORD PTR -168[rbp]
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -168[rbp]
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR 8[rax], xmm0
	mov	rax, QWORD PTR -168[rbp]
	movsd	xmm0, QWORD PTR .LC5[rip]
	movsd	QWORD PTR 16[rax], xmm0
	mov	rax, QWORD PTR -168[rbp]
	pxor	xmm0, xmm0
	movsd	QWORD PTR 24[rax], xmm0
	lea	rsi, .LC8[rip]
	lea	rdi, .LC9[rip]
	call	fopen@PLT
	mov	QWORD PTR -160[rbp], rax
	mov	DWORD PTR -208[rbp], 0
	mov	ecx, DWORD PTR -200[rbp]
	mov	eax, DWORD PTR -196[rbp]
	mov	edx, 100000
	mov	esi, ecx
	mov	edi, eax
	call	printIdx
	mov	DWORD PTR -188[rbp], eax
	mov	DWORD PTR -204[rbp], 0
	jmp	.L5
.L7:
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR .LC10[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movsd	QWORD PTR -216[rbp], xmm0
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR 8[rax]
	movsd	xmm0, QWORD PTR .LC10[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movapd	xmm3, xmm0
	addsd	xmm3, QWORD PTR -216[rbp]
	movq	rax, xmm3
	movsd	xmm0, QWORD PTR .LC11[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movq	rax, xmm0
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	movsd	xmm0, QWORD PTR .LC12[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movq	rax, xmm0
	mov	QWORD PTR -64[rbp], rax
	add	DWORD PTR -208[rbp], 1
	mov	eax, DWORD PTR -208[rbp]
	cmp	eax, DWORD PTR -188[rbp]
	jne	.L6
	mov	rdx, QWORD PTR -168[rbp]
	lea	rax, -144[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	energy
	movq	rsi, xmm0
	mov	rax, QWORD PTR -168[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -168[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	edx, DWORD PTR -204[rbp]
	mov	rax, QWORD PTR -160[rbp]
	movq	xmm2, rsi
	movapd	xmm1, xmm0
	movq	xmm0, rcx
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 3
	call	fprintf@PLT
	mov	DWORD PTR -208[rbp], 0
.L6:
	mov	ecx, DWORD PTR -196[rbp]
	mov	edx, DWORD PTR -192[rbp]
	mov	rsi, QWORD PTR -168[rbp]
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	eulerStep
	mov	eax, DWORD PTR -196[rbp]
	add	DWORD PTR -204[rbp], eax
.L5:
	mov	eax, DWORD PTR -204[rbp]
	cmp	eax, DWORD PTR -200[rbp]
	jl	.L7
	mov	rax, QWORD PTR -160[rbp]
	mov	rdx, rax
	lea	rsi, .LC8[rip]
	lea	rdi, .LC14[rip]
	call	freopen@PLT
	mov	QWORD PTR -160[rbp], rax
	call	clock@PLT
	sub	rax, QWORD PTR -184[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm1, QWORD PTR .LC15[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -152[rbp], xmm0
	mov	edx, DWORD PTR -196[rbp]
	mov	rax, QWORD PTR -160[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edx, DWORD PTR -200[rbp]
	mov	rax, QWORD PTR -160[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rdx, QWORD PTR -152[rbp]
	mov	rax, QWORD PTR -160[rbp]
	movq	xmm0, rdx
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	mov	rax, QWORD PTR -160[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rsp, rbx
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC19:
	.string	"Hiba! Nem letezo switch case!"
	.text
	.globl	df
	.type	df, @function
df:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	DWORD PTR -40[rbp], ecx
	pxor	xmm0, xmm0
	movsd	QWORD PTR -8[rbp], xmm0
	cmp	DWORD PTR -36[rbp], 3
	je	.L11
	cmp	DWORD PTR -36[rbp], 3
	jg	.L12
	cmp	DWORD PTR -36[rbp], 2
	je	.L13
	cmp	DWORD PTR -36[rbp], 2
	jg	.L12
	cmp	DWORD PTR -36[rbp], 0
	je	.L14
	cmp	DWORD PTR -36[rbp], 1
	je	.L15
.L12:
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L16
.L14:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 16
	movsd	xmm2, QWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 56
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm1, xmm0
	mov	rax, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm1, xmm0
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 80
	movsd	xmm0, QWORD PTR [rax]
	movapd	xmm3, xmm0
	addsd	xmm3, xmm0
	divsd	xmm1, xmm3
	movapd	xmm0, xmm1
	addsd	xmm0, xmm2
	movsd	QWORD PTR -8[rbp], xmm0
	jmp	.L16
.L15:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 24
	movsd	xmm2, QWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 56
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm1, xmm0
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm1, xmm0
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 80
	movsd	xmm0, QWORD PTR [rax]
	movapd	xmm3, xmm0
	addsd	xmm3, xmm0
	divsd	xmm1, xmm3
	movapd	xmm0, xmm1
	addsd	xmm0, xmm2
	movsd	QWORD PTR -8[rbp], xmm0
	jmp	.L16
.L13:
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 56
	movsd	xmm1, QWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, xmm1
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 80
	movsd	xmm1, QWORD PTR [rax]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	jmp	.L16
.L11:
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 56
	movsd	xmm1, QWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, xmm1
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 80
	movsd	xmm1, QWORD PTR [rax]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	nop
.L16:
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	df, .-df
	.globl	eulerStep
	.type	eulerStep, @function
eulerStep:
.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, 64
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	DWORD PTR -40[rbp], ecx
	mov	DWORD PTR -4[rbp], 0
	jmp	.L19
.L20:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	QWORD PTR -48[rbp], xmm1
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, DWORD PTR -40[rbp]
	movsd	QWORD PTR -56[rbp], xmm2
	mov	ecx, DWORD PTR -40[rbp]
	mov	edx, DWORD PTR -4[rbp]
	mov	rsi, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	df
	mulsd	xmm0, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -36[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	addsd	xmm0, QWORD PTR -48[rbp]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -4[rbp], 1
.L19:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L20
	mov	DWORD PTR -4[rbp], 0
	jmp	.L21
.L22:
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -36[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rdx]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -4[rbp], 1
.L21:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L22
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	eulerStep, .-eulerStep
	.globl	energy
	.type	energy, @function
energy:
.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, 48
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 64
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 72
	movsd	xmm1, QWORD PTR [rax]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 8
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR .LC11[rip]
	mulsd	xmm1, xmm0
	movsd	QWORD PTR -32[rbp], xmm1
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR .LC10[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movsd	QWORD PTR -40[rbp], xmm0
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR .LC10[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	addsd	xmm0, QWORD PTR -40[rbp]
	mulsd	xmm0, QWORD PTR -32[rbp]
	addsd	xmm0, QWORD PTR -24[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	energy, .-energy
	.globl	printIdx
	.type	printIdx, @function
printIdx:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	DWORD PTR -12[rbp], edx
	mov	eax, DWORD PTR -8[rbp]
	cdq
	idiv	DWORD PTR -4[rbp]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L26
	mov	eax, 1
	jmp	.L27
.L26:
	mov	eax, DWORD PTR -8[rbp]
	cdq
	idiv	DWORD PTR -4[rbp]
	cdq
	idiv	DWORD PTR -12[rbp]
.L27:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	printIdx, .-printIdx
	.section	.rodata
	.align 8
.LC0:
	.long	83802894
	.long	1158923222
	.align 8
.LC1:
	.long	1082299842
	.long	1152327629
	.align 8
.LC2:
	.long	1610612736
	.long	1102588784
	.align 8
.LC3:
	.long	-1610612736
	.long	1102423940
	.align 8
.LC4:
	.long	0
	.long	1083056128
	.align 8
.LC5:
	.long	0
	.long	1083232256
	.align 8
.LC6:
	.long	573314622
	.long	-1110288308
	.align 8
.LC10:
	.long	0
	.long	1073741824
	.align 8
.LC11:
	.long	0
	.long	1071644672
	.align 8
.LC12:
	.long	0
	.long	1074266112
	.align 8
.LC15:
	.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	"434238.c"
	.text
	.global	__aeabi_dmul
	.section	.rodata
	.align	2
.LC0:
	.ascii	"w\000"
	.align	2
.LC1:
	.ascii	"moonEuler.txt\000"
	.global	__aeabi_dadd
	.align	2
.LC2:
	.ascii	"%d %f %f %f\012\000"
	.align	2
.LC3:
	.ascii	"moonEulerConfig.txt\000"
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.align	2
.LC4:
	.ascii	"\012 tStep = %d\012\000"
	.align	2
.LC5:
	.ascii	"\012 tEnd = %d\012\000"
	.align	2
.LC6:
	.ascii	"\012 Execution time = %f sec\012\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #172
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, sp
	mov	r8, r3
	bl	clock
	str	r0, [fp, #-164]
	ldr	r3, .L7+4
	str	r3, [fp, #-160]
	mov	r3, #1000
	str	r3, [fp, #-156]
	mov	r3, #4
	str	r3, [fp, #-152]
	ldr	r2, .L7+8
	ldr	r3, .L7+12
	str	r2, [fp, #-124]
	str	r3, [fp, #-120]
	ldr	r2, .L7+16
	ldr	r3, .L7+20
	str	r2, [fp, #-116]
	str	r3, [fp, #-112]
	mov	r2, #1610612736
	ldr	r3, .L7+24
	str	r2, [fp, #-108]
	str	r3, [fp, #-104]
	mov	r2, #-1610612736
	ldr	r3, .L7+28
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	mov	r2, #0
	ldr	r3, .L7+32
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	mov	r2, #0
	ldr	r3, .L7+36
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	ldr	r2, .L7+40
	ldr	r3, .L7+44
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	sub	r3, fp, #124
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	sub	r3, fp, #116
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #1
	sub	r3, r3, #1
	str	r3, [fp, #-148]
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #1
	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
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #1
	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
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #4
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #24
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-144]
	ldr	r1, [fp, #-144]
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r1, [fp, #-144]
	mov	r2, #-1610612736
	ldr	r3, .L7+28
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r1, [fp, #-144]
	mov	r2, #0
	ldr	r3, .L7+36
	str	r2, [r1, #16]
	str	r3, [r1, #20]
	ldr	r1, [fp, #-144]
	mov	r2, #0
	mov	r3, #0
	str	r2, [r1, #24]
	str	r3, [r1, #28]
	ldr	r1, .L7+48
	ldr	r0, .L7+52
	bl	fopen
	str	r0, [fp, #-140]
	mov	r3, #0
	str	r3, [fp, #-172]
	ldr	r2, .L7+56
	ldr	r1, [fp, #-160]
	ldr	r0, [fp, #-156]
	bl	printIdx
	str	r0, [fp, #-136]
	mov	r3, #0
	str	r3, [fp, #-168]
	b	.L2
.L4:
	ldr	r3, [fp, #-144]
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #1073741824
	bl	pow
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-144]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #1073741824
	bl	pow
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L7+60
	bl	pow
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	mov	r2, #0
	ldr	r3, .L7+64
	bl	pow
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-172]
	add	r3, r3, #1
	str	r3, [fp, #-172]
	ldr	r2, [fp, #-172]
	ldr	r3, [fp, #-136]
	cmp	r2, r3
	bne	.L3
	ldr	r3, [fp, #-144]
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-144]
	add	r7, r3, #8
	ldmia	r7, {r6-r7}
	sub	r3, fp, #124
	ldr	r1, [fp, #-144]
	mov	r0, r3
	bl	energy
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	str	r6, [sp, #8]
	str	r7, [sp, #12]
	stm	sp, {r4-r5}
	ldr	r2, [fp, #-168]
	ldr	r1, .L7+68
	ldr	r0, [fp, #-140]
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-172]
.L3:
	sub	r0, fp, #124
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-152]
	ldr	r1, [fp, #-144]
	bl	eulerStep
	ldr	r2, [fp, #-168]
	ldr	r3, [fp, #-156]
	add	r3, r2, r3
	str	r3, [fp, #-168]
.L2:
	ldr	r2, [fp, #-168]
	ldr	r3, [fp, #-160]
	cmp	r2, r3
	blt	.L4
	ldr	r2, [fp, #-140]
	ldr	r1, .L7+48
	ldr	r0, .L7+72
	bl	freopen
	str	r0, [fp, #-140]
	bl	clock
	mov	r2, r0
	ldr	r3, [fp, #-164]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L7+76
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-132]
	str	r3, [fp, #-128]
	ldr	r2, [fp, #-156]
	ldr	r1, .L7+80
	ldr	r0, [fp, #-140]
	bl	fprintf
	ldr	r2, [fp, #-160]
	ldr	r1, .L7+84
	ldr	r0, [fp, #-140]
	bl	fprintf
	sub	r3, fp, #132
	ldmia	r3, {r2-r3}
	ldr	r1, .L7+88
	ldr	r0, [fp, #-140]
	bl	fprintf
	ldr	r0, [fp, #-140]
	bl	fclose
	mov	r3, #0
	mov	sp, r8
	ldr	r2, .L7
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	mov	r0, r3
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC7
	.word	10000000
	.word	83802894
	.word	1158923222
	.word	1082299842
	.word	1152327629
	.word	1102588784
	.word	1102423940
	.word	1083056128
	.word	1083232256
	.word	573314622
	.word	-1110288308
	.word	.LC0
	.word	.LC1
	.word	100000
	.word	1071644672
	.word	1074266112
	.word	.LC2
	.word	.LC3
	.word	1093567616
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.section	.rodata
	.align	2
.LC8:
	.ascii	"Hiba! Nem letezo switch case!\000"
	.text
	.align	2
	.global	df
	.syntax unified
	.arm
	.fpu softvfp
	.type	df, %function
df:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #24
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-40]
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L10
.L12:
	.word	.L15
	.word	.L14
	.word	.L13
	.word	.L11
.L10:
	ldr	r0, .L18
	bl	printf
	b	.L16
.L15:
	ldr	r3, [fp, #-36]
	add	r3, r3, #16
	ldmia	r3, {r4-r5}
	ldr	r0, [fp, #-44]
	bl	__aeabi_i2d
	ldr	r3, [fp, #-32]
	add	r3, r3, #56
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-36]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, #80
	ldmia	r3, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	b	.L16
.L14:
	ldr	r3, [fp, #-36]
	add	r3, r3, #24
	ldmia	r3, {r4-r5}
	ldr	r0, [fp, #-44]
	bl	__aeabi_i2d
	ldr	r3, [fp, #-32]
	add	r3, r3, #56
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, #80
	ldmia	r3, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	b	.L16
.L13:
	ldr	r3, [fp, #-32]
	add	r3, r3, #56
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-36]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, #80
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	b	.L16
.L11:
	ldr	r3, [fp, #-32]
	add	r3, r3, #56
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-36]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, #80
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	nop
.L16:
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC8
	.size	df, .-df
	.align	2
	.global	eulerStep
	.syntax unified
	.arm
	.fpu softvfp
	.type	eulerStep, %function
eulerStep:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #24
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L21
.L22:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r0, [fp, #-44]
	bl	__aeabi_i2d
	mov	r6, r0
	mov	r7, r1
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	df
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-36]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L21:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L22
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L23
.L24:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	lsl	r2, r2, #3
	ldr	r1, [fp, #-36]
	add	r1, r1, r2
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L23:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L24
	nop
	nop
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
	.size	eulerStep, .-eulerStep
	.align	2
	.global	energy
	.syntax unified
	.arm
	.fpu softvfp
	.type	energy, %function
energy:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #8
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, [fp, #-32]
	add	r3, r3, #64
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-32]
	add	r3, r3, #72
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, #8
	ldmia	r3, {r0-r1}
	mov	r2, #0
	ldr	r3, .L27
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, #16
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #1073741824
	bl	pow
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-36]
	add	r3, r3, #24
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #1073741824
	bl	pow
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L28:
	.align	2
.L27:
	.word	1071644672
	.size	energy, .-energy
	.global	__aeabi_idiv
	.align	2
	.global	printIdx
	.syntax unified
	.arm
	.fpu softvfp
	.type	printIdx, %function
printIdx:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	cmp	r3, r2
	blt	.L30
	mov	r3, #1
	b	.L31
.L30:
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	__aeabi_idiv
	mov	r3, r0
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
.L31:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	printIdx, .-printIdx
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
