	.file	"29824745.c"
	.intel_syntax noprefix
	.text
	.globl	attitude
	.bss
	.align 32
	.type	attitude, @object
	.size	attitude, 32
attitude:
	.zero	32
	.text
	.globl	changename
	.type	changename, @function
changename:
.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	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	rcx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, 254
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, 46
	mov	rdi, rax
	call	strrchr@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L2
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -8[rbp], rax
.L3:
	add	QWORD PTR -8[rbp], 1
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L3
.L2:
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -32[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	changename, .-changename
	.section	.rodata
.LC3:
	.string	"r"
.LC4:
	.string	""
.LC5:
	.string	".ybin"
.LC6:
	.string	"creating output file: %s\n"
	.align 8
.LC7:
	.string	"file %s exists, please remove it first\n"
.LC8:
	.string	"w+"
.LC10:
	.string	"0x9a"
.LC11:
	.string	"0x9a %lf %f %f %f"
	.align 8
.LC16:
	.string	"\nfgt=fgt=%lf sow=%lf sod=%lf sid=%lf"
	.align 8
.LC18:
	.string	"%10.2f %10.2lf %9.5f %7.3f %7.3f %7.3f\n"
	.align 8
.LC19:
	.string	"\n%d good points, %d bad points\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1184
	mov	DWORD PTR -1140[rbp], edi
	mov	QWORD PTR -1152[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movss	xmm0, DWORD PTR .LC0[rip]
	movss	DWORD PTR -1108[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC1[rip]
	movsd	QWORD PTR -1056[rbp], xmm0
	movss	xmm0, DWORD PTR .LC2[rip]
	movss	DWORD PTR -1104[rbp], xmm0
	mov	rax, QWORD PTR -1152[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1048[rbp], rax
	cmp	QWORD PTR -1048[rbp], 0
	jne	.L6
	lea	rdi, .LC4[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L6:
	cmp	DWORD PTR -1140[rbp], 2
	jne	.L7
	mov	rax, QWORD PTR -1152[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rcx, -1040[rbp]
	lea	rdx, .LC5[rip]
	mov	rsi, rcx
	mov	rdi, rax
	call	changename
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1040[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rax, -1040[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	access@PLT
	test	eax, eax
	jne	.L8
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1040[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, -1
	call	exit@PLT
.L8:
	lea	rax, -1040[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1080[rbp], rax
	cmp	QWORD PTR -1080[rbp], 0
	jne	.L10
	lea	rdi, .LC4[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L7:
	mov	rax, QWORD PTR -1152[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1080[rbp], rax
	cmp	QWORD PTR -1080[rbp], 0
	jne	.L10
	lea	rdi, .LC4[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L10:
	mov	rdx, QWORD PTR -1080[rbp]
	lea	rax, -1132[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	mov	DWORD PTR -1116[rbp], 0
	mov	eax, DWORD PTR -1116[rbp]
	mov	DWORD PTR -1132[rbp], eax
	mov	eax, DWORD PTR -1132[rbp]
	mov	DWORD PTR -1100[rbp], eax
	pxor	xmm0, xmm0
	movss	DWORD PTR -1096[rbp], xmm0
	jmp	.L11
.L34:
	lea	rax, -1040[rbp]
	mov	edx, 4
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L11
	lea	rdi, -1120[rbp]
	lea	rsi, -1124[rbp]
	lea	rcx, -1128[rbp]
	lea	rdx, -1088[rbp]
	lea	rax, -1040[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	DWORD PTR -1092[rbp], eax
	cmp	DWORD PTR -1092[rbp], 4
	jne	.L11
	mov	DWORD PTR -1112[rbp], 0
	movss	xmm1, DWORD PTR -1124[rbp]
	movss	xmm0, DWORD PTR .LC12[rip]
	comiss	xmm0, xmm1
	ja	.L12
	movss	xmm0, DWORD PTR -1124[rbp]
	comiss	xmm0, DWORD PTR .LC13[rip]
	jbe	.L13
.L12:
	add	DWORD PTR -1112[rbp], 1
.L13:
	movss	xmm1, DWORD PTR -1128[rbp]
	movss	xmm0, DWORD PTR .LC12[rip]
	comiss	xmm0, xmm1
	ja	.L15
	movss	xmm0, DWORD PTR -1128[rbp]
	comiss	xmm0, DWORD PTR .LC13[rip]
	jbe	.L16
.L15:
	add	DWORD PTR -1112[rbp], 1
.L16:
	movss	xmm1, DWORD PTR -1120[rbp]
	pxor	xmm0, xmm0
	comiss	xmm0, xmm1
	ja	.L18
	movss	xmm0, DWORD PTR -1120[rbp]
	comiss	xmm0, DWORD PTR .LC14[rip]
	jbe	.L19
.L18:
	add	DWORD PTR -1112[rbp], 1
.L19:
	movss	xmm0, DWORD PTR -1124[rbp]
	comiss	xmm0, DWORD PTR .LC13[rip]
	jbe	.L42
	movss	xmm0, DWORD PTR -1124[rbp]
	movss	xmm1, DWORD PTR .LC14[rip]
	subss	xmm0, xmm1
	jmp	.L23
.L42:
	movss	xmm0, DWORD PTR -1124[rbp]
.L23:
	movss	DWORD PTR -1124[rbp], xmm0
	movsd	xmm0, QWORD PTR -1088[rbp]
	pxor	xmm1, xmm1
	ucomisd	xmm0, xmm1
	jp	.L24
	pxor	xmm1, xmm1
	ucomisd	xmm0, xmm1
	jne	.L24
	add	DWORD PTR -1112[rbp], 1
.L24:
	movsd	xmm1, QWORD PTR -1088[rbp]
	movsd	xmm0, QWORD PTR -1064[rbp]
	comisd	xmm0, xmm1
	jbe	.L26
	add	DWORD PTR -1112[rbp], 1
.L26:
	cmp	DWORD PTR -1112[rbp], 0
	jne	.L28
	movss	xmm0, DWORD PTR .LC0[rip]
	ucomiss	xmm0, DWORD PTR -1108[rbp]
	jp	.L29
	movss	xmm0, DWORD PTR .LC0[rip]
	ucomiss	xmm0, DWORD PTR -1108[rbp]
	jne	.L29
	mov	rax, QWORD PTR -1088[rbp]
	movsd	xmm0, QWORD PTR -1056[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	fmod@PLT
	movq	rax, xmm0
	mov	QWORD PTR -1072[rbp], rax
	movsd	xmm0, QWORD PTR -1088[rbp]
	subsd	xmm0, QWORD PTR -1072[rbp]
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -1108[rbp], xmm0
	movsd	xmm0, QWORD PTR -1088[rbp]
	pxor	xmm6, xmm6
	cvtss2sd	xmm6, DWORD PTR -1108[rbp]
	movq	rax, xmm6
	movsd	xmm2, QWORD PTR -1056[rbp]
	movsd	xmm1, QWORD PTR -1072[rbp]
	movapd	xmm3, xmm2
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC16[rip]
	mov	eax, 4
	call	printf@PLT
.L29:
	movss	xmm0, DWORD PTR -1120[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC17[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	rax, xmm0
	mov	QWORD PTR attitude[rip+24], rax
	movss	xmm0, DWORD PTR -1128[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC17[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	rax, xmm0
	mov	QWORD PTR attitude[rip+8], rax
	movss	xmm0, DWORD PTR -1124[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC17[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	rax, xmm0
	mov	QWORD PTR attitude[rip+16], rax
	movsd	xmm0, QWORD PTR -1088[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -1108[rbp]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR .LC17[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	add	eax, 1
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	sub	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	cdqe
	mov	QWORD PTR attitude[rip], rax
	mov	eax, DWORD PTR -1132[rbp]
	test	eax, eax
	je	.L31
	mov	rax, QWORD PTR -1080[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 32
	lea	rdi, attitude[rip]
	call	fwrite@PLT
.L31:
	movsd	xmm0, QWORD PTR -1072[rbp]
	subsd	xmm0, QWORD PTR -1064[rbp]
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -1096[rbp], xmm0
	movss	xmm0, DWORD PTR -1096[rbp]
	comiss	xmm0, DWORD PTR -1104[rbp]
	jb	.L32
	mov	eax, DWORD PTR -1132[rbp]
	test	eax, eax
	je	.L32
	movss	xmm0, DWORD PTR -1120[rbp]
	pxor	xmm7, xmm7
	cvtss2sd	xmm7, xmm0
	movsd	QWORD PTR -1160[rbp], xmm7
	movss	xmm0, DWORD PTR -1124[rbp]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movsd	QWORD PTR -1168[rbp], xmm4
	movss	xmm0, DWORD PTR -1128[rbp]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movsd	QWORD PTR -1176[rbp], xmm3
	mov	rax, QWORD PTR -1088[rbp]
	movsd	xmm0, QWORD PTR -1056[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	fmod@PLT
	movq	rdx, xmm0
	pxor	xmm6, xmm6
	cvtss2sd	xmm6, DWORD PTR -1096[rbp]
	movq	rax, xmm6
	movsd	xmm0, QWORD PTR -1072[rbp]
	movsd	xmm5, QWORD PTR -1160[rbp]
	movsd	xmm4, QWORD PTR -1168[rbp]
	movsd	xmm3, QWORD PTR -1176[rbp]
	movq	xmm2, rdx
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC18[rip]
	mov	eax, 6
	call	printf@PLT
.L32:
	movsd	xmm0, QWORD PTR -1072[rbp]
	movsd	QWORD PTR -1064[rbp], xmm0
	mov	eax, DWORD PTR -1132[rbp]
	add	eax, 1
	mov	DWORD PTR -1132[rbp], eax
	jmp	.L11
.L28:
	add	DWORD PTR -1116[rbp], 1
.L11:
	mov	rdx, QWORD PTR -1048[rbp]
	lea	rax, -1040[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L34
	mov	eax, DWORD PTR -1132[rbp]
	sub	eax, 1
	mov	DWORD PTR -1132[rbp], eax
	mov	rax, QWORD PTR -1080[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -1080[rbp]
	lea	rax, -1132[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	mov	eax, DWORD PTR -1132[rbp]
	mov	edx, DWORD PTR -1116[rbp]
	mov	esi, eax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L36
	call	__stack_chk_fail@PLT
.L36:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC0:
	.long	-1082130432
	.align 8
.LC1:
	.long	0
	.long	1089804288
	.align 4
.LC2:
	.long	1065353216
	.align 4
.LC12:
	.long	-1020002304
	.align 4
.LC13:
	.long	1127481344
	.align 4
.LC14:
	.long	1135869952
	.align 8
.LC17:
	.long	0
	.long	1083129856
	.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	"29824745.c"
	.text
	.comm	attitude,16,4
	.align	2
	.global	changename
	.syntax unified
	.arm
	.fpu softvfp
	.type	changename, %function
changename:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r2, #254
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	strncpy
	mov	r1, #46
	ldr	r0, [fp, #-20]
	bl	strrchr
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L2
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
.L3:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L3
.L2:
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-8]
	bl	strcpy
	ldr	r3, [fp, #-20]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	changename, .-changename
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"\000"
	.align	2
.LC2:
	.ascii	".ybin\000"
	.align	2
.LC3:
	.ascii	"creating output file: %s\012\000"
	.align	2
.LC4:
	.ascii	"file %s exists, please remove it first\012\000"
	.align	2
.LC5:
	.ascii	"w+\000"
	.align	2
.LC6:
	.ascii	"0x9a\000"
	.align	2
.LC7:
	.ascii	"0x9a %lf %f %f %f\000"
	.global	__aeabi_fcmplt
	.global	__aeabi_fcmpgt
	.global	__aeabi_f2d
	.global	__aeabi_dsub
	.global	__aeabi_d2f
	.global	__aeabi_dcmpeq
	.global	__aeabi_dcmpgt
	.global	__aeabi_fcmpeq
	.align	2
.LC8:
	.ascii	"\012fgt=fgt=%lf sow=%lf sod=%lf sid=%lf\000"
	.global	__aeabi_dmul
	.global	__aeabi_d2iz
	.global	__aeabi_fcmpge
	.align	2
.LC9:
	.ascii	"%10.2f %10.2lf %9.5f %7.3f %7.3f %7.3f\012\000"
	.align	2
.LC10:
	.ascii	"\012%d good points, %d bad points\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 = 1136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #1168
	sub	sp, sp, #8
	str	r0, [fp, #-1152]
	str	r1, [fp, #-1156]
	ldr	r3, .L43
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	ldr	r3, .L43+4
	str	r3, [fp, #-1116]	@ float
	mov	r2, #0
	ldr	r3, .L43+8
	str	r2, [fp, #-1068]
	str	r3, [fp, #-1064]
	mov	r3, #1065353216
	str	r3, [fp, #-1112]	@ float
	ldr	r3, [fp, #-1156]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L43+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-1108]
	ldr	r3, [fp, #-1108]
	cmp	r3, #0
	bne	.L6
	ldr	r0, .L43+16
	bl	perror
	mov	r0, #1
	bl	exit
.L6:
	ldr	r3, [fp, #-1152]
	cmp	r3, #2
	bne	.L7
	ldr	r3, [fp, #-1156]
	add	r3, r3, #4
	ldr	r0, [r3]
	sub	r3, fp, #1040
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, .L43+20
	mov	r1, r3
	bl	changename
	ldr	r3, .L43+24
	ldr	r0, [r3]
	sub	r3, fp, #1040
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r1, .L43+28
	bl	fprintf
	sub	r3, fp, #1040
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, #0
	mov	r0, r3
	bl	access
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	ldr	r3, .L43+24
	ldr	r0, [r3]
	sub	r3, fp, #1040
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r1, .L43+32
	bl	fprintf
	mvn	r0, #0
	bl	exit
.L8:
	sub	r3, fp, #1040
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L43+36
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-1128]
	ldr	r3, [fp, #-1128]
	cmp	r3, #0
	bne	.L10
	ldr	r0, .L43+16
	bl	perror
	mov	r0, #1
	bl	exit
.L7:
	ldr	r3, [fp, #-1156]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L43+36
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-1128]
	ldr	r3, [fp, #-1128]
	cmp	r3, #0
	bne	.L10
	ldr	r0, .L43+16
	bl	perror
	mov	r0, #1
	bl	exit
.L10:
	sub	r0, fp, #1120
	sub	r0, r0, #12
	sub	r0, r0, #12
	ldr	r3, [fp, #-1128]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-1124]
	ldr	r3, [fp, #-1124]
	str	r3, [fp, #-1144]
	ldr	r3, [fp, #-1144]
	str	r3, [fp, #-1104]
	mov	r3, #0
	str	r3, [fp, #-1100]	@ float
	b	.L11
.L34:
	sub	r3, fp, #1040
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #4
	ldr	r1, .L43+40
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	sub	r1, fp, #1120
	sub	r1, r1, #12
	sub	r1, r1, #8
	sub	r2, fp, #1072
	sub	r2, r2, #12
	sub	r2, r2, #8
	sub	r0, fp, #1040
	sub	r0, r0, #12
	sub	r0, r0, #4
	sub	r3, fp, #1120
	sub	r3, r3, #12
	str	r3, [sp, #4]
	sub	r3, fp, #1120
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L43+44
	bl	__isoc99_sscanf
	str	r0, [fp, #-1096]
	ldr	r3, [fp, #-1096]
	cmp	r3, #4
	bne	.L11
	mov	r3, #0
	str	r3, [fp, #-1120]
	ldr	r3, [fp, #-1136]	@ float
	ldr	r1, .L43+48
	mov	r0, r3
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L12
	ldr	r3, [fp, #-1136]	@ float
	ldr	r1, .L43+52
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L13
.L12:
	ldr	r3, [fp, #-1120]
	add	r3, r3, #1
	str	r3, [fp, #-1120]
.L13:
	ldr	r3, [fp, #-1140]	@ float
	ldr	r1, .L43+48
	mov	r0, r3
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L15
	ldr	r3, [fp, #-1140]	@ float
	ldr	r1, .L43+52
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L16
.L15:
	ldr	r3, [fp, #-1120]
	add	r3, r3, #1
	str	r3, [fp, #-1120]
.L16:
	ldr	r3, [fp, #-1132]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L18
	ldr	r3, [fp, #-1132]	@ float
	ldr	r1, .L43+56
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
.L18:
	ldr	r3, [fp, #-1120]
	add	r3, r3, #1
	str	r3, [fp, #-1120]
.L19:
	ldr	r3, [fp, #-1136]	@ float
	ldr	r1, .L43+52
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L42
	ldr	r3, [fp, #-1136]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L43+60
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	b	.L23
.L42:
	ldr	r3, [fp, #-1136]	@ float
.L23:
	str	r3, [fp, #-1136]	@ float
	ldr	r0, [fp, #-1092]
	ldr	r1, [fp, #-1088]
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L24
	ldr	r3, [fp, #-1120]
	add	r3, r3, #1
	str	r3, [fp, #-1120]
.L24:
	ldr	r2, [fp, #-1092]
	ldr	r3, [fp, #-1088]
	ldr	r0, [fp, #-1076]
	ldr	r1, [fp, #-1072]
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L26
	ldr	r3, [fp, #-1120]
	add	r3, r3, #1
	str	r3, [fp, #-1120]
.L26:
	ldr	r3, [fp, #-1120]
	cmp	r3, #0
	bne	.L28
	ldr	r1, .L43+4
	ldr	r0, [fp, #-1116]	@ float
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L29
	ldr	r0, [fp, #-1092]
	ldr	r1, [fp, #-1088]
	ldr	r2, [fp, #-1068]
	ldr	r3, [fp, #-1064]
	bl	fmod
	str	r0, [fp, #-1084]
	str	r1, [fp, #-1080]
	ldr	r0, [fp, #-1092]
	ldr	r1, [fp, #-1088]
	ldr	r2, [fp, #-1084]
	ldr	r3, [fp, #-1080]
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-1116]	@ float
	ldr	r0, [fp, #-1116]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r2, [fp, #-1092]
	ldr	r3, [fp, #-1088]
	ldr	r0, [fp, #-1068]
	ldr	r1, [fp, #-1064]
	str	r0, [sp, #16]
	str	r1, [sp, #20]
	ldr	r0, [fp, #-1084]
	ldr	r1, [fp, #-1080]
	str	r0, [sp, #8]
	str	r1, [sp, #12]
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L43+64
	bl	printf
.L29:
	ldr	r3, [fp, #-1132]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L43+68
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	ldr	r2, .L43+72
	str	r3, [r2, #12]
	ldr	r3, [fp, #-1140]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L43+68
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	ldr	r2, .L43+72
	str	r3, [r2, #4]
	ldr	r3, [fp, #-1136]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L43+68
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	ldr	r2, .L43+72
	str	r3, [r2, #8]
	ldr	r4, [fp, #-1092]
	ldr	r5, [fp, #-1088]
	ldr	r0, [fp, #-1116]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L43+68
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	add	r3, r3, #1
	ldr	r2, .L43+76
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, .L43+72
	str	r2, [r3]
	ldr	r3, [fp, #-1144]
	cmp	r3, #0
	beq	.L31
	ldr	r3, [fp, #-1128]
	mov	r2, #1
	mov	r1, #16
	ldr	r0, .L43+72
	bl	fwrite
.L31:
	ldr	r2, [fp, #-1076]
	ldr	r3, [fp, #-1072]
	ldr	r0, [fp, #-1084]
	ldr	r1, [fp, #-1080]
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-1100]	@ float
	ldr	r1, [fp, #-1112]	@ float
	ldr	r0, [fp, #-1100]	@ float
	bl	__aeabi_fcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L32
	ldr	r3, [fp, #-1144]
	cmp	r3, #0
	beq	.L32
	ldr	r0, [fp, #-1100]	@ float
	bl	__aeabi_f2d
	str	r0, [fp, #-1164]
	str	r1, [fp, #-1160]
	ldr	r0, [fp, #-1092]
	ldr	r1, [fp, #-1088]
	ldr	r2, [fp, #-1068]
	ldr	r3, [fp, #-1064]
	bl	fmod
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-1140]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	ldr	r3, [fp, #-1136]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r8, r0
	mov	r9, r1
	ldr	r3, [fp, #-1132]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #32]
	str	r3, [sp, #36]
	str	r8, [sp, #24]
	str	r9, [sp, #28]
	str	r6, [sp, #16]
	str	r7, [sp, #20]
	str	r4, [sp, #8]
	str	r5, [sp, #12]
	ldr	r2, [fp, #-1084]
	ldr	r3, [fp, #-1080]
	stm	sp, {r2-r3}
	ldr	r2, [fp, #-1164]
	ldr	r3, [fp, #-1160]
	ldr	r0, .L43+80
	bl	printf
.L32:
	ldr	r2, [fp, #-1084]
	ldr	r3, [fp, #-1080]
	str	r2, [fp, #-1076]
	str	r3, [fp, #-1072]
	ldr	r3, [fp, #-1144]
	add	r3, r3, #1
	str	r3, [fp, #-1144]
	b	.L11
.L28:
	ldr	r3, [fp, #-1124]
	add	r3, r3, #1
	str	r3, [fp, #-1124]
.L11:
	sub	r3, fp, #1040
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [fp, #-1108]
	mov	r1, #1024
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L34
	ldr	r3, [fp, #-1144]
	sub	r3, r3, #1
	str	r3, [fp, #-1144]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-1128]
	bl	fseek
	sub	r0, fp, #1120
	sub	r0, r0, #12
	sub	r0, r0, #12
	ldr	r3, [fp, #-1128]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	ldr	r3, [fp, #-1144]
	ldr	r2, [fp, #-1124]
	mov	r1, r3
	ldr	r0, .L43+84
	bl	printf
	mov	r3, #0
	ldr	r2, .L43
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L36
	bl	__stack_chk_fail
.L36:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC11
	.word	-1082130432
	.word	1089804288
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	stderr
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	-1020002304
	.word	1127481344
	.word	1135869952
	.word	1081507840
	.word	.LC8
	.word	1083129856
	.word	attitude
	.word	1717986919
	.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
