	.file	"191088.c"
	.intel_syntax noprefix
	.text
	.data
	.align 32
	.type	rcsid, @object
	.size	rcsid, 58
rcsid:
	.string	"$Id: alloc.c,v 1.1.1.1 1999/12/03 23:15:53 heideman Exp $"
	.local	memused
	.comm	memused,4,4
	.local	memalloc
	.comm	memalloc,4,4
	.section	.rodata
.LC0:
	.string	"*** %s zero length block.\n"
	.align 8
.LC1:
	.string	"*** Out of memory in %s (current allocation %d).\n"
	.text
	.type	_chaina, @function
_chaina:
.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, 48
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	cmp	DWORD PTR -20[rbp], 0
	jne	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -40[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	cmp	QWORD PTR -48[rbp], 0
	je	.L3
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], 16909060
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 8
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR memused[rip]
	add	eax, edx
	mov	DWORD PTR memused[rip], eax
	mov	eax, DWORD PTR memalloc[rip]
	add	eax, 1
	mov	DWORD PTR memalloc[rip], eax
.L3:
	call	abort@PLT
.L2:
	cmp	QWORD PTR -48[rbp], 0
	jne	.L4
	mov	eax, DWORD PTR -20[rbp]
	add	rax, 12
	mov	rdx, QWORD PTR -32[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	rdx
	jmp	.L5
.L4:
	mov	eax, DWORD PTR -20[rbp]
	lea	rcx, 12[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	rdx
.L5:
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L6
	cmp	QWORD PTR -48[rbp], 0
	je	.L7
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR [rax], 16909060
.L7:
	mov	ecx, DWORD PTR memused[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	esi, DWORD PTR -20[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	r8d, esi
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	abort@PLT
.L6:
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], 16909060
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 8
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR memused[rip]
	add	eax, edx
	mov	DWORD PTR memused[rip], eax
	mov	eax, DWORD PTR memalloc[rip]
	add	eax, 1
	mov	DWORD PTR memalloc[rip], eax
	add	QWORD PTR -8[rbp], 12
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	_chaina, .-_chaina
	.section	.rodata
.LC2:
	.string	"nil"
.LC3:
	.string	"free"
.LC4:
	.string	"invalid"
	.text
	.type	_chainc, @function
_chainc:
.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	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L10
	mov	rsi, QWORD PTR msg.5[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -16[rbp]
	lea	rcx, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	abort@PLT
.L10:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, -12[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	cmp	rax, 16909060
	je	.L11
	cmp	rax, 67305985
	je	.L12
	jmp	.L15
.L11:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 8[rax]
	jmp	.L16
.L12:
	mov	rsi, QWORD PTR msg.5[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -16[rbp]
	lea	rcx, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	abort@PLT
.L15:
	mov	rsi, QWORD PTR msg.5[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -16[rbp]
	lea	rcx, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	abort@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	_chainc, .-_chainc
	.globl	Malloc
	.type	Malloc, @function
Malloc:
.LFB8:
	.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	rdx, QWORD PTR routine.4[rip]
	mov	eax, DWORD PTR -4[rbp]
	mov	ecx, 0
	mov	rsi, QWORD PTR malloc@GOTPCREL[rip]
	mov	edi, eax
	mov	eax, 0
	call	_chaina
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	Malloc, .-Malloc
	.globl	Calloc
	.type	Calloc, @function
Calloc:
.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	DWORD PTR -24[rbp], esi
	mov	eax, DWORD PTR -20[rbp]
	imul	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -20[rbp], eax
	mov	rdx, QWORD PTR routine.3[rip]
	mov	eax, DWORD PTR -20[rbp]
	mov	ecx, 0
	mov	rsi, QWORD PTR malloc@GOTPCREL[rip]
	mov	edi, eax
	mov	eax, 0
	call	_chaina
	mov	QWORD PTR -8[rbp], rax
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	Calloc, .-Calloc
	.globl	Realloc
	.type	Realloc, @function
Realloc:
.LFB10:
	.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	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	rdx, QWORD PTR routine.2[rip]
	lea	rax, -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	_chainc
	mov	edx, eax
	mov	eax, DWORD PTR memused[rip]
	sub	eax, edx
	mov	DWORD PTR memused[rip], eax
	mov	eax, DWORD PTR memalloc[rip]
	sub	eax, 1
	mov	DWORD PTR memalloc[rip], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], 67305985
	mov	rcx, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR routine.2[rip]
	mov	eax, DWORD PTR -12[rbp]
	mov	rsi, QWORD PTR realloc@GOTPCREL[rip]
	mov	edi, eax
	mov	eax, 0
	call	_chaina
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	Realloc, .-Realloc
	.globl	Free
	.type	Free, @function
Free:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rdx, QWORD PTR routine.1[rip]
	lea	rax, -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	_chainc
	mov	edx, eax
	mov	eax, DWORD PTR memused[rip]
	sub	eax, edx
	mov	DWORD PTR memused[rip], eax
	mov	eax, DWORD PTR memalloc[rip]
	sub	eax, 1
	mov	DWORD PTR memalloc[rip], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], 67305985
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	Free, .-Free
	.section	.rodata
.LC5:
	.string	"\tNo memory allocated.\n"
	.align 8
.LC6:
	.string	"\t%u Bytes allocated in %u chunks.\n"
	.align 8
.LC7:
	.string	"\tAverage chunk length %u bytes.\n"
	.text
	.globl	MemChain
	.type	MemChain, @function
MemChain:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR memused[rip]
	test	eax, eax
	jne	.L25
	mov	eax, DWORD PTR memalloc[rip]
	test	eax, eax
	jne	.L25
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	jmp	.L26
.L25:
	mov	ecx, DWORD PTR memalloc[rip]
	mov	edx, DWORD PTR memused[rip]
	mov	rax, QWORD PTR stdout[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR memused[rip]
	mov	esi, DWORD PTR memalloc[rip]
	mov	edx, 0
	div	esi
	mov	edx, eax
	mov	rax, QWORD PTR stdout[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	nop
.L26:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	MemChain, .-MemChain
	.globl	MemStat
	.type	MemStat, @function
MemStat:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR memused[rip]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	MemStat, .-MemStat
	.globl	MemPtr
	.type	MemPtr, @function
MemPtr:
.LFB14:
	.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	QWORD PTR -8[rbp], rdi
	mov	rdx, QWORD PTR routine.0[rip]
	lea	rax, -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	_chainc
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	MemPtr, .-MemPtr
	.section	.rodata
.LC8:
	.string	"*** %s %s pointer.\n"
	.section	.data.rel.local,"aw"
	.align 8
	.type	msg.5, @object
	.size	msg.5, 8
msg.5:
	.quad	.LC8
	.section	.rodata
.LC9:
	.string	"malloc"
	.section	.data.rel.local
	.align 8
	.type	routine.4, @object
	.size	routine.4, 8
routine.4:
	.quad	.LC9
	.section	.rodata
.LC10:
	.string	"calloc"
	.section	.data.rel.local
	.align 8
	.type	routine.3, @object
	.size	routine.3, 8
routine.3:
	.quad	.LC10
	.section	.rodata
.LC11:
	.string	"realloc"
	.section	.data.rel.local
	.align 8
	.type	routine.2, @object
	.size	routine.2, 8
routine.2:
	.quad	.LC11
	.align 8
	.type	routine.1, @object
	.size	routine.1, 8
routine.1:
	.quad	.LC3
	.section	.rodata
.LC12:
	.string	"get size"
	.section	.data.rel.local
	.align 8
	.type	routine.0, @object
	.size	routine.0, 8
routine.0:
	.quad	.LC12
	.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	"191088.c"
	.text
	.data
	.align	2
	.type	rcsid, %object
	.size	rcsid, 58
rcsid:
	.ascii	"$Id: alloc.c,v 1.1.1.1 1999/12/03 23:15:53 heideman"
	.ascii	" Exp $\000"
	.local	memused
	.comm	memused,4,4
	.local	memalloc
	.comm	memalloc,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"*** %s zero length block.\012\000"
	.align	2
.LC1:
	.ascii	"*** Out of memory in %s (current allocation %d).\012"
	.ascii	"\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_chaina, %function
_chaina:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L9
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	ldr	r1, .L9+4
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, .L9+8
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, .L9+12
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L9+12
	str	r3, [r2]
	ldr	r3, .L9+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L9+16
	str	r3, [r2]
.L3:
	bl	abort
.L2:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-16]
	add	r2, r3, #8
	ldr	r3, [fp, #-20]
	mov	r0, r2
	blx	r3
	mov	r3, r0
	b	.L5
.L4:
	ldr	r3, [fp, #-16]
	add	r2, r3, #8
	ldr	r3, [fp, #-20]
	mov	r1, r2
	ldr	r0, [fp, #-28]
	blx	r3
	mov	r3, r0
.L5:
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L7
	ldr	r3, [fp, #-28]
	ldr	r2, .L9+8
	str	r2, [r3]
.L7:
	ldr	r3, .L9
	ldr	r0, [r3]
	ldr	r3, .L9+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-24]
	ldr	r1, .L9+20
	bl	fprintf
	bl	abort
.L6:
	ldr	r3, [fp, #-8]
	ldr	r2, .L9+8
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r2, [r3]
	ldr	r3, .L9+12
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L9+12
	str	r3, [r2]
	ldr	r3, .L9+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L9+16
	str	r3, [r2]
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	stderr
	.word	.LC0
	.word	16909060
	.word	memused
	.word	memalloc
	.word	.LC1
	.size	_chaina, .-_chaina
	.section	.rodata
	.align	2
.LC2:
	.ascii	"nil\000"
	.align	2
.LC3:
	.ascii	"free\000"
	.align	2
.LC4:
	.ascii	"invalid\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_chainc, %function
_chainc:
	@ 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]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L12
	ldr	r3, .L19
	ldr	r0, [r3]
	ldr	r3, .L19+4
	ldr	r1, [r3]
	ldr	r3, .L19+8
	ldr	r2, [fp, #-12]
	bl	fprintf
	bl	abort
.L12:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	sub	r2, r3, #8
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, .L19+12
	cmp	r3, r2
	beq	.L13
	ldr	r2, .L19+16
	cmp	r3, r2
	beq	.L14
	b	.L17
.L13:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	b	.L18
.L14:
	ldr	r3, .L19
	ldr	r0, [r3]
	ldr	r3, .L19+4
	ldr	r1, [r3]
	ldr	r3, .L19+20
	ldr	r2, [fp, #-12]
	bl	fprintf
	bl	abort
.L17:
	ldr	r3, .L19
	ldr	r0, [r3]
	ldr	r3, .L19+4
	ldr	r1, [r3]
	ldr	r3, .L19+24
	ldr	r2, [fp, #-12]
	bl	fprintf
	bl	abort
.L18:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	stderr
	.word	msg.5310
	.word	.LC2
	.word	16909060
	.word	67305985
	.word	.LC3
	.word	.LC4
	.size	_chainc, .-_chainc
	.align	2
	.global	Malloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	Malloc, %function
Malloc:
	@ 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, .L23
	ldr	r2, [r3]
	mov	r3, #0
	ldr	r1, .L23+4
	ldr	r0, [fp, #-8]
	bl	_chaina
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	routine.5317
	.word	malloc
	.size	Malloc, .-Malloc
	.align	2
	.global	Calloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	Calloc, %function
Calloc:
	@ 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]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-20]
	mul	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, .L27
	ldr	r2, [r3]
	mov	r3, #0
	ldr	r1, .L27+4
	ldr	r0, [fp, #-16]
	bl	_chaina
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-16]
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	memset
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	routine.5323
	.word	malloc
	.size	Calloc, .-Calloc
	.align	2
	.global	Realloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	Realloc, %function
Realloc:
	@ 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, .L31
	ldr	r2, [r3]
	sub	r3, fp, #8
	mov	r1, r2
	mov	r0, r3
	bl	_chainc
	mov	r2, r0
	ldr	r3, .L31+4
	ldr	r3, [r3]
	sub	r3, r3, r2
	ldr	r2, .L31+4
	str	r3, [r2]
	ldr	r3, .L31+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L31+8
	str	r3, [r2]
	ldr	r3, [fp, #-8]
	ldr	r2, .L31+12
	str	r2, [r3]
	ldr	r3, .L31
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r1, .L31+16
	ldr	r0, [fp, #-12]
	bl	_chaina
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	routine.5328
	.word	memused
	.word	memalloc
	.word	67305985
	.word	realloc
	.size	Realloc, .-Realloc
	.align	2
	.global	Free
	.syntax unified
	.arm
	.fpu softvfp
	.type	Free, %function
Free:
	@ 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, .L34
	ldr	r2, [r3]
	sub	r3, fp, #8
	mov	r1, r2
	mov	r0, r3
	bl	_chainc
	mov	r2, r0
	ldr	r3, .L34+4
	ldr	r3, [r3]
	sub	r3, r3, r2
	ldr	r2, .L34+4
	str	r3, [r2]
	ldr	r3, .L34+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L34+8
	str	r3, [r2]
	ldr	r3, [fp, #-8]
	ldr	r2, .L34+12
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	routine.5332
	.word	memused
	.word	memalloc
	.word	67305985
	.size	Free, .-Free
	.section	.rodata
	.align	2
.LC5:
	.ascii	"\011No memory allocated.\012\000"
	.align	2
.LC6:
	.ascii	"\011%u Bytes allocated in %u chunks.\012\000"
	.global	__aeabi_uidiv
	.align	2
.LC7:
	.ascii	"\011Average chunk length %u bytes.\012\000"
	.text
	.align	2
	.global	MemChain
	.syntax unified
	.arm
	.fpu softvfp
	.type	MemChain, %function
MemChain:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	ldr	r3, .L39
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L37
	ldr	r3, .L39+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L37
	ldr	r3, .L39+8
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L39+12
	bl	fwrite
	b	.L38
.L37:
	ldr	r3, .L39+8
	ldr	r0, [r3]
	ldr	r3, .L39
	ldr	r2, [r3]
	ldr	r3, .L39+4
	ldr	r3, [r3]
	ldr	r1, .L39+16
	bl	fprintf
	ldr	r3, .L39+8
	ldr	r4, [r3]
	ldr	r3, .L39
	ldr	r3, [r3]
	ldr	r2, .L39+4
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_uidiv
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L39+20
	mov	r0, r4
	bl	fprintf
	nop
.L38:
	nop
	pop	{r4, r5, fp, pc}
.L40:
	.align	2
.L39:
	.word	memused
	.word	memalloc
	.word	stdout
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	MemChain, .-MemChain
	.align	2
	.global	MemStat
	.syntax unified
	.arm
	.fpu softvfp
	.type	MemStat, %function
MemStat:
	@ 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
	ldr	r3, .L43
	ldr	r3, [r3]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L44:
	.align	2
.L43:
	.word	memused
	.size	MemStat, .-MemStat
	.align	2
	.global	MemPtr
	.syntax unified
	.arm
	.fpu softvfp
	.type	MemPtr, %function
MemPtr:
	@ 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, .L47
	ldr	r2, [r3]
	sub	r3, fp, #8
	mov	r1, r2
	mov	r0, r3
	bl	_chainc
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L48:
	.align	2
.L47:
	.word	routine.5340
	.size	MemPtr, .-MemPtr
	.section	.rodata
	.align	2
.LC8:
	.ascii	"*** %s %s pointer.\012\000"
	.data
	.align	2
	.type	msg.5310, %object
	.size	msg.5310, 4
msg.5310:
	.word	.LC8
	.section	.rodata
	.align	2
.LC9:
	.ascii	"malloc\000"
	.data
	.align	2
	.type	routine.5317, %object
	.size	routine.5317, 4
routine.5317:
	.word	.LC9
	.section	.rodata
	.align	2
.LC10:
	.ascii	"calloc\000"
	.data
	.align	2
	.type	routine.5323, %object
	.size	routine.5323, 4
routine.5323:
	.word	.LC10
	.section	.rodata
	.align	2
.LC11:
	.ascii	"realloc\000"
	.data
	.align	2
	.type	routine.5328, %object
	.size	routine.5328, 4
routine.5328:
	.word	.LC11
	.align	2
	.type	routine.5332, %object
	.size	routine.5332, 4
routine.5332:
	.word	.LC3
	.section	.rodata
	.align	2
.LC12:
	.ascii	"get size\000"
	.data
	.align	2
	.type	routine.5340, %object
	.size	routine.5340, 4
routine.5340:
	.word	.LC12
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
