	.file	"156391927.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"total_area.txt"
.LC2:
	.string	"%f"
.LC3:
	.string	"Total Area:%f\n"
.LC4:
	.string	"int_pow.txt"
.LC5:
	.string	"Internal Power %f \t"
.LC6:
	.string	"sw_pow.txt"
.LC7:
	.string	"Switching Power:%f \t"
.LC8:
	.string	"leak_pow.txt"
.LC9:
	.string	"Leakage Power:%f \n"
.LC10:
	.string	"Total Power:%f \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
	sub	rsp, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -40[rbp], rax
	jmp	.L2
.L3:
	lea	rdx, -48[rbp]
	lea	rax, -32[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	movss	xmm0, DWORD PTR -48[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC3[rip]
	mov	eax, 1
	call	printf@PLT
.L2:
	mov	rdx, QWORD PTR -40[rbp]
	lea	rax, -32[rbp]
	mov	esi, 20
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L3
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rsi, .LC0[rip]
	lea	rdi, .LC4[rip]
	call	fopen@PLT
	mov	QWORD PTR -40[rbp], rax
	jmp	.L4
.L5:
	lea	rdx, -48[rbp]
	lea	rax, -32[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	movss	xmm0, DWORD PTR -48[rbp]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movq	rax, xmm3
	movq	xmm0, rax
	lea	rdi, .LC5[rip]
	mov	eax, 1
	call	printf@PLT
.L4:
	mov	rdx, QWORD PTR -40[rbp]
	lea	rax, -32[rbp]
	mov	esi, 20
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L5
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	fclose@PLT
	movss	xmm0, DWORD PTR -48[rbp]
	movss	xmm1, DWORD PTR -44[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -44[rbp], xmm0
	lea	rsi, .LC0[rip]
	lea	rdi, .LC6[rip]
	call	fopen@PLT
	mov	QWORD PTR -40[rbp], rax
	jmp	.L6
.L7:
	lea	rdx, -48[rbp]
	lea	rax, -32[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	movss	xmm0, DWORD PTR -48[rbp]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movq	rax, xmm4
	movq	xmm0, rax
	lea	rdi, .LC7[rip]
	mov	eax, 1
	call	printf@PLT
.L6:
	mov	rdx, QWORD PTR -40[rbp]
	lea	rax, -32[rbp]
	mov	esi, 20
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L7
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	fclose@PLT
	movss	xmm0, DWORD PTR -48[rbp]
	movss	xmm1, DWORD PTR -44[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -44[rbp], xmm0
	lea	rsi, .LC0[rip]
	lea	rdi, .LC8[rip]
	call	fopen@PLT
	mov	QWORD PTR -40[rbp], rax
	jmp	.L8
.L9:
	lea	rdx, -48[rbp]
	lea	rax, -32[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	movss	xmm0, DWORD PTR -48[rbp]
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, xmm0
	movq	rax, xmm5
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
.L8:
	mov	rdx, QWORD PTR -40[rbp]
	lea	rax, -32[rbp]
	mov	esi, 20
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L9
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	fclose@PLT
	movss	xmm0, DWORD PTR -48[rbp]
	movss	xmm1, DWORD PTR -44[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -44[rbp], xmm0
	lea	rsi, .LC0[rip]
	lea	rdi, .LC8[rip]
	call	fopen@PLT
	mov	QWORD PTR -40[rbp], rax
	jmp	.L10
.L11:
	lea	rdx, -48[rbp]
	lea	rax, -32[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	movss	xmm0, DWORD PTR -48[rbp]
	pxor	xmm6, xmm6
	cvtss2sd	xmm6, xmm0
	movq	rax, xmm6
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
.L10:
	mov	rdx, QWORD PTR -40[rbp]
	lea	rax, -32[rbp]
	mov	esi, 20
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L11
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	fclose@PLT
	movss	xmm0, DWORD PTR -48[rbp]
	movss	xmm1, DWORD PTR -44[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -44[rbp], xmm0
	pxor	xmm7, xmm7
	cvtss2sd	xmm7, DWORD PTR -44[rbp]
	movq	rax, xmm7
	movq	xmm0, rax
	lea	rdi, .LC10[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 1
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"156391927.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"total_area.txt\000"
	.align	2
.LC2:
	.ascii	"%f\000"
	.global	__aeabi_f2d
	.align	2
.LC3:
	.ascii	"Total Area:%f\012\000"
	.align	2
.LC4:
	.ascii	"int_pow.txt\000"
	.align	2
.LC5:
	.ascii	"Internal Power %f \011\000"
	.global	__aeabi_fadd
	.align	2
.LC6:
	.ascii	"sw_pow.txt\000"
	.align	2
.LC7:
	.ascii	"Switching Power:%f \011\000"
	.align	2
.LC8:
	.ascii	"leak_pow.txt\000"
	.align	2
.LC9:
	.ascii	"Leakage Power:%f \012\000"
	.align	2
.LC10:
	.ascii	"Total Power:%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 = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L14+4
	ldr	r0, .L14+8
	bl	fopen
	str	r0, [fp, #-36]
	b	.L2
.L3:
	sub	r2, fp, #40
	sub	r3, fp, #28
	ldr	r1, .L14+12
	mov	r0, r3
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-40]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L14+16
	bl	printf
.L2:
	sub	r3, fp, #28
	ldr	r2, [fp, #-36]
	mov	r1, #20
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L3
	ldr	r0, [fp, #-36]
	bl	fclose
	ldr	r1, .L14+4
	ldr	r0, .L14+20
	bl	fopen
	str	r0, [fp, #-36]
	b	.L4
.L5:
	sub	r2, fp, #40
	sub	r3, fp, #28
	ldr	r1, .L14+12
	mov	r0, r3
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-40]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L14+24
	bl	printf
.L4:
	sub	r3, fp, #28
	ldr	r2, [fp, #-36]
	mov	r1, #20
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	ldr	r0, [fp, #-36]
	bl	fclose
	ldr	r3, [fp, #-40]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-32]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-32]	@ float
	ldr	r1, .L14+4
	ldr	r0, .L14+28
	bl	fopen
	str	r0, [fp, #-36]
	b	.L6
.L7:
	sub	r2, fp, #40
	sub	r3, fp, #28
	ldr	r1, .L14+12
	mov	r0, r3
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-40]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L14+32
	bl	printf
.L6:
	sub	r3, fp, #28
	ldr	r2, [fp, #-36]
	mov	r1, #20
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	ldr	r0, [fp, #-36]
	bl	fclose
	ldr	r3, [fp, #-40]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-32]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-32]	@ float
	ldr	r1, .L14+4
	ldr	r0, .L14+36
	bl	fopen
	str	r0, [fp, #-36]
	b	.L8
.L9:
	sub	r2, fp, #40
	sub	r3, fp, #28
	ldr	r1, .L14+12
	mov	r0, r3
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-40]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L14+40
	bl	printf
.L8:
	sub	r3, fp, #28
	ldr	r2, [fp, #-36]
	mov	r1, #20
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
	ldr	r0, [fp, #-36]
	bl	fclose
	ldr	r3, [fp, #-40]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-32]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-32]	@ float
	ldr	r1, .L14+4
	ldr	r0, .L14+36
	bl	fopen
	str	r0, [fp, #-36]
	b	.L10
.L11:
	sub	r2, fp, #40
	sub	r3, fp, #28
	ldr	r1, .L14+12
	mov	r0, r3
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-40]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L14+40
	bl	printf
.L10:
	sub	r3, fp, #28
	ldr	r2, [fp, #-36]
	mov	r1, #20
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	ldr	r0, [fp, #-36]
	bl	fclose
	ldr	r3, [fp, #-40]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-32]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-32]	@ float
	ldr	r0, [fp, #-32]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L14+44
	bl	printf
	mov	r3, #1
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC11
	.word	.LC0
	.word	.LC1
	.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
