	.file	"111077798.c"
	.intel_syntax noprefix
	.text
	.globl	sum
	.bss
	.align 8
	.type	sum, @object
	.size	sum, 8
sum:
	.zero	8
	.globl	l
	.align 4
	.type	l, @object
	.size	l, 4
l:
	.zero	4
	.globl	cifras
	.align 4
	.type	cifras, @object
	.size	cifras, 4
cifras:
	.zero	4
	.globl	mutex1
	.align 32
	.type	mutex1, @object
	.size	mutex1, 40
mutex1:
	.zero	40
	.globl	mutex2
	.align 32
	.type	mutex2, @object
	.size	mutex2, 40
mutex2:
	.zero	40
	.section	.rodata
.LC2:
	.string	"%.*lf\n"
	.text
	.globl	thread_func
	.type	thread_func, @function
thread_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	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR l[rip]
	mov	DWORD PTR -8[rbp], eax
	jmp	.L2
.L3:
	lea	rdi, mutex1[rip]
	call	pthread_mutex_lock@PLT
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -8[rbp]
	mov	rax, QWORD PTR .LC0[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movq	rax, xmm0
	mov	edx, DWORD PTR -8[rbp]
	add	edx, edx
	add	edx, 1
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, edx
	movq	xmm1, rax
	divsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR sum[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR sum[rip], xmm0
	movsd	xmm1, QWORD PTR sum[rip]
	movsd	xmm0, QWORD PTR .LC1[rip]
	mulsd	xmm1, xmm0
	movq	rdx, xmm1
	mov	eax, DWORD PTR cifras[rip]
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rdi, mutex1[rip]
	call	pthread_mutex_unlock@PLT
	add	DWORD PTR -8[rbp], 1
.L2:
	mov	edx, DWORD PTR l[rip]
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	cmp	DWORD PTR -8[rbp], eax
	jl	.L3
	lea	rdi, mutex2[rip]
	call	pthread_mutex_lock@PLT
	mov	edx, DWORD PTR l[rip]
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	mov	DWORD PTR l[rip], eax
	lea	rdi, mutex2[rip]
	call	pthread_mutex_unlock@PLT
	mov	edi, 0
	call	pthread_exit@PLT
	.cfi_endproc
.LFE6:
	.size	thread_func, .-thread_func
	.section	.rodata
.LC3:
	.string	"Hilo n\303\272mero: %d ->\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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -36[rbp], 1
	jg	.L5
	mov	DWORD PTR -28[rbp], 650
	mov	DWORD PTR -24[rbp], 65000
	mov	DWORD PTR cifras[rip], 50
	jmp	.L6
.L5:
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR -24[rbp], eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR cifras[rip], eax
.L6:
	mov	eax, DWORD PTR -24[rbp]
	cdq
	idiv	DWORD PTR -28[rbp]
	mov	DWORD PTR -32[rbp], eax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -32[rbp]
	lea	rax, -16[rbp]
	mov	rcx, rdx
	lea	rdx, thread_func[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
	add	DWORD PTR -20[rbp], 1
.L7:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L8
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	-1074790400
	.align 8
.LC1:
	.long	0
	.long	1074790400
	.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	"111077798.c"
	.text
	.global	sum
	.bss
	.align	3
	.type	sum, %object
	.size	sum, 8
sum:
	.space	8
	.global	l
	.align	2
	.type	l, %object
	.size	l, 4
l:
	.space	4
	.comm	cifras,4,4
	.global	mutex1
	.align	2
	.type	mutex1, %object
	.size	mutex1, 24
mutex1:
	.space	24
	.global	mutex2
	.align	2
	.type	mutex2, %object
	.size	mutex2, 24
mutex2:
	.space	24
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dadd
	.global	__aeabi_dmul
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%.*lf\012\000"
	.text
	.align	2
	.global	thread_func
	.syntax unified
	.arm
	.fpu softvfp
	.type	thread_func, %function
thread_func:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	b	.L2
.L3:
	ldr	r0, .L4+4
	bl	pthread_mutex_lock
	ldr	r0, [fp, #-20]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L4+8
	bl	pow
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #1
	add	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L4+12
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L4+12
	stm	r1, {r2-r3}
	ldr	r3, .L4+16
	ldr	r4, [r3]
	ldr	r3, .L4+12
	ldmia	r3, {r0-r1}
	mov	r2, #0
	ldr	r3, .L4+20
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r1, r4
	ldr	r0, .L4+24
	bl	printf
	ldr	r0, .L4+4
	bl	pthread_mutex_unlock
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L2:
	ldr	r3, .L4
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L3
	ldr	r0, .L4+28
	bl	pthread_mutex_lock
	ldr	r3, .L4
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, .L4
	str	r3, [r2]
	ldr	r0, .L4+28
	bl	pthread_mutex_unlock
	mov	r0, #0
	bl	pthread_exit
.L5:
	.align	2
.L4:
	.word	l
	.word	mutex1
	.word	-1074790400
	.word	sum
	.word	cifras
	.word	1074790400
	.word	.LC0
	.word	mutex2
	.size	thread_func, .-thread_func
	.global	__aeabi_idiv
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Hilo n\303\272mero: %d ->\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 = 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, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	bgt	.L7
	ldr	r3, .L13+4
	str	r3, [fp, #-20]
	ldr	r3, .L13+8
	str	r3, [fp, #-16]
	ldr	r3, .L13+12
	mov	r2, #50
	str	r2, [r3]
	b	.L8
.L7:
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-36]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-36]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	ldr	r2, .L13+12
	str	r3, [r2]
.L8:
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L9
.L10:
	ldr	r1, [fp, #-12]
	ldr	r0, .L13+16
	bl	printf
	sub	r3, fp, #28
	sub	r0, fp, #24
	ldr	r2, .L13+20
	mov	r1, #0
	bl	pthread_create
	ldr	r3, [fp, #-24]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L9:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L10
	mov	r3, #0
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC2
	.word	650
	.word	65000
	.word	cifras
	.word	.LC1
	.word	thread_func
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
