	.file	"extr_tc.alloc.c_free.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"free(%p) called before any allocations."
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"free(%p) above top of memory."
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"free(%p) below bottom of memory."
	.section	.rodata.str1.1
.LC3:
	.string	"free(%p) bad block."
.LC4:
	.string	"free(%p) bad block index."
	.text
	.p2align 4
	.globl	free
	.type	free, @function
free:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L9
	cmp	QWORD PTR dont_free[rip], 0
	je	.L13
.L9:
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	esi, 2
	mov	r12, rdi
	lea	rdx, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	edi, 19
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	CGETS@PLT
	cmp	QWORD PTR memtop[rip], 0
	mov	edi, 1
	mov	esi, eax
	je	.L3
	xor	edi, edi
	cmp	QWORD PTR membot[rip], 0
	sete	dil
.L3:
	mov	rdx, r12
	mov	rbx, r12
	call	CHECK@PLT
	mov	esi, 3
	mov	edi, 19
	lea	rdx, .LC1[rip]
	call	CGETS@PLT
	xor	edi, edi
	cmp	r12, QWORD PTR memtop[rip]
	mov	rdx, r12
	seta	dil
	mov	esi, eax
	call	CHECK@PLT
	mov	esi, 4
	mov	edi, 19
	lea	rdx, .LC2[rip]
	call	CGETS@PLT
	xor	edi, edi
	cmp	r12, QWORD PTR membot[rip]
	mov	rdx, r12
	setb	dil
	mov	esi, eax
	call	CHECK@PLT
	mov	edi, 8
	call	MEMALIGN@PLT
	mov	esi, 5
	mov	edi, 19
	lea	rdx, .LC3[rip]
	sub	rbx, rax
	call	CGETS@PLT
	xor	edi, edi
	mov	rdx, r12
	mov	esi, eax
	mov	rax, QWORD PTR MAGIC[rip]
	cmp	QWORD PTR [rbx], rax
	setne	dil
	call	CHECK@PLT
	mov	esi, 7
	mov	edi, 19
	lea	rdx, .LC4[rip]
	call	CGETS@PLT
	xor	edi, edi
	mov	rdx, r12
	mov	esi, eax
	mov	eax, DWORD PTR NBUCKETS[rip]
	cmp	DWORD PTR [rbx], eax
	setge	dil
	call	CHECK@PLT
	movsx	rax, DWORD PTR [rbx]
	mov	rdx, QWORD PTR nextf[rip]
	lea	rdx, [rdx+rax*8]
	mov	rcx, QWORD PTR [rdx]
	mov	QWORD PTR [rbx], rcx
	mov	QWORD PTR [rdx], rbx
	mov	rdx, QWORD PTR nmalloc[rip]
	sub	DWORD PTR [rdx+rax*4], 1
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	free, .-free
	.comm	nmalloc,8,8
	.comm	nextf,8,8
	.comm	memtop,8,8
	.comm	membot,8,8
	.comm	dont_free,8,8
	.comm	RSLOP,8,8
	.comm	RMAGIC,8,8
	.comm	NBUCKETS,4,4
	.comm	MAGIC,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_tc.alloc.c_free.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"free(%p) called before any allocations.\000"
	.align	2
.LC1:
	.ascii	"free(%p) above top of memory.\000"
	.align	2
.LC2:
	.ascii	"free(%p) below bottom of memory.\000"
	.align	2
.LC3:
	.ascii	"free(%p) bad block.\000"
	.align	2
.LC4:
	.ascii	"free(%p) bad block index.\000"
	.text
	.align	2
	.global	free
	.syntax unified
	.arm
	.fpu softvfp
	.type	free, %function
free:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r4, r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r3, .L10
	ldr	r3, [r3]
	cmp	r3, #0
	popne	{r4, r5, r6, r7, r8, pc}
	ldr	r6, .L10+4
	mov	r1, #2
	ldr	r3, [r6]
	ldr	r2, .L10+8
	cmp	r3, #0
	ldrne	r7, .L10+12
	mov	r0, #19
	ldrne	r5, [r7]
	moveq	r5, #1
	clzne	r5, r5
	ldreq	r7, .L10+12
	lsrne	r5, r5, #5
	bl	CGETS
	mov	r2, r4
	mov	r1, r0
	mov	r0, r5
	bl	CHECK
	ldr	r5, [r6]
	mov	r1, #3
	cmp	r4, r5
	ldr	r2, .L10+16
	mov	r0, #19
	movls	r5, #0
	movhi	r5, #1
	bl	CGETS
	mov	r2, r4
	mov	r1, r0
	mov	r0, r5
	bl	CHECK
	ldr	r5, [r7]
	mov	r1, #4
	cmp	r4, r5
	ldr	r2, .L10+20
	mov	r0, #19
	movcs	r5, #0
	movcc	r5, #1
	bl	CGETS
	mov	r2, r4
	mov	r1, r0
	mov	r0, r5
	bl	CHECK
	mov	r0, #4
	bl	MEMALIGN
	ldr	r3, .L10+24
	sub	r5, r4, r0
	ldr	r3, [r3]
	ldr	r6, [r5]
	mov	r1, #5
	subs	r6, r6, r3
	ldr	r2, .L10+28
	mov	r0, #19
	movne	r6, #1
	bl	CGETS
	mov	r2, r4
	mov	r1, r0
	mov	r0, r6
	bl	CHECK
	ldr	r3, .L10+32
	ldr	r6, [r5]
	ldr	r3, [r3]
	mov	r1, #7
	cmp	r6, r3
	ldr	r2, .L10+36
	mov	r0, #19
	movlt	r6, #0
	movge	r6, #1
	bl	CGETS
	mov	r2, r4
	mov	r1, r0
	mov	r0, r6
	bl	CHECK
	ldr	r2, .L10+40
	ldr	r3, [r5]
	ldr	r0, [r2]
	ldr	r1, .L10+44
	ldr	r2, [r0, r3, lsl #2]
	ldr	r1, [r1]
	str	r2, [r5]
	ldr	r2, [r1, r3, lsl #2]
	str	r5, [r0, r3, lsl #2]
	sub	r2, r2, #1
	str	r2, [r1, r3, lsl #2]
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	.align	2
.L10:
	.word	dont_free
	.word	memtop
	.word	.LC0
	.word	membot
	.word	.LC1
	.word	.LC2
	.word	MAGIC
	.word	.LC3
	.word	NBUCKETS
	.word	.LC4
	.word	nextf
	.word	nmalloc
	.size	free, .-free
	.comm	nmalloc,4,4
	.comm	nextf,4,4
	.comm	memtop,4,4
	.comm	membot,4,4
	.comm	dont_free,4,4
	.comm	RSLOP,4,4
	.comm	RMAGIC,4,4
	.comm	NBUCKETS,4,4
	.comm	MAGIC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
