	.file	"49067.c"
	.intel_syntax noprefix
	.text
	.globl	doNothing
	.type	doNothing, @function
doNothing:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	doNothing, .-doNothing
	.section	.rodata
.LC0:
	.string	"sleep"
.LC1:
	.string	"0"
.LC2:
	.string	"fork"
.LC3:
	.string	"execvp"
.LC4:
	.string	"clone"
	.align 8
.LC5:
	.string	"ERROR: Unable to allocate memory."
.LC6:
	.string	"posix_spawnp"
	.text
	.globl	expandMemory
	.type	expandMemory, @function
expandMemory:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 112
	.cfi_offset 14, -24
	.cfi_offset 13, -32
	.cfi_offset 12, -40
	.cfi_offset 3, -48
	mov	DWORD PTR -116[rbp], edi
	mov	QWORD PTR -128[rbp], rsi
	mov	rdi, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rdi
	xor	edi, edi
	mov	rsi, rsp
	mov	r14, rsi
	mov	esi, DWORD PTR -116[rbp]
	mov	edi, DWORD PTR -116[rbp]
	movsx	r12, esi
	sub	r12, 1
	mov	QWORD PTR -96[rbp], r12
	movsx	r12, esi
	mov	QWORD PTR -144[rbp], r12
	mov	QWORD PTR -136[rbp], 0
	movsx	r12, edi
	sub	r12, 1
	mov	QWORD PTR -88[rbp], r12
	movsx	r12, esi
	mov	r10, r12
	mov	r11d, 0
	movsx	r12, edi
	mov	rax, r12
	mov	edx, 0
	mov	r13, r11
	imul	r13, rax
	mov	r12, rdx
	imul	r12, r10
	add	r12, r13
	mul	r10
	lea	r10, [r12+rdx]
	mov	rdx, r10
	movsx	rax, esi
	mov	r8, rax
	mov	r9d, 0
	movsx	rax, edi
	mov	rcx, rax
	mov	ebx, 0
	mov	rdx, r9
	imul	rdx, rcx
	mov	rax, rbx
	imul	rax, r8
	lea	r10, [rdx+rax]
	mov	rax, r8
	mul	rcx
	lea	rcx, [r10+rdx]
	mov	rdx, rcx
	movsx	rdx, esi
	movsx	rax, edi
	imul	rax, rdx
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L4:
	cmp	rsp, rdx
	je	.L5
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L4
.L5:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L6
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L6:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -80[rbp], rax
	cmp	DWORD PTR -116[rbp], 0
	jne	.L7
	lea	rax, .LC0[rip]
	mov	QWORD PTR -64[rbp], rax
	lea	rax, .LC1[rip]
	mov	QWORD PTR -56[rbp], rax
	mov	QWORD PTR -48[rbp], 0
	mov	rax, QWORD PTR -128[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
	call	fork@PLT
	jmp	.L13
.L8:
	mov	rax, QWORD PTR -128[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L10
	mov	rax, QWORD PTR -64[rbp]
	lea	rdx, -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	execvp@PLT
	mov	DWORD PTR -100[rbp], eax
	jmp	.L13
.L10:
	mov	rax, QWORD PTR -128[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L11
	mov	edi, 1048576
	call	malloc@PLT
	mov	QWORD PTR -72[rbp], rax
	cmp	QWORD PTR -72[rbp], 0
	jne	.L12
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L12:
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 1048576
	mov	ecx, 0
	mov	edx, 16384
	mov	rsi, rax
	lea	rdi, doNothing[rip]
	mov	eax, 0
	call	clone@PLT
	jmp	.L13
.L11:
	mov	rax, QWORD PTR -128[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L13
	mov	rsi, QWORD PTR -64[rbp]
	lea	rdx, -64[rbp]
	lea	rax, -104[rbp]
	mov	r9d, 0
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	mov	rdi, rax
	call	posix_spawnp@PLT
	mov	edi, 0
	call	exit@PLT
.L7:
	mov	eax, DWORD PTR -116[rbp]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -128[rbp]
	mov	rsi, rax
	mov	edi, edx
	call	expandMemory
.L13:
	mov	rsp, r14
	nop
	mov	rax, QWORD PTR -40[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	lea	rsp, -32[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	expandMemory, .-expandMemory
	.section	.rodata
	.align 8
.LC7:
	.string	"Numero de argumentos incorreto"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 24
	.cfi_offset 3, -24
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	cmp	DWORD PTR -20[rbp], 3
	je	.L16
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L17
.L16:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rbx, QWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	rsi, rbx
	mov	edi, eax
	call	expandMemory
.L17:
	mov	eax, 0
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"49067.c"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"sleep\000"
	.align	2
.LC1:
	.ascii	"0\000"
	.text
	.align	2
	.global	doNothing
	.syntax unified
	.arm
	.fpu softvfp
	.type	doNothing, %function
doNothing:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	mov	r3, #0
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	doNothing, .-doNothing
	.section	.rodata
	.align	2
.LC4:
	.ascii	"fork\000"
	.align	2
.LC5:
	.ascii	"execvp\000"
	.align	2
.LC6:
	.ascii	"clone\000"
	.align	2
.LC7:
	.ascii	"ERROR: Unable to allocate memory.\000"
	.align	2
.LC8:
	.ascii	"posix_spawnp\000"
	.align	2
.LC3:
	.word	.LC0
	.word	.LC1
	.word	0
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	expandMemory
	.syntax unified
	.arm
	.fpu softvfp
	.type	expandMemory, %function
expandMemory:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #56
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, sp
	mov	r7, r3
	ldr	ip, [fp, #-64]
	ldr	lr, [fp, #-64]
	sub	r3, ip, #1
	str	r3, [fp, #-56]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	sub	r3, lr, #1
	str	r3, [fp, #-52]
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	r6, r2, r3
	umull	r2, r3, r4, r0
	add	r1, r6, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	r6, r2, r3
	umull	r2, r3, r4, r0
	add	r1, r6, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, ip
	mov	r2, lr
	mul	r3, r2, r3
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	bne	.L4
	ldr	r2, .L12+4
	sub	r3, fp, #36
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	ldr	r1, .L12+8
	ldr	r0, [fp, #-68]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	bl	fork
	b	.L10
.L5:
	ldr	r1, .L12+12
	ldr	r0, [fp, #-68]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	ldr	r3, [fp, #-36]
	sub	r2, fp, #36
	mov	r1, r2
	mov	r0, r3
	bl	execvp
	mov	r3, r0
	str	r3, [fp, #-40]
	b	.L10
.L7:
	ldr	r1, .L12+16
	ldr	r0, [fp, #-68]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	mov	r0, #1048576
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L9
	ldr	r0, .L12+20
	bl	puts
	mov	r0, #1
	bl	exit
.L9:
	ldr	r3, [fp, #-44]
	add	r1, r3, #1048576
	mov	r3, #0
	mov	r2, #16384
	ldr	r0, .L12+24
	bl	clone
	b	.L10
.L8:
	ldr	r1, .L12+28
	ldr	r0, [fp, #-68]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	ldr	r1, [fp, #-36]
	sub	r0, fp, #60
	mov	r3, #0
	str	r3, [sp, #4]
	sub	r3, fp, #36
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	bl	posix_spawnp
	mov	r0, #0
	bl	exit
.L4:
	ldr	r3, [fp, #-64]
	sub	r3, r3, #1
	ldr	r1, [fp, #-68]
	mov	r0, r3
	bl	expandMemory
.L10:
	mov	sp, r7
	nop
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC9
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	doNothing
	.word	.LC8
	.size	expandMemory, .-expandMemory
	.section	.rodata
	.align	2
.LC10:
	.ascii	"Numero de argumentos incorreto\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]
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	beq	.L15
	ldr	r0, .L18
	bl	printf
	b	.L16
.L15:
	ldr	r3, [fp, #-12]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	expandMemory
.L16:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC10
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
