	.file	"extr_lsm_sorted.c_sortedNewToplevel.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sortedNewToplevel, @function
sortedNewToplevel:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 232
	.cfi_def_cfa_offset 288
	mov	DWORD PTR 12[rsp], esi
	mov	QWORD PTR [rsp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 216[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR LSM_OK[rip]
	cmp	DWORD PTR TREE_NONE[rip], esi
	mov	DWORD PTR 56[rsp], eax
	je	.L2
	mov	esi, DWORD PTR 28[rdi]
	call	lsmShmCacheChunks@PLT
	mov	DWORD PTR 56[rsp], eax
.L2:
	mov	edx, DWORD PTR [rbx]
	xor	edi, edi
	lea	r15, 64[rsp]
	lea	r14, 56[rsp]
	test	edx, edx
	sete	dil
	call	assert@PLT
	mov	QWORD PTR 8[rbx], r15
	mov	edx, 48
	xor	esi, esi
	mov	DWORD PTR [rbx], 1
	mov	rdi, r15
	call	memset@PLT
	mov	rdi, QWORD PTR 16[rbx]
	call	lsmDbSnapshotLevel@PLT
	mov	edi, DWORD PTR 4[rbx]
	mov	rdx, r14
	mov	esi, 40
	mov	r12, rax
	call	lsmMallocZeroRc@PLT
	mov	rbp, rax
	test	rax, rax
	jne	.L52
.L3:
	mov	rsi, r14
	mov	rdi, rbx
	call	multiCursorNew@PLT
	mov	r9, rax
	test	rax, rax
	je	.L53
	mov	QWORD PTR 24[rax], rbx
	mov	rdi, rax
	mov	QWORD PTR 16[rsp], rax
	call	multiCursorVisitFreelist@PLT
	cmp	eax, DWORD PTR LSM_OK[rip]
	mov	r9, QWORD PTR 16[rsp]
	mov	DWORD PTR 56[rsp], eax
	je	.L54
.L6:
	test	r12, r12
	je	.L10
	mov	QWORD PTR 24[rsp], 0
	mov	QWORD PTR 16[rsp], 0
.L11:
	mov	rdi, r9
	xor	esi, esi
	xor	r14d, r14d
	call	lsmMCursorClose@PLT
	mov	eax, DWORD PTR 56[rsp]
	mov	ecx, DWORD PTR LSM_OK[rip]
	mov	edi, 1
	cmp	ecx, eax
	je	.L55
.L21:
	call	assert@PLT
	mov	rdi, QWORD PTR 16[rbx]
	mov	rsi, r12
	call	lsmDbSnapshotSetLevel@PLT
	mov	edi, DWORD PTR 4[rbx]
	mov	rsi, rbp
	call	sortedFreeLevel@PLT
.L23:
	mov	rax, QWORD PTR [rsp]
	test	rax, rax
	je	.L28
	mov	DWORD PTR [rax], r14d
.L28:
	mov	rax, QWORD PTR 16[rbx]
	mov	edi, DWORD PTR 4[rbx]
	mov	rsi, QWORD PTR 80[rsp]
	add	DWORD PTR [rax], r14d
	mov	QWORD PTR 8[rbx], 0
	mov	DWORD PTR [rbx], 0
	call	lsmFree@PLT
	mov	eax, DWORD PTR 56[rsp]
	mov	rcx, QWORD PTR 216[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L56
	add	rsp, 232
	.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
.L53:
	.cfi_restore_state
	mov	QWORD PTR 24[rsp], 0
	mov	eax, DWORD PTR 56[rsp]
	mov	QWORD PTR 16[rsp], 0
.L5:
	cmp	DWORD PTR LSM_OK[rip], eax
	jne	.L11
.L8:
	lea	rcx, 112[rsp]
	mov	edx, 48
	xor	esi, esi
	mov	QWORD PTR 40[rsp], r9
	mov	rdi, rcx
	lea	r13, 160[rsp]
	mov	QWORD PTR 32[rsp], rcx
	mov	DWORD PTR 60[rsp], 0
	call	memset@PLT
	mov	edx, 48
	xor	esi, esi
	mov	rdi, r13
	call	memset@PLT
	mov	r9, QWORD PTR 40[rsp]
	mov	rcx, QWORD PTR 32[rsp]
	mov	eax, DWORD PTR LEVEL_INCOMPLETE[rip]
	or	DWORD PTR 8[rbp], eax
	lea	rax, 60[rsp]
	mov	QWORD PTR 0[rbp], rcx
	mov	QWORD PTR 200[rsp], rbx
	mov	QWORD PTR 192[rsp], rbp
	mov	QWORD PTR 184[rsp], r9
	mov	QWORD PTR [r9], rax
	mov	eax, DWORD PTR LSM_OK[rip]
	mov	DWORD PTR 160[rsp], 1
	cmp	DWORD PTR 56[rsp], eax
	je	.L13
.L17:
	mov	rdi, r13
	mov	rsi, r14
	call	mergeWorkerShutdown@PLT
	mov	eax, DWORD PTR LSM_OK[rip]
	mov	edi, 1
	cmp	DWORD PTR 56[rsp], eax
	je	.L57
.L14:
	call	assert@PLT
	mov	eax, DWORD PTR 56[rsp]
	mov	ecx, DWORD PTR LSM_OK[rip]
	cmp	eax, ecx
	je	.L58
.L19:
	mov	edx, DWORD PTR LEVEL_INCOMPLETE[rip]
	mov	esi, DWORD PTR 12[rsp]
	mov	r14d, DWORD PTR 164[rsp]
	not	edx
	and	edx, DWORD PTR 8[rbp]
	cmp	DWORD PTR TREE_NONE[rip], esi
	mov	DWORD PTR 8[rbp], edx
	jne	.L20
	or	edx, DWORD PTR LEVEL_FREELIST_ONLY[rip]
	mov	DWORD PTR 8[rbp], edx
.L20:
	mov	QWORD PTR 0[rbp], 0
	mov	edi, 1
	cmp	ecx, eax
	jne	.L21
.L55:
	cmp	QWORD PTR 16[rbp], 0
	je	.L59
	mov	rax, QWORD PTR 16[rsp]
	test	rax, rax
	je	.L24
	mov	QWORD PTR 8[rax], 0
.L25:
	cmp	QWORD PTR 72[rsp], 0
	mov	r12, QWORD PTR 16[rbx]
	jne	.L60
	mov	QWORD PTR 16[r12], 0
.L27:
	mov	rdi, rbx
	lea	rsi, 16[rbp]
	call	assertBtreeOk@PLT
	mov	rdi, rbx
	call	sortedInvokeWorkHook@PLT
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L59:
	mov	rax, QWORD PTR 16[rbx]
	xor	edi, edi
	cmp	QWORD PTR 16[rax], 0
	sete	dil
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L52:
	mov	QWORD PTR 32[rax], r12
	mov	rdi, QWORD PTR 16[rbx]
	mov	rsi, rax
	call	lsmDbSnapshotSetLevel@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rdi, r9
	call	lsmMCursorFirst@PLT
	cmp	eax, DWORD PTR LSM_OK[rip]
	mov	DWORD PTR 56[rsp], eax
	je	.L16
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rdi, r13
	call	mergeWorkerStep@PLT
	cmp	eax, DWORD PTR LSM_OK[rip]
	mov	DWORD PTR 56[rsp], eax
	jne	.L17
.L16:
	mov	rdi, r13
	call	mergeWorkerDone@PLT
	test	rax, rax
	je	.L18
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L54:
	mov	rsi, QWORD PTR 16[rbx]
	mov	edx, DWORD PTR 12[rsp]
	mov	rdi, r9
	call	multiCursorAddTree@PLT
	cmp	eax, DWORD PTR LSM_OK[rip]
	mov	r9, QWORD PTR 16[rsp]
	mov	DWORD PTR 56[rsp], eax
	jne	.L6
	test	r12, r12
	je	.L10
	cmp	QWORD PTR [r12], 0
	jne	.L30
	mov	eax, DWORD PTR 8[r12]
	test	DWORD PTR LEVEL_FREELIST_ONLY[rip], eax
	jne	.L61
	mov	QWORD PTR 24[rsp], 0
	mov	eax, DWORD PTR 12[rsp]
	mov	QWORD PTR 16[rsp], 0
	cmp	DWORD PTR TREE_NONE[rip], eax
	je	.L8
	cmp	QWORD PTR 24[r12], 0
	je	.L8
	lea	rsi, 16[r12]
	lea	rdx, 8[r9]
	mov	rdi, rbx
	mov	QWORD PTR 32[rsp], r9
	mov	QWORD PTR 16[rsp], rsi
	call	btreeCursorNew@PLT
	mov	r9, QWORD PTR 32[rsp]
	mov	DWORD PTR 56[rsp], eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L57:
	mov	eax, DWORD PTR 164[rsp]
	test	eax, eax
	je	.L14
	xor	edi, edi
	cmp	QWORD PTR 16[rbp], 0
	setne	dil
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L58:
	cmp	QWORD PTR 16[rbp], 0
	je	.L19
	mov	edi, DWORD PTR 24[rbx]
	lea	rsi, 16[rbp]
	call	lsmFsSortedFinish@PLT
	mov	ecx, DWORD PTR LSM_OK[rip]
	mov	DWORD PTR 56[rsp], eax
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdi, r9
	mov	QWORD PTR 32[rsp], r9
	call	multiCursorIgnoreDelete@PLT
	mov	eax, DWORD PTR 56[rsp]
	mov	r9, QWORD PTR 32[rsp]
	mov	QWORD PTR 24[rsp], 0
	mov	QWORD PTR 16[rsp], 0
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L30:
	mov	QWORD PTR 24[rsp], 0
	mov	QWORD PTR 16[rsp], 0
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L60:
	mov	rsi, QWORD PTR 24[r12]
	mov	edi, DWORD PTR 4[rbx]
	call	lsmFree@PLT
	lea	rdi, 8[r12]
	mov	edx, 48
	mov	rsi, r15
	call	memcpy@PLT
	mov	QWORD PTR 80[rsp], 0
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L24:
	mov	r12, QWORD PTR 24[rsp]
	test	r12, r12
	je	.L25
	xor	edi, edi
	cmp	QWORD PTR 32[rbp], r12
	sete	dil
	call	assert@PLT
	mov	rax, QWORD PTR 32[r12]
	mov	rsi, QWORD PTR 16[rbx]
	lea	rcx, 16[r12]
	mov	edi, DWORD PTR 24[rbx]
	mov	edx, 1
	mov	QWORD PTR 32[rbp], rax
	call	lsmFsSortedDelete@PLT
	mov	edi, DWORD PTR 4[rbx]
	mov	rsi, r12
	call	sortedFreeLevel@PLT
	jmp	.L25
.L61:
	mov	edi, DWORD PTR 4[rbx]
	mov	rdx, r14
	mov	esi, 4
	mov	QWORD PTR 16[rsp], r9
	call	lsmMallocZeroRc@PLT
	mov	r9, QWORD PTR 16[rsp]
	mov	rdx, r14
	mov	rsi, r12
	mov	QWORD PTR 16[r9], rax
	mov	rdi, r9
	mov	QWORD PTR 32[rsp], r9
	call	multiCursorAddOne@PLT
	mov	QWORD PTR 24[rsp], r12
	mov	eax, DWORD PTR 56[rsp]
	mov	QWORD PTR 16[rsp], 0
	mov	r9, QWORD PTR 32[rsp]
	jmp	.L5
.L56:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	sortedNewToplevel, .-sortedNewToplevel
	.comm	TREE_NONE,4,4
	.comm	LSM_OK,4,4
	.comm	LSM_LOG_DATA,4,4
	.comm	LEVEL_INCOMPLETE,4,4
	.comm	LEVEL_FREELIST_ONLY,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_lsm_sorted.c_sortedNewToplevel.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sortedNewToplevel, %function
sortedNewToplevel:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	fp, .L66
	ldr	r7, .L66+4
	ldr	r3, [fp]
	sub	sp, sp, #116
	str	r2, [sp, #4]
	cmp	r3, r1
	ldr	r2, .L66+8
	ldr	r3, [r7]
	ldr	r2, [r2]
	str	r2, [sp, #108]
	mov	r2,#0
	mov	r10, r1
	mov	r4, r0
	str	r3, [sp, #16]
	beq	.L2
	ldr	r1, [r0, #20]
	bl	lsmShmCacheChunks
	str	r0, [sp, #16]
.L2:
	ldr	r0, [r4]
	add	r6, sp, #24
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	mov	r2, #1
	mov	r3, #0
	str	r2, [r4]
	ldr	r0, [r4, #12]
	str	r6, [r4, #8]
	str	r3, [sp, #24]
	str	r3, [r6, #4]
	str	r3, [r6, #8]
	str	r3, [r6, #12]
	str	r3, [r6, #16]
	str	r3, [r6, #20]
	str	r3, [r6, #24]
	bl	lsmDbSnapshotLevel
	mov	r1, #20
	mov	r9, r0
	add	r2, sp, #16
	ldr	r0, [r4, #4]
	bl	lsmMallocZeroRc
	subs	r5, r0, #0
	bne	.L56
.L3:
	mov	r0, r4
	add	r1, sp, #16
	bl	multiCursorNew
	subs	r8, r0, #0
	beq	.L57
	str	r4, [r8, #12]
	bl	multiCursorVisitFreelist
	ldr	r3, [r7]
	str	r0, [sp, #16]
	cmp	r0, r3
	beq	.L58
.L6:
	cmp	r9, #0
	beq	.L10
	mov	r3, #0
	str	r3, [sp, #12]
	str	r3, [sp, #8]
.L11:
	mov	r0, r8
	mov	r1, #0
	bl	lsmMCursorClose
	ldr	r0, [sp, #16]
	ldr	r3, [r7]
	mov	r8, #0
	cmp	r3, r0
	movne	r0, #1
	beq	.L59
.L20:
	bl	assert
	mov	r1, r9
	ldr	r0, [r4, #12]
	bl	lsmDbSnapshotSetLevel
	mov	r1, r5
	ldr	r0, [r4, #4]
	bl	sortedFreeLevel
.L22:
	mov	r2, #0
	ldr	r3, [sp, #4]
	ldr	r1, [r4, #12]
	cmp	r3, #0
	strne	r8, [r3]
	ldr	r3, [r1]
	ldr	r0, [r4, #4]
	add	r8, r3, r8
	str	r8, [r1]
	str	r2, [r4, #8]
	str	r2, [r4]
	ldr	r1, [sp, #36]
	bl	lsmFree
	ldr	r3, .L66+8
	ldr	r0, [sp, #16]
	ldr	r2, [r3]
	ldr	r3, [sp, #108]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L60
	add	sp, sp, #116
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L57:
	ldr	r0, [sp, #16]
	str	r8, [sp, #12]
	str	r8, [sp, #8]
.L5:
	ldr	r3, [r7]
	cmp	r3, r0
	bne	.L11
.L8:
	mov	r3, #0
	mov	r1, #1
	str	r3, [sp, #80]
	str	r3, [sp, #96]
	str	r3, [sp, #100]
	str	r3, [sp, #104]
	str	r3, [sp, #52]
	str	r3, [sp, #56]
	str	r3, [sp, #60]
	str	r3, [sp, #64]
	str	r3, [sp, #68]
	str	r3, [sp, #72]
	str	r3, [sp, #76]
	str	r3, [sp, #84]
	str	r3, [sp, #88]
	str	r3, [sp, #92]
	str	r3, [sp, #20]
	ldr	r3, .L66+12
	ldr	r0, [r5, #4]
	ldr	r3, [r3]
	add	r2, sp, #52
	str	r2, [r5]
	orr	r3, r0, r3
	add	r2, sp, #20
	str	r3, [r5, #4]
	mov	r0, r8
	str	r4, [sp, #104]
	str	r5, [sp, #100]
	str	r8, [sp, #96]
	str	r2, [r8]
	str	r1, [sp, #80]
	bl	lsmMCursorFirst
	ldr	r3, [r7]
	str	r0, [sp, #16]
	cmp	r0, r3
	beq	.L13
	b	.L16
.L17:
	add	r0, sp, #80
	bl	mergeWorkerStep
	ldr	r3, [r7]
	str	r0, [sp, #16]
	cmp	r0, r3
	bne	.L16
.L13:
	add	r0, sp, #80
	bl	mergeWorkerDone
	cmp	r0, #0
	beq	.L17
.L16:
	add	r1, sp, #16
	add	r0, sp, #80
	bl	mergeWorkerShutdown
	ldr	r2, [sp, #16]
	ldr	r3, [r7]
	cmp	r2, r3
	beq	.L61
.L33:
	mov	r0, #1
.L14:
	bl	assert
	ldr	r0, [sp, #16]
	ldr	r3, [r7]
	cmp	r0, r3
	beq	.L62
.L18:
	ldr	r2, .L66+12
	ldr	ip, [fp]
	ldr	r1, [r2]
	ldr	r2, [r5, #4]
	cmp	ip, r10
	bic	r2, r2, r1
	ldreq	r1, .L66+16
	ldr	r8, [sp, #84]
	ldreq	r1, [r1]
	str	r2, [r5, #4]
	orreq	r2, r1, r2
	streq	r2, [r5, #4]
	mov	r2, #0
	cmp	r3, r0
	movne	r0, #1
	str	r2, [r5]
	bne	.L20
.L59:
	ldr	r3, [r5, #8]
	cmp	r3, #0
	beq	.L63
	ldr	r2, [sp, #8]
	cmp	r2, #0
	beq	.L23
	mov	r3, #0
	str	r3, [r2, #4]
.L24:
	ldr	r3, [sp, #32]
	ldr	r7, [r4, #12]
	cmp	r3, #0
	streq	r3, [r7, #12]
	bne	.L64
.L26:
	mov	r0, r4
	add	r1, r5, #8
	bl	assertBtreeOk
	mov	r0, r4
	bl	sortedInvokeWorkHook
	b	.L22
.L63:
	ldr	r3, [r4, #12]
	ldr	r0, [r3, #12]
	clz	r0, r0
	lsr	r0, r0, #5
	b	.L20
.L56:
	mov	r1, r5
	ldr	r0, [r4, #12]
	str	r9, [r5, #16]
	bl	lsmDbSnapshotSetLevel
	b	.L3
.L58:
	mov	r2, r10
	mov	r0, r8
	ldr	r1, [r4, #12]
	bl	multiCursorAddTree
	ldr	r3, [r7]
	str	r0, [sp, #16]
	cmp	r0, r3
	bne	.L6
	cmp	r9, #0
	beq	.L10
	ldr	r3, [r9]
	cmp	r3, #0
	bne	.L29
	ldr	r2, .L66+16
	ldr	r1, [r9, #4]
	ldr	r2, [r2]
	ands	r2, r1, r2
	str	r2, [sp, #12]
	bne	.L65
	ldr	r3, [fp]
	cmp	r3, r10
	beq	.L30
	ldr	r3, [r9, #12]
	cmp	r3, #0
	streq	r3, [sp, #12]
	streq	r3, [sp, #8]
	beq	.L8
	add	r3, r9, #8
	mov	r1, r3
	mov	r0, r4
	add	r2, r8, #4
	str	r3, [sp, #8]
	bl	btreeCursorNew
	str	r0, [sp, #16]
	b	.L5
.L62:
	ldr	r2, [r5, #8]
	cmp	r2, #0
	beq	.L18
	ldr	r0, [r4, #16]
	add	r1, r5, #8
	bl	lsmFsSortedFinish
	ldr	r3, [r7]
	str	r0, [sp, #16]
	b	.L18
.L61:
	ldr	r3, [sp, #84]
	cmp	r3, #0
	beq	.L33
	ldr	r0, [r5, #8]
	subs	r0, r0, #0
	movne	r0, #1
	b	.L14
.L10:
	mov	r3, #0
	mov	r0, r8
	str	r3, [sp, #12]
	bl	multiCursorIgnoreDelete
	mov	r3, #0
	ldr	r0, [sp, #16]
	str	r3, [sp, #8]
	b	.L5
.L29:
	mov	r3, #0
	str	r3, [sp, #12]
	str	r3, [sp, #8]
	b	.L8
.L64:
	ldr	r1, [r7, #16]
	ldr	r0, [r4, #4]
	bl	lsmFree
	mov	r1, r6
	mov	r2, #28
	add	r0, r7, #4
	bl	memcpy
	mov	r3, #0
	str	r3, [sp, #36]
	b	.L26
.L23:
	ldr	r7, [sp, #12]
	cmp	r7, #0
	beq	.L24
	ldr	r0, [r5, #16]
	sub	r0, r0, r7
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	ldr	r2, [r7, #16]
	ldr	r1, [r4, #12]
	str	r2, [r5, #16]
	ldr	r0, [r4, #16]
	mov	r2, #1
	add	r3, r7, #8
	bl	lsmFsSortedDelete
	mov	r1, r7
	ldr	r0, [r4, #4]
	bl	sortedFreeLevel
	b	.L24
.L65:
	mov	r1, #4
	add	r2, sp, #16
	ldr	r0, [r4, #4]
	str	r3, [sp, #8]
	bl	lsmMallocZeroRc
	mov	r1, r9
	str	r0, [r8, #8]
	add	r2, sp, #16
	mov	r0, r8
	bl	multiCursorAddOne
	ldr	r0, [sp, #16]
	str	r9, [sp, #12]
	b	.L5
.L30:
	ldr	r3, [sp, #12]
	str	r3, [sp, #8]
	b	.L8
.L60:
	bl	__stack_chk_fail
.L67:
	.align	2
.L66:
	.word	TREE_NONE
	.word	LSM_OK
	.word	.LC0
	.word	LEVEL_INCOMPLETE
	.word	LEVEL_FREELIST_ONLY
	.size	sortedNewToplevel, .-sortedNewToplevel
	.comm	TREE_NONE,4,4
	.comm	LSM_OK,4,4
	.comm	LSM_LOG_DATA,4,4
	.comm	LEVEL_INCOMPLETE,4,4
	.comm	LEVEL_FREELIST_ONLY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
