	.file	"986429.c"
	.intel_syntax noprefix
	.text
	.globl	iter_num
	.bss
	.align 4
	.type	iter_num, @object
	.size	iter_num, 4
iter_num:
	.zero	4
	.section	.rodata
	.align 8
.LC1:
	.string	"******Absolute largest eigen value calculator******\n"
	.align 8
.LC2:
	.string	"You will need to enter the file path containing the matrix: "
.LC3:
	.string	"\n"
.LC4:
	.string	"\nThe matrix dimension is: "
.LC5:
	.string	" %d"
	.align 8
.LC6:
	.string	"Please enter a valid dimension above zero: "
	.align 8
.LC7:
	.string	"And finally enter the required decimal precision for the calculation: "
.LC8:
	.string	"r"
	.align 8
.LC9:
	.string	"\nError opening file %s. Program terminates here.\n"
	.align 8
.LC10:
	.string	"An error has occurred. Now exiting."
.LC11:
	.string	"%[^;]s"
	.align 8
.LC12:
	.string	"\n\nThe calculated absolute maximum eigen value of the %dx%d matrix provided is: "
.LC13:
	.string	"%.*f\n"
	.align 8
.LC14:
	.string	"And it has taken %d iterations to complete.\n\n"
.LC15:
	.string	"pause"
	.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	rbx
	sub	rsp, 184
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -168[rbp], 0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -160[rbp], xmm0
	mov	QWORD PTR -128[rbp], 32
	mov	QWORD PTR -120[rbp], 0
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -188[rbp], 0
	mov	DWORD PTR -184[rbp], 0
	mov	QWORD PTR -152[rbp], 0
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -128[rbp]
	mov	esi, 100
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -128[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcspn@PLT
	mov	BYTE PTR -128[rbp+rax], 0
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -188[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L2
.L3:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 43
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
	lea	rax, -188[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L2:
	mov	eax, DWORD PTR -188[rbp]
	test	eax, eax
	jle	.L3
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -184[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -128[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -152[rbp], rax
	cmp	QWORD PTR -152[rbp], 0
	jne	.L4
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -128[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -168[rbp], rax
	cmp	QWORD PTR -168[rbp], 0
	jne	.L5
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 35
	mov	esi, 1
	lea	rdi, .LC10[rip]
	call	fwrite@PLT
	mov	edi, 4
	call	exit@PLT
.L5:
	mov	DWORD PTR -180[rbp], 0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	mov	edx, DWORD PTR -180[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -168[rbp]
	lea	rbx, [rcx+rdx]
	mov	rdi, rax
	call	mem_alloc
	mov	QWORD PTR [rbx], rax
	add	DWORD PTR -180[rbp], 1
.L6:
	mov	eax, DWORD PTR -188[rbp]
	cmp	DWORD PTR -180[rbp], eax
	jl	.L7
	mov	DWORD PTR -176[rbp], 0
	jmp	.L8
.L11:
	mov	DWORD PTR -172[rbp], 0
	jmp	.L9
.L10:
	lea	rdx, -138[rbp]
	mov	rax, QWORD PTR -152[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	sal	rax, 3
	lea	rbx, [rdx+rax]
	lea	rax, -138[rbp]
	mov	rdi, rax
	call	atof@PLT
	movq	rax, xmm0
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	fseek@PLT
	add	DWORD PTR -172[rbp], 1
.L9:
	mov	eax, DWORD PTR -188[rbp]
	cmp	DWORD PTR -172[rbp], eax
	jl	.L10
	add	DWORD PTR -176[rbp], 1
.L8:
	mov	eax, DWORD PTR -188[rbp]
	cmp	DWORD PTR -176[rbp], eax
	jl	.L11
	mov	edx, DWORD PTR -184[rbp]
	mov	eax, DWORD PTR -188[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -168[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	power_method
	movq	rax, xmm0
	mov	QWORD PTR -160[rbp], rax
	mov	rax, QWORD PTR -168[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	edx, DWORD PTR -188[rbp]
	mov	eax, DWORD PTR -188[rbp]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -184[rbp]
	mov	rdx, QWORD PTR -160[rbp]
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, DWORD PTR iter_num[rip]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC15[rip]
	call	system@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	min
	.type	min, @function
min:
.LFB7:
	.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 -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -8[rbp], xmm0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L15
.L18:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movq	xmm1, QWORD PTR .LC16[rip]
	andpd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	xmm2, QWORD PTR .LC16[rip]
	andpd	xmm0, xmm2
	comisd	xmm0, xmm1
	jbe	.L16
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -8[rbp], xmm0
.L16:
	add	DWORD PTR -12[rbp], 1
.L15:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L18
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	min, .-min
	.globl	mem_alloc
	.type	mem_alloc, @function
mem_alloc:
.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
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -8[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L22
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 35
	mov	esi, 1
	lea	rdi, .LC10[rip]
	call	fwrite@PLT
	mov	edi, 4
	call	exit@PLT
.L22:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	mem_alloc, .-mem_alloc
	.globl	power_method
	.type	power_method, @function
power_method:
.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	QWORD PTR -88[rbp], rdi
	mov	QWORD PTR -96[rbp], rsi
	mov	DWORD PTR -100[rbp], edx
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	mem_alloc
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	mem_alloc
	mov	QWORD PTR -24[rbp], rax
	pxor	xmm0, xmm0
	movsd	QWORD PTR -16[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -56[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -48[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -40[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -8[rbp], xmm0
	mov	DWORD PTR iter_num[rip], 0
	mov	DWORD PTR -72[rbp], 0
	jmp	.L25
.L26:
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR .LC17[rip]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -72[rbp], 1
.L25:
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	cmp	QWORD PTR -96[rbp], rax
	ja	.L26
.L33:
	movsd	xmm0, QWORD PTR -40[rbp]
	movsd	QWORD PTR -8[rbp], xmm0
	mov	eax, DWORD PTR iter_num[rip]
	add	eax, 1
	mov	DWORD PTR iter_num[rip], eax
	mov	DWORD PTR -68[rbp], 0
	jmp	.L27
.L30:
	mov	DWORD PTR -64[rbp], 0
	jmp	.L28
.L29:
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, xmm2
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -64[rbp], 1
.L28:
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	cmp	QWORD PTR -96[rbp], rax
	ja	.L29
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -56[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -56[rbp], xmm0
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -48[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -48[rbp], xmm0
	add	DWORD PTR -68[rbp], 1
.L27:
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	cmp	QWORD PTR -96[rbp], rax
	ja	.L30
	mov	rax, QWORD PTR -96[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	min
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -60[rbp], 0
	jmp	.L31
.L32:
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	divsd	xmm0, QWORD PTR -16[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	edx, DWORD PTR -60[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -24[rbp]
	add	rdx, rcx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR [rdx], xmm0
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -60[rbp], 1
.L31:
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	cmp	QWORD PTR -96[rbp], rax
	ja	.L32
	movsd	xmm0, QWORD PTR -56[rbp]
	divsd	xmm0, QWORD PTR -48[rbp]
	movsd	QWORD PTR -40[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -48[rbp], xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	movsd	QWORD PTR -56[rbp], xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	subsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR -112[rbp], xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -100[rbp]
	mov	rax, QWORD PTR .LC18[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	mulsd	xmm0, QWORD PTR -112[rbp]
	cvttsd2si	eax, xmm0
	test	eax, eax
	jne	.L33
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
	movsd	xmm0, QWORD PTR -40[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	power_method, .-power_method
	.section	.rodata
	.align 16
.LC16:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.align 8
.LC17:
	.long	0
	.long	1072693248
	.align 8
.LC18:
	.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	"986429.c"
	.text
	.global	iter_num
	.bss
	.align	2
	.type	iter_num, %object
	.size	iter_num, 4
iter_num:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"******Absolute largest eigen value calculator******"
	.ascii	"\012\000"
	.align	2
.LC1:
	.ascii	"You will need to enter the file path containing the"
	.ascii	" matrix: \000"
	.align	2
.LC2:
	.ascii	"\012\000"
	.align	2
.LC3:
	.ascii	"\012The matrix dimension is: \000"
	.align	2
.LC4:
	.ascii	" %d\000"
	.align	2
.LC5:
	.ascii	"Please enter a valid dimension above zero: \000"
	.align	2
.LC6:
	.ascii	"And finally enter the required decimal precision fo"
	.ascii	"r the calculation: \000"
	.align	2
.LC7:
	.ascii	"r\000"
	.align	2
.LC8:
	.ascii	"\012Error opening file %s. Program terminates here."
	.ascii	"\012\000"
	.align	2
.LC9:
	.ascii	"An error has occurred. Now exiting.\000"
	.align	2
.LC10:
	.ascii	"%[^;]s\000"
	.align	2
.LC11:
	.ascii	"\012\012The calculated absolute maximum eigen value"
	.ascii	" of the %dx%d matrix provided is: \000"
	.align	2
.LC12:
	.ascii	"%.*f\012\000"
	.align	2
.LC13:
	.ascii	"And it has taken %d iterations to complete.\012\012"
	.ascii	"\000"
	.align	2
.LC14:
	.ascii	"pause\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #164
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-148]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-140]
	str	r3, [fp, #-136]
	mov	r3, #32
	str	r3, [fp, #-116]
	sub	r3, fp, #112
	mov	r2, #96
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-168]
	mov	r3, #0
	str	r3, [fp, #-164]
	mov	r3, #0
	str	r3, [fp, #-144]
	ldr	r0, .L14+4
	bl	puts
	ldr	r0, .L14+8
	bl	puts
	ldr	r3, .L14+12
	ldr	r2, [r3]
	sub	r3, fp, #116
	mov	r1, #100
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #116
	ldr	r1, .L14+16
	mov	r0, r3
	bl	strcspn
	mov	r3, r0
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-104]
	ldr	r0, .L14+20
	bl	printf
	sub	r3, fp, #168
	mov	r1, r3
	ldr	r0, .L14+24
	bl	__isoc99_scanf
	b	.L2
.L3:
	ldr	r3, .L14+28
	ldr	r3, [r3]
	mov	r2, #43
	mov	r1, #1
	ldr	r0, .L14+32
	bl	fwrite
	sub	r3, fp, #168
	mov	r1, r3
	ldr	r0, .L14+24
	bl	__isoc99_scanf
.L2:
	ldr	r3, [fp, #-168]
	cmp	r3, #0
	ble	.L3
	ldr	r0, .L14+36
	bl	printf
	sub	r3, fp, #164
	mov	r1, r3
	ldr	r0, .L14+24
	bl	__isoc99_scanf
	sub	r3, fp, #116
	ldr	r1, .L14+40
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-144]
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	bne	.L4
	ldr	r3, .L14+28
	ldr	r3, [r3]
	sub	r2, fp, #116
	ldr	r1, .L14+44
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L4:
	ldr	r3, [fp, #-168]
	mov	r1, #8
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-148]
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	bne	.L5
	ldr	r3, .L14+28
	ldr	r3, [r3]
	mov	r2, #35
	mov	r1, #1
	ldr	r0, .L14+48
	bl	fwrite
	mov	r0, #4
	bl	exit
.L5:
	mov	r3, #0
	str	r3, [fp, #-160]
	b	.L6
.L7:
	ldr	r3, [fp, #-168]
	mov	r1, r3
	ldr	r3, [fp, #-160]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-148]
	add	r4, r2, r3
	mov	r0, r1
	bl	mem_alloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-160]
	add	r3, r3, #1
	str	r3, [fp, #-160]
.L6:
	ldr	r3, [fp, #-168]
	ldr	r2, [fp, #-160]
	cmp	r2, r3
	blt	.L7
	mov	r3, #0
	str	r3, [fp, #-156]
	b	.L8
.L11:
	mov	r3, #0
	str	r3, [fp, #-152]
	b	.L9
.L10:
	sub	r3, fp, #128
	mov	r2, r3
	ldr	r1, .L14+52
	ldr	r0, [fp, #-144]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-156]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-148]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	add	r4, r2, r3
	sub	r3, fp, #128
	mov	r0, r3
	bl	atof
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	mov	r2, #1
	mov	r1, #1
	ldr	r0, [fp, #-144]
	bl	fseek
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L9:
	ldr	r3, [fp, #-168]
	ldr	r2, [fp, #-152]
	cmp	r2, r3
	blt	.L10
	ldr	r3, [fp, #-156]
	add	r3, r3, #1
	str	r3, [fp, #-156]
.L8:
	ldr	r3, [fp, #-168]
	ldr	r2, [fp, #-156]
	cmp	r2, r3
	blt	.L11
	ldr	r3, [fp, #-168]
	mov	r1, r3
	ldr	r3, [fp, #-164]
	mov	r2, r3
	ldr	r0, [fp, #-148]
	bl	power_method
	str	r0, [fp, #-140]
	str	r1, [fp, #-136]
	ldr	r0, [fp, #-148]
	bl	free
	ldr	r0, [fp, #-144]
	bl	fclose
	ldr	r3, [fp, #-168]
	ldr	r2, [fp, #-168]
	mov	r1, r3
	ldr	r0, .L14+56
	bl	printf
	ldr	r1, [fp, #-164]
	sub	r3, fp, #140
	ldmia	r3, {r2-r3}
	ldr	r0, .L14+60
	bl	printf
	ldr	r3, .L14+64
	ldr	r3, [r3]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L14+68
	bl	printf
	ldr	r0, .L14+72
	bl	system
	mov	r3, #0
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC15
	.word	.LC0
	.word	.LC1
	.word	stdin
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	stderr
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	iter_num
	.word	.LC13
	.word	.LC14
	.size	main, .-main
	.global	__aeabi_dcmplt
	.align	2
	.global	min
	.syntax unified
	.arm
	.fpu softvfp
	.type	min, %function
min:
	@ 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, #-40]
	str	r1, [fp, #-44]
	ldr	r3, [fp, #-40]
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L17
.L20:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	mov	r6, r2
	bic	r7, r3, #-2147483648
	ldr	r4, [fp, #-28]
	ldr	r3, [fp, #-24]
	bic	r5, r3, #-2147483648
	mov	r2, r4
	mov	r3, r5
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
.L18:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L17:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L20
	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}
	.size	min, .-min
	.align	2
	.global	mem_alloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	mem_alloc, %function
mem_alloc:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r1, #8
	ldr	r0, [fp, #-16]
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L24
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #35
	mov	r1, #1
	ldr	r0, .L26+4
	bl	fwrite
	mov	r0, #4
	bl	exit
.L24:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	stderr
	.word	.LC9
	.size	mem_alloc, .-mem_alloc
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.global	__aeabi_ddiv
	.global	__aeabi_dsub
	.global	__aeabi_i2d
	.global	__aeabi_d2iz
	.align	2
	.global	power_method
	.syntax unified
	.arm
	.fpu softvfp
	.type	power_method, %function
power_method:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #84
	str	r0, [fp, #-88]
	str	r1, [fp, #-92]
	str	r2, [fp, #-96]
	ldr	r0, [fp, #-92]
	bl	mem_alloc
	str	r0, [fp, #-68]
	ldr	r0, [fp, #-92]
	bl	mem_alloc
	str	r0, [fp, #-64]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r2, #0
	mov	r3, #0
	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]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, .L39
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L29
.L30:
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-64]
	add	r1, r2, r3
	mov	r2, #0
	ldr	r3, .L39+4
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L29:
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #-92]
	cmp	r2, r3
	bhi	.L30
.L37:
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, .L39
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L39
	str	r3, [r2]
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L31
.L34:
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L32
.L33:
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-68]
	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, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L32:
	ldr	r3, [fp, #-76]
	ldr	r2, [fp, #-92]
	cmp	r2, r3
	bhi	.L33
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	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, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L31:
	ldr	r3, [fp, #-80]
	ldr	r2, [fp, #-92]
	cmp	r2, r3
	bhi	.L34
	ldr	r3, [fp, #-92]
	mov	r1, r3
	ldr	r0, [fp, #-68]
	bl	min
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L35
.L36:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-68]
	add	r4, r2, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-64]
	add	r1, r2, r3
	ldmia	r4, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-68]
	add	r1, r2, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L35:
	ldr	r3, [fp, #-72]
	ldr	r2, [fp, #-92]
	cmp	r2, r3
	bhi	.L36
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	sub	r3, fp, #28
	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, #0
	ldr	r1, .L39+8
	bl	pow
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	cmp	r3, #0
	bne	.L37
	ldr	r0, [fp, #-64]
	bl	free
	ldr	r0, [fp, #-68]
	bl	free
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L40:
	.align	2
.L39:
	.word	iter_num
	.word	1072693248
	.word	1076101120
	.size	power_method, .-power_method
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
