	.file	"311403.c"
	.intel_syntax noprefix
	.text
	.globl	v
	.bss
	.align 32
	.type	v, @object
	.size	v, 40
v:
	.zero	40
	.section	.rodata
.LC0:
	.string	"Thread 1 executando..."
.LC1:
	.string	"Thread 2 executando..."
	.text
	.globl	function
	.type	function, @function
function:
.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	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, v[rip]
	mov	DWORD PTR [rdx+rax], 25
	add	DWORD PTR -12[rbp], 1
.L3:
	cmp	DWORD PTR -12[rbp], 4
	jle	.L4
	jmp	.L5
.L2:
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	DWORD PTR -12[rbp], 5
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, v[rip]
	mov	DWORD PTR [rdx+rax], 34
	add	DWORD PTR -12[rbp], 1
.L6:
	cmp	DWORD PTR -12[rbp], 9
	jle	.L7
.L5:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	function, .-function
	.section	.rodata
.LC2:
	.string	"%d "
	.text
	.globl	main
	.type	main, @function
main:
.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -36[rbp], 1
	mov	DWORD PTR -32[rbp], 2
	lea	rdx, -36[rbp]
	lea	rax, -24[rbp]
	mov	rcx, rdx
	lea	rdx, function[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	lea	rdx, -32[rbp]
	lea	rax, -16[rbp]
	mov	rcx, rdx
	lea	rdx, function[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	DWORD PTR -28[rbp], 0
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, v[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -28[rbp], 1
.L9:
	cmp	DWORD PTR -28[rbp], 9
	jle	.L10
	mov	edi, 10
	call	putchar@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE7:
	.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	"311403.c"
	.text
	.comm	v,40,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Thread 1 executando...\000"
	.align	2
.LC1:
	.ascii	"Thread 2 executando...\000"
	.text
	.align	2
	.global	function
	.syntax unified
	.arm
	.fpu softvfp
	.type	function, %function
function:
	@ 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]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L2
	ldr	r0, .L8
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L3
.L4:
	ldr	r2, .L8+4
	ldr	r3, [fp, #-12]
	mov	r1, #25
	str	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L3:
	ldr	r3, [fp, #-12]
	cmp	r3, #4
	ble	.L4
	b	.L5
.L2:
	ldr	r0, .L8+8
	bl	puts
	mov	r3, #5
	str	r3, [fp, #-12]
	b	.L6
.L7:
	ldr	r2, .L8+4
	ldr	r3, [fp, #-12]
	mov	r1, #34
	str	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L6:
	ldr	r3, [fp, #-12]
	cmp	r3, #9
	ble	.L7
.L5:
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	v
	.word	.LC1
	.size	function, .-function
	.section	.rodata
	.align	2
.LC2:
	.ascii	"%d \000"
	.align	2
.LC3:
	.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, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-20]
	mov	r3, #2
	str	r3, [fp, #-16]
	sub	r3, fp, #20
	sub	r0, fp, #28
	ldr	r2, .L14+4
	mov	r1, #0
	bl	pthread_create
	sub	r3, fp, #16
	sub	r0, fp, #24
	ldr	r2, .L14+4
	mov	r1, #0
	bl	pthread_create
	ldr	r3, [fp, #-24]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-28]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L11
.L12:
	ldr	r2, .L14+8
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L14+12
	bl	printf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L11:
	ldr	r3, [fp, #-12]
	cmp	r3, #9
	ble	.L12
	mov	r0, #10
	bl	putchar
	mov	r0, #0
	bl	exit
.L15:
	.align	2
.L14:
	.word	.LC3
	.word	function
	.word	v
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
