	.file	"8139.c"
	.intel_syntax noprefix
	.text
	.local	base
	.comm	base,16,16
	.local	free_p
	.comm	free_p,8,8
	.section	.rodata
	.align 8
.LC0:
	.string	"Error: malloc faild to allocate the requrested memory."
	.align 8
.LC1:
	.string	"Error: calloc faild to allocate the requrested memory."
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1072
	mov	DWORD PTR -1060[rbp], edi
	mov	QWORD PTR -1072[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 27
	call	c_malloc
	mov	QWORD PTR -1056[rbp], rax
	cmp	QWORD PTR -1056[rbp], 0
	jne	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L5
.L2:
	mov	rax, QWORD PTR -1056[rbp]
	movabs	rdx, 2338615488536276803
	movabs	rcx, 7809643214879552102
	mov	QWORD PTR [rax], rdx
	mov	QWORD PTR 8[rax], rcx
	movabs	rcx, 7310016643070127980
	mov	QWORD PTR 16[rax], rcx
	mov	WORD PTR 24[rax], 46
	mov	rax, QWORD PTR -1056[rbp]
	mov	rdi, rax
	call	puts@PLT
	mov	rax, QWORD PTR -1056[rbp]
	mov	rdi, rax
	call	c_free
	mov	esi, 1
	mov	edi, 27
	call	c_calloc
	mov	QWORD PTR -1048[rbp], rax
	cmp	QWORD PTR -1048[rbp], 0
	jne	.L4
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L5
.L4:
	mov	rax, QWORD PTR -1048[rbp]
	movabs	rsi, 2338615488536276803
	movabs	rdi, 7809632219763274342
	mov	QWORD PTR [rax], rsi
	mov	QWORD PTR 8[rax], rdi
	movabs	rsi, 7310016643070127980
	mov	QWORD PTR 16[rax], rsi
	mov	WORD PTR 24[rax], 46
	mov	rax, QWORD PTR -1048[rbp]
	mov	rdi, rax
	call	puts@PLT
	mov	rax, QWORD PTR -1048[rbp]
	mov	rdi, rax
	call	c_free
	movabs	rax, 8315179969498935123
	movabs	rdx, 7954892334483841140
	mov	QWORD PTR -1040[rbp], rax
	mov	QWORD PTR -1032[rbp], rdx
	movabs	rax, 13059390930690164
	mov	edx, 0
	mov	QWORD PTR -1024[rbp], rax
	mov	QWORD PTR -1016[rbp], rdx
	lea	rdx, -1008[rbp]
	mov	eax, 0
	mov	ecx, 124
	mov	rdi, rdx
	rep stosq
	lea	rax, -1040[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	c_bfree
	mov	eax, 0
.L5:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC2:
	.string	"Error(free): invalid block size %zu\n"
	.text
	.globl	c_free
	.type	c_free, @function
c_free:
.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
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, 16
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L8
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	edx, 4294966271
	cmp	rax, rdx
	jne	.L9
.L8:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L7
.L9:
	mov	rax, QWORD PTR free_p[rip]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L11
.L14:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -16[rbp], rax
	jb	.L12
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -16[rbp]
	ja	.L13
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -8[rbp], rax
	jb	.L13
.L12:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
.L11:
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -16[rbp]
	jbe	.L14
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -8[rbp], rax
	jnb	.L14
.L13:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	rdx, rax
	jne	.L15
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L16
.L15:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
.L16:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	cmp	QWORD PTR -8[rbp], rax
	jne	.L17
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	add	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L18
.L17:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
.L18:
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR free_p[rip], rax
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	c_free, .-c_free
	.section	.rodata
	.align 8
.LC3:
	.string	"Error: block must be at least of size %d\n"
	.text
	.globl	c_bfree
	.type	c_bfree, @function
c_bfree:
.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	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	cmp	QWORD PTR -32[rbp], 1023
	ja	.L20
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, 1024
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L19
.L20:
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	shr	rax, 4
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 16
	mov	rdi, rax
	call	c_free
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	c_bfree, .-c_bfree
	.section	.rodata
	.align 8
.LC4:
	.string	"Error(malloc): invalid size %zu\n"
	.text
	.globl	c_malloc
	.type	c_malloc, @function
c_malloc:
.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
	cmp	QWORD PTR -40[rbp], 0
	je	.L23
	mov	eax, 4294966270
	cmp	QWORD PTR -40[rbp], rax
	jbe	.L24
.L23:
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -40[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L25
.L24:
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 15
	shr	rax, 4
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR free_p[rip]
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L26
	lea	rax, base[rip]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR free_p[rip], rax
	mov	rax, QWORD PTR free_p[rip]
	mov	QWORD PTR base[rip], rax
	mov	QWORD PTR base[rip+8], 0
.L26:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -24[rbp], rax
.L31:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	cmp	QWORD PTR -8[rbp], rax
	ja	.L27
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	cmp	QWORD PTR -8[rbp], rax
	jne	.L28
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L29
.L28:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	sub	rax, QWORD PTR -8[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	sal	rax, 4
	add	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
.L29:
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR free_p[rip], rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 16
	jmp	.L25
.L27:
	mov	rax, QWORD PTR free_p[rip]
	cmp	QWORD PTR -24[rbp], rax
	jne	.L30
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	c_morecore
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L30
	mov	eax, 0
	jmp	.L25
.L30:
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L31
.L25:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	c_malloc, .-c_malloc
	.globl	c_calloc
	.type	c_calloc, @function
c_calloc:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -8[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	imul	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	c_malloc
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L33
	mov	eax, 0
	jmp	.L34
.L33:
	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]
.L34:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	c_calloc, .-c_calloc
	.globl	c_morecore
	.type	c_morecore, @function
c_morecore:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	cmp	QWORD PTR -24[rbp], 1023
	ja	.L36
	mov	QWORD PTR -24[rbp], 1024
.L36:
	mov	rax, QWORD PTR -24[rbp]
	sal	rax, 4
	mov	rdi, rax
	call	sbrk@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], -1
	jne	.L37
	mov	eax, 0
	jmp	.L38
.L37:
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 16
	mov	rdi, rax
	call	c_free
	mov	rax, QWORD PTR free_p[rip]
.L38:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	c_morecore, .-c_morecore
	.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	"8139.c"
	.text
	.local	base
	.comm	base,8,4
	.local	free_p
	.comm	free_p,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Error: malloc faild to allocate the requrested memo"
	.ascii	"ry.\000"
	.align	2
.LC1:
	.ascii	"Content from malloc here.\000"
	.align	2
.LC2:
	.ascii	"Error: calloc faild to allocate the requrested memo"
	.ascii	"ry.\000"
	.align	2
.LC3:
	.ascii	"Content from calloc here.\000"
	.align	2
.LC4:
	.ascii	"Some test content here.\000"
	.space	1000
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1048
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1040
	sub	sp, sp, #8
	str	r0, [fp, #-1048]
	str	r1, [fp, #-1052]
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #27
	bl	c_malloc
	str	r0, [fp, #-1040]
	ldr	r3, [fp, #-1040]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L7+4
	bl	puts
	mov	r3, #1
	b	.L5
.L2:
	ldr	r3, [fp, #-1040]
	ldr	r2, .L7+8
	mov	r0, r3
	mov	r1, r2
	mov	r3, #26
	mov	r2, r3
	bl	memcpy
	ldr	r0, [fp, #-1040]
	bl	puts
	ldr	r0, [fp, #-1040]
	bl	c_free
	mov	r1, #1
	mov	r0, #27
	bl	c_calloc
	str	r0, [fp, #-1036]
	ldr	r3, [fp, #-1036]
	cmp	r3, #0
	bne	.L4
	ldr	r0, .L7+12
	bl	puts
	mov	r3, #1
	b	.L5
.L4:
	ldr	r3, [fp, #-1036]
	ldr	r2, .L7+16
	mov	r0, r3
	mov	r1, r2
	mov	r3, #26
	mov	r2, r3
	bl	memcpy
	ldr	r0, [fp, #-1036]
	bl	puts
	ldr	r0, [fp, #-1036]
	bl	c_free
	ldr	r3, .L7+20
	sub	ip, fp, #1024
	sub	ip, ip, #4
	sub	ip, ip, #4
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	sub	r3, fp, #1008
	mov	r2, #1000
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, #1024
	mov	r0, r3
	bl	c_bfree
	mov	r3, #0
.L5:
	ldr	r2, .L7
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.section	.rodata
	.align	2
.LC6:
	.ascii	"Error(free): invalid block size %zu\012\000"
	.text
	.align	2
	.global	c_free
	.syntax unified
	.arm
	.fpu softvfp
	.type	c_free, %function
c_free:
	@ 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]
	sub	r3, r3, #8
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mvn	r2, #1024
	cmp	r3, r2
	bne	.L11
.L10:
	ldr	r3, .L21
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r1, .L21+4
	bl	fprintf
	b	.L9
.L11:
	ldr	r3, .L21+8
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	b	.L13
.L16:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bcc	.L14
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bhi	.L15
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bcc	.L15
.L14:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
.L13:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bls	.L16
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bcs	.L16
.L15:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-8]
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L17
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	b	.L18
.L17:
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	str	r2, [r3]
.L18:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L19
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	b	.L20
.L19:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
.L20:
	ldr	r2, .L21+8
	ldr	r3, [fp, #-12]
	str	r3, [r2]
.L9:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	stderr
	.word	.LC6
	.word	free_p
	.size	c_free, .-c_free
	.section	.rodata
	.align	2
.LC7:
	.ascii	"Error: block must be at least of size %d\012\000"
	.text
	.align	2
	.global	c_bfree
	.syntax unified
	.arm
	.fpu softvfp
	.type	c_bfree, %function
c_bfree:
	@ 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, #-20]
	cmp	r3, #1024
	bcs	.L24
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #1024
	ldr	r1, .L26+4
	mov	r0, r3
	bl	fprintf
	b	.L23
.L24:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	lsr	r3, r3, #3
	sub	r2, r3, #1
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
	mov	r0, r3
	bl	c_free
.L23:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	stderr
	.word	.LC7
	.size	c_bfree, .-c_bfree
	.section	.rodata
	.align	2
.LC8:
	.ascii	"Error(malloc): invalid size %zu\012\000"
	.text
	.align	2
	.global	c_malloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	c_malloc, %function
c_malloc:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L29
	ldr	r3, [fp, #-24]
	mvn	r2, #1024
	cmp	r3, r2
	bcc	.L30
.L29:
	ldr	r3, .L38
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	ldr	r1, .L38+4
	mov	r0, r3
	bl	fprintf
	mov	r3, #0
	b	.L31
.L30:
	ldr	r3, [fp, #-24]
	add	r3, r3, #7
	lsr	r3, r3, #3
	str	r3, [fp, #-8]
	ldr	r3, .L38+8
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L32
	ldr	r3, .L38+12
	str	r3, [fp, #-12]
	ldr	r2, .L38+8
	ldr	r3, [fp, #-12]
	str	r3, [r2]
	ldr	r3, .L38+8
	ldr	r3, [r3]
	ldr	r2, .L38+12
	str	r3, [r2]
	ldr	r3, .L38+12
	mov	r2, #0
	str	r2, [r3, #4]
.L32:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
.L37:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bhi	.L33
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L34
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	b	.L35
.L34:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	sub	r2, r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
.L35:
	ldr	r2, .L38+8
	ldr	r3, [fp, #-12]
	str	r3, [r2]
	ldr	r3, [fp, #-16]
	add	r3, r3, #8
	b	.L31
.L33:
	ldr	r3, .L38+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L36
	ldr	r0, [fp, #-8]
	bl	c_morecore
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L36
	mov	r3, #0
	b	.L31
.L36:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	b	.L37
.L31:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	stderr
	.word	.LC8
	.word	free_p
	.word	base
	.size	c_malloc, .-c_malloc
	.align	2
	.global	c_calloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	c_calloc, %function
c_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]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-20]
	mul	r3, r2, r3
	mov	r0, r3
	bl	c_malloc
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L41
	mov	r3, #0
	b	.L42
.L41:
	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]
.L42:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	c_calloc, .-c_calloc
	.align	2
	.global	c_morecore
	.syntax unified
	.arm
	.fpu softvfp
	.type	c_morecore, %function
c_morecore:
	@ 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, #1024
	bcs	.L44
	mov	r3, #1024
	str	r3, [fp, #-16]
.L44:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	sbrk
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L45
	mov	r3, #0
	b	.L46
.L45:
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
	mov	r0, r3
	bl	c_free
	ldr	r3, .L47
	ldr	r3, [r3]
.L46:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L48:
	.align	2
.L47:
	.word	free_p
	.size	c_morecore, .-c_morecore
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
