	.file	"extr_extents.c_ext4_split_extent_at.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"ext4_split_extents_at: inode %lu, logicalblock %llu\n"
	.text
	.p2align 4
	.type	ext4_split_extent_at, @function
ext4_split_extent_at:
.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
	mov	r14, rdi
	lea	rdi, .LC0[rip]
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 104
	.cfi_def_cfa_offset 160
	mov	esi, DWORD PTR [rsi]
	mov	DWORD PTR 20[rsp], r8d
	mov	DWORD PTR 28[rsp], r9d
	mov	rdx, QWORD PTR fs:40
	mov	QWORD PTR 88[rsp], rdx
	xor	edx, edx
	mov	rdx, rcx
	call	ext_debug@PLT
	mov	rsi, r12
	mov	rdi, rbp
	call	ext4_ext_show_leaf@PLT
	mov	rdi, rbp
	call	ext_depth@PLT
	mov	eax, eax
	lea	r15, [r12+rax*8]
	mov	r13, QWORD PTR [r15]
	mov	edi, DWORD PTR 8[r13]
	call	le32_to_cpu@PLT
	mov	rdi, r13
	mov	QWORD PTR 8[rsp], rax
	call	ext4_ext_get_actual_len@PLT
	mov	rdi, r13
	mov	DWORD PTR 24[rsp], eax
	call	ext4_ext_pblock@PLT
	mov	rcx, QWORD PTR 8[rsp]
	mov	QWORD PTR 32[rsp], rax
	cmp	rbx, rcx
	jl	.L2
	mov	eax, DWORD PTR 24[rsp]
	xor	edi, edi
	add	rax, rcx
	cmp	rax, rbx
	setle	dil
	call	BUG_ON@PLT
	mov	rdx, r15
	mov	rsi, rbp
	mov	rdi, r14
	call	ext4_ext_get_access@PLT
	mov	r8d, eax
	test	eax, eax
	jne	.L3
	cmp	rbx, QWORD PTR 8[rsp]
	jne	.L4
	mov	eax, DWORD PTR 20[rsp]
	mov	rdi, r13
	test	DWORD PTR EXT4_EXT_MARK_UNINIT2[rip], eax
	jne	.L26
	call	ext4_ext_mark_initialized@PLT
.L6:
	mov	eax, DWORD PTR 28[rsp]
	test	DWORD PTR EXT4_GET_BLOCKS_DIO[rip], eax
	je	.L24
.L7:
	mov	rdx, r15
	mov	rsi, rbp
	mov	rdi, r14
	call	ext4_ext_dirty@PLT
	mov	r8d, eax
.L3:
	mov	rsi, r12
	mov	rdi, rbp
	mov	DWORD PTR 8[rsp], r8d
	call	ext4_ext_show_leaf@PLT
	mov	r8d, DWORD PTR 8[rsp]
