	.file	"706130.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Input Phone Number : "
.LC1:
	.string	"%d"
.LC2:
	.string	"Input Local Call Charge : "
.LC3:
	.string	"%lf"
	.align 8
.LC4:
	.string	"Input International Call Charge : "
.LC5:
	.string	"Input Roaming Charge : "
.LC6:
	.string	"w"
.LC7:
	.string	"chargers.dat"
.LC8:
	.string	"%d %lf %lf %lf \n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 192
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -192[rbp], 0
	jmp	.L2
.L3:
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -176[rbp]
	mov	eax, DWORD PTR -192[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -176[rbp]
	mov	eax, DWORD PTR -192[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -176[rbp]
	mov	eax, DWORD PTR -192[rbp]
	cdqe
	sal	rax, 5
	add	rax, 16
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -176[rbp]
	mov	eax, DWORD PTR -192[rbp]
	cdqe
	sal	rax, 5
	add	rax, 16
	add	rax, rdx
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -192[rbp], 1
.L2:
	cmp	DWORD PTR -192[rbp], 4
	jle	.L3
	lea	rsi, .LC6[rip]
	lea	rdi, .LC7[rip]
	call	fopen@PLT
	mov	QWORD PTR -184[rbp], rax
	mov	DWORD PTR -188[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	sal	rax, 5
	add	rax, rbp
	sub	rax, 152
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	sal	rax, 5
	add	rax, rbp
	sub	rax, 160
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	sal	rax, 5
	add	rax, rbp
	sub	rax, 168
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	sal	rax, 5
	add	rax, rbp
	sub	rax, 176
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -184[rbp]
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rcx
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 3
	call	fprintf@PLT
	add	DWORD PTR -188[rbp], 1
.L4:
	cmp	DWORD PTR -188[rbp], 4
	jle	.L5
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"706130.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Input Phone Number : \000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"Input Local Call Charge : \000"
	.align	2
.LC3:
	.ascii	"%lf\000"
	.align	2
.LC4:
	.ascii	"Input International Call Charge : \000"
	.align	2
.LC5:
	.ascii	"Input Roaming Charge : \000"
	.align	2
.LC6:
	.ascii	"w\000"
	.align	2
.LC7:
	.ascii	"chargers.dat\000"
	.align	2
.LC8:
	.ascii	"%d %lf %lf %lf \012\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 184
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #208
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-192]
	b	.L2
.L3:
	ldr	r0, .L8+4
	bl	printf
	sub	r2, fp, #180
	ldr	r3, [fp, #-192]
	lsl	r3, r3, #5
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L8+8
	bl	__isoc99_scanf
	ldr	r0, .L8+12
	bl	printf
	sub	r2, fp, #180
	ldr	r3, [fp, #-192]
	lsl	r3, r3, #5
	add	r3, r3, #8
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L8+16
	bl	__isoc99_scanf
	ldr	r0, .L8+20
	bl	printf
	sub	r2, fp, #180
	ldr	r3, [fp, #-192]
	lsl	r3, r3, #5
	add	r3, r3, #16
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L8+16
	bl	__isoc99_scanf
	ldr	r0, .L8+24
	bl	printf
	sub	r2, fp, #180
	ldr	r3, [fp, #-192]
	lsl	r3, r3, #5
	add	r3, r3, #24
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L8+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-192]
	add	r3, r3, #1
	str	r3, [fp, #-192]
.L2:
	ldr	r3, [fp, #-192]
	cmp	r3, #4
	ble	.L3
	ldr	r1, .L8+28
	ldr	r0, .L8+32
	bl	fopen
	str	r0, [fp, #-184]
	mov	r3, #0
	str	r3, [fp, #-188]
	b	.L4
.L5:
	ldr	r3, [fp, #-188]
	lsl	r3, r3, #5
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	lr, [r3, #-168]
	ldr	r3, [fp, #-188]
	lsl	r3, r3, #5
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #160
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-188]
	lsl	r1, r1, #5
	sub	r0, fp, #12
	add	r1, r0, r1
	sub	r1, r1, #152
	ldmia	r1, {r0-r1}
	ldr	ip, [fp, #-188]
	lsl	ip, ip, #5
	sub	r4, fp, #12
	add	ip, r4, ip
	sub	ip, ip, #144
	ldmia	ip, {r4-r5}
	str	r4, [sp, #16]
	str	r5, [sp, #20]
	str	r0, [sp, #8]
	str	r1, [sp, #12]
	stm	sp, {r2-r3}
	mov	r2, lr
	ldr	r1, .L8+36
	ldr	r0, [fp, #-184]
	bl	fprintf
	ldr	r3, [fp, #-188]
	add	r3, r3, #1
	str	r3, [fp, #-188]
.L4:
	ldr	r3, [fp, #-188]
	cmp	r3, #4
	ble	.L5
	ldr	r0, [fp, #-184]
	bl	fclose
	mov	r3, #0
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC9
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
