	.file	"577435.c"
	.intel_syntax noprefix
	.text
	.globl	vetor
	.data
	.align 32
	.type	vetor, @object
	.size	vetor, 64
vetor:
	.long	12
	.long	2
	.long	6
	.long	3
	.long	43
	.long	25
	.long	10
	.long	15
	.long	8
	.long	21
	.long	34
	.long	60
	.long	1
	.long	0
	.long	16
	.long	19
	.globl	maior
	.bss
	.align 4
	.type	maior, @object
	.size	maior, 4
maior:
	.zero	4
	.section	.rodata
	.align 8
.LC0:
	.string	"Pai esperou o filho com PID = %d\n"
.LC1:
	.string	"\n*Maior elemento \303\251 %d.\n\n"
	.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	fork@PLT
	mov	DWORD PTR -16[rbp], eax
	cmp	DWORD PTR -16[rbp], 0
	jne	.L2
	mov	eax, DWORD PTR vetor[rip]
	mov	DWORD PTR maior[rip], eax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L3
.L5:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, vetor[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR maior[rip]
	cmp	edx, eax
	jle	.L4
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, vetor[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR maior[rip], eax
.L4:
	add	DWORD PTR -20[rbp], 1
.L3:
	cmp	DWORD PTR -20[rbp], 15
	jle	.L5
	mov	edi, 111
	call	exit@PLT
.L2:
	lea	rax, -24[rbp]
	mov	rdi, rax
	call	wait@PLT
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR maior[rip]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
	.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	"577435.c"
	.text
	.global	vetor
	.data
	.align	2
	.type	vetor, %object
	.size	vetor, 64
vetor:
	.word	12
	.word	2
	.word	6
	.word	3
	.word	43
	.word	25
	.word	10
	.word	15
	.word	8
	.word	21
	.word	34
	.word	60
	.word	1
	.word	0
	.word	16
	.word	19
	.comm	maior,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Pai esperou o filho com PID = %d\012\000"
	.align	2
.LC1:
	.ascii	"\012*Maior elemento \303\251 %d.\012\012\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L7+4
	ldr	r3, [r3]
	ldr	r2, .L7+8
	str	r3, [r2]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L3
.L5:
	ldr	r2, .L7+4
	ldr	r3, [fp, #-20]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L7+8
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L4
	ldr	r2, .L7+4
	ldr	r3, [fp, #-20]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, .L7+8
	str	r3, [r2]
.L4:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L3:
	ldr	r3, [fp, #-20]
	cmp	r3, #15
	ble	.L5
	mov	r0, #111
	bl	exit
.L2:
	sub	r3, fp, #24
	mov	r0, r3
	bl	wait
	str	r0, [fp, #-12]
	ldr	r1, [fp, #-12]
	ldr	r0, .L7+12
	bl	printf
	ldr	r3, .L7+8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L7+16
	bl	printf
	mov	r0, #0
	bl	exit
.L8:
	.align	2
.L7:
	.word	.LC2
	.word	vetor
	.word	maior
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
