	.file	"extr_rgrp.c_gfs2_unaligned_extlen.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	gfs2_unaligned_extlen, @function
gfs2_unaligned_extlen:
.LFB0:
	.cfi_startproc
	endbr64
	test	rsi, rsi
	jle	.L12
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	xor	ebx, ebx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	sub	QWORD PTR [r12], 1
	je	.L5
	mov	rdi, rbp
	call	gfs2_rbm_incr@PLT
	test	rax, rax
	jne	.L5
	add	rbx, 1
	cmp	r13, rbx
	je	.L17
.L6:
	mov	esi, 1
	mov	rdi, rbp
	call	gfs2_testbit@PLT
	cmp	QWORD PTR GFS2_BLKST_FREE[rip], rax
	je	.L3
.L5:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, 1
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L12:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	gfs2_unaligned_extlen, .-gfs2_unaligned_extlen
	.comm	GFS2_BLKST_FREE,8,8
	.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_rgrp.c_gfs2_unaligned_extlen.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gfs2_unaligned_extlen, %function
gfs2_unaligned_extlen:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r7, r1, #0
	ble	.L2
	mov	r5, r0
	mov	r6, r2
	mov	r4, #0
	ldr	r8, .L13
	b	.L6
.L3:
	ldr	r3, [r6]
	sub	r3, r3, #1
	cmp	r3, #0
	str	r3, [r6]
	beq	.L5
	mov	r0, r5
	bl	gfs2_rbm_incr
	cmp	r0, #0
	bne	.L5
	cmp	r7, r4
	beq	.L2
.L6:
	mov	r1, #1
	mov	r0, r5
	bl	gfs2_testbit
	ldr	r3, [r8]
	add	r4, r4, #1
	cmp	r3, r0
	beq	.L3
.L5:
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	.align	2
.L13:
	.word	GFS2_BLKST_FREE
	.size	gfs2_unaligned_extlen, .-gfs2_unaligned_extlen
	.comm	GFS2_BLKST_FREE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
