	.file	"extr_ffs_subr.c_ffs_isfreeblock.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ffs_isfreeblock
	.type	ffs_isfreeblock, @function
ffs_isfreeblock:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rcx, QWORD PTR [rdi]
	cmp	ecx, 4
	je	.L2
	jg	.L3
	cmp	ecx, 1
	je	.L4
	cmp	ecx, 2
	jne	.L9
	mov	rdi, rdx
	lea	ecx, [rdx+rdx]
	mov	eax, 3
	and	ecx, 6
	shr	rdi, 2
	sal	eax, cl
	test	DWORD PTR [rsi+rdi*4], eax
	sete	al
	movzx	eax, al
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	xor	eax, eax
	cmp	ecx, 8
	jne	.L1
	mov	edx, DWORD PTR [rsi+rdx*4]
	xor	eax, eax
	test	edx, edx
	sete	al
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, rdx
	mov	ecx, edx
	shr	rax, 3
	and	ecx, 7
	mov	eax, DWORD PTR [rsi+rax*4]
	sar	eax, cl
	not	eax
	and	eax, 1
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdi, rdx
	lea	ecx, 0[0+rdx*4]
	mov	eax, 15
	and	ecx, 4
	shr	rdi
	sal	eax, cl
	test	DWORD PTR [rsi+rdi*4], eax
	sete	al
	movzx	eax, al
	ret
.L9:
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	ffs_isfreeblock, .-ffs_isfreeblock
	.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_ffs_subr.c_ffs_isfreeblock.c"
	.text
	.align	2
	.global	ffs_isfreeblock
	.syntax unified
	.arm
	.fpu softvfp
	.type	ffs_isfreeblock, %function
ffs_isfreeblock:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r3, [r0]
	sub	r3, r3, #1
	cmp	r3, #7
	ldrls	pc, [pc, r3, asl #2]
	b	.L8
.L4:
	.word	.L7
	.word	.L6
	.word	.L8
	.word	.L5
	.word	.L8
	.word	.L8
	.word	.L8
	.word	.L3
.L8:
	mov	r0, #0
	bx	lr
.L3:
	ldr	r0, [r1, r2, lsl #2]
	clz	r0, r0
	lsr	r0, r0, #5
	bx	lr
.L7:
	lsr	r3, r2, #3
	ldr	r0, [r1, r3, lsl #2]
	and	r2, r2, #7
	mvn	r2, r0, asr r2
	and	r0, r2, #1
	bx	lr
.L6:
	mov	r0, #3
	lsr	r3, r2, #2
	ldr	r3, [r1, r3, lsl #2]
	lsl	r2, r2, #1
	and	r2, r2, #6
	ands	r3, r3, r0, lsl r2
	moveq	r0, #1
	movne	r0, #0
	bx	lr
.L5:
	mov	r0, #15
	lsr	r3, r2, #1
	ldr	r3, [r1, r3, lsl #2]
	lsl	r2, r2, #2
	and	r2, r2, #4
	ands	r3, r3, r0, lsl r2
	moveq	r0, #1
	movne	r0, #0
	bx	lr
	.size	ffs_isfreeblock, .-ffs_isfreeblock
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