.L1:
	mov	rax, QWORD PTR 88[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L27
	add	rsp, 104
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r8d
	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	edi, 1
	call	BUG_ON@PLT
	mov	rdx, r15
	mov	rsi, rbp
	mov	rdi, r14
	call	ext4_ext_get_access@PLT
	mov	r8d, eax
	test	eax, eax
	jne	.L3
.L4:
	lea	rax, 64[rsp]
	mov	edx, 16
	mov	rsi, r13
	mov	rdi, rax
	mov	QWORD PTR 40[rsp], rax
	call	memcpy@PLT
	mov	edi, ebx
	sub	edi, DWORD PTR 8[rsp]
	call	cpu_to_le16@PLT
	mov	QWORD PTR 0[r13], rax
	mov	eax, DWORD PTR 20[rsp]
	test	DWORD PTR EXT4_EXT_MARK_UNINIT1[rip], eax
	jne	.L28
.L8:
	mov	rdx, r15
	mov	rsi, rbp
	mov	rdi, r14
	call	ext4_ext_dirty@PLT
	mov	r8d, eax
	test	eax, eax
	jne	.L9
	mov	rdi, rbx
	call	cpu_to_le32@PLT
	mov	edi, DWORD PTR 24[rsp]
	mov	DWORD PTR 56[rsp], eax
	sub	edi, ebx
	add	edi, DWORD PTR 8[rsp]
	call	cpu_to_le16@PLT
	mov	rsi, QWORD PTR 32[rsp]
	sub	rbx, QWORD PTR 8[rsp]
	mov	QWORD PTR 48[rsp], rax
	add	rsi, rbx
	lea	rbx, 48[rsp]
	mov	rdi, rbx
	call	ext4_ext_store_pblock@PLT
	mov	eax, DWORD PTR 20[rsp]
	test	DWORD PTR EXT4_EXT_MARK_UNINIT2[rip], eax
	jne	.L29
.L10:
	mov	r8d, DWORD PTR 28[rsp]
	mov	rcx, rbx
	mov	rdx, r12
	mov	rsi, rbp
	mov	rdi, r14
	call	ext4_ext_insert_extent@PLT
	mov	r8d, eax
	add	eax, DWORD PTR ENOSPC[rip]
	je	.L30
.L11:
	test	r8d, r8d
	je	.L3
.L9:
	mov	rax, QWORD PTR 64[rsp]
	mov	rdx, r15
	mov	rsi, rbp
	mov	rdi, r14
	mov	DWORD PTR 8[rsp], r8d
	mov	QWORD PTR 0[r13], rax
	call	ext4_ext_dirty@PLT
	mov	r8d, DWORD PTR 8[rsp]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L26:
	call	ext4_ext_mark_uninitialized@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L30:
	mov	eax, DWORD PTR 20[rsp]
	test	DWORD PTR EXT4_EXT_MAY_ZEROOUT[rip], eax
	je	.L11
	mov	rsi, QWORD PTR 40[rsp]
	mov	rdi, rbp
	call	ext4_ext_zeroout@PLT
	mov	r8d, eax
	test	eax, eax
	jne	.L9
	mov	edi, DWORD PTR 24[rsp]
	call	cpu_to_le16@PLT
	mov	QWORD PTR 0[r13], rax
	.p2align 4,,10
	.p2align 3
.L24:
	mov	rdx, r13
	mov	rsi, r12
	mov	rdi, rbp
	call	ext4_ext_try_to_merge@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L29:
	mov	rdi, rbx
	call	ext4_ext_mark_uninitialized@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L28:
	mov	rdi, r13
	call	ext4_ext_mark_uninitialized@PLT
	jmp	.L8
.L27:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ext4_split_extent_at, .-ext4_split_extent_at
	.comm	EXT4_GET_BLOCKS_DIO,4,4
	.comm	EXT4_EXT_MAY_ZEROOUT,4,4
	.comm	EXT4_EXT_MARK_UNINIT2,4,4
	.comm	EXT4_EXT_MARK_UNINIT1,4,4
	.comm	ENOSPC,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_extents.c_ext4_split_extent_at.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ext4_split_extents_at: inode %lu, logicalblock %llu"
	.ascii	"\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ext4_split_extent_at, %function
ext4_split_extent_at:
	@ args = 8, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r2
	mov	r4, r1
	ldr	ip, .L31
	sub	sp, sp, #44
	mov	r2, r3
	mov	r8, r3
	ldr	r1, [r1]
	asr	r3, r3, #31
	mov	r10, r0
	ldr	r0, .L31+4
	ldr	ip, [ip]
	str	ip, [sp, #36]
	mov	ip,#0
	bl	ext_debug
	mov	r1, r6
	mov	r0, r4
	bl	ext4_ext_show_leaf
	mov	r0, r4
	bl	ext_depth
	ldr	r9, [r6, r0, lsl #2]
	add	r5, r6, r0, lsl #2
	ldr	r0, [r9, #4]
	bl	le32_to_cpu
	mov	r7, r0
	mov	r0, r9
	bl	ext4_ext_get_actual_len
	mov	fp, r0
	mov	r0, r9
	str	fp, [sp, #8]
	bl	ext4_ext_pblock
	cmp	r8, r7
	str	r0, [sp, #12]
	blt	.L2
	add	r0, r7, fp
	cmp	r0, r8
	movhi	r0, #0
	movls	r0, #1
	bl	BUG_ON
	mov	r2, r5
	mov	r1, r4
	mov	r0, r10
	bl	ext4_ext_get_access
	subs	fp, r0, #0
	bne	.L3
	cmp	r8, r7
	bne	.L4
	ldr	r3, .L31+8
	ldr	r2, [sp, #80]
	ldr	r3, [r3]
	mov	r0, r9
	tst	r2, r3
	bne	.L25
	bl	ext4_ext_mark_initialized
.L6:
	ldr	r3, .L31+12
	ldr	r2, [sp, #84]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L26
.L7:
	mov	r2, r5
	mov	r0, r10
	mov	r1, r4
	bl	ext4_ext_dirty
	mov	fp, r0
.L3:
	mov	r1, r6
	mov	r0, r4
	bl	ext4_ext_show_leaf
.L1:
	ldr	r3, .L31
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L27
	mov	r0, fp
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	mov	r0, #1
	bl	BUG_ON
	mov	r2, r5
	mov	r1, r4
	mov	r0, r10
	bl	ext4_ext_get_access
	subs	fp, r0, #0
	bne	.L3
.L4:
	mov	r2, #8
	mov	r1, r9
	sub	r7, r8, r7
	add	r0, sp, #28
	bl	memcpy
	mov	r0, r7
	bl	cpu_to_le16
	ldr	r3, .L31+16
	ldr	r2, [sp, #80]
	ldr	r3, [r3]
	str	r0, [r9]
	tst	r2, r3
	bne	.L28
.L8:
	mov	r2, r5
	mov	r1, r4
	mov	r0, r10
	bl	ext4_ext_dirty
	subs	fp, r0, #0
	bne	.L9
	mov	r0, r8
	bl	cpu_to_le32
	mov	r3, r0
	ldr	r2, [sp, #8]
	str	r3, [sp, #24]
	sub	r0, r2, r7
	bl	cpu_to_le16
	mov	r3, r0
	ldr	r2, [sp, #12]
	add	r0, sp, #20
	add	r1, r7, r2
	str	r3, [sp, #20]
	bl	ext4_ext_store_pblock
	ldr	r3, .L31+8
	ldr	r2, [sp, #80]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L29
.L10:
	ldr	r3, [sp, #84]
	mov	r2, r6
	str	r3, [sp]
	mov	r1, r4
	mov	r0, r10
	add	r3, sp, #20
	bl	ext4_ext_insert_extent
	ldr	r2, .L31+20
	mov	fp, r0
	ldr	r2, [r2]
	cmn	r0, r2
	beq	.L30
.L11:
	cmp	fp, #0
	beq	.L3
.L9:
	ldr	ip, [sp, #28]
	mov	r2, r5
	mov	r1, r4
	mov	r0, r10
	str	ip, [r9]
	bl	ext4_ext_dirty
	b	.L1
.L25:
	bl	ext4_ext_mark_uninitialized
	b	.L6
.L30:
	ldr	r2, .L31+24
	ldr	r3, [sp, #80]
	ldr	r2, [r2]
	tst	r3, r2
	beq	.L11
	mov	r0, r4
	add	r1, sp, #28
	bl	ext4_ext_zeroout
	subs	fp, r0, #0
	bne	.L9
	ldr	r0, [sp, #8]
	bl	cpu_to_le16
	mov	r2, r9
	mov	r1, r6
	str	r0, [r9]
	mov	r0, r4
	bl	ext4_ext_try_to_merge
	mov	r2, r5
	mov	r1, r4
	mov	r0, r10
	bl	ext4_ext_dirty
	mov	fp, r0
	b	.L3
.L29:
	add	r0, sp, #20
	bl	ext4_ext_mark_uninitialized
	b	.L10
.L28:
	mov	r0, r9
	bl	ext4_ext_mark_uninitialized
	b	.L8
.L26:
	mov	r2, r9
	mov	r1, r6
	mov	r0, r4
	bl	ext4_ext_try_to_merge
	b	.L7
.L27:
	bl	__stack_chk_fail
.L32:
	.align	2
.L31:
	.word	.LC1
	.word	.LC0
	.word	EXT4_EXT_MARK_UNINIT2
	.word	EXT4_GET_BLOCKS_DIO
	.word	EXT4_EXT_MARK_UNINIT1
	.word	ENOSPC
	.word	EXT4_EXT_MAY_ZEROOUT
	.size	ext4_split_extent_at, .-ext4_split_extent_at
	.comm	EXT4_GET_BLOCKS_DIO,4,4
	.comm	EXT4_EXT_MAY_ZEROOUT,4,4
	.comm	EXT4_EXT_MARK_UNINIT2,4,4
	.comm	EXT4_EXT_MARK_UNINIT1,4,4
	.comm	ENOSPC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
