	.file	"323563.c"
	.intel_syntax noprefix
	.text
	.globl	thread1
	.bss
	.align 8
	.type	thread1, @object
	.size	thread1, 8
thread1:
	.zero	8
	.globl	thread2
	.align 8
	.type	thread2, @object
	.size	thread2, 8
thread2:
	.zero	8
	.globl	thmain
	.align 8
	.type	thmain, @object
	.size	thmain, 8
thmain:
	.zero	8
	.globl	attr
	.align 32
	.type	attr, @object
	.size	attr, 56
attr:
	.zero	56
	.section	.rodata
.LC0:
	.string	"El factorial de %d es %d\n"
	.text
	.globl	func
	.type	func, @function
func:
.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	DWORD PTR -12[rbp], 1
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -8[rbp], 1
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -12[rbp]
	imul	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -12[rbp], eax
	add	DWORD PTR -8[rbp], 1
.L2:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jle	.L3
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	pthread_exit@PLT
	.cfi_endproc
.LFE6:
	.size	func, .-func
	.section	.rodata
.LC1:
	.string	"Indica dos numeros enteros.\n"
	.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	call	pthread_self@PLT
	mov	QWORD PTR thmain[rip], rax
	lea	rdi, attr[rip]
	call	pthread_attr_init@PLT
	cmp	DWORD PTR -4[rbp], 3
	je	.L5
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rcx, rax
	lea	rdx, func[rip]
	lea	rsi, attr[rip]
	lea	rdi, thread1[rip]
	call	pthread_create@PLT
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rcx, rax
	lea	rdx, func[rip]
	lea	rsi, attr[rip]
	lea	rdi, thread2[rip]
	call	pthread_create@PLT
	mov	rax, QWORD PTR thread1[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	rax, QWORD PTR thread2[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	edi, 0
	call	pthread_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	"323563.c"
	.text
	.comm	thread1,4,4
	.comm	thread2,4,4
	.comm	thmain,4,4
	.comm	attr,36,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"El factorial de %d es %d\012\000"
	.text
	.align	2
	.global	func
	.syntax unified
	.arm
	.fpu softvfp
	.type	func, %function
func:
	@ 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, #-24]
	mov	r3, #1
	str	r3, [fp, #-16]
	ldr	r0, [fp, #-24]
	bl	atoi
	str	r0, [fp, #-8]
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L2
.L3:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	mul	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	ble	.L3
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-8]
	ldr	r0, .L4
	bl	printf
	mov	r0, #0
	bl	pthread_exit
.L5:
	.align	2
.L4:
	.word	.LC0
	.size	func, .-func
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Indica dos numeros enteros.\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	bl	pthread_self
	mov	r3, r0
	ldr	r2, .L8
	str	r3, [r2]
	ldr	r0, .L8+4
	bl	pthread_attr_init
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	beq	.L7
	ldr	r0, .L8+8
	bl	perror
	mov	r0, #1
	bl	exit
.L7:
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r2, .L8+12
	ldr	r1, .L8+4
	ldr	r0, .L8+16
	bl	pthread_create
	ldr	r3, [fp, #-12]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r2, .L8+12
	ldr	r1, .L8+4
	ldr	r0, .L8+20
	bl	pthread_create
	ldr	r3, .L8+16
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r3, .L8+20
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	mov	r0, #0
	bl	pthread_exit
.L9:
	.align	2
.L8:
	.word	thmain
	.word	attr
	.word	.LC1
	.word	func
	.word	thread1
	.word	thread2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
