	.file	"882899.c"
	.intel_syntax noprefix
	.text
	.globl	timesteps
	.bss
	.align 32
	.type	timesteps, @object
	.size	timesteps, 160
timesteps:
	.zero	160
	.globl	chunksize
	.align 4
	.type	chunksize, @object
	.size	chunksize, 4
chunksize:
	.zero	4
	.globl	stack
	.align 32
	.type	stack, @object
	.size	stack, 8000
stack:
	.zero	8000
	.globl	stackpointer
	.align 4
	.type	stackpointer, @object
	.size	stackpointer, 4
stackpointer:
	.zero	4
	.local	status
	.comm	status,8,8
	.globl	jobpid
	.align 4
	.type	jobpid, @object
	.size	jobpid, 4
jobpid:
	.zero	4
	.globl	totalchunks
	.align 4
	.type	totalchunks, @object
	.size	totalchunks, 4
totalchunks:
	.zero	4
	.globl	totalK
	.align 4
	.type	totalK, @object
	.size	totalK, 4
totalK:
	.zero	4
	.globl	memdiff
	.align 4
	.type	memdiff, @object
	.size	memdiff, 4
memdiff:
	.zero	4
	.globl	chunkK
	.align 4
	.type	chunkK, @object
	.size	chunkK, 4
chunkK:
	.zero	4
	.section	.rodata
	.align 8
.LC0:
	.string	"We can conly handle MAXCHANGES pairs"
	.align 8
.LC1:
	.string	"Units of K must be greater then 0"
.LC2:
	.string	"done\nBye"
	.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
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	cmp	DWORD PTR -20[rbp], 21
	jle	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L2:
	mov	DWORD PTR stackpointer[rip], 0
	mov	edi, 3000
	call	malloc@PLT
	mov	QWORD PTR status[rip], rax
	call	getpid@PLT
	mov	DWORD PTR jobpid[rip], eax
	mov	edi, 10
	call	init_storage
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR chunkK[rip], eax
	mov	eax, DWORD PTR chunkK[rip]
	sal	eax, 10
	mov	DWORD PTR chunksize[rip], eax
	mov	eax, DWORD PTR chunksize[rip]
	test	eax, eax
	jg	.L3
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	mov	DWORD PTR -16[rbp], 2
	jmp	.L4
.L5:
	add	DWORD PTR -16[rbp], 1
	add	DWORD PTR -16[rbp], 1
