	.file	"92544.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"cls"
.LC1:
	.string	"\nFile:"
.LC2:
	.string	"%s"
.LC3:
	.string	"\nSave converted file as:"
.LC4:
	.string	"r"
.LC5:
	.string	"w+"
	.align 8
.LC6:
	.string	"Error opening file. System Pause."
.LC7:
	.string	"pause"
	.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, 1632
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	system@PLT
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1616[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -1616[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -1616[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 1954051118
	mov	BYTE PTR 4[rax], 0
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1312[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -1312[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -1312[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 1954051118
	mov	BYTE PTR 4[rax], 0
	lea	rax, -1616[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1632[rbp], rax
	lea	rax, -1312[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1624[rbp], rax
	cmp	QWORD PTR -1632[rbp], 0
	jne	.L3
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	system@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	lea	rax, -1008[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	strupr@PLT
	cdqe
	mov	rdx, rax
	mov	rax, QWORD PTR -1624[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	fputs@PLT
.L3:
	mov	rdx, QWORD PTR -1632[rbp]
	lea	rax, -1008[rbp]
	mov	esi, 1000
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L4
	mov	rax, QWORD PTR -1632[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -1624[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	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	"92544.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"cls\000"
	.align	2
.LC1:
	.ascii	"\012File:\000"
	.align	2
.LC2:
	.ascii	"%s\000"
	.align	2
.LC3:
	.ascii	".txt\000"
	.align	2
.LC4:
	.ascii	"\012Save converted file as:\000"
	.align	2
.LC5:
	.ascii	"r\000"
	.align	2
.LC6:
	.ascii	"w+\000"
	.align	2
.LC7:
	.ascii	"Error opening file. System Pause.\000"
	.align	2
.LC8:
	.ascii	"pause\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 = 1616
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1616
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L7+4
	bl	system
	ldr	r0, .L7+8
	bl	printf
	sub	r3, fp, #1600
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L7+12
	bl	__isoc99_scanf
	sub	r3, fp, #1600
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #1600
	sub	r3, r3, #4
	sub	r3, r3, #4
	add	r3, r3, r2
	ldr	r2, .L7+16
	mov	r0, r3
	mov	r1, r2
	mov	r3, #5
	mov	r2, r3
	bl	memcpy
	ldr	r0, .L7+20
	bl	printf
	sub	r3, fp, #1296
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L7+12
	bl	__isoc99_scanf
	sub	r3, fp, #1296
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #1296
	sub	r3, r3, #4
	sub	r3, r3, #8
	add	r3, r3, r2
	ldr	r2, .L7+16
	mov	r0, r3
	mov	r1, r2
	mov	r3, #5
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #1600
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L7+24
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-1616]
	sub	r3, fp, #1296
	sub	r3, r3, #4
	sub	r3, r3, #8
	ldr	r1, .L7+28
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-1612]
	ldr	r3, [fp, #-1616]
	cmp	r3, #0
	bne	.L3
	ldr	r0, .L7+32
	bl	puts
	ldr	r0, .L7+36
	bl	system
	mov	r0, #1
	bl	exit
.L4:
	sub	r3, fp, #1008
	mov	r0, r3
	bl	strupr
	mov	r3, r0
	ldr	r1, [fp, #-1612]
	mov	r0, r3
	bl	fputs
.L3:
	sub	r3, fp, #1008
	ldr	r2, [fp, #-1616]
	mov	r1, #1000
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L4
	ldr	r0, [fp, #-1616]
	bl	fclose
	ldr	r0, [fp, #-1612]
	bl	fclose
	mov	r3, #0
	ldr	r2, .L7
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.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
