	.file	"361331.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Digite um valor para o %s[%d]:"
.LC1:
	.string	"%d"
	.text
	.globl	le_array
	.type	le_array, @function
le_array:
.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	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L3:
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -4[rbp], 1
.L2:
	cmp	DWORD PTR -4[rbp], 9
	jle	.L3
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	le_array, .-le_array
	.globl	existe
	.type	existe, @function
existe:
.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 -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	DWORD PTR -4[rbp], 0
	jmp	.L5
.L8:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -32[rbp], eax
	jne	.L6
	mov	eax, 1
	jmp	.L7
.L6:
	add	DWORD PTR -4[rbp], 1
.L5:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L8
	mov	eax, 0
.L7:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	existe, .-existe
	.section	.rodata
.LC2:
	.string	"vetorA"
.LC3:
	.string	"vetorB"
.LC4:
	.string	"%d "
	.text
	.globl	main
	.type	main, @function
main:
.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, 208
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -208[rbp], 0
	lea	rax, -192[rbp]
	lea	rdx, .LC2[rip]
	mov	esi, 10
	mov	rdi, rax
	call	le_array
	lea	rax, -144[rbp]
	lea	rdx, .LC3[rip]
	mov	esi, 10
	mov	rdi, rax
	call	le_array
	mov	DWORD PTR -204[rbp], 0
	jmp	.L10
.L12:
	mov	eax, DWORD PTR -204[rbp]
	cdqe
	mov	edx, DWORD PTR -192[rbp+rax*4]
	mov	ecx, DWORD PTR -208[rbp]
	lea	rax, -96[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	existe
	test	eax, eax
	jne	.L11
	mov	eax, DWORD PTR -208[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -208[rbp], edx
	mov	edx, DWORD PTR -204[rbp]
	movsx	rdx, edx
	mov	edx, DWORD PTR -192[rbp+rdx*4]
	cdqe
	mov	DWORD PTR -96[rbp+rax*4], edx
.L11:
	add	DWORD PTR -204[rbp], 1
.L10:
	cmp	DWORD PTR -204[rbp], 9
	jle	.L12
	mov	DWORD PTR -200[rbp], 0
	jmp	.L13
.L15:
	mov	eax, DWORD PTR -200[rbp]
	cdqe
	mov	edx, DWORD PTR -144[rbp+rax*4]
	mov	ecx, DWORD PTR -208[rbp]
	lea	rax, -96[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	existe
	test	eax, eax
	jne	.L14
	mov	eax, DWORD PTR -208[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -208[rbp], edx
	mov	edx, DWORD PTR -200[rbp]
	movsx	rdx, edx
	mov	edx, DWORD PTR -144[rbp+rdx*4]
	cdqe
	mov	DWORD PTR -96[rbp+rax*4], edx
.L14:
	add	DWORD PTR -200[rbp], 1
.L13:
	cmp	DWORD PTR -200[rbp], 9
	jle	.L15
	mov	DWORD PTR -196[rbp], 0
	jmp	.L16
.L17:
	mov	eax, DWORD PTR -196[rbp]
	cdqe
	mov	eax, DWORD PTR -96[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -196[rbp], 1
.L16:
	mov	eax, DWORD PTR -196[rbp]
	cmp	eax, DWORD PTR -208[rbp]
	jl	.L17
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"361331.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Digite um valor para o %s[%d]:\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.text
	.align	2
	.global	le_array
	.syntax unified
	.arm
	.fpu softvfp
	.type	le_array, %function
le_array:
	@ 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	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-24]
	ldr	r0, .L4
	bl	printf
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L4+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #9
	ble	.L3
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	.LC1
	.size	le_array, .-le_array
	.align	2
	.global	existe
	.syntax unified
	.arm
	.fpu softvfp
	.type	existe, %function
existe:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L7
.L10:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bne	.L8
	mov	r3, #1
	b	.L9
.L8:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L7:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L10
	mov	r3, #0
.L9:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	existe, .-existe
	.section	.rodata
	.align	2
.LC2:
	.ascii	"vetorA\000"
	.align	2
.LC3:
	.ascii	"vetorB\000"
	.align	2
.LC4:
	.ascii	"%d \000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 184
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #184
	ldr	r3, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-184]
	sub	r3, fp, #168
	ldr	r2, .L22+4
	mov	r1, #10
	mov	r0, r3
	bl	le_array
	sub	r3, fp, #128
	ldr	r2, .L22+8
	mov	r1, #10
	mov	r0, r3
	bl	le_array
	mov	r3, #0
	str	r3, [fp, #-180]
	b	.L12
.L14:
	ldr	r3, [fp, #-180]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-164]
	sub	r3, fp, #88
	ldr	r1, [fp, #-184]
	mov	r0, r3
	bl	existe
	mov	r3, r0
	cmp	r3, #0
	bne	.L13
	ldr	r2, [fp, #-184]
	add	r3, r2, #1
	str	r3, [fp, #-184]
	ldr	r3, [fp, #-180]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r1, [r3, #-164]
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-84]
.L13:
	ldr	r3, [fp, #-180]
	add	r3, r3, #1
	str	r3, [fp, #-180]
.L12:
	ldr	r3, [fp, #-180]
	cmp	r3, #9
	ble	.L14
	mov	r3, #0
	str	r3, [fp, #-176]
	b	.L15
.L17:
	ldr	r3, [fp, #-176]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-124]
	sub	r3, fp, #88
	ldr	r1, [fp, #-184]
	mov	r0, r3
	bl	existe
	mov	r3, r0
	cmp	r3, #0
	bne	.L16
	ldr	r2, [fp, #-184]
	add	r3, r2, #1
	str	r3, [fp, #-184]
	ldr	r3, [fp, #-176]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r1, [r3, #-124]
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-84]
.L16:
	ldr	r3, [fp, #-176]
	add	r3, r3, #1
	str	r3, [fp, #-176]
.L15:
	ldr	r3, [fp, #-176]
	cmp	r3, #9
	ble	.L17
	mov	r3, #0
	str	r3, [fp, #-172]
	b	.L18
.L19:
	ldr	r3, [fp, #-172]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-84]
	mov	r1, r3
	ldr	r0, .L22+12
	bl	printf
	ldr	r3, [fp, #-172]
	add	r3, r3, #1
	str	r3, [fp, #-172]
.L18:
	ldr	r2, [fp, #-172]
	ldr	r3, [fp, #-184]
	cmp	r2, r3
	blt	.L19
	mov	r3, #0
	ldr	r2, .L22
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L21
	bl	__stack_chk_fail
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC5
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
