	.file	"extr_fsmap.c_ext4_getfsmap_helper.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ext4_getfsmap_helper, @function
ext4_getfsmap_helper:
.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
	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, 88
	.cfi_def_cfa_offset 144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	call	EXT4_SB@PLT
	mov	edi, DWORD PTR current[rip]
	mov	r14, QWORD PTR 0[rbp]
	mov	r13, rax
	call	fatal_signal_pending@PLT
	test	rax, rax
	je	.L2
	mov	eax, DWORD PTR EINTR[rip]
	neg	eax
.L1:
	mov	rcx, QWORD PTR 72[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L20
	add	rsp, 88
	.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
.L2:
	.cfi_restore_state
	mov	rsi, rbp
	mov	rdi, rbx
	call	ext4_getfsmap_rec_before_low_key@PLT
	test	rax, rax
	jne	.L11
	mov	rdx, QWORD PTR 16[rbx]
	mov	rsi, QWORD PTR [rbx]
	mov	rax, QWORD PTR [rdx]
	test	rax, rax
	jne	.L6
	cmp	r14, rsi
	jle	.L7
	add	QWORD PTR 8[rdx], 1
.L7:
	cmp	QWORD PTR 32[rbx], 0
	mov	eax, DWORD PTR EXT4_QUERY_RANGE_CONTINUE[rip]
	jne	.L1
	add	r14, QWORD PTR 8[rbp]
	add	QWORD PTR 8[rdx], 1
	cmp	r14, rsi
	jle	.L1
	mov	QWORD PTR [rbx], r14
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	cmp	r14, rsi
	jle	.L9
	cmp	rax, QWORD PTR 8[rdx]
	jle	.L16
	lea	rcx, 28[rsp]
	lea	rdx, 24[rsp]
	mov	rdi, r12
	mov	r15, r14
	call	ext4_get_group_no_and_offset@PLT
	mov	esi, DWORD PTR 28[rsp]
	mov	rdi, r13
	sub	r15, QWORD PTR [rbx]
	mov	r9d, DWORD PTR EXT4_FMR_OWN_UNKNOWN[rip]
	mov	DWORD PTR 12[rsp], r9d
	call	EXT4_C2B@PLT
	mov	esi, DWORD PTR 28[rbx]
	mov	edx, DWORD PTR 24[rsp]
	mov	rdi, r12
	mov	r9d, DWORD PTR 12[rsp]
	mov	ecx, eax
	mov	r8, r15
	call	trace_ext4_fsmap_mapping@PLT
	mov	eax, DWORD PTR 28[rbx]
	mov	rcx, r14
	mov	esi, DWORD PTR 24[rbx]
	mov	edx, DWORD PTR EXT4_FMR_OWN_UNKNOWN[rip]
	lea	rdi, 32[rsp]
	mov	DWORD PTR 60[rsp], eax
	mov	rax, QWORD PTR [rbx]
	mov	DWORD PTR 56[rsp], edx
	sub	rcx, rax
	mov	QWORD PTR 32[rsp], rax
	mov	rax, QWORD PTR FMR_OF_SPECIAL_OWNER[rip]
	mov	QWORD PTR 40[rsp], rcx
	mov	QWORD PTR 48[rsp], rax
	call	[QWORD PTR 8[rbx]]
	test	eax, eax
	jne	.L1
	mov	rdx, QWORD PTR 16[rbx]
	add	QWORD PTR 8[rdx], 1
.L9:
	cmp	QWORD PTR 32[rbx], 0
	jne	.L11
	mov	rax, QWORD PTR [rdx]
	cmp	QWORD PTR 8[rdx], rax
	jge	.L16
	lea	rcx, 28[rsp]
	lea	rdx, 24[rsp]
	mov	rsi, r14
	mov	rdi, r12
	call	ext4_get_group_no_and_offset@PLT
	mov	r9d, DWORD PTR 24[rbp]
	mov	esi, DWORD PTR 28[rsp]
	mov	rdi, r13
	mov	r15, QWORD PTR 8[rbp]
	mov	DWORD PTR 12[rsp], r9d
	call	EXT4_C2B@PLT
	mov	esi, DWORD PTR 28[rbx]
	mov	r9d, DWORD PTR 12[rsp]
	mov	rdi, r12
	mov	edx, DWORD PTR 24[rsp]
	mov	ecx, eax
	mov	r8, r15
	call	trace_ext4_fsmap_mapping@PLT
	mov	eax, DWORD PTR 28[rbx]
	mov	esi, DWORD PTR 24[rbx]
	mov	QWORD PTR 32[rsp], r14
	lea	rdi, 32[rsp]
	mov	DWORD PTR 60[rsp], eax
	mov	eax, DWORD PTR 24[rbp]
	mov	DWORD PTR 56[rsp], eax
	mov	rax, QWORD PTR FMR_OF_SPECIAL_OWNER[rip]
	mov	QWORD PTR 48[rsp], rax
	mov	rax, QWORD PTR 8[rbp]
	mov	QWORD PTR 40[rsp], rax
	call	[QWORD PTR 8[rbx]]
	test	eax, eax
	jne	.L1
	mov	rax, QWORD PTR 16[rbx]
	add	QWORD PTR 8[rax], 1
	.p2align 4,,10
	.p2align 3
.L11:
	add	r14, QWORD PTR 8[rbp]
	cmp	QWORD PTR [rbx], r14
	jge	.L13
	mov	QWORD PTR [rbx], r14
.L13:
	mov	eax, DWORD PTR EXT4_QUERY_RANGE_CONTINUE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	eax, DWORD PTR EXT4_QUERY_RANGE_ABORT[rip]
	jmp	.L1
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ext4_getfsmap_helper, .-ext4_getfsmap_helper
	.comm	current,4,4
	.comm	FMR_OF_SPECIAL_OWNER,8,8
	.comm	EXT4_QUERY_RANGE_CONTINUE,4,4
	.comm	EXT4_QUERY_RANGE_ABORT,4,4
	.comm	EXT4_FMR_OWN_UNKNOWN,4,4
	.comm	EINTR,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_fsmap.c_ext4_getfsmap_helper.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ext4_getfsmap_helper, %function
ext4_getfsmap_helper:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L21
	sub	sp, sp, #44
	mov	r5, r2
	mov	r4, r1
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	mov	r6, r0
	bl	EXT4_SB
	ldr	r3, .L21+4
	mov	r7, r0
	ldr	r0, [r3]
	ldr	r8, [r5]
	bl	fatal_signal_pending
	cmp	r0, #0
	beq	.L2
	ldr	r3, .L21+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
.L1:
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	mov	r1, r5
	mov	r0, r4
	bl	ext4_getfsmap_rec_before_low_key
	cmp	r0, #0
	bne	.L20
	ldr	r3, [r4, #8]
	ldr	r1, [r4]
	ldr	r2, [r3]
	cmp	r2, #0
	bne	.L6
	cmp	r8, r1
	ldrgt	r2, [r3, #4]
	ldr	r0, [r4, #20]
	addgt	r2, r2, #1
	strgt	r2, [r3, #4]
	ldr	r2, .L21+12
	cmp	r0, #0
	ldr	r0, [r2]
	bne	.L1
	ldr	r2, [r5, #4]
	ldr	ip, [r3, #4]
	add	r8, r8, r2
	cmp	r8, r1
	add	ip, ip, #1
	str	ip, [r3, #4]
	strgt	r8, [r4]
	b	.L1
.L6:
	cmp	r8, r1
	ble	.L9
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bgt	.L10
.L16:
	ldr	r3, .L21+16
	ldr	r0, [r3]
	b	.L1
.L20:
	ldr	r3, [r5, #4]
	ldr	r2, [r4]
	add	r8, r8, r3
	cmp	r2, r8
	bge	.L13
.L17:
	str	r8, [r4]
.L13:
	ldr	r3, .L21+12
	ldr	r0, [r3]
	b	.L1
.L10:
	add	r3, sp, #12
	add	r2, sp, #8
	mov	r0, r6
	bl	ext4_get_group_no_and_offset
	ldr	r1, [sp, #12]
	mov	r0, r7
	ldr	r10, [r4, #16]
	ldr	fp, [sp, #8]
	bl	EXT4_C2B
	ldr	r9, .L21+20
	ldr	ip, [r4]
	ldr	lr, [r9]
	sub	ip, r8, ip
	mov	r3, r0
	stm	sp, {ip, lr}
	mov	r2, fp
	mov	r1, r10
	mov	r0, r6
	bl	trace_ext4_fsmap_mapping
	ldr	r2, .L21+24
	ldr	r3, [r4]
	ldr	r0, [r2]
	ldr	ip, [r9]
	ldr	r2, [r4, #16]
	sub	r1, r8, r3
	str	r0, [sp, #24]
	str	r3, [sp, #16]
	str	r1, [sp, #20]
	ldr	r3, [r4, #4]
	ldr	r1, [r4, #12]
	str	ip, [sp, #28]
	str	r2, [sp, #32]
	add	r0, sp, #16
	blx	r3
	cmp	r0, #0
	bne	.L1
	ldr	r3, [r4, #8]
	ldr	r2, [r3, #4]
	add	r2, r2, #1
	str	r2, [r3, #4]
.L9:
	ldr	r2, [r4, #20]
	cmp	r2, #0
	bne	.L11
	ldr	r2, [r3, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L16
	add	r3, sp, #12
	add	r2, sp, #8
	mov	r1, r8
	mov	r0, r6
	bl	ext4_get_group_no_and_offset
	mov	r0, r7
	ldr	r1, [sp, #12]
	ldr	r7, [r4, #16]
	ldr	r9, [sp, #8]
	bl	EXT4_C2B
	ldr	lr, [r5, #12]
	ldr	ip, [r5, #4]
	mov	r3, r0
	mov	r2, r9
	mov	r1, r7
	stm	sp, {ip, lr}
	mov	r0, r6
	bl	trace_ext4_fsmap_mapping
	ldr	r3, .L21+24
	ldr	r1, [r4, #16]
	ldr	r0, [r3]
	ldr	r2, [r5, #12]
	ldr	r3, [r5, #4]
	str	r0, [sp, #24]
	str	r1, [sp, #32]
	str	r3, [sp, #20]
	ldr	r1, [r4, #12]
	ldr	r3, [r4, #4]
	str	r8, [sp, #16]
	str	r2, [sp, #28]
	add	r0, sp, #16
	blx	r3
	cmp	r0, #0
	bne	.L1
	ldr	r2, [r4, #8]
	ldr	r3, [r2, #4]
	add	r3, r3, #1
	str	r3, [r2, #4]
.L11:
	ldr	r2, [r5, #4]
	ldr	r3, [r4]
	add	r8, r8, r2
	cmp	r3, r8
	bge	.L13
	b	.L17
.L19:
	bl	__stack_chk_fail
.L22:
	.align	2
.L21:
	.word	.LC0
	.word	current
	.word	EINTR
	.word	EXT4_QUERY_RANGE_CONTINUE
	.word	EXT4_QUERY_RANGE_ABORT
	.word	EXT4_FMR_OWN_UNKNOWN
	.word	FMR_OF_SPECIAL_OWNER
	.size	ext4_getfsmap_helper, .-ext4_getfsmap_helper
	.comm	current,4,4
	.comm	FMR_OF_SPECIAL_OWNER,4,4
	.comm	EXT4_QUERY_RANGE_CONTINUE,4,4
	.comm	EXT4_QUERY_RANGE_ABORT,4,4
	.comm	EXT4_FMR_OWN_UNKNOWN,4,4
	.comm	EINTR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
