	.file	"102655.c"
	.intel_syntax noprefix
	.text
	.globl	x
	.bss
	.align 4
	.type	x, @object
	.size	x, 4
x:
	.zero	4
	.section	.rodata
	.align 8
.LC0:
	.string	"Thread : %d esta executando...\n"
.LC1:
	.string	"Thread : %d terminou!\n"
	.text
	.globl	t1
	.type	t1, @function
t1:
.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	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR x[rip], 1
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	edi, 0
	call	pthread_exit@PLT
	.cfi_endproc
.LFE6:
	.size	t1, .-t1
	.globl	t2
	.type	t2, @function
t2:
.LFB7:
	.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 -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR x[rip], 2
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	edi, 0
	call	pthread_exit@PLT
	.cfi_endproc
.LFE7:
	.size	t2, .-t2
	.section	.rodata
.LC2:
	.string	"Valor de y = %d\n"
	.text
	.globl	t3
	.type	t3, @function
t3:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR x[rip]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	edi, 0
	call	pthread_exit@PLT
	.cfi_endproc
.LFE8:
	.size	t3, .-t3
	.section	.rodata
.LC3:
	.string	"--ERRO: pthread_create()"
	.text
	.globl	main
	.type	main, @function
main:
.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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 4
	call	malloc@PLT
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	jne	.L5
	mov	eax, -1
	jmp	.L12
.L5:
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], 1
	mov	rdx, QWORD PTR -40[rbp]
	lea	rax, -32[rbp]
	mov	rcx, rdx
	lea	rdx, t1[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	test	eax, eax
	je	.L7
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	edi, -1
	call	exit@PLT
.L7:
	mov	edi, 4
	call	malloc@PLT
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	jne	.L8
	mov	eax, -1
	jmp	.L12
.L8:
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], 2
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, -32[rbp]
	lea	rdi, 8[rdx]
	mov	rcx, rax
	lea	rdx, t2[rip]
	mov	esi, 0
	call	pthread_create@PLT
	test	eax, eax
	je	.L9
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	edi, -1
	call	exit@PLT
.L9:
	mov	edi, 4
	call	malloc@PLT
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	jne	.L10
	mov	eax, -1
	jmp	.L12
.L10:
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], 3
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, -32[rbp]
	lea	rdi, 16[rdx]
	mov	rcx, rax
	lea	rdx, t3[rip]
	mov	esi, 0
	call	pthread_create@PLT
	test	eax, eax
	je	.L11
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	edi, -1
	call	exit@PLT
.L11:
	mov	edi, 0
	call	pthread_exit@PLT
.L12:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	"102655.c"
	.text
	.global	x
	.bss
	.align	2
	.type	x, %object
	.size	x, 4
x:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Thread : %d esta executando...\012\000"
	.align	2
.LC1:
	.ascii	"Thread : %d terminou!\012\000"
	.text
	.align	2
	.global	t1
	.syntax unified
	.arm
	.fpu softvfp
	.type	t1, %function
t1:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, .L2
	bl	printf
	ldr	r3, .L2+4
	mov	r2, #1
	str	r2, [r3]
	ldr	r1, [fp, #-8]
	ldr	r0, .L2+8
	bl	printf
	ldr	r0, [fp, #-16]
	bl	free
	mov	r0, #0
	bl	pthread_exit
.L3:
	.align	2
.L2:
	.word	.LC0
	.word	x
	.word	.LC1
	.size	t1, .-t1
	.align	2
	.global	t2
	.syntax unified
	.arm
	.fpu softvfp
	.type	t2, %function
t2:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, .L5
	bl	printf
	ldr	r3, .L5+4
	mov	r2, #2
	str	r2, [r3]
	ldr	r1, [fp, #-8]
	ldr	r0, .L5+8
	bl	printf
	ldr	r0, [fp, #-16]
	bl	free
	mov	r0, #0
	bl	pthread_exit
.L6:
	.align	2
.L5:
	.word	.LC0
	.word	x
	.word	.LC1
	.size	t2, .-t2
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Valor de y = %d\012\000"
	.text
	.align	2
	.global	t3
	.syntax unified
	.arm
	.fpu softvfp
	.type	t3, %function
t3:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r1, [fp, #-12]
	ldr	r0, .L8
	bl	printf
	ldr	r3, .L8+4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-12]
	ldr	r0, .L8+8
	bl	printf
	ldr	r1, [fp, #-8]
	ldr	r0, .L8+12
	bl	printf
	ldr	r0, [fp, #-16]
	bl	free
	mov	r0, #0
	bl	pthread_exit
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	x
	.word	.LC1
	.word	.LC2
	.size	t3, .-t3
	.section	.rodata
	.align	2
.LC3:
	.ascii	"--ERRO: pthread_create()\000"
	.align	2
.LC4:
	.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
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #4
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L11
	mvn	r3, #0
	b	.L18
.L11:
	ldr	r3, [fp, #-24]
	mov	r2, #1
	str	r2, [r3]
	sub	r0, fp, #20
	ldr	r3, [fp, #-24]
	ldr	r2, .L20+4
	mov	r1, #0
	bl	pthread_create
	mov	r3, r0
	cmp	r3, #0
	beq	.L13
	ldr	r0, .L20+8
	bl	puts
	mvn	r0, #0
	bl	exit
.L13:
	mov	r0, #4
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L14
	mvn	r3, #0
	b	.L18
.L14:
	ldr	r3, [fp, #-24]
	mov	r2, #2
	str	r2, [r3]
	sub	r3, fp, #20
	add	r0, r3, #4
	ldr	r3, [fp, #-24]
	ldr	r2, .L20+12
	mov	r1, #0
	bl	pthread_create
	mov	r3, r0
	cmp	r3, #0
	beq	.L15
	ldr	r0, .L20+8
	bl	puts
	mvn	r0, #0
	bl	exit
.L15:
	mov	r0, #4
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L16
	mvn	r3, #0
	b	.L18
.L16:
	ldr	r3, [fp, #-24]
	mov	r2, #3
	str	r2, [r3]
	sub	r3, fp, #20
	add	r0, r3, #8
	ldr	r3, [fp, #-24]
	ldr	r2, .L20+16
	mov	r1, #0
	bl	pthread_create
	mov	r3, r0
	cmp	r3, #0
	beq	.L17
	ldr	r0, .L20+8
	bl	puts
	mvn	r0, #0
	bl	exit
.L17:
	mov	r0, #0
	bl	pthread_exit
.L18:
	ldr	r2, .L20
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC4
	.word	t1
	.word	.LC3
	.word	t2
	.word	t3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
