	.file	"882616.c"
	.intel_syntax noprefix
	.text
	.globl	contador
	.bss
	.align 4
	.type	contador, @object
	.size	contador, 4
contador:
	.zero	4
	.globl	flag
	.align 4
	.type	flag, @object
	.size	flag, 4
flag:
	.zero	4
	.globl	status
	.align 4
	.type	status, @object
	.size	status, 4
status:
	.zero	4
	.section	.rodata
.LC0:
	.string	"para salir ejecutar EXIT"
.LC1:
	.string	"%s:"
.LC2:
	.string	"ingrese nombre de usuario"
.LC3:
	.string	"%s"
.LC4:
	.string	"ingrese contrasena"
.LC5:
	.string	"/bin/bash"
.LC6:
	.string	"creado: %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L4:
	mov	DWORD PTR flag[rip], 0
	mov	DWORD PTR contador[rip], 15
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, sigalrm_handler[rip]
	mov	edi, 14
	call	signal@PLT
	lea	rsi, .LC2[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -128[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rsi, .LC4[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	alarm@PLT
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR flag[rip], eax
	mov	eax, DWORD PTR flag[rip]
	test	eax, eax
	je	.L4
	mov	edi, 0
	call	alarm@PLT
	call	fork@PLT
	test	eax, eax
	je	.L3
	mov	edx, 0
	lea	rsi, status[rip]
	mov	edi, -1
	call	waitpid@PLT
	jmp	.L4
.L3:
	mov	esi, 0
	lea	rdi, .LC5[rip]
	call	execv@PLT
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L4
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC7:
	.string	"\ntiempo %d \n"
.LC8:
	.string	"TIMEOUT"
	.text
	.globl	sigalrm_handler
	.type	sigalrm_handler, @function
sigalrm_handler:
.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	eax, DWORD PTR contador[rip]
	lea	edx, -1[rax]
	mov	DWORD PTR contador[rip], edx
	test	eax, eax
	je	.L7
	mov	eax, DWORD PTR contador[rip]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	alarm@PLT
	jmp	.L9
.L7:
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	edi, 0
	call	alarm@PLT
	mov	edi, 15
	call	raise@PLT
.L9:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	sigalrm_handler, .-sigalrm_handler
	.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	"882616.c"
	.text
	.comm	contador,4,4
	.comm	flag,4,4
	.comm	status,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"para salir ejecutar EXIT\000"
	.align	2
.LC1:
	.ascii	"%s:\000"
	.align	2
.LC2:
	.ascii	"ingrese nombre de usuario\000"
	.align	2
.LC3:
	.ascii	"%s\000"
	.align	2
.LC4:
	.ascii	"ingrese contrasena\000"
	.align	2
.LC5:
	.ascii	"/bin/bash\000"
	.align	2
.LC6:
	.ascii	"creado: %d\012\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L4:
	ldr	r3, .L6+4
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L6+8
	mov	r2, #15
	str	r2, [r3]
	ldr	r1, .L6+12
	ldr	r0, .L6+16
	bl	printf
	ldr	r1, .L6+20
	mov	r0, #14
	bl	signal
	ldr	r1, .L6+24
	ldr	r0, .L6+16
	bl	printf
	sub	r3, fp, #112
	mov	r1, r3
	ldr	r0, .L6+28
	bl	__isoc99_scanf
	ldr	r1, .L6+32
	ldr	r0, .L6+16
	bl	printf
	mov	r0, #1
	bl	alarm
	sub	r3, fp, #60
	mov	r1, r3
	ldr	r0, .L6+28
	bl	__isoc99_scanf
	mov	r3, r0
	ldr	r2, .L6+4
	str	r3, [r2]
	ldr	r3, .L6+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L4
	mov	r0, #0
	bl	alarm
	bl	fork
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	mov	r2, #0
	ldr	r1, .L6+36
	mvn	r0, #0
	bl	waitpid
	b	.L4
.L3:
	mov	r1, #0
	ldr	r0, .L6+40
	bl	execv
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L6+44
	bl	printf
	b	.L4
.L7:
	.align	2
.L6:
	.word	.LC7
	.word	flag
	.word	contador
	.word	.LC0
	.word	.LC1
	.word	sigalrm_handler
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	status
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.section	.rodata
	.align	2
.LC8:
	.ascii	"\012tiempo %d \012\000"
	.align	2
.LC9:
	.ascii	"TIMEOUT\000"
	.text
	.align	2
	.global	sigalrm_handler
	.syntax unified
	.arm
	.fpu softvfp
	.type	sigalrm_handler, %function
sigalrm_handler:
	@ 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]
	ldr	r3, .L12
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r1, .L12
	str	r2, [r1]
	cmp	r3, #0
	beq	.L9
	ldr	r3, .L12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L12+4
	bl	printf
	mov	r0, #1
	bl	alarm
	b	.L11
.L9:
	ldr	r0, .L12+8
	bl	puts
	mov	r0, #0
	bl	alarm
	mov	r0, #15
	bl	raise
.L11:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	contador
	.word	.LC8
	.word	.LC9
	.size	sigalrm_handler, .-sigalrm_handler
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
