	.file	"729290.c"
	.intel_syntax noprefix
	.text
	.globl	eng_words
	.bss
	.align 32
	.type	eng_words, @object
	.size	eng_words, 1000
eng_words:
	.zero	1000
	.globl	port_words
	.align 32
	.type	port_words, @object
	.size	port_words, 1000
port_words:
	.zero	1000
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"english.txt"
	.align 8
.LC2:
	.string	"ERROR: english words file cannot be open"
.LC3:
	.string	"%s\n"
.LC4:
	.string	"portuguese.txt"
	.align 8
.LC5:
	.string	"ERROR: portuguese words file cannot be open"
.LC6:
	.string	"%s "
.LC7:
	.string	"--- "
	.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, 48
	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 -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	jne	.L2
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	DWORD PTR -44[rbp], 0
	jmp	.L3
.L4:
	lea	rdx, -18[rbp]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	edx, DWORD PTR -44[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, eng_words[rip]
	add	rdx, rax
	lea	rax, -18[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	add	DWORD PTR -44[rbp], 1
.L3:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L4
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rsi, .LC0[rip]
	lea	rdi, .LC4[rip]
	call	fopen@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	jne	.L5
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	mov	DWORD PTR -44[rbp], 0
	jmp	.L6
.L7:
	lea	rdx, -18[rbp]
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	edx, DWORD PTR -44[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, port_words[rip]
	add	rdx, rax
	lea	rax, -18[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	add	DWORD PTR -44[rbp], 1
.L6:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L7
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L8
.L13:
	mov	BYTE PTR -45[rbp], 0
	mov	DWORD PTR -44[rbp], 0
	jmp	.L9
.L12:
	mov	edx, DWORD PTR -44[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, eng_words[rip]
	add	rdx, rax
	lea	rax, -18[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	jne	.L10
	mov	edx, DWORD PTR -44[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, port_words[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	BYTE PTR -45[rbp], 1
	jmp	.L11
.L10:
	add	DWORD PTR -44[rbp], 1
.L9:
	cmp	DWORD PTR -44[rbp], 99
	jbe	.L12
.L11:
	movzx	eax, BYTE PTR -45[rbp]
	xor	eax, 1
	test	al, al
	je	.L8
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
.L8:
	lea	rax, -18[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, -1
	jne	.L13
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	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	"729290.c"
	.text
	.comm	eng_words,1000,4
	.comm	port_words,1000,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"english.txt\000"
	.align	2
.LC2:
	.ascii	"ERROR: english words file cannot be open\000"
	.align	2
.LC3:
	.ascii	"%s\012\000"
	.align	2
.LC4:
	.ascii	"portuguese.txt\000"
	.align	2
.LC5:
	.ascii	"ERROR: portuguese words file cannot be open\000"
	.align	2
.LC6:
	.ascii	"%s \000"
	.align	2
.LC7:
	.ascii	"--- \000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L16+4
	ldr	r0, .L16+8
	bl	fopen
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L16+12
	bl	puts
	mov	r0, #1
	bl	exit
.L2:
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L3
.L4:
	sub	r3, fp, #20
	mov	r2, r3
	ldr	r1, .L16+16
	ldr	r0, [fp, #-28]
	bl	__isoc99_fscanf
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L16+20
	add	r3, r3, r2
	sub	r2, fp, #20
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L3:
	ldr	r0, [fp, #-28]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	ldr	r0, [fp, #-28]
	bl	fclose
	ldr	r1, .L16+4
	ldr	r0, .L16+24
	bl	fopen
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L5
	ldr	r0, .L16+28
	bl	puts
	mov	r0, #1
	bl	exit
.L5:
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L6
.L7:
	sub	r3, fp, #20
	mov	r2, r3
	ldr	r1, .L16+16
	ldr	r0, [fp, #-24]
	bl	__isoc99_fscanf
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L16+32
	add	r3, r3, r2
	sub	r2, fp, #20
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L6:
	ldr	r0, [fp, #-24]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	ldr	r0, [fp, #-24]
	bl	fclose
	b	.L8
.L13:
	mov	r3, #0
	strb	r3, [fp, #-33]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L9
.L12:
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L16+20
	add	r3, r3, r2
	sub	r2, fp, #20
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L16+32
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L16+36
	bl	printf
	mov	r3, #1
	strb	r3, [fp, #-33]
	b	.L11
.L10:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L9:
	ldr	r3, [fp, #-32]
	cmp	r3, #99
	bls	.L12
.L11:
	ldrb	r3, [fp, #-33]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L8
	ldr	r0, .L16+40
	bl	printf
.L8:
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L16+36
	bl	__isoc99_scanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L13
	mov	r3, #0
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	eng_words
	.word	.LC4
	.word	.LC5
	.word	port_words
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
