	.file	"742015.c"
	.intel_syntax noprefix
	.text
	.globl	saldo
	.data
	.align 8
	.type	saldo, @object
	.size	saldo, 8
saldo:
	.quad	1000
	.globl	lock
	.bss
	.align 32
	.type	lock, @object
	.size	lock, 40
lock:
	.zero	40
	.section	.rodata
	.align 8
.LC0:
	.string	"Hello World desde el hilo %ld \n"
.LC1:
	.string	"El saldo actual es %ld \n"
	.text
	.globl	printHello
	.type	printHello, @function
printHello:
.LFB0:
	.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	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, lock[rip]
	call	pthread_mutex_lock@PLT
	mov	rax, QWORD PTR saldo[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 100
	mov	QWORD PTR saldo[rip], rax
	lea	rdi, lock[rip]
	call	pthread_mutex_unlock@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	printHello, .-printHello
	.section	.rodata
.LC2:
	.string	"Saldo final %ld \n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 832
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -824[rbp], 0
	jmp	.L3
.L4:
	mov	rax, QWORD PTR -824[rbp]
	lea	rcx, -816[rbp]
	mov	rdx, QWORD PTR -824[rbp]
	sal	rdx, 3
	lea	rdi, [rcx+rdx]
	mov	rcx, rax
	lea	rdx, printHello[rip]
	mov	esi, 0
	call	pthread_create@PLT
	add	QWORD PTR -824[rbp], 1
.L3:
	cmp	QWORD PTR -824[rbp], 99
	jle	.L4
	mov	QWORD PTR -824[rbp], 0
	jmp	.L5
.L6:
	mov	rax, QWORD PTR -824[rbp]
	mov	rax, QWORD PTR -816[rbp+rax*8]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	add	QWORD PTR -824[rbp], 1
.L5:
	cmp	QWORD PTR -824[rbp], 99
	jle	.L6
	mov	rax, QWORD PTR saldo[rip]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	pthread_exit@PLT
	.cfi_endproc
.LFE1:
	.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	"742015.c"
	.text
	.global	saldo
	.data
	.align	2
	.type	saldo, %object
	.size	saldo, 4
saldo:
	.word	1000
	.comm	lock,24,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Hello World desde el hilo %ld \012\000"
	.align	2
.LC1:
	.ascii	"El saldo actual es %ld \012\000"
	.text
	.align	2
	.global	printHello
	.syntax unified
	.arm
	.fpu softvfp
	.type	printHello, %function
printHello:
	@ 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]
	mov	r1, r3
	ldr	r0, .L2
	bl	printf
	ldr	r0, .L2+4
	bl	pthread_mutex_lock
	ldr	r3, .L2+8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, .L2+12
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #100
	ldr	r2, .L2+8
	str	r3, [r2]
	ldr	r0, .L2+4
	bl	pthread_mutex_unlock
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC0
	.word	lock
	.word	saldo
	.word	.LC1
	.size	printHello, .-printHello
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Saldo final %ld \012\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 = 408
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #408
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-412]
	b	.L5
.L6:
	sub	r2, fp, #408
	ldr	r3, [fp, #-412]
	lsl	r3, r3, #2
	add	r0, r2, r3
	ldr	r3, [fp, #-412]
	ldr	r2, .L10+4
	mov	r1, #0
	bl	pthread_create
	ldr	r3, [fp, #-412]
	add	r3, r3, #1
	str	r3, [fp, #-412]
.L5:
	ldr	r3, [fp, #-412]
	cmp	r3, #99
	ble	.L6
	mov	r3, #0
	str	r3, [fp, #-412]
	b	.L7
.L8:
	ldr	r3, [fp, #-412]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-412]
	add	r3, r3, #1
	str	r3, [fp, #-412]
.L7:
	ldr	r3, [fp, #-412]
	cmp	r3, #99
	ble	.L8
	ldr	r3, .L10+8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L10+12
	bl	printf
	mov	r0, #0
	bl	pthread_exit
.L11:
	.align	2
.L10:
	.word	.LC3
	.word	printHello
	.word	saldo
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
