	.file	"639551.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"input1.txt"
.LC2:
	.string	"w"
.LC3:
	.string	"output1.txt"
.LC4:
	.string	"%s %d %d\n"
.LC5:
	.string	"Input (input1.txt) : "
.LC6:
	.string	"%s %d %d\n\n"
.LC7:
	.string	"Output (output1.txt) : "
.LC9:
	.string	"%s %d %.1lf\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, 64
	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 -48[rbp], rax
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	fopen@PLT
	mov	QWORD PTR -40[rbp], rax
	lea	rsi, -52[rbp]
	lea	rcx, -56[rbp]
	lea	rdx, -32[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	r8, rsi
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	esi, DWORD PTR -52[rbp]
	mov	ecx, DWORD PTR -56[rbp]
	mov	rax, QWORD PTR stdout[rip]
	lea	rdx, -32[rbp]
	mov	r8d, esi
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	edx, DWORD PTR -56[rbp]
	mov	eax, DWORD PTR -52[rbp]
	add	eax, edx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	xmm1, QWORD PTR .LC8[rip]
	divsd	xmm0, xmm1
	movq	rcx, xmm0
	mov	edx, DWORD PTR -56[rbp]
	mov	eax, DWORD PTR -52[rbp]
	lea	esi, [rdx+rax]
	mov	rax, QWORD PTR stdout[rip]
	lea	rdx, -32[rbp]
	movq	xmm0, rcx
	mov	ecx, esi
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	mov	edx, DWORD PTR -56[rbp]
	mov	eax, DWORD PTR -52[rbp]
	add	eax, edx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	xmm1, QWORD PTR .LC8[rip]
	divsd	xmm0, xmm1
	movq	rcx, xmm0
	mov	edx, DWORD PTR -56[rbp]
	mov	eax, DWORD PTR -52[rbp]
	lea	esi, [rdx+rax]
	lea	rdx, -32[rbp]
	mov	rax, QWORD PTR -40[rbp]
	movq	xmm0, rcx
	mov	ecx, esi
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L2
	call	__stack_chk_fail@PLT
.L2:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC8:
	.long	0
	.long	1073741824
	.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	"639551.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"input1.txt\000"
	.align	2
.LC2:
	.ascii	"w\000"
	.align	2
.LC3:
	.ascii	"output1.txt\000"
	.align	2
.LC4:
	.ascii	"%s %d %d\012\000"
	.align	2
.LC5:
	.ascii	"Input (input1.txt) : \000"
	.align	2
.LC6:
	.ascii	"%s %d %d\012\012\000"
	.align	2
.LC7:
	.ascii	"Output (output1.txt) : \000"
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.align	2
.LC8:
	.ascii	"%s %d %.1lf\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 = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #48
	ldr	r3, .L3
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r1, .L3+4
	ldr	r0, .L3+8
	bl	fopen
	str	r0, [fp, #-44]
	ldr	r1, .L3+12
	ldr	r0, .L3+16
	bl	fopen
	str	r0, [fp, #-40]
	sub	r1, fp, #52
	sub	r2, fp, #36
	sub	r3, fp, #48
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L3+20
	ldr	r0, [fp, #-44]
	bl	__isoc99_fscanf
	ldr	r0, .L3+24
	bl	puts
	ldr	r3, .L3+28
	ldr	r0, [r3]
	ldr	r1, [fp, #-52]
	ldr	r3, [fp, #-48]
	sub	r2, fp, #36
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L3+32
	bl	fprintf
	ldr	r0, .L3+36
	bl	puts
	ldr	r3, .L3+28
	ldr	r4, [r3]
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-48]
	add	r5, r2, r3
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-48]
	add	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #36
	stm	sp, {r2-r3}
	mov	r3, r5
	mov	r2, r1
	ldr	r1, .L3+40
	mov	r0, r4
	bl	fprintf
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-48]
	add	r4, r2, r3
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-48]
	add	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #36
	stm	sp, {r2-r3}
	mov	r3, r4
	mov	r2, r1
	ldr	r1, .L3+40
	ldr	r0, [fp, #-40]
	bl	fprintf
	ldr	r0, [fp, #-44]
	bl	fclose
	ldr	r0, [fp, #-40]
	bl	fclose
	nop
	ldr	r3, .L3
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L2
	bl	__stack_chk_fail
.L2:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC9
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	stdout
	.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
