	.file	"103266051.c"
	.intel_syntax noprefix
	.text
	.local	fdzero
	.comm	fdzero,4,4
	.local	malloc_started
	.comm	malloc_started,4,4
	.local	malloc_active
	.comm	malloc_active,4,4
	.data
	.align 4
	.type	malloc_cache, @object
	.size	malloc_cache, 4
malloc_cache:
	.long	16
	.local	malloc_origo
	.comm	malloc_origo,8,8
	.local	last_index
	.comm	last_index,8,8
	.local	page_dir
	.comm	page_dir,8,8
	.local	malloc_ninfo
	.comm	malloc_ninfo,4,4
	.local	free_list
	.comm	free_list,40,32
	.local	malloc_abort
	.comm	malloc_abort,4,4
	.local	suicide
	.comm	suicide,4,4
	.local	malloc_realloc
	.comm	malloc_realloc,4,4
	.local	malloc_hint
	.comm	malloc_hint,4,4
	.local	malloc_xmalloc
	.comm	malloc_xmalloc,4,4
	.local	malloc_sysv
	.comm	malloc_sysv,4,4
	.local	malloc_zero
	.comm	malloc_zero,4,4
	.local	malloc_junk
	.comm	malloc_junk,4,4
	.local	malloc_brk
	.comm	malloc_brk,8,8
	.local	px
	.comm	px,8,8
	.globl	malloc_options
	.bss
	.align 8
	.type	malloc_options, @object
	.size	malloc_options, 8
malloc_options:
	.zero	8
	.local	malloc_func
	.comm	malloc_func,8,8
	.section	.rodata
.LC0:
	.string	""
	.section	.data.rel.local,"aw"
	.align 8
	.type	__progname, @object
	.size	__progname, 8
__progname:
	.quad	.LC0
	.section	.rodata
.LC1:
	.string	" error: "
	.text
	.type	wrterror, @function
