	.file	"409784.c"
	.intel_syntax noprefix
	.text
	.local	buckets
	.comm	buckets,448,32
	.local	bucket_limit
	.comm	bucket_limit,8,8
	.local	node_is_split
	.comm	node_is_split,16777216,32
	.local	base_ptr
	.comm	base_ptr,8,8
	.local	max_ptr
	.comm	max_ptr,8,8
	.type	update_max_ptr, @function
update_max_ptr:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR max_ptr[rip]
	cmp	QWORD PTR -8[rbp], rax
	jbe	.L2
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	brk@PLT
	test	eax, eax
	je	.L3
	mov	eax, 0
	jmp	.L4
.L3:
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR max_ptr[rip], rax
.L2:
	mov	eax, 1
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	update_max_ptr, .-update_max_ptr
	.type	list_init, @function
list_init:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	list_init, .-list_init
	.type	list_push, @function
list_push:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR [rax], rdx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	list_push, .-list_push
	.type	list_remove, @function
list_remove:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	list_remove, .-list_remove
	.type	list_pop, @function
list_pop:
.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, 24
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -24[rbp]
	jne	.L9
	mov	eax, 0
	jmp	.L10
.L9:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	list_remove
	mov	rax, QWORD PTR -8[rbp]
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	list_pop, .-list_pop
	.type	ptr_for_node, @function
ptr_for_node:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rsi, QWORD PTR base_ptr[rip]
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, rdx
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	ecx, eax
	mov	eax, 31
	sub	eax, ecx
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	add	rax, rsi
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	ptr_for_node, .-ptr_for_node
	.type	node_for_ptr, @function
node_for_ptr:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rcx, QWORD PTR base_ptr[rip]
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, rcx
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	ecx, eax
	mov	eax, 31
	sub	eax, ecx
	mov	ecx, eax
	sar	rdx, cl
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 1
	mov	ecx, eax
	sal	esi, cl
	mov	eax, esi
	cdqe
	add	rax, rdx
	sub	rax, 1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	node_for_ptr, .-node_for_ptr
	.type	parent_is_split, @function
