	.file	"extr_lsm_ckpt.c_lsmDatabaseFull.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	lsmDatabaseFull
	.type	lsmDatabaseFull, @function
lsmDatabaseFull:
.LFB0:
	.cfi_startproc
	endbr64
	mov	edx, DWORD PTR LSM_LOCK_EXCL[rip]
	mov	esi, DWORD PTR LSM_LOCK_WORKER[rip]
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	call	lsmShmAssertLock@PLT
	mov	rdi, rax
	call	assert@PLT
	mov	rdi, QWORD PTR [rbx]
	call	assert@PLT
	mov	rax, QWORD PTR [rbx]
	xor	ecx, ecx
	mov	rdx, QWORD PTR [rax]
	test	rdx, rdx
	je	.L2
	mov	esi, 1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	eax, DWORD PTR [rdx]
	mov	rdx, QWORD PTR 8[rdx]
	test	eax, eax
	cmove	eax, esi
	add	ecx, eax
	test	rdx, rdx
	jne	.L4
.L2:
	xor	eax, eax
	cmp	DWORD PTR LSM_MAX_RHS_SEGMENTS[rip], ecx
	pop	rbx
	.cfi_def_cfa_offset 8
	setle	al
	ret
	.cfi_endproc
.LFE0:
	.size	lsmDatabaseFull, .-lsmDatabaseFull
	.comm	LSM_MAX_RHS_SEGMENTS,4,4
	.comm	LSM_LOCK_WORKER,4,4
	.comm	LSM_LOCK_EXCL,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_ckpt.c_lsmDatabaseFull.c"
	.text
	.align	2
	.global	lsmDatabaseFull
	.syntax unified
	.arm
	.fpu softvfp
	.type	lsmDatabaseFull, %function
lsmDatabaseFull:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	ldr	r3, .L10
	ldr	r2, .L10+4
	ldr	r1, [r3]
	ldr	r2, [r2]
	bl	lsmShmAssertLock
	bl	assert
	ldr	r0, [r4]
	bl	assert
	ldr	r3, [r4]
	ldr	r2, [r3]
	cmp	r2, #0
	beq	.L5
	mov	r1, #0
.L4:
	ldr	r3, [r2]
	ldr	r2, [r2, #4]
	cmp	r3, #0
	moveq	r3, #1
	cmp	r2, #0
	add	r1, r1, r3
	bne	.L4
.L2:
	ldr	r3, .L10+8
	ldr	r0, [r3]
	cmp	r0, r1
	movgt	r0, #0
	movle	r0, #1
	pop	{r4, pc}
.L5:
	mov	r1, r2
	b	.L2
.L11:
	.align	2
.L10:
	.word	LSM_LOCK_WORKER
	.word	LSM_LOCK_EXCL
	.word	LSM_MAX_RHS_SEGMENTS
	.size	lsmDatabaseFull, .-lsmDatabaseFull
	.comm	LSM_MAX_RHS_SEGMENTS,4,4
	.comm	LSM_LOCK_WORKER,4,4
	.comm	LSM_LOCK_EXCL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