.L4:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L5
	lea	rax, timesteps[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -16[rbp], 2
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	rdx, QWORD PTR -8[rbp]
	mov	DWORD PTR 4[rdx], eax
	add	DWORD PTR -16[rbp], 1
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	rdx, QWORD PTR -8[rbp]
	mov	DWORD PTR [rdx], eax
	add	QWORD PTR -8[rbp], 16
	add	DWORD PTR -16[rbp], 1
.L6:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L7
	lea	rax, timesteps[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR totalchunks[rip], 0
	mov	DWORD PTR -16[rbp], 0
	jmp	.L8
.L13:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	test	eax, eax
	jne	.L9
	mov	eax, 0
	call	report
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L9:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	test	eax, eax
	jle	.L10
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	eax, DWORD PTR totalchunks[rip]
	cmp	edx, eax
	jle	.L11
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	edx, DWORD PTR totalchunks[rip]
	sub	eax, edx
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR totalchunks[rip], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	push
	jmp	.L12
.L11:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	eax, DWORD PTR totalchunks[rip]
	cmp	edx, eax
	jge	.L12
	mov	edx, DWORD PTR totalchunks[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, DWORD PTR 4[rax]
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR totalchunks[rip], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	pop
.L12:
	mov	edx, DWORD PTR chunkK[rip]
	mov	eax, DWORD PTR totalchunks[rip]
	imul	eax, edx
	mov	DWORD PTR totalK[rip], eax
	mov	eax, 0
	call	report
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	sleep@PLT
.L10:
	add	QWORD PTR -8[rbp], 16
	add	DWORD PTR -16[rbp], 1
.L8:
	cmp	DWORD PTR -16[rbp], 9
	jle	.L13
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC3:
	.string	"%s PID %d, Alloc %d,  "
	.align 8
.LC4:
	.string	"VmPeak %6u, VmSize %6u, VmHWM %6u, VmRSS %6u, alloc diff %d kB\n"
	.text
	.globl	report
	.type	report, @function
report:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 32
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -40[rbp], -1
	mov	DWORD PTR -36[rbp], -1
	mov	DWORD PTR -32[rbp], -1
	mov	DWORD PTR -28[rbp], -1
	lea	rcx, -28[rbp]
	lea	rdx, -32[rbp]
	lea	rsi, -36[rbp]
	lea	rax, -40[rbp]
	mov	rdi, rax
	call	get_mem_data@PLT
	mov	eax, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR totalK[rip]
	sub	eax, edx
	mov	DWORD PTR memdiff[rip], eax
	mov	r12d, DWORD PTR totalK[rip]
	mov	ebx, DWORD PTR jobpid[rip]
	mov	eax, 0
	call	stamp
	mov	ecx, r12d
	mov	edx, ebx
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, DWORD PTR memdiff[rip]
	mov	esi, DWORD PTR -28[rbp]
	mov	ecx, DWORD PTR -32[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -40[rbp]
	mov	r9d, edi
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	add	rsp, 32
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	report, .-report
	.section	.rodata
.LC5:
	.string	"Failed EACCES"
.LC6:
	.string	"Failed EAGAIN"
.LC7:
	.string	"Failed EBADF"
.LC8:
	.string	"Failed EINVAL"
.LC9:
	.string	"Failed ENFILE"
.LC10:
	.string	"Failed ENODEV"
.LC11:
	.string	"Failed ENOMEM"
.LC12:
	.string	"Failed EPERM"
	.align 8
.LC13:
	.string	"exceeded the size of the stack"
	.text
	.globl	push
	.type	push, @function
push:
.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, 40
	.cfi_offset 3, -24
	mov	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -20[rbp], 0
	jmp	.L18
.L31:
	mov	eax, DWORD PTR chunksize[rip]
	cdqe
	mov	ebx, DWORD PTR stackpointer[rip]
	mov	r9d, 0
	mov	r8d, -1
	mov	ecx, 34
	mov	edx, 3
	mov	rsi, rax
	mov	edi, 0
	call	mmap@PLT
	movsx	rdx, ebx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, stack[rip]
	mov	QWORD PTR [rcx+rdx], rax
	mov	eax, DWORD PTR stackpointer[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, stack[rip]
	mov	rax, QWORD PTR [rdx+rax]
	cmp	rax, -1
	jne	.L33
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 23
	ja	.L19
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L21[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L21[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L21:
	.long	.L19-.L21
	.long	.L28-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L27-.L21
	.long	.L19-.L21
	.long	.L26-.L21
	.long	.L25-.L21
	.long	.L24-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L23-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L22-.L21
	.long	.L20-.L21
	.text
.L24:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	jmp	.L19
.L26:
	lea	rdi, .LC6[rip]
	call	puts@PLT
	jmp	.L19
.L27:
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L19
.L22:
	lea	rdi, .LC8[rip]
	call	puts@PLT
	jmp	.L19
.L20:
	lea	rdi, .LC9[rip]
	call	puts@PLT
	jmp	.L19
.L23:
	lea	rdi, .LC10[rip]
	call	puts@PLT
	jmp	.L19
.L25:
	lea	rdi, .LC11[rip]
	call	puts@PLT
	jmp	.L19
.L28:
	lea	rdi, .LC12[rip]
	call	puts@PLT
	jmp	.L19
.L33:
	nop
.L19:
	mov	eax, DWORD PTR chunksize[rip]
	movsx	rdx, eax
	mov	eax, DWORD PTR stackpointer[rip]
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rax, stack[rip]
	mov	rax, QWORD PTR [rcx+rax]
	mov	ecx, DWORD PTR -20[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	memset@PLT
	mov	eax, DWORD PTR stackpointer[rip]
	cmp	eax, 999
	je	.L29
	mov	eax, DWORD PTR stackpointer[rip]
	add	eax, 1
	mov	DWORD PTR stackpointer[rip], eax
	jmp	.L32
.L29:
	lea	rdi, .LC13[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L32:
	add	DWORD PTR -20[rbp], 1
.L18:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L31
	nop
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	push, .-push
	.section	.rodata
.LC14:
	.string	"pop %d chunks\n"
.LC15:
	.string	"Tried to pop empty stack"
	.text
	.globl	pop
	.type	pop, @function
pop:
.LFB9:
	.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	DWORD PTR -20[rbp], edi
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L35
.L38:
	mov	eax, DWORD PTR stackpointer[rip]
	test	eax, eax
	je	.L36
	mov	eax, DWORD PTR stackpointer[rip]
	sub	eax, 1
	mov	DWORD PTR stackpointer[rip], eax
	jmp	.L39
.L36:
	lea	rdi, .LC15[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L39:
	mov	eax, DWORD PTR chunksize[rip]
	movsx	rdx, eax
	mov	eax, DWORD PTR stackpointer[rip]
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rax, stack[rip]
	mov	rax, QWORD PTR [rcx+rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	munmap@PLT
	add	DWORD PTR -4[rbp], 1
.L35:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L38
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	pop, .-pop
	.globl	init_storage
	.type	init_storage, @function
init_storage:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	lea	rax, timesteps[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 0
	jmp	.L41
.L42:
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 4[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	add	QWORD PTR -8[rbp], 16
	add	DWORD PTR -12[rbp], 1
.L41:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L42
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	init_storage, .-init_storage
	.section	.rodata
.LC16:
	.string	"Time %d "
.LC17:
	.string	"size %d\n"
	.text
	.globl	display_storage
	.type	display_storage, @function
display_storage:
.LFB11:
	.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	DWORD PTR -20[rbp], edi
	lea	rax, timesteps[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 0
	jmp	.L44
.L45:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -8[rbp], 16
	add	DWORD PTR -12[rbp], 1
.L44:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L45
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	display_storage, .-display_storage
	.section	.rodata
.LC18:
	.string	"%m/%d/%y %H:%M:%S "
	.text
	.globl	stamp
	.type	stamp, @function
stamp:
.LFB12:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	time@PLT
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	localtime@PLT
	mov	rcx, rax
	lea	rdx, .LC18[rip]
	mov	esi, 80
	lea	rdi, timebuf.0[rip]
	call	strftime@PLT
	lea	rax, timebuf.0[rip]
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L48
	call	__stack_chk_fail@PLT
.L48:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	stamp, .-stamp
	.globl	match_prefix
	.type	match_prefix, @function
match_prefix:
.LFB13:
	.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	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	cmp	QWORD PTR -16[rbp], rax
	cmovbe	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L50
	mov	eax, 1
	jmp	.L51
.L50:
	mov	eax, 0
.L51:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	match_prefix, .-match_prefix
	.local	timebuf.0
	.comm	timebuf.0,80,32
	.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	"882899.c"
	.text
	.comm	timesteps,120,4
	.comm	chunksize,4,4
	.comm	stack,4000,4
	.comm	stackpointer,4,4
	.local	status
	.comm	status,4,4
	.comm	jobpid,4,4
	.comm	totalchunks,4,4
	.global	totalK
	.bss
	.align	2
	.type	totalK, %object
	.size	totalK, 4
totalK:
	.space	4
	.global	memdiff
	.align	2
	.type	memdiff, %object
	.size	memdiff, 4
memdiff:
	.space	4
	.comm	chunkK,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"We can conly handle MAXCHANGES pairs\000"
	.align	2
.LC1:
	.ascii	"Units of K must be greater then 0\000"
	.align	2
.LC2:
	.ascii	"done\012Bye\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-24]
	cmp	r3, #21
	ble	.L2
	ldr	r0, .L15
	bl	puts
	mov	r0, #0
	bl	exit
.L2:
	ldr	r3, .L15+4
	mov	r2, #0
	str	r2, [r3]
	ldr	r0, .L15+8
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L15+12
	str	r2, [r3]
	bl	getpid
	mov	r3, r0
	ldr	r2, .L15+16
	str	r3, [r2]
	mov	r0, #10
	bl	init_storage
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L15+20
	str	r3, [r2]
	ldr	r3, .L15+20
	ldr	r3, [r3]
	lsl	r3, r3, #10
	ldr	r2, .L15+24
	str	r3, [r2]
	ldr	r3, .L15+24
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L3
	ldr	r0, .L15+28
	bl	puts
	mov	r0, #1
	bl	exit
.L3:
	mov	r3, #2
	str	r3, [fp, #-16]
	b	.L4
.L5:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L4:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L5
	ldr	r3, .L15+32
	str	r3, [fp, #-12]
	mov	r3, #2
	str	r3, [fp, #-16]
	b	.L6
.L7:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	ldr	r3, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #12
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L6:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L7
	ldr	r3, .L15+32
	str	r3, [fp, #-12]
	ldr	r3, .L15+36
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L8
.L13:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L9
	bl	report
	ldr	r0, .L15+40
	bl	puts
	mov	r0, #0
	bl	exit
.L9:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	ble	.L10
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #4]
	ldr	r3, .L15+36
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L11
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #4]
	ldr	r3, .L15+36
	ldr	r3, [r3]
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	ldr	r2, .L15+36
	str	r3, [r2]
	ldr	r0, [fp, #-8]
	bl	push
	b	.L12
.L11:
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #4]
	ldr	r3, .L15+36
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L12
	ldr	r3, .L15+36
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	ldr	r2, .L15+36
	str	r3, [r2]
	ldr	r0, [fp, #-8]
	bl	pop
.L12:
	ldr	r3, .L15+20
	ldr	r3, [r3]
	ldr	r2, .L15+36
	ldr	r2, [r2]
	mul	r3, r2, r3
	ldr	r2, .L15+44
	str	r3, [r2]
	bl	report
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r0, r3
	bl	sleep
.L10:
	ldr	r3, [fp, #-12]
	add	r3, r3, #12
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L8:
	ldr	r3, [fp, #-16]
	cmp	r3, #9
	ble	.L13
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC0
	.word	stackpointer
	.word	3000
	.word	status
	.word	jobpid
	.word	chunkK
	.word	chunksize
	.word	.LC1
	.word	timesteps
	.word	totalchunks
	.word	.LC2
	.word	totalK
	.size	main, .-main
	.section	.rodata
	.align	2
.LC3:
	.ascii	"%s PID %d, Alloc %d,  \000"
	.align	2
.LC4:
	.ascii	"VmPeak %6u, VmSize %6u, VmHWM %6u, VmRSS %6u, alloc"
	.ascii	" diff %d kB\012\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	report
	.syntax unified
	.arm
	.fpu softvfp
	.type	report, %function
report:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-24]
	mvn	r3, #0
	str	r3, [fp, #-20]
	mvn	r3, #0
	str	r3, [fp, #-16]
	mvn	r3, #0
	str	r3, [fp, #-12]
	sub	r3, fp, #12
	sub	r2, fp, #16
	sub	r1, fp, #20
	sub	r0, fp, #24
	bl	get_mem_data
	ldr	r3, [fp, #-12]
	ldr	r2, .L19+4
	ldr	r2, [r2]
	sub	r3, r3, r2
	mov	r2, r3
	ldr	r3, .L19+8
	str	r2, [r3]
	bl	stamp
	mov	r1, r0
	ldr	r3, .L19+12
	ldr	r2, [r3]
	ldr	r3, .L19+4
	ldr	r3, [r3]
	ldr	r0, .L19+16
	bl	printf
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-20]
	ldr	ip, [fp, #-16]
	ldr	r3, [fp, #-12]
	ldr	r2, .L19+8
	ldr	r2, [r2]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L19+20
	bl	printf
	nop
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC5
	.word	totalK
	.word	memdiff
	.word	jobpid
	.word	.LC3
	.word	.LC4
	.size	report, .-report
	.section	.rodata
	.align	2
.LC6:
	.ascii	"Failed EACCES\000"
	.align	2
.LC7:
	.ascii	"Failed EAGAIN\000"
	.align	2
.LC8:
	.ascii	"Failed EBADF\000"
	.align	2
.LC9:
	.ascii	"Failed EINVAL\000"
	.align	2
.LC10:
	.ascii	"Failed ENFILE\000"
	.align	2
.LC11:
	.ascii	"Failed ENODEV\000"
	.align	2
.LC12:
	.ascii	"Failed ENOMEM\000"
	.align	2
.LC13:
	.ascii	"Failed EPERM\000"
	.align	2
.LC14:
	.ascii	"exceeded the size of the stack\000"
	.text
	.align	2
	.global	push
	.syntax unified
	.arm
	.fpu softvfp
	.type	push, %function
push:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L22
.L35:
	ldr	r3, .L38
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r3, .L38+4
	ldr	r4, [r3]
	mov	r3, #0
	str	r3, [sp, #4]
	mvn	r3, #0
	str	r3, [sp]
	mov	r3, #34
	mov	r2, #3
	mov	r0, #0
	bl	mmap
	mov	r3, r0
	ldr	r2, .L38+8
	str	r3, [r2, r4, lsl #2]
	ldr	r3, .L38+4
	ldr	r3, [r3]
	ldr	r2, .L38+8
	ldr	r3, [r2, r3, lsl #2]
	cmn	r3, #1
	bne	.L37
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	sub	r3, r3, #1
	cmp	r3, #22
	ldrls	pc, [pc, r3, asl #2]
	b	.L23
.L25:
	.word	.L32
	.word	.L23
	.word	.L23
	.word	.L23
	.word	.L23
	.word	.L23
	.word	.L23
	.word	.L23
	.word	.L31
	.word	.L23
	.word	.L30
	.word	.L29
	.word	.L28
	.word	.L23
	.word	.L23
	.word	.L23
	.word	.L23
	.word	.L23
	.word	.L27
	.word	.L23
	.word	.L23
	.word	.L26
	.word	.L24
.L28:
	ldr	r0, .L38+12
	bl	puts
	b	.L23
.L30:
	ldr	r0, .L38+16
	bl	puts
	b	.L23
.L31:
	ldr	r0, .L38+20
	bl	puts
	b	.L23
.L26:
	ldr	r0, .L38+24
	bl	puts
	b	.L23
.L24:
	ldr	r0, .L38+28
	bl	puts
	b	.L23
.L27:
	ldr	r0, .L38+32
	bl	puts
	b	.L23
.L29:
	ldr	r0, .L38+36
	bl	puts
	b	.L23
.L32:
	ldr	r0, .L38+40
	bl	puts
	b	.L23
.L37:
	nop
.L23:
	ldr	r3, .L38+4
	ldr	r3, [r3]
	ldr	r2, .L38+8
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, .L38
	ldr	r2, [r2]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	memset
	ldr	r3, .L38+4
	ldr	r3, [r3]
	ldr	r2, .L38+44
	cmp	r3, r2
	beq	.L33
	ldr	r3, .L38+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L38+4
	str	r3, [r2]
	b	.L36
.L33:
	ldr	r0, .L38+48
	bl	puts
	mov	r0, #1
	bl	exit
.L36:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L22:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L35
	nop
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L39:
	.align	2
.L38:
	.word	chunksize
	.word	stackpointer
	.word	stack
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	999
	.word	.LC14
	.size	push, .-push
	.section	.rodata
	.align	2
.LC15:
	.ascii	"pop %d chunks\012\000"
	.align	2
.LC16:
	.ascii	"Tried to pop empty stack\000"
	.text
	.align	2
	.global	pop
	.syntax unified
	.arm
	.fpu softvfp
	.type	pop, %function
pop:
	@ 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	r1, [fp, #-16]
	ldr	r0, .L46
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L41
.L44:
	ldr	r3, .L46+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L42
	ldr	r3, .L46+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L46+4
	str	r3, [r2]
	b	.L45
.L42:
	ldr	r0, .L46+8
	bl	puts
	mov	r0, #1
	bl	exit
.L45:
	ldr	r3, .L46+4
	ldr	r3, [r3]
	ldr	r2, .L46+12
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, .L46+16
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	munmap
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L41:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L44
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	.LC15
	.word	stackpointer
	.word	.LC16
	.word	stack
	.word	chunksize
	.size	pop, .-pop
	.align	2
	.global	init_storage
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_storage, %function
init_storage:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, .L51
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L49
.L50:
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	add	r3, r3, #12
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L49:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L50
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L52:
	.align	2
.L51:
	.word	timesteps
	.size	init_storage, .-init_storage
	.section	.rodata
	.align	2
.LC17:
	.ascii	"Time %d \000"
	.align	2
.LC18:
	.ascii	"size %d\012\000"
	.text
	.align	2
	.global	display_storage
	.syntax unified
	.arm
	.fpu softvfp
	.type	display_storage, %function
display_storage:
	@ 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, .L56
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L54
.L55:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L56+4
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L56+8
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #12
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L54:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L55
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L57:
	.align	2
.L56:
	.word	timesteps
	.word	.LC17
	.word	.LC18
	.size	display_storage, .-display_storage
	.section	.rodata
	.align	2
.LC19:
	.ascii	"%m/%d/%y %H:%M:%S \000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	stamp
	.syntax unified
	.arm
	.fpu softvfp
	.type	stamp, %function
stamp:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L61
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #12
	mov	r0, r3
	bl	time
	sub	r3, fp, #12
	mov	r0, r3
	bl	localtime
	mov	r3, r0
	ldr	r2, .L61+4
	mov	r1, #80
	ldr	r0, .L61+8
	bl	strftime
	ldr	r3, .L61+8
	ldr	r2, .L61
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L60
	bl	__stack_chk_fail
.L60:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L62:
	.align	2
.L61:
	.word	.LC20
	.word	.LC19
	.word	timebuf.6593
	.size	stamp, .-stamp
	.align	2
	.global	match_prefix
	.syntax unified
	.arm
	.fpu softvfp
	.type	match_prefix, %function
match_prefix:
	@ 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]
	str	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	strlen
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-28]
	bl	strlen
	str	r0, [fp, #-12]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	movcc	r3, r2
	movcs	r3, r3
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L64
	mov	r3, #1
	b	.L65
.L64:
	mov	r3, #0
.L65:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	match_prefix, .-match_prefix
	.local	timebuf.6593
	.comm	timebuf.6593,80,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
