	.file	"457983.c"
	.intel_syntax noprefix
	.text
	.globl	ch
	.bss
	.align 32
	.type	ch, @object
	.size	ch, 200
ch:
	.zero	200
	.globl	a
	.align 8
	.type	a, @object
	.size	a, 8
a:
	.zero	8
	.globl	b
	.align 8
	.type	b, @object
	.size	b, 8
b:
	.zero	8
	.section	.rodata
.LC0:
	.string	"w"
.LC1:
	.string	"results.txt"
.LC2:
	.string	"r"
.LC3:
	.string	"%lf"
.LC4:
	.string	"%lf\n %lf\n %lf\n %lf\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, 32
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -24[rbp], rax
	lea	rsi, .LC2[rip]
	lea	rdi, ch[rip+100]
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	lea	rsi, .LC2[rip]
	lea	rdi, ch[rip+200]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, a[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, b[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	movsd	xmm0, QWORD PTR a[rip]
	movsd	xmm1, QWORD PTR b[rip]
	movapd	xmm3, xmm0
	divsd	xmm3, xmm1
	movsd	xmm1, QWORD PTR a[rip]
	movsd	xmm0, QWORD PTR b[rip]
	movapd	xmm2, xmm1
	mulsd	xmm2, xmm0
	movsd	xmm0, QWORD PTR a[rip]
	movsd	xmm1, QWORD PTR b[rip]
	movapd	xmm4, xmm0
	subsd	xmm4, xmm1
	movsd	xmm1, QWORD PTR a[rip]
	movsd	xmm0, QWORD PTR b[rip]
	addsd	xmm1, xmm0
	movq	rdx, xmm1
	mov	rax, QWORD PTR -24[rbp]
	movapd	xmm1, xmm4
	movq	xmm0, rdx
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 4
	call	fprintf@PLT
.L4:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L7
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	putchar@PLT
	jmp	.L4
.L7:
	nop
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	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	"457983.c"
	.text
	.comm	ch,200,4
	.comm	a,8,8
	.comm	b,8,8
	.section	.rodata
	.align	2
.LC0:
	.ascii	"w\000"
	.align	2
.LC1:
	.ascii	"results.txt\000"
	.align	2
.LC2:
	.ascii	"r\000"
	.align	2
.LC3:
	.ascii	"%lf\000"
	.global	__aeabi_dadd
	.global	__aeabi_dsub
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.align	2
.LC4:
	.ascii	"%lf\012 %lf\012 %lf\012 %lf\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #40
	ldr	r1, .L8
	ldr	r0, .L8+4
	bl	fopen
	str	r0, [fp, #-44]
	ldr	r1, .L8+8
	ldr	r0, .L8+12
	bl	fopen
	str	r0, [fp, #-40]
	ldr	r1, .L8+8
	ldr	r0, .L8+16
	bl	fopen
	str	r0, [fp, #-36]
	ldr	r2, .L8+20
	ldr	r1, .L8+24
	ldr	r0, [fp, #-40]
	bl	__isoc99_fscanf
	ldr	r2, .L8+28
	ldr	r1, .L8+24
	ldr	r0, [fp, #-36]
	bl	__isoc99_fscanf
	ldr	r0, [fp, #-40]
	bl	fclose
	ldr	r0, [fp, #-36]
	bl	fclose
	ldr	r3, .L8+20
	ldmia	r3, {r0-r1}
	ldr	r3, .L8+28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	ldr	r3, .L8+20
	ldmia	r3, {r0-r1}
	ldr	r3, .L8+28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, .L8+20
	ldmia	r3, {r0-r1}
	ldr	r3, .L8+28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, .L8+20
	ldmia	r3, {r0-r1}
	ldr	r3, .L8+28
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	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}
	mov	r2, r8
	mov	r3, r9
	ldr	r1, .L8+32
	ldr	r0, [fp, #-44]
	bl	fprintf
.L4:
	ldr	r0, [fp, #-44]
	bl	fgetc
	str	r0, [fp, #-32]
	ldr	r0, [fp, #-44]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	ldr	r0, [fp, #-32]
	bl	putchar
	b	.L4
.L7:
	nop
	ldr	r0, [fp, #-44]
	bl	fclose
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	ch+100
	.word	ch+200
	.word	a
	.word	.LC3
	.word	b
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
