	.file	"10975.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	">>> "
.LC1:
	.string	"%s"
.LC2:
	.string	"read"
.LC3:
	.string	"name"
.LC4:
	.string	"writen"
.LC5:
	.string	"writem"
.LC6:
	.string	"mark"
.LC7:
	.string	"stop"
.LC8:
	.string	"Unknown command."
	.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, 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -108[rbp], 1
	jmp	.L2
.L8:
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -64[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L3
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	readData
	mov	QWORD PTR -88[rbp], rax
	lea	rcx, -96[rbp]
	lea	rdx, -104[rbp]
	mov	rax, QWORD PTR -88[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	sortInPlace
	jmp	.L2
.L3:
	lea	rax, -64[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L5
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR -104[rbp]
	lea	rcx, -32[rbp]
	lea	rdx, .LC3[rip]
	mov	rsi, rcx
	mov	rdi, rax
	call	writeToFile
	jmp	.L2
.L5:
	lea	rax, -64[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L6
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR -96[rbp]
	lea	rcx, -32[rbp]
	lea	rdx, .LC6[rip]
	mov	rsi, rcx
	mov	rdi, rax
	call	writeToFile
	jmp	.L2
.L6:
	lea	rax, -64[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L7
	mov	DWORD PTR -108[rbp], 0
	jmp	.L2
.L7:
	lea	rdi, .LC8[rip]
	call	puts@PLT
.L2:
	cmp	DWORD PTR -108[rbp], 0
	jne	.L8
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -80[rbp], rax
	jmp	.L9
.L10:
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -80[rbp], rax
.L9:
	cmp	QWORD PTR -80[rbp], 0
	jne	.L10
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	appendToList
	.type	appendToList, @function
appendToList:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	jmp	.L14
.L15:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
.L14:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L15
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 24[rax], rdx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	appendToList, .-appendToList
	.section	.rodata
.LC9:
	.string	"r"
.LC10:
	.string	"Error opening file %s\n"
.LC11:
	.string	"%s %f"
	.text
	.globl	readData
	.type	readData, @function
readData:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -56[rbp], 0
	mov	rax, QWORD PTR -72[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -48[rbp], rax
	cmp	QWORD PTR -48[rbp], 0
	jne	.L18
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -72[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L20:
	mov	edi, 32
	call	malloc@PLT
	mov	QWORD PTR -40[rbp], rax
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], rdx
	movss	xmm0, DWORD PTR -60[rbp]
	mov	rax, QWORD PTR -40[rbp]
	movss	DWORD PTR 8[rax], xmm0
	mov	rax, QWORD PTR -40[rbp]
	mov	BYTE PTR 12[rax], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	BYTE PTR 13[rax], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR 16[rax], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR 24[rax], 0
	cmp	QWORD PTR -56[rbp], 0
	jne	.L19
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -56[rbp], rax
	jmp	.L18
.L19:
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	appendToList
.L18:
	lea	rcx, -60[rbp]
	lea	rdx, -32[rbp]
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, -1
	jne	.L20
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	readData, .-readData
	.globl	needsSwap
	.type	needsSwap, @function
needsSwap:
.LFB9:
	.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
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L24
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	setg	al
	movzx	eax, al
	jmp	.L25
.L24:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L26
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm0, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -16[rbp]
	movss	xmm1, DWORD PTR 8[rax]
	comiss	xmm0, xmm1
	seta	al
	movzx	eax, al
	jmp	.L25
.L26:
	mov	eax, 0
.L25:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	needsSwap, .-needsSwap
	.globl	getParent
	.type	getParent, @function
getParent:
.LFB10:
	.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	rax, QWORD PTR -32[rbp]
	cmp	rax, QWORD PTR -24[rbp]
	jne	.L28
	mov	eax, 0
	jmp	.L29
.L28:
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L30
	jmp	.L31
.L33:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
.L31:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L32
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	cmp	QWORD PTR -32[rbp], rax
	jne	.L33
	jmp	.L32
.L30:
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L34
	jmp	.L35
.L36:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -8[rbp], rax
.L35:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	je	.L32
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	cmp	QWORD PTR -32[rbp], rax
	jne	.L36
	jmp	.L32
.L34:
	mov	eax, 0
	jmp	.L29
.L32:
	mov	rax, QWORD PTR -8[rbp]
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	getParent, .-getParent
	.globl	swapElements
	.type	swapElements, @function
swapElements:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	QWORD PTR -80[rbp], rcx
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -80[rbp]
	mov	rcx, QWORD PTR -64[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getParent
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L38
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 16
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 16
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 16
	mov	QWORD PTR -32[rbp], rax
	jmp	.L39
.L38:
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 24
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 24
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 24
	mov	QWORD PTR -32[rbp], rax
.L39:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	je	.L40
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L41
.L40:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
.L41:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -64[rbp]
	mov	QWORD PTR [rax], rdx
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	swapElements, .-swapElements
	.globl	sortInPlace
	.type	sortInPlace, @function
sortInPlace:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	QWORD PTR -88[rbp], rdx
	mov	QWORD PTR -96[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L43
.L44:
	mov	rax, QWORD PTR -40[rbp]
	mov	BYTE PTR 12[rax], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	BYTE PTR 13[rax], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -40[rbp], rax
.L43:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L44
	mov	rax, QWORD PTR -40[rbp]
	mov	BYTE PTR 12[rax], 1
	mov	rax, QWORD PTR -40[rbp]
	mov	BYTE PTR 13[rax], 1
	jmp	.L45
.L60:
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L46
.L48:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -40[rbp], rax
.L46:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L49
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	movzx	eax, BYTE PTR 12[rax]
	test	al, al
	je	.L48
	jmp	.L49
.L51:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -32[rbp], rax
.L49:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	je	.L50
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 24[rax]
	movzx	eax, BYTE PTR 13[rax]
	test	al, al
	je	.L51
.L50:
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L52
.L54:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -24[rbp], rax
.L52:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L55
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, .LC3[rip]
	mov	rsi, rcx
	mov	rdi, rax
	call	needsSwap
	test	eax, eax
	jne	.L54
	jmp	.L55
.L57:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -16[rbp], rax
.L55:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	je	.L56
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, .LC6[rip]
	mov	rsi, rcx
	mov	rdi, rax
	call	needsSwap
	test	eax, eax
	jne	.L57
.L56:
	mov	rax, QWORD PTR -24[rbp]
	cmp	rax, QWORD PTR -40[rbp]
	je	.L58
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, QWORD PTR -40[rbp]
	lea	rax, -56[rbp]
	lea	rcx, .LC3[rip]
	mov	rdi, rax
	call	swapElements
.L58:
	mov	rax, QWORD PTR -16[rbp]
	cmp	rax, QWORD PTR -32[rbp]
	je	.L59
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, QWORD PTR -32[rbp]
	lea	rax, -48[rbp]
	lea	rcx, .LC6[rip]
	mov	rdi, rax
	call	swapElements
.L59:
	mov	rax, QWORD PTR -40[rbp]
	mov	BYTE PTR 12[rax], 1
	mov	rax, QWORD PTR -32[rbp]
	mov	BYTE PTR 13[rax], 1
.L45:
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR 12[rax]
	test	al, al
	je	.L60
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR 13[rax]
	test	al, al
	je	.L60
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -96[rbp]
	mov	QWORD PTR [rax], rdx
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L61
	call	__stack_chk_fail@PLT
.L61:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	sortInPlace, .-sortInPlace
	.section	.rodata
.LC12:
	.string	"w"
.LC13:
	.string	"%s %.2f\n"
	.text
	.globl	writeToFile
	.type	writeToFile, @function
writeToFile:
.LFB13:
	.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	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L64
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -32[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L66:
	mov	rax, QWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR 8[rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rcx, xmm1
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rcx
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L65
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L64
.L65:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -16[rbp], rax
.L64:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L66
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	writeToFile, .-writeToFile
	.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	"10975.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	">>> \000"
	.align	2
.LC1:
	.ascii	"%s\000"
	.align	2
.LC2:
	.ascii	"read\000"
	.align	2
.LC3:
	.ascii	"name\000"
	.align	2
.LC4:
	.ascii	"writen\000"
	.align	2
.LC5:
	.ascii	"writem\000"
	.align	2
.LC6:
	.ascii	"mark\000"
	.align	2
.LC7:
	.ascii	"stop\000"
	.align	2
.LC8:
	.ascii	"Unknown command.\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 = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-60]
	b	.L2
.L8:
	ldr	r0, .L13+4
	bl	printf
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, .L13+8
	bl	__isoc99_scanf
	sub	r3, fp, #48
	ldr	r1, .L13+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L3
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L13+8
	bl	__isoc99_scanf
	sub	r3, fp, #28
	mov	r0, r3
	bl	readData
	str	r0, [fp, #-64]
	sub	r3, fp, #68
	sub	r2, fp, #72
	ldr	r1, .L13+16
	ldr	r0, [fp, #-64]
	bl	sortInPlace
	b	.L2
.L3:
	sub	r3, fp, #48
	ldr	r1, .L13+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L13+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-72]
	sub	r1, fp, #28
	ldr	r2, .L13+16
	mov	r0, r3
	bl	writeToFile
	b	.L2
.L5:
	sub	r3, fp, #48
	ldr	r1, .L13+24
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L13+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-68]
	sub	r1, fp, #28
	ldr	r2, .L13+28
	mov	r0, r3
	bl	writeToFile
	b	.L2
.L6:
	sub	r3, fp, #48
	ldr	r1, .L13+32
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L2
.L7:
	ldr	r0, .L13+36
	bl	puts
.L2:
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	bne	.L8
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-56]
	b	.L9
.L10:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-56]
	bl	free
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-56]
.L9:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L10
	mov	r3, #0
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC9
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.align	2
	.global	appendToList
	.syntax unified
	.arm
	.fpu softvfp
	.type	appendToList, %function
appendToList:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	b	.L16
.L17:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-8]
.L16:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	bne	.L17
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #16]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	appendToList, .-appendToList
	.section	.rodata
	.align	2
.LC10:
	.ascii	"r\000"
	.align	2
.LC11:
	.ascii	"Error opening file %s\012\000"
	.align	2
.LC12:
	.ascii	"%s %f\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	readData
	.syntax unified
	.arm
	.fpu softvfp
	.type	readData, %function
readData:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-56]
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r1, .L25+4
	ldr	r0, [fp, #-56]
	bl	fopen
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L20
	ldr	r3, .L25+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-56]
	ldr	r1, .L25+12
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L22:
	mov	r0, #20
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-36]
	sub	r3, fp, #32
	mov	r0, r3
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-36]
	str	r2, [r3]
	ldr	r2, [fp, #-48]	@ float
	ldr	r3, [fp, #-36]
	str	r2, [r3, #4]	@ float
	ldr	r3, [fp, #-36]
	mov	r2, #0
	strb	r2, [r3, #8]
	ldr	r3, [fp, #-36]
	mov	r2, #0
	strb	r2, [r3, #9]
	ldr	r3, [fp, #-36]
	mov	r2, #0
	str	r2, [r3, #12]
	ldr	r3, [fp, #-36]
	mov	r2, #0
	str	r2, [r3, #16]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-44]
	b	.L20
.L21:
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-44]
	bl	appendToList
.L20:
	sub	r3, fp, #48
	sub	r2, fp, #32
	ldr	r1, .L25+16
	ldr	r0, [fp, #-40]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L22
	ldr	r0, [fp, #-40]
	bl	fclose
	ldr	r3, [fp, #-44]
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC13
	.word	.LC10
	.word	stderr
	.word	.LC11
	.word	.LC12
	.size	readData, .-readData
	.global	__aeabi_fcmpgt
	.align	2
	.global	needsSwap
	.syntax unified
	.arm
	.fpu softvfp
	.type	needsSwap, %function
needsSwap:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r1, .L32
	ldr	r0, [fp, #-24]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L28
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	b	.L29
.L28:
	ldr	r1, .L32+4
	ldr	r0, [fp, #-24]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L30
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]	@ float
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]	@ float
	mov	r1, #1
	mov	r4, r1
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L31
	mov	r3, #0
	mov	r4, r3
.L31:
	and	r3, r4, #255
	b	.L29
.L30:
	mov	r3, #0
.L29:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC3
	.word	.LC6
	.size	needsSwap, .-needsSwap
	.align	2
	.global	getParent
	.syntax unified
	.arm
	.fpu softvfp
	.type	getParent, %function
getParent:
	@ 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]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bne	.L35
	mov	r3, #0
	b	.L36
.L35:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	ldr	r1, .L44
	ldr	r0, [fp, #-24]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L37
	b	.L38
.L40:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-8]
.L38:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	beq	.L39
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L40
	b	.L39
.L37:
	ldr	r1, .L44+4
	ldr	r0, [fp, #-24]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L41
	b	.L42
.L43:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-8]
.L42:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L39
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L43
	b	.L39
.L41:
	mov	r3, #0
	b	.L36
.L39:
	ldr	r3, [fp, #-8]
.L36:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L45:
	.align	2
.L44:
	.word	.LC3
	.word	.LC6
	.size	getParent, .-getParent
	.align	2
	.global	swapElements
	.syntax unified
	.arm
	.fpu softvfp
	.type	swapElements, %function
swapElements:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	ldr	r2, [fp, #-44]
	ldr	r1, [fp, #-36]
	mov	r0, r3
	bl	getParent
	str	r0, [fp, #-16]
	ldr	r1, .L51
	ldr	r0, [fp, #-44]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L47
	ldr	r3, [fp, #-36]
	add	r3, r3, #12
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-40]
	add	r3, r3, #12
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-16]
	add	r3, r3, #12
	str	r3, [fp, #-20]
	b	.L48
.L47:
	ldr	r3, [fp, #-36]
	add	r3, r3, #16
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-40]
	add	r3, r3, #16
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-16]
	add	r3, r3, #16
	str	r3, [fp, #-20]
.L48:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L49
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	b	.L50
.L49:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
.L50:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-36]
	str	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L52:
	.align	2
.L51:
	.word	.LC3
	.size	swapElements, .-swapElements
	.section	.rodata
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	sortInPlace
	.syntax unified
	.arm
	.fpu softvfp
	.type	sortInPlace, %function
sortInPlace:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	str	r3, [fp, #-52]
	ldr	r3, .L73
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-20]
	b	.L54
.L55:
	ldr	r3, [fp, #-24]
	mov	r2, #0
	strb	r2, [r3, #8]
	ldr	r3, [fp, #-24]
	mov	r2, #0
	strb	r2, [r3, #9]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-24]
.L54:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	bne	.L55
	ldr	r3, [fp, #-24]
	mov	r2, #1
	strb	r2, [r3, #8]
	ldr	r3, [fp, #-24]
	mov	r2, #1
	strb	r2, [r3, #9]
	b	.L56
.L71:
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-20]
	b	.L57
.L59:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-24]
.L57:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	beq	.L60
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]
	ldrb	r3, [r3, #8]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L59
	b	.L60
.L62:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-20]
.L60:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L61
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #16]
	ldrb	r3, [r3, #9]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L62
.L61:
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-12]
	b	.L63
.L65:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-16]
.L63:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	beq	.L66
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]
	ldr	r2, .L73+4
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	needsSwap
	mov	r3, r0
	cmp	r3, #0
	bne	.L65
	b	.L66
.L68:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-12]
.L66:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L67
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #16]
	ldr	r2, .L73+8
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	needsSwap
	mov	r3, r0
	cmp	r3, #0
	bne	.L68
.L67:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	beq	.L69
	sub	r0, fp, #32
	ldr	r3, .L73+4
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-24]
	bl	swapElements
.L69:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	beq	.L70
	sub	r0, fp, #28
	ldr	r3, .L73+8
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-20]
	bl	swapElements
.L70:
	ldr	r3, [fp, #-24]
	mov	r2, #1
	strb	r2, [r3, #8]
	ldr	r3, [fp, #-20]
	mov	r2, #1
	strb	r2, [r3, #9]
.L56:
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3, #8]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L71
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3, #9]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L71
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-48]
	str	r2, [r3]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-52]
	str	r2, [r3]
	nop
	ldr	r3, .L73
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L72
	bl	__stack_chk_fail
.L72:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L74:
	.align	2
.L73:
	.word	.LC14
	.word	.LC3
	.word	.LC6
	.size	sortInPlace, .-sortInPlace
	.section	.rodata
	.align	2
.LC15:
	.ascii	"w\000"
	.global	__aeabi_f2d
	.align	2
.LC16:
	.ascii	"%s %.2f\012\000"
	.text
	.align	2
	.global	writeToFile
	.syntax unified
	.arm
	.fpu softvfp
	.type	writeToFile, %function
writeToFile:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-20]
	ldr	r1, .L80
	ldr	r0, [fp, #-28]
	bl	fopen
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L77
	ldr	r3, .L80+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	ldr	r1, .L80+8
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L79:
	ldr	r3, [fp, #-20]
	ldr	r4, [r3]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	ldr	r1, .L80+12
	ldr	r0, [fp, #-16]
	bl	fprintf
	ldr	r1, .L80+16
	ldr	r0, [fp, #-32]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L78
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-20]
	b	.L77
.L78:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-20]
.L77:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L79
	ldr	r0, [fp, #-16]
	bl	fclose
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L81:
	.align	2
.L80:
	.word	.LC15
	.word	stderr
	.word	.LC11
	.word	.LC16
	.word	.LC3
	.size	writeToFile, .-writeToFile
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
