	.file	"extr_blkmap64_rb.c_rb_find_first_set.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rb_find_first_set, @function
rb_find_first_set:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	rsi, rdx
	jle	.L2
	mov	eax, DWORD PTR EINVAL[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	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
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	r15, QWORD PTR 8[rdi]
	mov	rax, QWORD PTR [rdi]
	mov	rdi, r15
	mov	QWORD PTR 8[rsp], rax
	mov	r14, rax
	call	ext2fs_rb_empty_root@PLT
	mov	r8, rax
	mov	eax, DWORD PTR ENOENT[rip]
	test	r8, r8
	jne	.L1
	sub	rbx, r14
	mov	r14, QWORD PTR [r15]
	test	r14, r14
	jne	.L5
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L19:
	mov	r15, QWORD PTR [r15]
	mov	rax, QWORD PTR 8[r15]
	add	r15, 8
	test	rax, rax
	je	.L6
.L13:
	mov	r14, rax
.L5:
	mov	rdi, r14
	call	node_to_extent@PLT
	mov	rdx, QWORD PTR [rax]
	cmp	rdx, rbx
	jg	.L19
	add	rdx, QWORD PTR 8[rax]
	cmp	rdx, rbx
	jg	.L9
	mov	r15, QWORD PTR [r15]
	mov	rax, QWORD PTR [r15]
	test	rax, rax
	jne	.L13
.L6:
	mov	rdi, r14
	call	node_to_extent@PLT
	mov	rdx, QWORD PTR [rax]
	cmp	rdx, rbx
	jl	.L20
.L10:
	sub	rbp, QWORD PTR 8[rsp]
	mov	eax, DWORD PTR ENOENT[rip]
	cmp	rdx, rbp
	jg	.L1
	add	rdx, QWORD PTR [r12]
	xor	eax, eax
	mov	QWORD PTR 0[r13], rdx
.L1:
	add	rsp, 24
	.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
.L20:
	.cfi_restore_state
	mov	rdi, r14
	call	ext2fs_rb_next@PLT
	mov	rdi, rax
	mov	eax, DWORD PTR ENOENT[rip]
	test	rdi, rdi
	je	.L1
	call	node_to_extent@PLT
	mov	rdx, QWORD PTR [rax]
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L9:
	add	rbx, QWORD PTR [r12]
	xor	eax, eax
	mov	QWORD PTR 0[r13], rbx
	add	rsp, 24
	.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
	.cfi_endproc
.LFE0:
	.size	rb_find_first_set, .-rb_find_first_set
	.comm	ENOENT,4,4
	.comm	EINVAL,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_blkmap64_rb.c_rb_find_first_set.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rb_find_first_set, %function
rb_find_first_set:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, r2
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ble	.L2
	ldr	r3, .L19
	ldr	r7, [r3]
.L1:
	mov	r0, r7
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	ldm	r0, {r9, r10}
	mov	r6, r0
	mov	r0, r10
	mov	r4, r1
	mov	r5, r2
	mov	r8, r3
	bl	ext2fs_rb_empty_root
	subs	r7, r0, #0
	bne	.L12
	ldr	fp, [r10]
	sub	r4, r4, r9
	cmp	fp, #0
	bne	.L5
	b	.L6
.L17:
	ldr	r10, [r10]
	ldr	r3, [r10, #4]
	add	r10, r10, #4
	cmp	r3, #0
	beq	.L6
.L13:
	mov	fp, r3
.L5:
	mov	r0, fp
	bl	node_to_extent
	ldr	r3, [r0]
	cmp	r3, r4
	bgt	.L17
	ldr	r2, [r0, #4]
	add	r3, r3, r2
	cmp	r3, r4
	bgt	.L9
	ldr	r10, [r10]
	ldr	r3, [r10]
	cmp	r3, #0
	bne	.L13
.L6:
	mov	r0, fp
	bl	node_to_extent
	ldr	r3, [r0]
	cmp	r3, r4
	blt	.L18
.L10:
	sub	r5, r5, r9
	cmp	r3, r5
	bgt	.L12
	ldr	r2, [r6]
	add	r3, r2, r3
	str	r3, [r8]
	b	.L1
.L18:
	mov	r0, fp
	bl	ext2fs_rb_next
	cmp	r0, #0
	bne	.L11
.L12:
	ldr	r3, .L19+4
	ldr	r7, [r3]
	mov	r0, r7
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L9:
	ldr	r3, [r6]
	mov	r0, r7
	add	r4, r3, r4
	str	r4, [r8]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
	bl	node_to_extent
	ldr	r3, [r0]
	b	.L10
.L20:
	.align	2
.L19:
	.word	EINVAL
	.word	ENOENT
	.size	rb_find_first_set, .-rb_find_first_set
	.comm	ENOENT,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