parent_is_split:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, 1
	shr	rax
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	shr	rax, 3
	mov	rdx, rax
	lea	rax, node_is_split[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	movzx	edx, al
	mov	rax, QWORD PTR -8[rbp]
	and	eax, 7
	mov	ecx, eax
	sar	edx, cl
	mov	eax, edx
	and	eax, 1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	parent_is_split, .-parent_is_split
	.type	flip_parent_is_split, @function
flip_parent_is_split:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, 1
	shr	rax
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	shr	rax, 3
	lea	rdx, node_is_split[rip]
	movzx	edx, BYTE PTR [rax+rdx]
	mov	edi, edx
	mov	rdx, QWORD PTR -8[rbp]
	and	edx, 7
	mov	esi, 1
	mov	ecx, edx
	sal	esi, cl
	mov	edx, esi
	xor	edx, edi
	mov	ecx, edx
	lea	rdx, node_is_split[rip]
	mov	BYTE PTR [rax+rdx], cl
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	flip_parent_is_split, .-flip_parent_is_split
	.type	bucket_for_request, @function
bucket_for_request:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -16[rbp], 27
	mov	QWORD PTR -8[rbp], 16
	jmp	.L19
.L20:
	sub	QWORD PTR -16[rbp], 1
	sal	QWORD PTR -8[rbp]
.L19:
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -24[rbp]
	jb	.L20
	mov	rax, QWORD PTR -16[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	bucket_for_request, .-bucket_for_request
	.type	lower_bucket_limit, @function
lower_bucket_limit:
.LFB16:
	.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
	jmp	.L23
.L27:
	mov	rdx, QWORD PTR bucket_limit[rip]
	mov	rax, QWORD PTR base_ptr[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	node_for_ptr
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	parent_is_split
	test	eax, eax
	jne	.L24
	mov	rax, QWORD PTR base_ptr[rip]
	mov	rdi, rax
	call	list_remove
	mov	rax, QWORD PTR bucket_limit[rip]
	sub	rax, 1
	mov	QWORD PTR bucket_limit[rip], rax
	mov	rax, QWORD PTR bucket_limit[rip]
	sal	rax, 4
	mov	rdx, rax
	lea	rax, buckets[rip]
	add	rax, rdx
	mov	rdi, rax
	call	list_init
	mov	rax, QWORD PTR base_ptr[rip]
	mov	rdx, QWORD PTR bucket_limit[rip]
	mov	rcx, rdx
	sal	rcx, 4
	lea	rdx, buckets[rip]
	add	rdx, rcx
	mov	rsi, rax
	mov	rdi, rdx
	call	list_push
	jmp	.L23
.L24:
	mov	rax, QWORD PTR bucket_limit[rip]
	mov	rdx, QWORD PTR -16[rbp]
	add	rdx, 1
	mov	rsi, rax
	mov	rdi, rdx
	call	ptr_for_node
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 16
	mov	rdi, rax
	call	update_max_ptr
	test	eax, eax
	jne	.L25
	mov	eax, 0
	jmp	.L26
.L25:
	mov	rax, QWORD PTR bucket_limit[rip]
	sal	rax, 4
	mov	rdx, rax
	lea	rax, buckets[rip]
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	list_push
	mov	rax, QWORD PTR bucket_limit[rip]
	sub	rax, 1
	mov	QWORD PTR bucket_limit[rip], rax
	mov	rax, QWORD PTR bucket_limit[rip]
	sal	rax, 4
	mov	rdx, rax
	lea	rax, buckets[rip]
	add	rax, rdx
	mov	rdi, rax
	call	list_init
	mov	rax, QWORD PTR -16[rbp]
	sub	rax, 1
	shr	rax
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	je	.L23
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	flip_parent_is_split
.L23:
	mov	rax, QWORD PTR bucket_limit[rip]
	cmp	QWORD PTR -24[rbp], rax
	jb	.L27
	mov	eax, 1
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	lower_bucket_limit, .-lower_bucket_limit
	.globl	malloc
	.type	malloc, @function
malloc:
.LFB17:
	.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	rax, QWORD PTR -56[rbp]
	lea	rdx, 8[rax]
	mov	eax, 2147483648
	cmp	rdx, rax
	jbe	.L29
	mov	eax, 0
	jmp	.L30
.L29:
	mov	rax, QWORD PTR base_ptr[rip]
	test	rax, rax
	jne	.L31
	mov	edi, 0
	call	sbrk@PLT
	mov	QWORD PTR max_ptr[rip], rax
	mov	rax, QWORD PTR max_ptr[rip]
	mov	QWORD PTR base_ptr[rip], rax
	mov	QWORD PTR bucket_limit[rip], 27
	mov	rax, QWORD PTR base_ptr[rip]
	add	rax, 16
	mov	rdi, rax
	call	update_max_ptr
	lea	rdi, buckets[rip+432]
	call	list_init
	mov	rax, QWORD PTR base_ptr[rip]
	mov	rsi, rax
	lea	rdi, buckets[rip+432]
	call	list_push
.L31:
	mov	rax, QWORD PTR -56[rbp]
	add	rax, 8
	mov	rdi, rax
	call	bucket_for_request
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L32
.L44:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	lower_bucket_limit
	test	eax, eax
	jne	.L33
	mov	eax, 0
	jmp	.L30
.L33:
	mov	rax, QWORD PTR -48[rbp]
	sal	rax, 4
	mov	rdx, rax
	lea	rax, buckets[rip]
	add	rax, rdx
	mov	rdi, rax
	call	list_pop
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	jne	.L34
	mov	rax, QWORD PTR bucket_limit[rip]
	cmp	QWORD PTR -48[rbp], rax
	jne	.L35
	cmp	QWORD PTR -48[rbp], 0
	jne	.L36
.L35:
	sub	QWORD PTR -48[rbp], 1
	jmp	.L32
.L36:
	mov	rax, QWORD PTR -48[rbp]
	sub	rax, 1
	mov	rdi, rax
	call	lower_bucket_limit
	test	eax, eax
	jne	.L37
	mov	eax, 0
	jmp	.L30
.L37:
	mov	rax, QWORD PTR -48[rbp]
	sal	rax, 4
	mov	rdx, rax
	lea	rax, buckets[rip]
	add	rax, rdx
	mov	rdi, rax
	call	list_pop
	mov	QWORD PTR -32[rbp], rax
.L34:
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, eax
	mov	eax, 31
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	cmp	rax, QWORD PTR -24[rbp]
	jnb	.L38
	mov	rax, QWORD PTR -16[rbp]
	shr	rax
	add	rax, 16
	jmp	.L39
.L38:
	mov	rax, QWORD PTR -16[rbp]
.L39:
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	update_max_ptr
	test	eax, eax
	jne	.L40
	mov	rax, QWORD PTR -48[rbp]
	sal	rax, 4
	mov	rdx, rax
	lea	rax, buckets[rip]
	add	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	list_push
	mov	eax, 0
	jmp	.L30
.L40:
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	node_for_ptr
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	je	.L42
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	flip_parent_is_split
	jmp	.L42
.L43:
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rax
	add	rax, 1
	mov	QWORD PTR -40[rbp], rax
	add	QWORD PTR -48[rbp], 1
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	flip_parent_is_split
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	ptr_for_node
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	sal	rax, 4
	mov	rcx, rax
	lea	rax, buckets[rip]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	list_push
.L42:
	mov	rax, QWORD PTR -48[rbp]
	cmp	rax, QWORD PTR -24[rbp]
	jb	.L43
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	jmp	.L30
.L32:
	cmp	QWORD PTR -48[rbp], -1
	jne	.L44
	mov	eax, 0
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	malloc, .-malloc
	.globl	free
	.type	free, @function
free:
.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, 24
	mov	QWORD PTR -24[rbp], rdi
	cmp	QWORD PTR -24[rbp], 0
	je	.L51
	sub	QWORD PTR -24[rbp], 8
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 8
	mov	rdi, rax
	call	bucket_for_request
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	node_for_ptr
	mov	QWORD PTR -8[rbp], rax
	jmp	.L48
.L50:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	flip_parent_is_split
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	parent_is_split
	test	eax, eax
	jne	.L49
	mov	rax, QWORD PTR bucket_limit[rip]
	cmp	QWORD PTR -16[rbp], rax
	je	.L49
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, 1
	xor	rax, 1
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	ptr_for_node
	mov	rdi, rax
	call	list_remove
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, 1
	shr	rax
	mov	QWORD PTR -8[rbp], rax
	sub	QWORD PTR -16[rbp], 1
.L48:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L50
.L49:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	ptr_for_node
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	sal	rax, 4
	mov	rcx, rax
	lea	rax, buckets[rip]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	list_push
	jmp	.L45
.L51:
	nop
.L45:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	free, .-free
	.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	"409784.c"
	.text
	.local	buckets
	.comm	buckets,224,4
	.local	bucket_limit
	.comm	bucket_limit,4,4
	.local	node_is_split
	.comm	node_is_split,16777216,4
	.local	base_ptr
	.comm	base_ptr,4,4
	.local	max_ptr
	.comm	max_ptr,4,4
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	update_max_ptr, %function
update_max_ptr:
	@ 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, .L5
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bls	.L2
	ldr	r0, [fp, #-8]
	bl	brk
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	mov	r3, #0
	b	.L4
.L3:
	ldr	r2, .L5
	ldr	r3, [fp, #-8]
	str	r3, [r2]
.L2:
	mov	r3, #1
.L4:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	max_ptr
	.size	update_max_ptr, .-update_max_ptr
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	list_init, %function
list_init:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	list_init, .-list_init
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	list_push, %function
list_push:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	list_push, .-list_push
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	list_remove, %function
list_remove:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	list_remove, .-list_remove
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	list_pop, %function
list_pop:
	@ 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]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bne	.L11
	mov	r3, #0
	b	.L12
.L11:
	ldr	r0, [fp, #-8]
	bl	list_remove
	ldr	r3, [fp, #-8]
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	list_pop, .-list_pop
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ptr_for_node, %function
ptr_for_node:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, .L15
	ldr	r2, [r3]
	mov	r1, #1
	ldr	r3, [fp, #-12]
	lsl	r3, r1, r3
	mov	r1, r3
	ldr	r3, [fp, #-8]
	sub	r3, r3, r1
	add	r1, r3, #1
	ldr	r3, [fp, #-12]
	rsb	r3, r3, #31
	lsl	r3, r1, r3
	add	r3, r2, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L16:
	.align	2
.L15:
	.word	base_ptr
	.size	ptr_for_node, .-ptr_for_node
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	node_for_ptr, %function
node_for_ptr:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, .L19
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	sub	r2, r2, r3
	ldr	r3, [fp, #-12]
	rsb	r3, r3, #31
	asr	r2, r2, r3
	mov	r1, #1
	ldr	r3, [fp, #-12]
	lsl	r3, r1, r3
	add	r3, r2, r3
	sub	r3, r3, #1
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L20:
	.align	2
.L19:
	.word	base_ptr
	.size	node_for_ptr, .-node_for_ptr
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parent_is_split, %function
parent_is_split:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	lsr	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsr	r3, r3, #3
	ldr	r2, .L23
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	and	r3, r3, #7
	asr	r3, r2, r3
	and	r3, r3, #1
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L24:
	.align	2
.L23:
	.word	node_is_split
	.size	parent_is_split, .-parent_is_split
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	flip_parent_is_split, %function
flip_parent_is_split:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	lsr	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsr	r3, r3, #3
	ldr	r2, .L26
	ldrb	r2, [r2, r3]	@ zero_extendqisi2
	lsl	r2, r2, #24
	asr	r1, r2, #24
	ldr	r2, [fp, #-8]
	and	r2, r2, #7
	mov	r0, #1
	lsl	r2, r0, r2
	lsl	r2, r2, #24
	asr	r2, r2, #24
	eor	r2, r2, r1
	lsl	r2, r2, #24
	asr	r2, r2, #24
	and	r1, r2, #255
	ldr	r2, .L26
	strb	r1, [r2, r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L27:
	.align	2
.L26:
	.word	node_is_split
	.size	flip_parent_is_split, .-flip_parent_is_split
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bucket_for_request, %function
bucket_for_request:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #27
	str	r3, [fp, #-12]
	mov	r3, #16
	str	r3, [fp, #-8]
	b	.L29
.L30:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #1
	str	r3, [fp, #-8]
.L29:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bcc	.L30
	ldr	r3, [fp, #-12]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	bucket_for_request, .-bucket_for_request
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lower_bucket_limit, %function
lower_bucket_limit:
	@ 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]
	b	.L33
.L37:
	ldr	r3, .L38
	ldr	r3, [r3]
	ldr	r2, .L38+4
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	node_for_ptr
	str	r0, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	parent_is_split
	mov	r3, r0
	cmp	r3, #0
	bne	.L34
	ldr	r3, .L38
	ldr	r3, [r3]
	mov	r0, r3
	bl	list_remove
	ldr	r3, .L38+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L38+4
	str	r3, [r2]
	ldr	r3, .L38+4
	ldr	r3, [r3]
	lsl	r3, r3, #3
	ldr	r2, .L38+8
	add	r3, r3, r2
	mov	r0, r3
	bl	list_init
	ldr	r3, .L38+4
	ldr	r3, [r3]
	lsl	r3, r3, #3
	ldr	r2, .L38+8
	add	r3, r3, r2
	ldr	r2, .L38
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	list_push
	b	.L33
.L34:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	ldr	r2, .L38+4
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	ptr_for_node
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
	mov	r0, r3
	bl	update_max_ptr
	mov	r3, r0
	cmp	r3, #0
	bne	.L35
	mov	r3, #0
	b	.L36
.L35:
	ldr	r3, .L38+4
	ldr	r3, [r3]
	lsl	r3, r3, #3
	ldr	r2, .L38+8
	add	r3, r3, r2
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	list_push
	ldr	r3, .L38+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L38+4
	str	r3, [r2]
	ldr	r3, .L38+4
	ldr	r3, [r3]
	lsl	r3, r3, #3
	ldr	r2, .L38+8
	add	r3, r3, r2
	mov	r0, r3
	bl	list_init
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	lsr	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L33
	ldr	r0, [fp, #-12]
	bl	flip_parent_is_split
.L33:
	ldr	r3, .L38+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bcc	.L37
	mov	r3, #1
.L36:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	base_ptr
	.word	bucket_limit
	.word	buckets
	.size	lower_bucket_limit, .-lower_bucket_limit
	.align	2
	.global	malloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	malloc, %function
malloc:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	add	r3, r3, #8
	cmp	r3, #-2147483648
	bls	.L41
	mov	r3, #0
	b	.L42
.L41:
	ldr	r3, .L57
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L43
	mov	r0, #0
	bl	sbrk
	mov	r3, r0
	ldr	r2, .L57+4
	str	r3, [r2]
	ldr	r3, .L57+4
	ldr	r3, [r3]
	ldr	r2, .L57
	str	r3, [r2]
	ldr	r3, .L57+8
	mov	r2, #27
	str	r2, [r3]
	ldr	r3, .L57
	ldr	r3, [r3]
	add	r3, r3, #8
	mov	r0, r3
	bl	update_max_ptr
	ldr	r0, .L57+12
	bl	list_init
	ldr	r3, .L57
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L57+12
	bl	list_push
.L43:
	ldr	r3, [fp, #-40]
	add	r3, r3, #8
	mov	r0, r3
	bl	bucket_for_request
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-24]
	b	.L44
.L56:
	ldr	r0, [fp, #-36]
	bl	lower_bucket_limit
	mov	r3, r0
	cmp	r3, #0
	bne	.L45
	mov	r3, #0
	b	.L42
.L45:
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	ldr	r2, .L57+16
	add	r3, r3, r2
	mov	r0, r3
	bl	list_pop
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L46
	ldr	r3, .L57+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	bne	.L47
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L48
.L47:
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	str	r3, [fp, #-36]
	b	.L44
.L48:
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	mov	r0, r3
	bl	lower_bucket_limit
	mov	r3, r0
	cmp	r3, #0
	bne	.L49
	mov	r3, #0
	b	.L42
.L49:
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	ldr	r2, .L57+16
	add	r3, r3, r2
	mov	r0, r3
	bl	list_pop
	str	r0, [fp, #-28]
.L46:
	mov	r2, #-2147483648
	ldr	r3, [fp, #-36]
	lsr	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bcs	.L50
	ldr	r3, [fp, #-20]
	lsr	r3, r3, #1
	add	r3, r3, #8
	b	.L51
.L50:
	ldr	r3, [fp, #-20]
.L51:
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	mov	r0, r3
	bl	update_max_ptr
	mov	r3, r0
	cmp	r3, #0
	bne	.L52
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	ldr	r2, .L57+16
	add	r3, r3, r2
	ldr	r1, [fp, #-28]
	mov	r0, r3
	bl	list_push
	mov	r3, #0
	b	.L42
.L52:
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-28]
	bl	node_for_ptr
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L54
	ldr	r0, [fp, #-32]
	bl	flip_parent_is_split
	b	.L54
.L55:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #1
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	flip_parent_is_split
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	ldr	r2, .L57+16
	add	r4, r3, r2
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldr	r1, [fp, #-36]
	mov	r0, r3
	bl	ptr_for_node
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	list_push
.L54:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bcc	.L55
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-40]
	str	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	b	.L42
.L44:
	ldr	r3, [fp, #-36]
	cmn	r3, #1
	bne	.L56
	mov	r3, #0
.L42:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L58:
	.align	2
.L57:
	.word	base_ptr
	.word	max_ptr
	.word	bucket_limit
	.word	buckets+216
	.word	buckets
	.size	malloc, .-malloc
	.align	2
	.global	free
	.syntax unified
	.arm
	.fpu softvfp
	.type	free, %function
free:
	@ 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, [fp, #-24]
	cmp	r3, #0
	beq	.L65
	ldr	r3, [fp, #-24]
	sub	r3, r3, #8
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	add	r3, r3, #8
	mov	r0, r3
	bl	bucket_for_request
	str	r0, [fp, #-20]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-24]
	bl	node_for_ptr
	str	r0, [fp, #-16]
	b	.L62
.L64:
	ldr	r0, [fp, #-16]
	bl	flip_parent_is_split
	ldr	r0, [fp, #-16]
	bl	parent_is_split
	mov	r3, r0
	cmp	r3, #0
	bne	.L63
	ldr	r3, .L66
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	beq	.L63
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	eor	r3, r3, #1
	add	r3, r3, #1
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	ptr_for_node
	mov	r3, r0
	mov	r0, r3
	bl	list_remove
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	lsr	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
.L62:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L64
.L63:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #3
	ldr	r2, .L66+4
	add	r4, r3, r2
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	ptr_for_node
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	list_push
	b	.L59
.L65:
	nop
.L59:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L67:
	.align	2
.L66:
	.word	bucket_limit
	.word	buckets
	.size	free, .-free
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