wrterror:
.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	QWORD PTR -24[rbp], rdi
	lea	rax, .LC1[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR __progname[rip]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR __progname[rip]
	mov	rsi, rax
	mov	edi, 2
	call	write@PLT
	mov	rax, QWORD PTR malloc_func[rip]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR malloc_func[rip]
	mov	rsi, rax
	mov	edi, 2
	call	write@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 2
	call	write@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 2
	call	write@PLT
	mov	DWORD PTR suicide[rip], 1
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	wrterror, .-wrterror
	.section	.rodata
.LC2:
	.string	" warning: "
	.text
	.type	wrtwarning, @function
wrtwarning:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	lea	rax, .LC2[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR malloc_abort[rip]
	test	eax, eax
	je	.L3
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	wrterror
.L3:
	mov	rax, QWORD PTR __progname[rip]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR __progname[rip]
	mov	rsi, rax
	mov	edi, 2
	call	write@PLT
	mov	rax, QWORD PTR malloc_func[rip]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR malloc_func[rip]
	mov	rsi, rax
	mov	edi, 2
	call	write@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 2
	call	write@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 2
	call	write@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	wrtwarning, .-wrtwarning
	.type	map_pages, @function
map_pages:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	edi, 0
	call	sbrk@PLT
	add	rax, 4095
	and	rax, -4096
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR -20[rbp]
	sal	eax, 12
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	brk@PLT
	test	eax, eax
	je	.L5
	mov	eax, 0
	jmp	.L6
.L5:
	mov	rax, QWORD PTR -8[rbp]
	shr	rax, 12
	mov	rdx, QWORD PTR malloc_origo[rip]
	sub	rax, rdx
	sub	rax, 1
	mov	QWORD PTR last_index[rip], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR malloc_brk[rip], rax
	mov	rax, QWORD PTR last_index[rip]
	add	rax, 1
	mov	edx, DWORD PTR malloc_ninfo[rip]
	mov	edx, edx
	cmp	rax, rdx
	jb	.L7
	mov	rax, QWORD PTR last_index[rip]
	mov	rdi, rax
	call	extend_pgdir
	test	eax, eax
	jne	.L7
	mov	eax, 0
	jmp	.L6
.L7:
	mov	rax, QWORD PTR -16[rbp]
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	map_pages, .-map_pages
	.type	extend_pgdir, @function
extend_pgdir:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR -40[rbp]
	sal	eax, 3
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	shr	rax, 12
	mov	DWORD PTR -24[rbp], eax
	add	DWORD PTR -24[rbp], 2
	mov	eax, DWORD PTR malloc_ninfo[rip]
	sal	eax, 3
	mov	DWORD PTR -20[rbp], eax
	mov	edx, DWORD PTR fdzero[rip]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 12
	mov	r9d, 0
	mov	r8d, edx
	mov	ecx, 2
	mov	edx, 3
	mov	rsi, rax
	mov	edi, 0
	call	mmap@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], -1
	jne	.L9
	mov	eax, 0
	jmp	.L10
.L9:
	mov	eax, DWORD PTR malloc_ninfo[rip]
	mov	eax, eax
	lea	rdx, 0[0+rax*8]
	mov	rcx, QWORD PTR page_dir[rip]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 12
	shr	rax, 3
	mov	DWORD PTR malloc_ninfo[rip], eax
	mov	rax, QWORD PTR page_dir[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR page_dir[rip], rax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	munmap@PLT
	mov	eax, 1
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	extend_pgdir, .-extend_pgdir
	.section	.rodata
.LC3:
	.string	"/dev/zero"
.LC4:
	.string	"open of /dev/zero"
	.align 8
.LC5:
	.string	"unknown char in MALLOC_OPTIONS\n"
.LC6:
	.string	"mmap(2) failed, check limits\n"
	.text
	.type	malloc_init, @function
malloc_init:
.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	edx, 0
	mov	esi, 2
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR fdzero[rip], eax
	mov	eax, DWORD PTR fdzero[rip]
	cmp	eax, -1
	jne	.L12
	lea	rdi, .LC4[rip]
	call	wrterror
.L12:
	mov	DWORD PTR -16[rbp], 0
	jmp	.L13
.L39:
	cmp	DWORD PTR -16[rbp], 0
	jne	.L14
	mov	QWORD PTR -8[rbp], 0
	jmp	.L17
.L14:
	cmp	DWORD PTR -16[rbp], 1
	jne	.L16
	mov	QWORD PTR -8[rbp], 0
	jmp	.L17
.L16:
	mov	rax, QWORD PTR malloc_options[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L17
.L38:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 60
	cmp	eax, 62
	ja	.L18
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L20[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L20[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L20:
	.long	.L35-.L20
	.long	.L18-.L20
	.long	.L34-.L20
	.long	.L18-.L20
	.long	.L18-.L20
	.long	.L33-.L20
	.long	.L18-.L20
	.long	.L18-.L20
	.long	.L18-.L20
	.long	.L18-.L20
	.long	.L18-.L20
	.long	.L18-.L20
	.long	.L32-.L20
	.long	.L18-.L20
	.long	.L31-.L20
	.long	.L18-.L20
	.long	.L18-.L20
	.long	.L18-.L20
	.long	.L18-.L20
	.long	.L18-.L20
	.long	.L18-.L20
	.long	.L18-.L20
	.long	.L30-.L20
	.long	.L18-.L20
	.long	.L18-.L20
	.long	.L18-.L20
	.long	.L29-.L20
	.long	.L18-.L20
	.long	.L28-.L20
	.long	.L18-.L20
	.long	.L27-.L20
	.long	.L18-.L20
	.long	.L18-.L20
	.long	.L18-.L20
	.long	.L18-.L20
	.long	.L18-.L20
	.long	.L18-.L20
	.long	.L26-.L20
	.long	.L18-.L20
	.long	.L18-.L20
	.long	.L18-.L20
	.long	.L18-.L20
	.long	.L18-.L20
	.long	.L18-.L20
	.long	.L25-.L20
	.long	.L18-.L20
	.long	.L24-.L20
	.long	.L18-.L20
	.long	.L18-.L20
	.long	.L18-.L20
	.long	.L18-.L20
	.long	.L18-.L20
	.long	.L18-.L20
	.long	.L18-.L20
	.long	.L23-.L20
	.long	.L18-.L20
	.long	.L18-.L20
	.long	.L18-.L20
	.long	.L22-.L20
	.long	.L18-.L20
	.long	.L21-.L20
	.long	.L18-.L20
	.long	.L19-.L20
	.text
.L34:
	mov	eax, DWORD PTR malloc_cache[rip]
	add	eax, eax
	mov	DWORD PTR malloc_cache[rip], eax
	jmp	.L36
.L35:
	mov	eax, DWORD PTR malloc_cache[rip]
	shr	eax
	mov	DWORD PTR malloc_cache[rip], eax
	jmp	.L36
.L26:
	mov	DWORD PTR malloc_abort[rip], 0
	jmp	.L36
.L33:
	mov	DWORD PTR malloc_abort[rip], 1
	jmp	.L36
.L25:
	mov	DWORD PTR malloc_hint[rip], 0
	jmp	.L36
.L32:
	mov	DWORD PTR malloc_hint[rip], 1
	jmp	.L36
.L23:
	mov	DWORD PTR malloc_realloc[rip], 0
	jmp	.L36
.L30:
	mov	DWORD PTR malloc_realloc[rip], 1
	jmp	.L36
.L24:
	mov	DWORD PTR malloc_junk[rip], 0
	jmp	.L36
.L31:
	mov	DWORD PTR malloc_junk[rip], 1
	jmp	.L36
.L22:
	mov	DWORD PTR malloc_sysv[rip], 0
	jmp	.L36
.L29:
	mov	DWORD PTR malloc_sysv[rip], 1
	jmp	.L36
.L21:
	mov	DWORD PTR malloc_xmalloc[rip], 0
	jmp	.L36
.L28:
	mov	DWORD PTR malloc_xmalloc[rip], 1
	jmp	.L36
.L19:
	mov	DWORD PTR malloc_zero[rip], 0
	jmp	.L36
.L27:
	mov	DWORD PTR malloc_zero[rip], 1
	jmp	.L36
.L18:
	mov	eax, DWORD PTR malloc_abort[rip]
	mov	DWORD PTR -12[rbp], eax
	mov	DWORD PTR malloc_abort[rip], 0
	lea	rdi, .LC5[rip]
	call	wrtwarning
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR malloc_abort[rip], eax
	nop
.L36:
	add	QWORD PTR -8[rbp], 1
.L17:
	cmp	QWORD PTR -8[rbp], 0
	je	.L37
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L38
.L37:
	add	DWORD PTR -16[rbp], 1
.L13:
	cmp	DWORD PTR -16[rbp], 2
	jle	.L39
	mov	eax, DWORD PTR malloc_zero[rip]
	test	eax, eax
	je	.L40
	mov	DWORD PTR malloc_junk[rip], 1
.L40:
	mov	eax, DWORD PTR malloc_junk[rip]
	test	eax, eax
	je	.L41
	mov	DWORD PTR malloc_realloc[rip], 1
.L41:
	mov	eax, DWORD PTR fdzero[rip]
	mov	r9d, 0
	mov	r8d, eax
	mov	ecx, 2
	mov	edx, 3
	mov	esi, 4096
	mov	edi, 0
	call	mmap@PLT
	mov	QWORD PTR page_dir[rip], rax
	mov	rax, QWORD PTR page_dir[rip]
	cmp	rax, -1
	jne	.L42
	lea	rdi, .LC6[rip]
	call	wrterror
.L42:
	mov	edi, 0
	call	sbrk@PLT
	add	rax, 4095
	shr	rax, 12
	mov	rdx, rax
	movabs	rax, 4503599627370495
	and	rax, rdx
	mov	QWORD PTR malloc_origo[rip], rax
	mov	rax, QWORD PTR malloc_origo[rip]
	sub	rax, 12
	mov	QWORD PTR malloc_origo[rip], rax
	mov	DWORD PTR malloc_ninfo[rip], 512
	mov	eax, DWORD PTR malloc_cache[rip]
	test	eax, eax
	jne	.L43
	mov	eax, DWORD PTR malloc_cache[rip]
	add	eax, 1
	mov	DWORD PTR malloc_cache[rip], eax
.L43:
	mov	eax, DWORD PTR malloc_cache[rip]
	sal	eax, 12
	mov	DWORD PTR malloc_cache[rip], eax
	mov	edi, 40
	call	imalloc
	mov	QWORD PTR px[rip], rax
	mov	eax, DWORD PTR malloc_started[rip]
	add	eax, 1
	mov	DWORD PTR malloc_started[rip], eax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	malloc_init, .-malloc_init
	.type	malloc_pages, @function
malloc_pages:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -24[rbp], 0
	mov	rax, QWORD PTR -56[rbp]
	add	rax, 4095
	and	rax, -4096
	mov	QWORD PTR -56[rbp], rax
	mov	QWORD PTR -32[rbp], 0
	mov	rax, QWORD PTR free_list[rip]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L45
.L50:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 32[rax]
	cmp	QWORD PTR -56[rbp], rax
	jbe	.L46
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L45
.L46:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 32[rax]
	cmp	QWORD PTR -56[rbp], rax
	jne	.L47
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L48
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 8[rdx]
	mov	QWORD PTR 8[rax], rdx
.L48:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR [rdx]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L49
.L47:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 32[rax]
	sub	rax, QWORD PTR -56[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 32[rax], rdx
	jmp	.L49
.L45:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L50
.L49:
	shr	QWORD PTR -56[rbp], 12
	cmp	QWORD PTR -32[rbp], 0
	jne	.L51
	mov	rax, QWORD PTR -56[rbp]
	mov	edi, eax
	call	map_pages
	mov	QWORD PTR -32[rbp], rax
.L51:
	cmp	QWORD PTR -32[rbp], 0
	je	.L52
	mov	rax, QWORD PTR -32[rbp]
	shr	rax, 12
	mov	rdx, QWORD PTR malloc_origo[rip]
	sub	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR page_dir[rip]
	mov	rax, QWORD PTR -8[rbp]
	sal	rax, 3
	add	rax, rdx
	mov	QWORD PTR [rax], 2
	mov	DWORD PTR -36[rbp], 1
	jmp	.L53
.L54:
	mov	rdx, QWORD PTR page_dir[rip]
	mov	ecx, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rcx
	sal	rax, 3
	add	rax, rdx
	mov	QWORD PTR [rax], 3
	add	DWORD PTR -36[rbp], 1
.L53:
	mov	eax, DWORD PTR -36[rbp]
	cmp	QWORD PTR -56[rbp], rax
	ja	.L54
	mov	eax, DWORD PTR malloc_junk[rip]
	test	eax, eax
	je	.L52
	mov	rax, QWORD PTR -56[rbp]
	sal	rax, 12
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, 208
	mov	rdi, rax
	call	memset@PLT
.L52:
	cmp	QWORD PTR -24[rbp], 0
	je	.L55
	mov	rax, QWORD PTR px[rip]
	test	rax, rax
	jne	.L56
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR px[rip], rax
	jmp	.L55
.L56:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	ifree
.L55:
	mov	rax, QWORD PTR -32[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	malloc_pages, .-malloc_pages
	.type	malloc_make_chunks, @function
malloc_make_chunks:
.LFB12:
	.cfi_startproc
	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 -36[rbp], edi
	mov	edi, 4096
	call	malloc_pages
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L59
	mov	eax, 0
	jmp	.L60
.L59:
	mov	DWORD PTR -24[rbp], 24
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, 4096
	mov	ecx, eax
	shr	rdx, cl
	mov	rax, rdx
	add	rax, 31
	shr	rax, 5
	sal	eax, 2
	add	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, DWORD PTR -24[rbp]
	add	eax, eax
	cmp	edx, eax
	ja	.L61
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L62
.L61:
	mov	eax, DWORD PTR -24[rbp]
	mov	rdi, rax
	call	imalloc
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L62
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	ifree
	mov	eax, 0
	jmp	.L60
.L62:
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	WORD PTR 16[rax], dx
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	WORD PTR 18[rax], dx
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, 4096
	mov	ecx, eax
	shr	rdx, cl
	mov	rax, rdx
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	WORD PTR 20[rax], dx
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, WORD PTR 20[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	WORD PTR 22[rax], dx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, WORD PTR 22[rax]
	movzx	eax, ax
	mov	DWORD PTR -20[rbp], eax
	mov	DWORD PTR -28[rbp], 0
	jmp	.L63
.L64:
	mov	eax, DWORD PTR -28[rbp]
	shr	eax, 5
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rdx, 4
	mov	DWORD PTR 8[rax+rdx*4], -1
	add	DWORD PTR -28[rbp], 32
.L63:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, DWORD PTR -28[rbp]
	cmp	eax, 31
	ja	.L64
	jmp	.L65
.L66:
	mov	eax, DWORD PTR -28[rbp]
	shr	eax, 5
	mov	esi, eax
	mov	edx, esi
	mov	rax, QWORD PTR -16[rbp]
	add	rdx, 4
	mov	edx, DWORD PTR 8[rax+rdx*4]
	mov	eax, DWORD PTR -28[rbp]
	and	eax, 31
	mov	edi, 1
	mov	ecx, eax
	sal	edi, cl
	mov	eax, edi
	mov	esi, esi
	mov	ecx, edx
	or	ecx, eax
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 4[rsi]
	mov	DWORD PTR 8[rax+rdx*4], ecx
	add	DWORD PTR -28[rbp], 1
.L65:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jb	.L66
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	cmp	QWORD PTR -16[rbp], rax
	jne	.L67
	mov	DWORD PTR -28[rbp], 0
	jmp	.L68
.L69:
	mov	eax, DWORD PTR -28[rbp]
	shr	eax, 5
	mov	esi, eax
	mov	edx, esi
	mov	rax, QWORD PTR -16[rbp]
	add	rdx, 4
	mov	edx, DWORD PTR 8[rax+rdx*4]
	mov	eax, DWORD PTR -28[rbp]
	and	eax, 31
	mov	edi, 1
	mov	ecx, eax
	sal	edi, cl
	mov	eax, edi
	not	eax
	mov	esi, esi
	mov	ecx, edx
	and	ecx, eax
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 4[rsi]
	mov	DWORD PTR 8[rax+rdx*4], ecx
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, WORD PTR 20[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	WORD PTR 20[rax], dx
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, WORD PTR 22[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	WORD PTR 22[rax], dx
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	sub	DWORD PTR -24[rbp], eax
	add	DWORD PTR -28[rbp], 1
.L68:
	cmp	DWORD PTR -24[rbp], 0
	jne	.L69
.L67:
	mov	rdx, QWORD PTR page_dir[rip]
	mov	rax, QWORD PTR -8[rbp]
	shr	rax, 12
	mov	rcx, QWORD PTR malloc_origo[rip]
	sub	rax, rcx
	sal	rax, 3
	add	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR [rdx], rax
	mov	rdx, QWORD PTR page_dir[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rdx, QWORD PTR page_dir[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	add	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR [rdx], rax
	mov	eax, 1
.L60:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	malloc_make_chunks, .-malloc_make_chunks
	.type	malloc_bytes, @function
malloc_bytes:
.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
	cmp	QWORD PTR -40[rbp], 15
	ja	.L71
	mov	QWORD PTR -40[rbp], 16
.L71:
	mov	DWORD PTR -28[rbp], 1
	mov	rax, QWORD PTR -40[rbp]
	sub	eax, 1
	mov	DWORD PTR -32[rbp], eax
	jmp	.L72
.L73:
	add	DWORD PTR -28[rbp], 1
.L72:
	sar	DWORD PTR -32[rbp]
	cmp	DWORD PTR -32[rbp], 0
	jne	.L73
	mov	rdx, QWORD PTR page_dir[rip]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L74
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	malloc_make_chunks
	test	eax, eax
	jne	.L74
	mov	eax, 0
	jmp	.L75
.L74:
	mov	rdx, QWORD PTR page_dir[rip]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 24
	mov	QWORD PTR -16[rbp], rax
	jmp	.L76
.L77:
	add	QWORD PTR -16[rbp], 4
.L76:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L77
	mov	DWORD PTR -24[rbp], 1
	mov	DWORD PTR -20[rbp], 0
	jmp	.L78
.L79:
	sal	DWORD PTR -24[rbp]
	add	DWORD PTR -20[rbp], 1
.L78:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	and	eax, DWORD PTR -24[rbp]
	test	eax, eax
	je	.L79
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	xor	eax, DWORD PTR -24[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 20[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 20[rax], dx
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 20[rax]
	test	ax, ax
	jne	.L80
	mov	rdx, QWORD PTR page_dir[rip]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 3
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], 0
.L80:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 24[rax]
	mov	rax, QWORD PTR -16[rbp]
	sub	rax, rdx
	sar	rax, 2
	sal	eax, 5
	mov	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	add	eax, edx
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 18[rax]
	movzx	eax, ax
	mov	ecx, eax
	sal	DWORD PTR -20[rbp], cl
	mov	eax, DWORD PTR malloc_junk[rip]
	test	eax, eax
	je	.L81
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 16[rax]
	movzx	eax, ax
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR 8[rdx]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	add	rcx, rdx
	mov	rdx, rax
	mov	esi, 208
	mov	rdi, rcx
	call	memset@PLT
.L81:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	add	rax, rdx
.L75:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	malloc_bytes, .-malloc_bytes
	.section	.rodata
.LC7:
	.string	"allocation failed.\n"
	.text
	.type	imalloc, @function
imalloc:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	eax, DWORD PTR suicide[rip]
	test	eax, eax
	je	.L83
	mov	edi, 1
	call	exit@PLT
.L83:
	cmp	QWORD PTR -24[rbp], -4097
	jbe	.L84
	mov	QWORD PTR -8[rbp], 0
	jmp	.L85
.L84:
	cmp	QWORD PTR -24[rbp], 2048
	ja	.L86
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	malloc_bytes
	mov	QWORD PTR -8[rbp], rax
	jmp	.L85
.L86:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	malloc_pages
	mov	QWORD PTR -8[rbp], rax
.L85:
	mov	eax, DWORD PTR malloc_abort[rip]
	test	eax, eax
	je	.L87
	cmp	QWORD PTR -8[rbp], 0
	jne	.L87
	lea	rdi, .LC7[rip]
	call	wrterror
.L87:
	mov	eax, DWORD PTR malloc_zero[rip]
	test	eax, eax
	je	.L88
	cmp	QWORD PTR -8[rbp], 0
	je	.L88
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
.L88:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	imalloc, .-imalloc
	.section	.rodata
	.align 8
.LC8:
	.string	"junk pointer, too low to make sense.\n"
	.align 8
.LC9:
	.string	"junk pointer, too high to make sense.\n"
.LC10:
	.string	"modified (page-) pointer.\n"
.LC11:
	.string	"modified (chunk-) pointer.\n"
.LC12:
	.string	"chunk is already free.\n"
.LC13:
	.string	"pointer to wrong page.\n"
	.text
	.type	irealloc, @function
irealloc:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	eax, DWORD PTR suicide[rip]
	test	eax, eax
	je	.L91
	mov	edi, 1
	call	exit@PLT
.L91:
	mov	rax, QWORD PTR -56[rbp]
	shr	rax, 12
	mov	rdx, QWORD PTR malloc_origo[rip]
	sub	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 11
	ja	.L92
	lea	rdi, .LC8[rip]
	call	wrtwarning
	mov	eax, 0
	jmp	.L93
.L92:
	mov	rax, QWORD PTR last_index[rip]
	cmp	QWORD PTR -16[rbp], rax
	jbe	.L94
	lea	rdi, .LC9[rip]
	call	wrtwarning
	mov	eax, 0
	jmp	.L93
.L94:
	mov	rdx, QWORD PTR page_dir[rip]
	mov	rax, QWORD PTR -16[rbp]
	sal	rax, 3
	add	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	rax, 2
	jne	.L95
	mov	rax, QWORD PTR -56[rbp]
	and	eax, 4095
	test	rax, rax
	je	.L96
	lea	rdi, .LC10[rip]
	call	wrtwarning
	mov	eax, 0
	jmp	.L93
.L96:
	mov	QWORD PTR -32[rbp], 4096
	jmp	.L97
.L98:
	add	QWORD PTR -32[rbp], 4096
.L97:
	add	QWORD PTR -24[rbp], 8
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	rax, 3
	je	.L98
	mov	eax, DWORD PTR malloc_realloc[rip]
	test	eax, eax
	jne	.L99
	mov	rax, QWORD PTR -64[rbp]
	cmp	rax, QWORD PTR -32[rbp]
	ja	.L99
	mov	rax, QWORD PTR -32[rbp]
	sub	rax, 4096
	cmp	QWORD PTR -64[rbp], rax
	jbe	.L99
	mov	rax, QWORD PTR -56[rbp]
	jmp	.L93
.L95:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	rax, 3
	jbe	.L100
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, WORD PTR 16[rax]
	movzx	eax, ax
	sub	eax, 1
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	and	rax, rdx
	test	rax, rax
	je	.L101
	lea	rdi, .LC11[rip]
	call	wrtwarning
	mov	eax, 0
	jmp	.L93
.L101:
	mov	rax, QWORD PTR -56[rbp]
	and	eax, 4095
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, WORD PTR 18[rax]
	movzx	eax, ax
	mov	ecx, eax
	shr	rdx, cl
	mov	rax, rdx
	mov	DWORD PTR -36[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	shr	rdx, 5
	add	rdx, 4
	mov	edx, DWORD PTR 8[rax+rdx*4]
	mov	eax, DWORD PTR -36[rbp]
	and	eax, 31
	mov	esi, 1
	mov	ecx, eax
	sal	esi, cl
	mov	eax, esi
	and	eax, edx
	test	eax, eax
	je	.L102
	lea	rdi, .LC12[rip]
	call	wrtwarning
	mov	eax, 0
	jmp	.L93
.L102:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, WORD PTR 16[rax]
	movzx	eax, ax
	mov	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR malloc_realloc[rip]
	test	eax, eax
	jne	.L99
	mov	rax, QWORD PTR -64[rbp]
	cmp	rax, QWORD PTR -32[rbp]
	jnb	.L99
	mov	rax, QWORD PTR -32[rbp]
	shr	rax
	cmp	QWORD PTR -64[rbp], rax
	ja	.L103
	cmp	QWORD PTR -32[rbp], 16
	jne	.L99
.L103:
	mov	rax, QWORD PTR -56[rbp]
	jmp	.L93
.L100:
	lea	rdi, .LC13[rip]
	call	wrtwarning
	mov	eax, 0
	jmp	.L93
.L99:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	imalloc
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L104
	cmp	QWORD PTR -64[rbp], 0
	je	.L105
	cmp	QWORD PTR -32[rbp], 0
	je	.L105
	mov	rax, QWORD PTR -32[rbp]
	cmp	rax, QWORD PTR -64[rbp]
	jnb	.L106
	mov	rdx, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	jmp	.L105
.L106:
	mov	rdx, QWORD PTR -64[rbp]
	mov	rcx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
.L105:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	ifree
.L104:
	mov	rax, QWORD PTR -8[rbp]
.L93:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	irealloc, .-irealloc
	.section	.rodata
.LC14:
	.string	"page is already free.\n"
.LC15:
	.string	"freelist is destroyed.\n"
	.text
	.type	free_pages, @function
free_pages:
.LFB16:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	DWORD PTR -60[rbp], esi
	mov	QWORD PTR -72[rbp], rdx
	mov	QWORD PTR -24[rbp], 0
	cmp	QWORD PTR -72[rbp], 1
	jne	.L108
	lea	rdi, .LC14[rip]
	call	wrtwarning
	jmp	.L107
.L108:
	cmp	QWORD PTR -72[rbp], 2
	je	.L110
	lea	rdi, .LC13[rip]
	call	wrtwarning
	jmp	.L107
.L110:
	mov	rax, QWORD PTR -56[rbp]
	and	eax, 4095
	test	rax, rax
	je	.L111
	lea	rdi, .LC10[rip]
	call	wrtwarning
	jmp	.L107
.L111:
	mov	rdx, QWORD PTR page_dir[rip]
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	QWORD PTR [rax], 1
	mov	DWORD PTR -36[rbp], 1
	jmp	.L112
.L113:
	mov	rax, QWORD PTR page_dir[rip]
	mov	ecx, DWORD PTR -60[rbp]
	mov	edx, DWORD PTR -36[rbp]
	add	edx, ecx
	mov	edx, edx
	sal	rdx, 3
	add	rax, rdx
	mov	QWORD PTR [rax], 1
	add	DWORD PTR -36[rbp], 1
.L112:
	mov	rax, QWORD PTR page_dir[rip]
	mov	ecx, DWORD PTR -60[rbp]
	mov	edx, DWORD PTR -36[rbp]
	add	edx, ecx
	mov	edx, edx
	sal	rdx, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	cmp	rax, 3
	je	.L113
	mov	eax, DWORD PTR -36[rbp]
	sal	eax, 12
	mov	eax, eax
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR malloc_junk[rip]
	test	eax, eax
	je	.L114
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, 208
	mov	rdi, rax
	call	memset@PLT
.L114:
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR px[rip]
	test	rax, rax
	jne	.L115
	mov	edi, 40
	call	imalloc
	mov	QWORD PTR px[rip], rax
.L115:
	mov	rax, QWORD PTR px[rip]
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR px[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 24[rax], rdx
	mov	rax, QWORD PTR px[rip]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 32[rax], rdx
	mov	rax, QWORD PTR free_list[rip]
	test	rax, rax
	jne	.L116
	mov	rax, QWORD PTR px[rip]
	mov	rdx, QWORD PTR free_list[rip]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR px[rip]
	lea	rdx, free_list[rip]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR px[rip]
	mov	QWORD PTR free_list[rip], rax
	mov	rax, QWORD PTR px[rip]
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR px[rip], 0
	jmp	.L117
.L116:
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR free_list[rip]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L118
.L120:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -32[rbp], rax
.L118:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 24[rax]
	cmp	QWORD PTR -56[rbp], rax
	jbe	.L119
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L120
.L119:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 16[rax]
	cmp	QWORD PTR -8[rbp], rax
	jnb	.L121
	mov	rax, QWORD PTR px[rip]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR px[rip]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR 8[rdx]
	mov	QWORD PTR 8[rax], rdx
	mov	rdx, QWORD PTR px[rip]
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR px[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR px[rip]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR px[rip]
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR px[rip], 0
	jmp	.L117
.L121:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 24[rax]
	cmp	QWORD PTR -56[rbp], rax
	jne	.L122
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR 24[rax], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR 32[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR 32[rax], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L117
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 16[rax]
	cmp	rdx, rax
	jne	.L117
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR 24[rax], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR 32[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 32[rax]
	add	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR 32[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L117
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR 8[rax], rdx
	jmp	.L117
.L122:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 16[rax]
	cmp	QWORD PTR -8[rbp], rax
	jne	.L123
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR 32[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR 32[rax], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR 16[rax], rdx
	jmp	.L117
.L123:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L124
	mov	rax, QWORD PTR px[rip]
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR px[rip]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rdx, QWORD PTR px[rip]
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR px[rip]
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR px[rip], 0
	jmp	.L117
.L124:
	lea	rdi, .LC15[rip]
	call	wrterror
.L117:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L125
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	edx, DWORD PTR malloc_cache[rip]
	mov	edx, edx
	cmp	rax, rdx
	jbe	.L125
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR malloc_brk[rip]
	cmp	rdx, rax
	jne	.L125
	mov	edi, 0
	call	sbrk@PLT
	mov	rdx, QWORD PTR malloc_brk[rip]
	cmp	rax, rdx
	jne	.L125
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	edx, DWORD PTR malloc_cache[rip]
	mov	edx, edx
	add	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR 24[rax], rdx
	mov	eax, DWORD PTR malloc_cache[rip]
	mov	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR 32[rax], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rdi, rax
	call	brk@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR malloc_brk[rip], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 24[rax]
	shr	rax, 12
	mov	edx, eax
	mov	rax, QWORD PTR malloc_origo[rip]
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -60[rbp], eax
	mov	eax, DWORD PTR -60[rbp]
	sub	eax, 1
	cdqe
	mov	QWORD PTR last_index[rip], rax
	mov	eax, DWORD PTR -60[rbp]
	mov	DWORD PTR -36[rbp], eax
	jmp	.L126
.L127:
	mov	rcx, QWORD PTR page_dir[rip]
	mov	eax, DWORD PTR -36[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -36[rbp], edx
	mov	eax, eax
	sal	rax, 3
	add	rax, rcx
	mov	QWORD PTR [rax], 0
.L126:
	mov	edx, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR last_index[rip]
	cmp	rdx, rax
	jbe	.L127
.L125:
	cmp	QWORD PTR -24[rbp], 0
	je	.L107
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	ifree
.L107:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	free_pages, .-free_pages
	.type	free_bytes, @function
free_bytes:
.LFB17:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR -40[rbp]
	and	eax, 4095
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, WORD PTR 18[rax]
	movzx	eax, ax
	mov	ecx, eax
	shr	rdx, cl
	mov	rax, rdx
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, WORD PTR 16[rax]
	movzx	eax, ax
	sub	eax, 1
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	and	rax, rdx
	test	rax, rax
	je	.L129
	lea	rdi, .LC11[rip]
	call	wrtwarning
	jmp	.L128
.L129:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	shr	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, 4
	mov	edx, DWORD PTR 8[rax+rdx*4]
	mov	eax, DWORD PTR -20[rbp]
	and	eax, 31
	mov	esi, 1
	mov	ecx, eax
	sal	esi, cl
	mov	eax, esi
	and	eax, edx
	test	eax, eax
	je	.L131
	lea	rdi, .LC12[rip]
	call	wrtwarning
	jmp	.L128
.L131:
	mov	eax, DWORD PTR malloc_junk[rip]
	test	eax, eax
	je	.L132
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, WORD PTR 16[rax]
	movzx	edx, ax
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 208
	mov	rdi, rax
	call	memset@PLT
.L132:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	shr	rax, 5
	mov	rdx, QWORD PTR -56[rbp]
	lea	rcx, 4[rax]
	mov	esi, DWORD PTR 8[rdx+rcx*4]
	mov	edx, DWORD PTR -20[rbp]
	and	edx, 31
	mov	edi, 1
	mov	ecx, edx
	sal	edi, cl
	mov	edx, edi
	or	esi, edx
	mov	ecx, esi
	mov	rdx, QWORD PTR -56[rbp]
	add	rax, 4
	mov	DWORD PTR 8[rdx+rax*4], ecx
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, WORD PTR 20[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	WORD PTR 20[rax], dx
	mov	rdx, QWORD PTR page_dir[rip]
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, WORD PTR 18[rax]
	movzx	eax, ax
	sal	rax, 3
	add	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, WORD PTR 20[rax]
	cmp	ax, 1
	jne	.L133
	mov	rdx, QWORD PTR page_dir[rip]
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, WORD PTR 18[rax]
	movzx	eax, ax
	sal	rax, 3
	add	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	jmp	.L134
.L136:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
.L134:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L135
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L135
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 8[rax]
	cmp	rdx, rax
	jb	.L136
.L135:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L128
.L133:
	mov	rax, QWORD PTR -56[rbp]
	movzx	edx, WORD PTR 20[rax]
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, WORD PTR 22[rax]
	cmp	dx, ax
	jne	.L141
	jmp	.L138
.L139:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
.L138:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -56[rbp], rax
	jne	.L139
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rdx, QWORD PTR page_dir[rip]
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 8[rax]
	shr	rax, 12
	mov	rcx, QWORD PTR malloc_origo[rip]
	sub	rax, rcx
	sal	rax, 3
	add	rax, rdx
	mov	QWORD PTR [rax], 2
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -56[rbp]
	je	.L140
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	ifree
.L140:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	ifree
	jmp	.L128
.L141:
	nop
.L128:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	free_bytes, .-free_bytes
	.section	.rodata
	.align 8
.LC16:
	.string	"malloc() has never been called.\n"
	.text
	.type	ifree, @function
ifree:
.LFB18:
	.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
	cmp	QWORD PTR -24[rbp], 0
	je	.L151
	mov	eax, DWORD PTR malloc_started[rip]
	test	eax, eax
	jne	.L145
	lea	rdi, .LC16[rip]
	call	wrtwarning
	jmp	.L142
.L145:
	mov	eax, DWORD PTR suicide[rip]
	test	eax, eax
	jne	.L152
	mov	rax, QWORD PTR -24[rbp]
	shr	rax, 12
	mov	edx, eax
	mov	rax, QWORD PTR malloc_origo[rip]
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 11
	ja	.L147
	lea	rdi, .LC8[rip]
	call	wrtwarning
	jmp	.L142
.L147:
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR last_index[rip]
	cmp	rdx, rax
	jbe	.L148
	lea	rdi, .LC9[rip]
	call	wrtwarning
	jmp	.L142
.L148:
	mov	rdx, QWORD PTR page_dir[rip]
	mov	eax, DWORD PTR -12[rbp]
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 3
	ja	.L149
	mov	ecx, DWORD PTR -12[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	free_pages
	jmp	.L142
.L149:
	mov	ecx, DWORD PTR -12[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	free_bytes
	jmp	.L142
.L151:
	nop
	jmp	.L142
.L152:
	nop
.L142:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	ifree, .-ifree
	.section	.rodata
.LC17:
	.string	" in malloc():"
.LC18:
	.string	"recursive call.\n"
.LC19:
	.string	"out of memory.\n"
	.text
	.globl	malloc
	.type	malloc, @function
malloc:
.LFB19:
	.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	QWORD PTR -24[rbp], rdi
	lea	rax, .LC17[rip]
	mov	QWORD PTR malloc_func[rip], rax
	mov	eax, DWORD PTR malloc_active[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR malloc_active[rip], edx
	test	eax, eax
	je	.L154
	lea	rdi, .LC18[rip]
	call	wrtwarning
	mov	eax, DWORD PTR malloc_active[rip]
	sub	eax, 1
	mov	DWORD PTR malloc_active[rip], eax
	mov	eax, 0
	jmp	.L155
.L154:
	mov	eax, DWORD PTR malloc_started[rip]
	test	eax, eax
	jne	.L156
	mov	eax, 0
	call	malloc_init
.L156:
	mov	eax, DWORD PTR malloc_sysv[rip]
	test	eax, eax
	je	.L157
	cmp	QWORD PTR -24[rbp], 0
	jne	.L157
	mov	ebx, 0
	jmp	.L158
.L157:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	imalloc
	mov	rbx, rax
.L158:
	mov	eax, DWORD PTR malloc_active[rip]
	sub	eax, 1
	mov	DWORD PTR malloc_active[rip], eax
	mov	eax, DWORD PTR malloc_xmalloc[rip]
	test	eax, eax
	je	.L159
	test	rbx, rbx
	jne	.L159
	lea	rdi, .LC19[rip]
	call	wrterror
.L159:
	mov	rax, rbx
.L155:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	malloc, .-malloc
	.section	.rodata
.LC20:
	.string	" in free():"
	.text
	.globl	free
	.type	free, @function
free:
.LFB20:
	.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
	lea	rax, .LC20[rip]
	mov	QWORD PTR malloc_func[rip], rax
	mov	eax, DWORD PTR malloc_active[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR malloc_active[rip], edx
	test	eax, eax
	je	.L161
	lea	rdi, .LC18[rip]
	call	wrtwarning
	mov	eax, DWORD PTR malloc_active[rip]
	sub	eax, 1
	mov	DWORD PTR malloc_active[rip], eax
	jmp	.L160
.L161:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	ifree
	mov	eax, DWORD PTR malloc_active[rip]
	sub	eax, 1
	mov	DWORD PTR malloc_active[rip], eax
	nop
.L160:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	free, .-free
	.section	.rodata
.LC21:
	.string	" in realloc():"
	.text
	.globl	realloc
	.type	realloc, @function
realloc:
.LFB21:
	.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	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	lea	rax, .LC21[rip]
	mov	QWORD PTR malloc_func[rip], rax
	mov	eax, DWORD PTR malloc_active[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR malloc_active[rip], edx
	test	eax, eax
	je	.L164
	lea	rdi, .LC18[rip]
	call	wrtwarning
	mov	eax, DWORD PTR malloc_active[rip]
	sub	eax, 1
	mov	DWORD PTR malloc_active[rip], eax
	mov	eax, 0
	jmp	.L165
.L164:
	cmp	QWORD PTR -24[rbp], 0
	je	.L166
	mov	eax, DWORD PTR malloc_started[rip]
	test	eax, eax
	jne	.L166
	lea	rdi, .LC16[rip]
	call	wrtwarning
	mov	QWORD PTR -24[rbp], 0
.L166:
	mov	eax, DWORD PTR malloc_started[rip]
	test	eax, eax
	jne	.L167
	mov	eax, 0
	call	malloc_init
.L167:
	mov	eax, DWORD PTR malloc_sysv[rip]
	test	eax, eax
	je	.L168
	cmp	QWORD PTR -32[rbp], 0
	jne	.L168
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	ifree
	mov	ebx, 0
	jmp	.L169
.L168:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L170
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	imalloc
	mov	rbx, rax
	jmp	.L169
.L170:
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	irealloc
	mov	rbx, rax
.L169:
	mov	eax, DWORD PTR malloc_active[rip]
	sub	eax, 1
	mov	DWORD PTR malloc_active[rip], eax
	mov	eax, DWORD PTR malloc_xmalloc[rip]
	test	eax, eax
	je	.L171
	test	rbx, rbx
	jne	.L171
	lea	rdi, .LC19[rip]
	call	wrterror
.L171:
	mov	rax, rbx
.L165:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	realloc, .-realloc
	.globl	calloc
	.type	calloc, @function
calloc:
.LFB22:
	.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	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	imul	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	malloc
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L173
	mov	eax, 0
	jmp	.L174
.L173:
	mov	rax, QWORD PTR -24[rbp]
	imul	rax, QWORD PTR -32[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -8[rbp]
.L174:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	calloc, .-calloc
	.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	"103266051.c"
	.text
	.local	fdzero
	.comm	fdzero,4,4
	.local	malloc_started
	.comm	malloc_started,4,4
	.local	malloc_active
	.comm	malloc_active,4,4
	.data
	.align	2
	.type	malloc_cache, %object
	.size	malloc_cache, 4
malloc_cache:
	.word	16
	.local	malloc_origo
	.comm	malloc_origo,4,4
	.local	last_index
	.comm	last_index,4,4
	.local	page_dir
	.comm	page_dir,4,4
	.local	malloc_ninfo
	.comm	malloc_ninfo,4,4
	.local	free_list
	.comm	free_list,20,4
	.local	malloc_abort
	.comm	malloc_abort,4,4
	.local	suicide
	.comm	suicide,4,4
	.local	malloc_realloc
	.comm	malloc_realloc,4,4
	.local	malloc_hint
	.comm	malloc_hint,4,4
	.local	malloc_xmalloc
	.comm	malloc_xmalloc,4,4
	.local	malloc_sysv
	.comm	malloc_sysv,4,4
	.local	malloc_zero
	.comm	malloc_zero,4,4
	.local	malloc_junk
	.comm	malloc_junk,4,4
	.local	malloc_brk
	.comm	malloc_brk,4,4
	.local	px
	.comm	px,4,4
	.comm	malloc_options,4,4
	.local	malloc_func
	.comm	malloc_func,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\000"
	.data
	.align	2
	.type	__progname, %object
	.size	__progname, 4
__progname:
	.word	.LC0
	.section	.rodata
	.align	2
.LC1:
	.ascii	" error: \000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wrterror, %function
wrterror:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	ldr	r3, .L2
	str	r3, [fp, #-16]
	ldr	r3, .L2+4
	ldr	r4, [r3]
	ldr	r3, .L2+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	mov	r0, #2
	bl	write
	ldr	r3, .L2+8
	ldr	r4, [r3]
	ldr	r3, .L2+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	mov	r0, #2
	bl	write
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-16]
	mov	r0, #2
	bl	write
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-24]
	mov	r0, #2
	bl	write
	ldr	r3, .L2+12
	mov	r2, #1
	str	r2, [r3]
	mov	r0, #1
	bl	exit
.L3:
	.align	2
.L2:
	.word	.LC1
	.word	__progname
	.word	malloc_func
	.word	suicide
	.size	wrterror, .-wrterror
	.section	.rodata
	.align	2
.LC2:
	.ascii	" warning: \000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wrtwarning, %function
wrtwarning:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	ldr	r3, .L6
	str	r3, [fp, #-16]
	ldr	r3, .L6+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L5
	ldr	r0, [fp, #-24]
	bl	wrterror
.L5:
	ldr	r3, .L6+8
	ldr	r4, [r3]
	ldr	r3, .L6+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	mov	r0, #2
	bl	write
	ldr	r3, .L6+12
	ldr	r4, [r3]
	ldr	r3, .L6+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	mov	r0, #2
	bl	write
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-16]
	mov	r0, #2
	bl	write
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-24]
	mov	r0, #2
	bl	write
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC2
	.word	malloc_abort
	.word	__progname
	.word	malloc_func
	.size	wrtwarning, .-wrtwarning
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	map_pages, %function
map_pages:
	@ 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]
	mov	r0, #0
	bl	sbrk
	mov	r3, r0
	add	r3, r3, #4080
	add	r3, r3, #15
	bic	r3, r3, #4080
	bic	r3, r3, #15
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #12
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	brk
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
	mov	r3, #0
	b	.L10
.L9:
	ldr	r3, [fp, #-8]
	lsr	r2, r3, #12
	ldr	r3, .L12
	ldr	r3, [r3]
	sub	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, .L12+4
	str	r3, [r2]
	ldr	r2, .L12+8
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	ldr	r3, .L12+4
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, .L12+12
	ldr	r3, [r3]
	cmp	r2, r3
	bcc	.L11
	ldr	r3, .L12+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	extend_pgdir
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	mov	r3, #0
	b	.L10
.L11:
	ldr	r3, [fp, #-12]
.L10:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	malloc_origo
	.word	last_index
	.word	malloc_brk
	.word	malloc_ninfo
	.size	map_pages, .-map_pages
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	extend_pgdir, %function
extend_pgdir:
	@ 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, #-24]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	lsr	r3, r3, #12
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	add	r3, r3, #2
	str	r3, [fp, #-20]
	ldr	r3, .L17
	ldr	r3, [r3]
	lsl	r3, r3, #2
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	lsl	r1, r3, #12
	ldr	r3, .L17+4
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #2
	mov	r2, #3
	mov	r0, #0
	bl	mmap
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L15
	mov	r3, #0
	b	.L16
.L15:
	ldr	r3, .L17+8
	ldr	r1, [r3]
	ldr	r3, .L17
	ldr	r3, [r3]
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r0, [fp, #-12]
	bl	memcpy
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #12
	lsr	r3, r3, #2
	ldr	r2, .L17
	str	r3, [r2]
	ldr	r3, .L17+8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r2, .L17+8
	ldr	r3, [fp, #-12]
	str	r3, [r2]
	ldr	r3, [fp, #-16]
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	munmap
	mov	r3, #1
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	malloc_ninfo
	.word	fdzero
	.word	page_dir
	.size	extend_pgdir, .-extend_pgdir
	.section	.rodata
	.align	2
.LC3:
	.ascii	"/dev/zero\000"
	.align	2
.LC4:
	.ascii	"open of /dev/zero\000"
	.align	2
.LC5:
	.ascii	"unknown char in MALLOC_OPTIONS\012\000"
	.align	2
.LC6:
	.ascii	"mmap(2) failed, check limits\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	malloc_init, %function
malloc_init:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	mov	r2, #0
	mov	r1, #2
	ldr	r0, .L52
	bl	open
	mov	r3, r0
	ldr	r2, .L52+4
	str	r3, [r2]
	ldr	r3, .L52+4
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L20
	ldr	r0, .L52+8
	bl	wrterror
.L20:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L21
.L47:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L22
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L25
.L22:
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bne	.L24
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L25
.L24:
	ldr	r3, .L52+12
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	b	.L25
.L46:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #60
	cmp	r3, #62
	ldrls	pc, [pc, r3, asl #2]
	b	.L26
.L28:
	.word	.L43
	.word	.L26
	.word	.L42
	.word	.L26
	.word	.L26
	.word	.L41
	.word	.L26
	.word	.L26
	.word	.L26
	.word	.L26
	.word	.L26
	.word	.L26
	.word	.L40
	.word	.L26
	.word	.L39
	.word	.L26
	.word	.L26
	.word	.L26
	.word	.L26
	.word	.L26
	.word	.L26
	.word	.L26
	.word	.L38
	.word	.L26
	.word	.L26
	.word	.L26
	.word	.L37
	.word	.L26
	.word	.L36
	.word	.L26
	.word	.L35
	.word	.L26
	.word	.L26
	.word	.L26
	.word	.L26
	.word	.L26
	.word	.L26
	.word	.L34
	.word	.L26
	.word	.L26
	.word	.L26
	.word	.L26
	.word	.L26
	.word	.L26
	.word	.L33
	.word	.L26
	.word	.L32
	.word	.L26
	.word	.L26
	.word	.L26
	.word	.L26
	.word	.L26
	.word	.L26
	.word	.L26
	.word	.L31
	.word	.L26
	.word	.L26
	.word	.L26
	.word	.L30
	.word	.L26
	.word	.L29
	.word	.L26
	.word	.L27
.L42:
	ldr	r3, .L52+16
	ldr	r3, [r3]
	lsl	r3, r3, #1
	ldr	r2, .L52+16
	str	r3, [r2]
	b	.L44
.L43:
	ldr	r3, .L52+16
	ldr	r3, [r3]
	lsr	r3, r3, #1
	ldr	r2, .L52+16
	str	r3, [r2]
	b	.L44
.L34:
	ldr	r3, .L52+20
	mov	r2, #0
	str	r2, [r3]
	b	.L44
.L41:
	ldr	r3, .L52+20
	mov	r2, #1
	str	r2, [r3]
	b	.L44
.L33:
	ldr	r3, .L52+24
	mov	r2, #0
	str	r2, [r3]
	b	.L44
.L40:
	ldr	r3, .L52+24
	mov	r2, #1
	str	r2, [r3]
	b	.L44
.L31:
	ldr	r3, .L52+28
	mov	r2, #0
	str	r2, [r3]
	b	.L44
.L38:
	ldr	r3, .L52+28
	mov	r2, #1
	str	r2, [r3]
	b	.L44
.L32:
	ldr	r3, .L52+32
	mov	r2, #0
	str	r2, [r3]
	b	.L44
.L39:
	ldr	r3, .L52+32
	mov	r2, #1
	str	r2, [r3]
	b	.L44
.L30:
	ldr	r3, .L52+36
	mov	r2, #0
	str	r2, [r3]
	b	.L44
.L37:
	ldr	r3, .L52+36
	mov	r2, #1
	str	r2, [r3]
	b	.L44
.L29:
	ldr	r3, .L52+40
	mov	r2, #0
	str	r2, [r3]
	b	.L44
.L36:
	ldr	r3, .L52+40
	mov	r2, #1
	str	r2, [r3]
	b	.L44
.L27:
	ldr	r3, .L52+44
	mov	r2, #0
	str	r2, [r3]
	b	.L44
.L35:
	ldr	r3, .L52+44
	mov	r2, #1
	str	r2, [r3]
	b	.L44
.L26:
	ldr	r3, .L52+20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, .L52+20
	mov	r2, #0
	str	r2, [r3]
	ldr	r0, .L52+48
	bl	wrtwarning
	ldr	r2, .L52+20
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	nop
.L44:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L25:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L45
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L46
.L45:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L21:
	ldr	r3, [fp, #-12]
	cmp	r3, #2
	ble	.L47
	ldr	r3, .L52+44
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L48
	ldr	r3, .L52+32
	mov	r2, #1
	str	r2, [r3]
.L48:
	ldr	r3, .L52+32
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L49
	ldr	r3, .L52+28
	mov	r2, #1
	str	r2, [r3]
.L49:
	ldr	r3, .L52+4
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #2
	mov	r2, #3
	mov	r1, #4096
	mov	r0, #0
	bl	mmap
	mov	r3, r0
	ldr	r2, .L52+52
	str	r3, [r2]
	ldr	r3, .L52+52
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L50
	ldr	r0, .L52+56
	bl	wrterror
.L50:
	mov	r0, #0
	bl	sbrk
	mov	r3, r0
	add	r3, r3, #4080
	add	r3, r3, #15
	lsr	r3, r3, #12
	bic	r3, r3, #-16777216
	bic	r3, r3, #15728640
	ldr	r2, .L52+60
	str	r3, [r2]
	ldr	r3, .L52+60
	ldr	r3, [r3]
	sub	r3, r3, #12
	ldr	r2, .L52+60
	str	r3, [r2]
	ldr	r3, .L52+64
	mov	r2, #1024
	str	r2, [r3]
	ldr	r3, .L52+16
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L51
	ldr	r3, .L52+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L52+16
	str	r3, [r2]
.L51:
	ldr	r3, .L52+16
	ldr	r3, [r3]
	lsl	r3, r3, #12
	ldr	r2, .L52+16
	str	r3, [r2]
	mov	r0, #20
	bl	imalloc
	mov	r3, r0
	ldr	r2, .L52+68
	str	r3, [r2]
	ldr	r3, .L52+72
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L52+72
	str	r3, [r2]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L53:
	.align	2
.L52:
	.word	.LC3
	.word	fdzero
	.word	.LC4
	.word	malloc_options
	.word	malloc_cache
	.word	malloc_abort
	.word	malloc_hint
	.word	malloc_realloc
	.word	malloc_junk
	.word	malloc_sysv
	.word	malloc_xmalloc
	.word	malloc_zero
	.word	.LC5
	.word	page_dir
	.word	.LC6
	.word	malloc_origo
	.word	malloc_ninfo
	.word	px
	.word	malloc_started
	.size	malloc_init, .-malloc_init
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	malloc_pages, %function
malloc_pages:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-32]
	add	r3, r3, #4080
	add	r3, r3, #15
	bic	r3, r3, #4080
	bic	r3, r3, #15
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r3, .L68
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	b	.L55
.L60:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #16]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bls	.L56
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	b	.L55
.L56:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #16]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bne	.L57
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L58
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r2, [r2, #4]
	str	r2, [r3, #4]
.L58:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-12]
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-20]
	b	.L59
.L57:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-32]
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-32]
	sub	r2, r2, r3
	ldr	r3, [fp, #-12]
	str	r2, [r3, #16]
	b	.L59
.L55:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L60
.L59:
	ldr	r3, [fp, #-32]
	lsr	r3, r3, #12
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L61
	ldr	r3, [fp, #-32]
	mov	r0, r3
	bl	map_pages
	str	r0, [fp, #-24]
.L61:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L62
	ldr	r3, [fp, #-24]
	lsr	r2, r3, #12
	ldr	r3, .L68+4
	ldr	r3, [r3]
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, .L68+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #2
	str	r2, [r3]
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L63
.L64:
	ldr	r3, .L68+8
	ldr	r2, [r3]
	ldr	r1, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #3
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L63:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bcc	.L64
	ldr	r3, .L68+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L62
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #12
	mov	r2, r3
	mov	r1, #208
	ldr	r0, [fp, #-24]
	bl	memset
.L62:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L65
	ldr	r3, .L68+16
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L66
	ldr	r2, .L68+16
	ldr	r3, [fp, #-20]
	str	r3, [r2]
	b	.L65
.L66:
	ldr	r0, [fp, #-20]
	bl	ifree
.L65:
	ldr	r3, [fp, #-24]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L69:
	.align	2
.L68:
	.word	free_list
	.word	malloc_origo
	.word	page_dir
	.word	malloc_junk
	.word	px
	.size	malloc_pages, .-malloc_pages
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	malloc_make_chunks, %function
malloc_make_chunks:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	mov	r0, #4096
	bl	malloc_pages
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L71
	mov	r3, #0
	b	.L72
.L71:
	mov	r3, #16
	str	r3, [fp, #-16]
	mov	r2, #4096
	ldr	r3, [fp, #-32]
	lsr	r3, r2, r3
	add	r3, r3, #31
	lsr	r3, r3, #5
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	mov	r2, #1
	ldr	r3, [fp, #-32]
	lsl	r2, r2, r3
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #1
	cmp	r2, r3
	bhi	.L73
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-24]
	b	.L74
.L73:
	ldr	r0, [fp, #-16]
	bl	imalloc
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L74
	ldr	r0, [fp, #-12]
	bl	ifree
	mov	r3, #0
	b	.L72
.L74:
	mov	r2, #1
	ldr	r3, [fp, #-32]
	lsl	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-24]
	strh	r2, [r3, #8]	@ movhi
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-24]
	strh	r2, [r3, #10]	@ movhi
	mov	r2, #4096
	ldr	r3, [fp, #-32]
	lsr	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-24]
	strh	r2, [r3, #12]	@ movhi
	ldr	r3, [fp, #-24]
	ldrh	r2, [r3, #12]
	ldr	r3, [fp, #-24]
	strh	r2, [r3, #14]	@ movhi
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	ldrh	r3, [r3, #14]
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L75
.L76:
	ldr	r3, [fp, #-20]
	lsr	r2, r3, #5
	ldr	r3, [fp, #-24]
	add	r2, r2, #4
	mvn	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-20]
	add	r3, r3, #32
	str	r3, [fp, #-20]
.L75:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	cmp	r3, #31
	bhi	.L76
	b	.L77
.L78:
	ldr	r3, [fp, #-20]
	lsr	r3, r3, #5
	ldr	r2, [fp, #-24]
	add	r1, r3, #4
	ldr	r2, [r2, r1, lsl #2]
	ldr	r1, [fp, #-20]
	and	r1, r1, #31
	mov	r0, #1
	lsl	r1, r0, r1
	orr	r1, r2, r1
	ldr	r2, [fp, #-24]
	add	r3, r3, #4
	str	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L77:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bcc	.L78
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bne	.L79
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L80
.L81:
	ldr	r3, [fp, #-20]
	lsr	r3, r3, #5
	ldr	r2, [fp, #-24]
	add	r1, r3, #4
	ldr	r2, [r2, r1, lsl #2]
	ldr	r1, [fp, #-20]
	and	r1, r1, #31
	mov	r0, #1
	lsl	r1, r0, r1
	mvn	r1, r1
	and	r1, r1, r2
	ldr	r2, [fp, #-24]
	add	r3, r3, #4
	str	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-24]
	ldrh	r3, [r3, #12]
	sub	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-24]
	strh	r2, [r3, #12]	@ movhi
	ldr	r3, [fp, #-24]
	ldrh	r3, [r3, #14]
	sub	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-24]
	strh	r2, [r3, #14]	@ movhi
	mov	r2, #1
	ldr	r3, [fp, #-32]
	lsl	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-16]
	sub	r3, r3, r2
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L80:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L81
.L79:
	ldr	r3, .L82
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	lsr	r1, r3, #12
	ldr	r3, .L82+4
	ldr	r3, [r3]
	sub	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	ldr	r3, .L82
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	str	r2, [r3]
	ldr	r3, .L82
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	mov	r3, #1
.L72:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L83:
	.align	2
.L82:
	.word	page_dir
	.word	malloc_origo
	.size	malloc_make_chunks, .-malloc_make_chunks
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	malloc_bytes, %function
malloc_bytes:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #15
	bhi	.L85
	mov	r3, #16
	str	r3, [fp, #-32]
.L85:
	mov	r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	str	r3, [fp, #-28]
	b	.L86
.L87:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L86:
	ldr	r3, [fp, #-28]
	asr	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L87
	ldr	r3, .L96
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L88
	ldr	r0, [fp, #-24]
	bl	malloc_make_chunks
	mov	r3, r0
	cmp	r3, #0
	bne	.L88
	mov	r3, #0
	b	.L89
.L88:
	ldr	r3, .L96
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	add	r3, r3, #16
	str	r3, [fp, #-12]
	b	.L90
.L91:
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	str	r3, [fp, #-12]
.L90:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L91
	mov	r3, #1
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L92
.L93:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L92:
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L93
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	eor	r2, r2, r3
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #12]
	sub	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #12]	@ movhi
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #12]
	cmp	r3, #0
	bne	.L94
	ldr	r3, .L96
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3]
.L94:
	ldr	r3, [fp, #-8]
	add	r3, r3, #16
	ldr	r2, [fp, #-12]
	sub	r3, r2, r3
	asr	r3, r3, #2
	lsl	r2, r3, #5
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #10]
	mov	r2, r3
	ldr	r3, [fp, #-16]
	lsl	r3, r3, r2
	str	r3, [fp, #-16]
	ldr	r3, .L96+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L95
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	add	r0, r2, r3
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #8]
	mov	r2, r3
	mov	r1, #208
	bl	memset
.L95:
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
.L89:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L97:
	.align	2
.L96:
	.word	page_dir
	.word	malloc_junk
	.size	malloc_bytes, .-malloc_bytes
	.section	.rodata
	.align	2
.LC7:
	.ascii	"allocation failed.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	imalloc, %function
imalloc:
	@ 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, .L106
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L99
	mov	r0, #1
	bl	exit
.L99:
	ldr	r3, [fp, #-16]
	cmn	r3, #4096
	bcc	.L100
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L101
.L100:
	ldr	r3, [fp, #-16]
	cmp	r3, #2048
	bhi	.L102
	ldr	r0, [fp, #-16]
	bl	malloc_bytes
	str	r0, [fp, #-8]
	b	.L101
.L102:
	ldr	r0, [fp, #-16]
	bl	malloc_pages
	str	r0, [fp, #-8]
.L101:
	ldr	r3, .L106+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L103
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L103
	ldr	r0, .L106+8
	bl	wrterror
.L103:
	ldr	r3, .L106+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L104
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L104
	ldr	r2, [fp, #-16]
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	memset
.L104:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L107:
	.align	2
.L106:
	.word	suicide
	.word	malloc_abort
	.word	.LC7
	.word	malloc_zero
	.size	imalloc, .-imalloc
	.section	.rodata
	.align	2
.LC8:
	.ascii	"junk pointer, too low to make sense.\012\000"
	.align	2
.LC9:
	.ascii	"junk pointer, too high to make sense.\012\000"
	.align	2
.LC10:
	.ascii	"modified (page-) pointer.\012\000"
	.align	2
.LC11:
	.ascii	"modified (chunk-) pointer.\012\000"
	.align	2
.LC12:
	.ascii	"chunk is already free.\012\000"
	.align	2
.LC13:
	.ascii	"pointer to wrong page.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	irealloc, %function
irealloc:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L125
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L109
	mov	r0, #1
	bl	exit
.L109:
	ldr	r3, [fp, #-32]
	lsr	r2, r3, #12
	ldr	r3, .L125+4
	ldr	r3, [r3]
	sub	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #11
	bhi	.L110
	ldr	r0, .L125+8
	bl	wrtwarning
	mov	r3, #0
	b	.L111
.L110:
	ldr	r3, .L125+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bls	.L112
	ldr	r0, .L125+16
	bl	wrtwarning
	mov	r3, #0
	b	.L111
.L112:
	ldr	r3, .L125+20
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L113
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #20
	lsr	r3, r3, #20
	cmp	r3, #0
	beq	.L114
	ldr	r0, .L125+24
	bl	wrtwarning
	mov	r3, #0
	b	.L111
.L114:
	mov	r3, #4096
	str	r3, [fp, #-24]
	b	.L115
.L116:
	ldr	r3, [fp, #-24]
	add	r3, r3, #4096
	str	r3, [fp, #-24]
.L115:
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	cmp	r3, #3
	beq	.L116
	ldr	r3, .L125+28
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L117
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bhi	.L117
	ldr	r3, [fp, #-24]
	sub	r3, r3, #4096
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	bls	.L117
	ldr	r3, [fp, #-32]
	b	.L111
.L113:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	cmp	r3, #3
	bls	.L118
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldrh	r3, [r3, #8]
	sub	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-32]
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L119
	ldr	r0, .L125+32
	bl	wrtwarning
	mov	r3, #0
	b	.L111
.L119:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #20
	lsr	r3, r3, #20
	ldr	r2, [fp, #-20]
	ldr	r2, [r2]
	ldrh	r2, [r2, #10]
	lsr	r3, r3, r2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	lsr	r2, r2, #5
	add	r2, r2, #4
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-12]
	and	r2, r2, #31
	mov	r1, #1
	lsl	r2, r1, r2
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L120
	ldr	r0, .L125+36
	bl	wrtwarning
	mov	r3, #0
	b	.L111
.L120:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldrh	r3, [r3, #8]
	str	r3, [fp, #-24]
	ldr	r3, .L125+28
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L117
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bcs	.L117
	ldr	r3, [fp, #-24]
	lsr	r3, r3, #1
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	bhi	.L121
	ldr	r3, [fp, #-24]
	cmp	r3, #16
	bne	.L117
.L121:
	ldr	r3, [fp, #-32]
	b	.L111
.L118:
	ldr	r0, .L125+40
	bl	wrtwarning
	mov	r3, #0
	b	.L111
.L117:
	ldr	r0, [fp, #-36]
	bl	imalloc
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L122
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L123
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L123
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	bcs	.L124
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-8]
	bl	memcpy
	b	.L123
.L124:
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-8]
	bl	memcpy
.L123:
	ldr	r0, [fp, #-32]
	bl	ifree
.L122:
	ldr	r3, [fp, #-8]
.L111:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L126:
	.align	2
.L125:
	.word	suicide
	.word	malloc_origo
	.word	.LC8
	.word	last_index
	.word	.LC9
	.word	page_dir
	.word	.LC10
	.word	malloc_realloc
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	irealloc, .-irealloc
	.section	.rodata
	.align	2
.LC14:
	.ascii	"page is already free.\012\000"
	.align	2
.LC15:
	.ascii	"freelist is destroyed.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	free_pages, %function
free_pages:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-40]
	cmp	r3, #1
	bne	.L128
	ldr	r0, .L148
	bl	wrtwarning
	b	.L127
.L128:
	ldr	r3, [fp, #-40]
	cmp	r3, #2
	beq	.L130
	ldr	r0, .L148+4
	bl	wrtwarning
	b	.L127
.L130:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #20
	lsr	r3, r3, #20
	cmp	r3, #0
	beq	.L131
	ldr	r0, .L148+8
	bl	wrtwarning
	b	.L127
.L131:
	ldr	r3, .L148+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3]
	mov	r3, #1
	str	r3, [fp, #-24]
	b	.L132
.L133:
	ldr	r3, .L148+12
	ldr	r2, [r3]
	ldr	r1, [fp, #-36]
	ldr	r3, [fp, #-24]
	add	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L132:
	ldr	r3, .L148+12
	ldr	r2, [r3]
	ldr	r1, [fp, #-36]
	ldr	r3, [fp, #-24]
	add	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #3
	beq	.L133
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #12
	str	r3, [fp, #-12]
	ldr	r3, .L148+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L134
	ldr	r2, [fp, #-12]
	mov	r1, #208
	ldr	r0, [fp, #-32]
	bl	memset
.L134:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, .L148+20
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L135
	mov	r0, #20
	bl	imalloc
	mov	r3, r0
	ldr	r2, .L148+20
	str	r3, [r2]
.L135:
	ldr	r3, .L148+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	str	r2, [r3, #8]
	ldr	r3, .L148+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #12]
	ldr	r3, .L148+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #16]
	ldr	r3, .L148+24
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L136
	ldr	r3, .L148+20
	ldr	r3, [r3]
	ldr	r2, .L148+24
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, .L148+20
	ldr	r3, [r3]
	ldr	r2, .L148+24
	str	r2, [r3, #4]
	ldr	r3, .L148+20
	ldr	r3, [r3]
	ldr	r2, .L148+24
	str	r3, [r2]
	ldr	r3, .L148+20
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, .L148+20
	mov	r2, #0
	str	r2, [r3]
	b	.L137
.L136:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, .L148+24
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	b	.L138
.L140:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	str	r3, [fp, #-20]
.L138:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bls	.L139
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L140
.L139:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bcs	.L141
	ldr	r3, .L148+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	ldr	r3, .L148+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	ldr	r2, [r2, #4]
	str	r2, [r3, #4]
	ldr	r3, .L148+20
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	str	r2, [r3, #4]
	ldr	r3, .L148+20
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L148+20
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, .L148+20
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, .L148+20
	mov	r2, #0
	str	r2, [r3]
	b	.L137
.L141:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bne	.L142
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-12]
	add	r2, r2, r3
	ldr	r3, [fp, #-20]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-12]
	add	r2, r2, r3
	ldr	r3, [fp, #-20]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L137
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	bne	.L137
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-20]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	add	r2, r2, r3
	ldr	r3, [fp, #-20]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L137
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #4]
	b	.L137
.L142:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L143
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-12]
	add	r2, r2, r3
	ldr	r3, [fp, #-20]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	str	r2, [r3, #8]
	b	.L137
.L143:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L144
	ldr	r3, .L148+20
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L148+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #4]
	ldr	r3, .L148+20
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	str	r2, [r3]
	ldr	r3, .L148+20
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, .L148+20
	mov	r2, #0
	str	r2, [r3]
	b	.L137
.L144:
	ldr	r0, .L148+28
	bl	wrterror
.L137:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L145
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #16]
	ldr	r3, .L148+32
	ldr	r3, [r3]
	cmp	r2, r3
	bls	.L145
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #12]
	ldr	r3, .L148+36
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L145
	mov	r0, #0
	bl	sbrk
	mov	r2, r0
	ldr	r3, .L148+36
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L145
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #8]
	ldr	r3, .L148+32
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, [fp, #-20]
	str	r2, [r3, #12]
	ldr	r3, .L148+32
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	brk
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #12]
	ldr	r2, .L148+36
	str	r3, [r2]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #12]
	lsr	r2, r3, #12
	ldr	r3, .L148+40
	ldr	r3, [r3]
	sub	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	mov	r2, r3
	ldr	r3, .L148+44
	str	r2, [r3]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-24]
	b	.L146
.L147:
	ldr	r3, .L148+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r1, r3, #1
	str	r1, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
.L146:
	ldr	r3, .L148+44
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bls	.L147
.L145:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L127
	ldr	r0, [fp, #-16]
	bl	ifree
.L127:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L149:
	.align	2
.L148:
	.word	.LC14
	.word	.LC13
	.word	.LC10
	.word	page_dir
	.word	malloc_junk
	.word	px
	.word	free_list
	.word	.LC15
	.word	malloc_cache
	.word	malloc_brk
	.word	malloc_origo
	.word	last_index
	.size	free_pages, .-free_pages
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	free_bytes, %function
free_bytes:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #20
	lsr	r3, r3, #20
	ldr	r2, [fp, #-32]
	ldrh	r2, [r2, #10]
	lsr	r3, r3, r2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-32]
	ldrh	r3, [r3, #8]
	sub	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-24]
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L151
	ldr	r0, .L164
	bl	wrtwarning
	b	.L150
.L151:
	ldr	r3, [fp, #-12]
	lsr	r2, r3, #5
	ldr	r3, [fp, #-32]
	add	r2, r2, #4
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-12]
	and	r2, r2, #31
	mov	r1, #1
	lsl	r2, r1, r2
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L153
	ldr	r0, .L164+4
	bl	wrtwarning
	b	.L150
.L153:
	ldr	r3, .L164+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L154
	ldr	r3, [fp, #-32]
	ldrh	r3, [r3, #8]
	mov	r2, r3
	mov	r1, #208
	ldr	r0, [fp, #-24]
	bl	memset
.L154:
	ldr	r3, [fp, #-12]
	lsr	r3, r3, #5
	ldr	r2, [fp, #-32]
	add	r1, r3, #4
	ldr	r2, [r2, r1, lsl #2]
	ldr	r1, [fp, #-12]
	and	r1, r1, #31
	mov	r0, #1
	lsl	r1, r0, r1
	orr	r1, r2, r1
	ldr	r2, [fp, #-32]
	add	r3, r3, #4
	str	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-32]
	ldrh	r3, [r3, #12]
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-32]
	strh	r2, [r3, #12]	@ movhi
	ldr	r3, .L164+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	ldrh	r3, [r3, #10]
	lsl	r3, r3, #2
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	ldrh	r3, [r3, #12]
	cmp	r3, #1
	bne	.L155
	ldr	r3, .L164+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	ldrh	r3, [r3, #10]
	lsl	r3, r3, #2
	add	r3, r2, r3
	str	r3, [fp, #-16]
	b	.L156
.L158:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
.L156:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L157
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L157
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bcc	.L158
.L157:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-32]
	str	r2, [r3]
	b	.L150
.L155:
	ldr	r3, [fp, #-32]
	ldrh	r2, [r3, #12]
	ldr	r3, [fp, #-32]
	ldrh	r3, [r3, #14]
	cmp	r2, r3
	bne	.L163
	b	.L160
.L161:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
.L160:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bne	.L161
	ldr	r3, [fp, #-32]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, .L164+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #4]
	lsr	r1, r3, #12
	ldr	r3, .L164+16
	ldr	r3, [r3]
	sub	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #2
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	beq	.L162
	ldr	r0, [fp, #-32]
	bl	ifree
.L162:
	ldr	r0, [fp, #-8]
	bl	ifree
	b	.L150
.L163:
	nop
.L150:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L165:
	.align	2
.L164:
	.word	.LC11
	.word	.LC12
	.word	malloc_junk
	.word	page_dir
	.word	malloc_origo
	.size	free_bytes, .-free_bytes
	.section	.rodata
	.align	2
.LC16:
	.ascii	"malloc() has never been called.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ifree, %function
ifree:
	@ 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]
	cmp	r3, #0
	beq	.L175
	ldr	r3, .L177
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L169
	ldr	r0, .L177+4
	bl	wrtwarning
	b	.L166
.L169:
	ldr	r3, .L177+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L176
	ldr	r3, [fp, #-16]
	lsr	r2, r3, #12
	ldr	r3, .L177+12
	ldr	r3, [r3]
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #11
	bhi	.L171
	ldr	r0, .L177+16
	bl	wrtwarning
	b	.L166
.L171:
	ldr	r3, .L177+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bls	.L172
	ldr	r0, .L177+24
	bl	wrtwarning
	b	.L166
.L172:
	ldr	r3, .L177+28
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	bhi	.L173
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	free_pages
	b	.L166
.L173:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	free_bytes
	b	.L166
.L175:
	nop
	b	.L166
.L176:
	nop
.L166:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L178:
	.align	2
.L177:
	.word	malloc_started
	.word	.LC16
	.word	suicide
	.word	malloc_origo
	.word	.LC8
	.word	last_index
	.word	.LC9
	.word	page_dir
	.size	ifree, .-ifree
	.section	.rodata
	.align	2
.LC17:
	.ascii	" in malloc():\000"
	.align	2
.LC18:
	.ascii	"recursive call.\012\000"
	.align	2
.LC19:
	.ascii	"out of memory.\012\000"
	.text
	.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	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-16]
	ldr	r3, .L186
	ldr	r2, .L186+4
	str	r2, [r3]
	ldr	r3, .L186+8
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L186+8
	str	r2, [r1]
	cmp	r3, #0
	beq	.L180
	ldr	r0, .L186+12
	bl	wrtwarning
	ldr	r3, .L186+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L186+8
	str	r3, [r2]
	mov	r3, #0
	b	.L181
.L180:
	ldr	r3, .L186+16
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L182
	bl	malloc_init
.L182:
	ldr	r3, .L186+20
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L183
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L183
	mov	r4, #0
	b	.L184
.L183:
	ldr	r0, [fp, #-16]
	bl	imalloc
	mov	r4, r0
.L184:
	ldr	r3, .L186+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L186+8
	str	r3, [r2]
	ldr	r3, .L186+24
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L185
	cmp	r4, #0
	bne	.L185
	ldr	r0, .L186+28
	bl	wrterror
.L185:
	mov	r3, r4
.L181:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L187:
	.align	2
.L186:
	.word	malloc_func
	.word	.LC17
	.word	malloc_active
	.word	.LC18
	.word	malloc_started
	.word	malloc_sysv
	.word	malloc_xmalloc
	.word	.LC19
	.size	malloc, .-malloc
	.section	.rodata
	.align	2
.LC20:
	.ascii	" in free():\000"
	.text
	.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, .L191
	ldr	r2, .L191+4
	str	r2, [r3]
	ldr	r3, .L191+8
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L191+8
	str	r2, [r1]
	cmp	r3, #0
	beq	.L189
	ldr	r0, .L191+12
	bl	wrtwarning
	ldr	r3, .L191+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L191+8
	str	r3, [r2]
	b	.L188
.L189:
	ldr	r0, [fp, #-8]
	bl	ifree
	ldr	r3, .L191+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L191+8
	str	r3, [r2]
	nop
.L188:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L192:
	.align	2
.L191:
	.word	malloc_func
	.word	.LC20
	.word	malloc_active
	.word	.LC18
	.size	free, .-free
	.section	.rodata
	.align	2
.LC21:
	.ascii	" in realloc():\000"
	.text
	.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	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, .L202
	ldr	r2, .L202+4
	str	r2, [r3]
	ldr	r3, .L202+8
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L202+8
	str	r2, [r1]
	cmp	r3, #0
	beq	.L194
	ldr	r0, .L202+12
	bl	wrtwarning
	ldr	r3, .L202+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L202+8
	str	r3, [r2]
	mov	r3, #0
	b	.L195
.L194:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L196
	ldr	r3, .L202+16
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L196
	ldr	r0, .L202+20
	bl	wrtwarning
	mov	r3, #0
	str	r3, [fp, #-16]
.L196:
	ldr	r3, .L202+16
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L197
	bl	malloc_init
.L197:
	ldr	r3, .L202+24
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L198
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L198
	ldr	r0, [fp, #-16]
	bl	ifree
	mov	r4, #0
	b	.L199
.L198:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L200
	ldr	r0, [fp, #-20]
	bl	imalloc
	mov	r4, r0
	b	.L199
.L200:
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	irealloc
	mov	r4, r0
.L199:
	ldr	r3, .L202+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L202+8
	str	r3, [r2]
	ldr	r3, .L202+28
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L201
	cmp	r4, #0
	bne	.L201
	ldr	r0, .L202+32
	bl	wrterror
.L201:
	mov	r3, r4
.L195:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L203:
	.align	2
.L202:
	.word	malloc_func
	.word	.LC21
	.word	malloc_active
	.word	.LC18
	.word	malloc_started
	.word	.LC16
	.word	malloc_sysv
	.word	malloc_xmalloc
	.word	.LC19
	.size	realloc, .-realloc
	.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
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L205
	mov	r3, #0
	b	.L206
.L205:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-20]
	mul	r3, r2, r3
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	memset
	ldr	r3, [fp, #-8]
.L206:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	calloc, .-calloc
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
