	.file	"extr_multi_heap.c_multi_heap_register_impl.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	multi_heap_register_impl
	.type	multi_heap_register_impl, @function
multi_heap_register_impl:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	ALIGN_UP@PLT
	lea	rdi, 0[rbp+r12]
	mov	rbx, rax
	call	ALIGN@PLT
	mov	rcx, rax
	mov	rdx, rax
	sub	rcx, rbx
	cmp	rbx, rax
	ja	.L3
	cmp	rcx, 79
	jbe	.L3
	lea	rdi, -16[rdx]
	lea	r8, 48[rbx]
	sub	rcx, 72
	mov	rax, rbx
	mov	rsi, QWORD PTR BLOCK_FREE_FLAG[rip]
	mov	r9, rdi
	mov	QWORD PTR 40[rbx], 0
	mov	QWORD PTR 32[rbx], rdi
	or	r9, rsi
	mov	QWORD PTR 56[rbx], rdi
	mov	QWORD PTR 48[rbx], r9
	mov	QWORD PTR -16[rdx], rsi
	or	rsi, r8
	mov	QWORD PTR -8[rdx], 0
	mov	QWORD PTR 16[rbx], rsi
	mov	QWORD PTR 24[rbx], r8
	mov	QWORD PTR [rbx], rcx
	mov	QWORD PTR 8[rbx], rcx
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	multi_heap_register_impl, .-multi_heap_register_impl
	.comm	BLOCK_FREE_FLAG,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_multi_heap.c_multi_heap_register_impl.c"
	.text
	.align	2
	.global	multi_heap_register_impl
	.syntax unified
	.arm
	.fpu softvfp
	.type	multi_heap_register_impl, %function
multi_heap_register_impl:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r5, r0
	bl	ALIGN_UP
	mov	r3, r0
	add	r0, r5, r4
	mov	r4, r3
	bl	ALIGN
	sub	r1, r0, r4
	cmp	r1, #39
	movhi	r2, #0
	movls	r2, #1
	cmp	r4, r0
	orrhi	r2, r2, #1
	cmp	r2, #0
	movne	r3, #0
	bne	.L1
	mov	r3, r4
	ldr	ip, .L6
	sub	lr, r0, #8
	ldr	r4, [ip]
	add	ip, r3, #24
	orr	r5, lr, r4
	str	r5, [r3, #24]
	sub	r1, r1, #36
	orr	r5, ip, r4
	str	r2, [r3, #20]
	str	lr, [r3, #16]
	str	lr, [r3, #28]
	str	r4, [r0, #-8]
	str	r2, [r0, #-4]
	str	r5, [r3, #8]
	str	ip, [r3, #12]
	str	r1, [r3]
	str	r1, [r3, #4]
.L1:
	mov	r0, r3
	pop	{r4, r5, r6, pc}
.L7:
	.align	2
.L6:
	.word	BLOCK_FREE_FLAG
	.size	multi_heap_register_impl, .-multi_heap_register_impl
	.comm	BLOCK_FREE_FLAG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
