	.file	"extr_blist.c_blst_meta_free.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"blst_meta_free: freeing already free blocks (%d) %d/%d"
	.align 8
.LC1:
	.string	"blst_meta_free: freeing unexpected range"
	.text
	.p2align 4
	.type	blst_meta_free, @function
blst_meta_free:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r10d, ecx
	movsx	rdx, edx
	mov	r15d, r8d
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, r8d
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, r9d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, esi
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	ecx, DWORD PTR BLIST_META_RADIX_SHIFT[rip]
	mov	rax, QWORD PTR 8[rdi]
	sar	r13d, cl
	test	rax, rax
	jne	.L2
	mov	QWORD PTR 8[rdi], rdx
	mov	DWORD PTR [r14], edx
	cmp	edx, r10d
	je	.L3
	test	r8d, r8d
	jle	.L3
	movsx	rax, r13d
	mov	edx, 1
	lea	rsi, [rax+rax*2]
	lea	rax, 24[rdi]
	sal	rsi, 3
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L5:
	add	edx, r13d
	mov	QWORD PTR 8[rax], 0
	add	rax, rsi
	cmp	r15d, edx
	jl	.L19
.L7:
	cmp	DWORD PTR [rax], -1
	je	.L19
	mov	DWORD PTR [rax], 0
	cmp	r13d, 1
	jne	.L5
	add	edx, r13d
	mov	QWORD PTR 16[rax], 0
	add	rax, rsi
	cmp	r15d, edx
	jge	.L7
	.p2align 4,,10
	.p2align 3
.L19:
	mov	rdx, QWORD PTR 8[r14]
.L3:
	movsx	rax, r10d
	cmp	rax, rdx
	je	.L1
	jl	.L21
.L9:
	mov	eax, ebx
	sar	r10d, cl
	sub	eax, r12d
	mov	r9d, r10d
	mov	ecx, r10d
	cdq
	idiv	r10d
	imul	r9d, eax
	imul	eax, r13d
	add	r12d, r9d
	lea	r11d, 1[rax]
	cmp	r15d, r11d
	jl	.L1
	lea	edx, 0[rbp+rbx]
	cmp	r12d, edx
	jge	.L1
	movsx	rdx, r13d
	cdqe
	mov	DWORD PTR 4[rsp], ecx
	lea	rax, 3[rax+rax*2]
	lea	rdx, [rdx+rdx*2]
	mov	DWORD PTR [rsp], r13d
	lea	r10, [r14+rax*8]
	lea	eax, -1[r13]
	mov	DWORD PTR 12[rsp], r15d
	mov	r15d, ebx
	lea	rdi, 0[0+rdx*8]
	mov	DWORD PTR 24[rsp], eax
	mov	r13, r10
	mov	ebx, r11d
	mov	QWORD PTR 16[rsp], rdi
.L15:
	mov	r9d, r12d
	add	r12d, DWORD PTR 4[rsp]
	mov	edx, r12d
	sub	edx, r15d
	cmp	edx, ebp
	cmovg	edx, ebp
	cmp	DWORD PTR [r14], -1
	je	.L22
.L11:
	cmp	DWORD PTR [rsp], 1
	je	.L23
	mov	r8d, DWORD PTR 24[rsp]
	mov	ecx, DWORD PTR 4[rsp]
	mov	esi, r15d
	mov	rdi, r13
	mov	DWORD PTR 8[rsp], edx
	call	blst_meta_free
	mov	edx, DWORD PTR 8[rsp]
.L13:
	mov	eax, DWORD PTR 0[r13]
	cmp	DWORD PTR [r14], eax
	jge	.L14
	mov	DWORD PTR [r14], eax
.L14:
	mov	eax, ebp
	add	ebx, DWORD PTR [rsp]
	sub	eax, edx
	add	edx, r15d
	cmp	DWORD PTR 12[rsp], ebx
	jl	.L1
	add	ebp, r15d
	add	r13, QWORD PTR 16[rsp]
	cmp	r12d, ebp
	jge	.L1
	mov	ebp, eax
	mov	r15d, edx
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L23:
	mov	esi, r15d
	mov	rdi, r13
	mov	DWORD PTR 8[rsp], edx
	call	blst_leaf_free@PLT
	mov	edx, DWORD PTR 8[rsp]
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L1:
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	lea	rdi, .LC1[rip]
	xor	eax, eax
	mov	DWORD PTR 28[rsp], r9d
	mov	DWORD PTR 8[rsp], edx
	call	panic@PLT
	mov	r9d, DWORD PTR 28[rsp]
	mov	edx, DWORD PTR 8[rsp]
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L2:
	add	rdx, rax
	mov	QWORD PTR 8[rdi], rdx
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L21:
	mov	ecx, r10d
	mov	esi, ebp
	lea	rdi, .LC0[rip]
	xor	eax, eax
	mov	DWORD PTR [rsp], r10d
	call	panic@PLT
	mov	ecx, DWORD PTR BLIST_META_RADIX_SHIFT[rip]
	mov	r10d, DWORD PTR [rsp]
	jmp	.L9
	.cfi_endproc
.LFE0:
	.size	blst_meta_free, .-blst_meta_free
	.comm	BLIST_META_RADIX_SHIFT,4,4
	.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_blist.c_blst_meta_free.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"blst_meta_free: freeing already free blocks (%d) %d"
	.ascii	"/%d\000"
	.global	__aeabi_idiv
	.align	2
.LC1:
	.ascii	"blst_meta_free: freeing unexpected range\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	blst_meta_free, %function
blst_meta_free:
	@ args = 8, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r6, .L26
	sub	sp, sp, #28
	mov	r7, r0
	ldr	r0, [r0, #4]
	mov	fp, r3
	ldr	ip, [r6]
	ldr	r3, [sp, #64]
	cmp	r0, #0
	mov	r4, r1
	mov	r5, r2
	ldr	r10, [sp, #68]
	asr	r9, r3, ip
	bne	.L2
	cmp	r2, fp
	str	r2, [r7, #4]
	str	r2, [r7]
	beq	.L1
	cmp	r3, #0
	ble	.L4
	mov	r2, r0
	mov	r0, #1
	add	lr, r9, r9, lsl r0
	mov	r1, r7
	mov	r8, r3
	lsl	lr, lr, #2
	b	.L9
.L5:
	cmp	r9, #1
	add	r0, r0, r9
	streq	r2, [r1, #20]
	strne	r2, [r1, #16]
	cmp	r8, r0
	str	r2, [r1, #12]
	add	r1, r1, lr
	blt	.L21
.L9:
	ldr	r3, [r1, #12]
	cmn	r3, #1
	bne	.L5
.L21:
	ldr	r2, [r7, #4]
	b	.L6
.L2:
	add	r2, r0, r2
	str	r2, [r7, #4]
.L6:
	cmp	fp, r2
	beq	.L1
.L4:
	cmp	r2, fp
	bgt	.L23
.L11:
	asr	fp, fp, ip
	mov	r1, fp
	sub	r0, r4, r10
	bl	__aeabi_idiv
	mul	r8, r0, r9
	ldr	r3, [sp, #64]
	add	r8, r8, #1
	cmp	r3, r8
	mla	r6, r0, fp, r10
	blt	.L1
	add	r2, r5, r4
	cmp	r6, r2
	bge	.L1
	sub	r3, r9, #1
	str	r3, [sp, #16]
	str	r9, [sp, #12]
.L16:
	mov	r2, r6
	add	r6, r6, fp
	sub	r10, r6, r4
	ldr	r1, [r7]
	cmp	r10, r5
	movge	r10, r5
	cmn	r1, #1
	add	r9, r8, r8, lsl #1
	beq	.L24
.L12:
	ldr	r3, [sp, #12]
	add	r0, r7, r9, lsl #2
	cmp	r3, #1
	beq	.L25
	ldr	r3, [sp, #16]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r2, r10
	mov	r3, fp
	mov	r1, r4
	bl	blst_meta_free
.L14:
	ldr	r3, [sp, #12]
	ldr	r2, [r7, r9, lsl #2]
	ldr	r1, [r7]
	add	r8, r8, r3
	ldr	r3, [sp, #64]
	cmp	r1, r2
	strlt	r2, [r7]
	cmp	r3, r8
	add	r0, r5, r4
	sub	r5, r5, r10
	add	r4, r10, r4
	blt	.L1
	cmp	r6, r0
	blt	.L16
.L1:
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L25:
	mov	r2, r10
	mov	r1, r4
	bl	blst_leaf_free
	b	.L14
.L24:
	ldr	r0, .L26+4
	str	r2, [sp, #20]
	bl	panic
	ldr	r2, [sp, #20]
	b	.L12
.L23:
	mov	r3, fp
	mov	r1, r5
	ldr	r0, .L26+8
	bl	panic
	ldr	ip, [r6]
	b	.L11
.L27:
	.align	2
.L26:
	.word	BLIST_META_RADIX_SHIFT
	.word	.LC1
	.word	.LC0
	.size	blst_meta_free, .-blst_meta_free
	.comm	BLIST_META_RADIX_SHIFT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
