	.file	"extr_file.c_ext4_llseek.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ext4_llseek
	.type	ext4_llseek, @function
ext4_llseek:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rax, QWORD PTR 16[rdi]
	mov	rbx, rsi
	mov	esi, DWORD PTR EXT4_INODE_EXTENTS[rip]
	mov	r12, QWORD PTR [rax]
	mov	rdi, r12
	call	ext4_test_inode_flag@PLT
	test	eax, eax
	je	.L15
	mov	rax, QWORD PTR 8[r12]
	mov	r14, QWORD PTR [rax]
.L3:
	mov	rdi, r12
	call	mutex_lock@PLT
	cmp	r13d, 128
	je	.L4
	cmp	r13d, 129
	jne	.L6
	test	rbx, rbx
	je	.L16
	add	rbx, QWORD PTR 0[rbp]
.L6:
	test	rbx, rbx
	js	.L12
	cmp	rbx, r14
	jg	.L12
	cmp	QWORD PTR 0[rbp], rbx
	je	.L11
	mov	QWORD PTR 0[rbp], rbx
	mov	QWORD PTR 8[rbp], 0
.L11:
	mov	rdi, r12
	call	mutex_unlock@PLT
	mov	rax, rbx
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	movsx	rax, DWORD PTR 4[r12]
	add	rbx, rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rdi, QWORD PTR 8[r12]
	call	EXT4_SB@PLT
	mov	r14, QWORD PTR [rax]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rdi, r12
	call	mutex_unlock@PLT
	mov	rax, QWORD PTR 0[rbp]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, r12
	call	mutex_unlock@PLT
	mov	rax, QWORD PTR EINVAL[rip]
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	neg	rax
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ext4_llseek, .-ext4_llseek
	.comm	EXT4_INODE_EXTENTS,4,4
	.comm	EINVAL,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_file.c_ext4_llseek.c"
	.text
	.align	2
	.global	ext4_llseek
	.syntax unified
	.arm
	.fpu softvfp
	.type	ext4_llseek, %function
ext4_llseek:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	ldr	r1, [r0, #8]
	ldr	r3, .L16
	ldr	r8, [r1]
	mov	r7, r0
	ldr	r1, [r3]
	mov	r0, r8
	mov	r6, r2
	bl	ext4_test_inode_flag
	cmp	r0, #0
	beq	.L13
	ldr	r3, [r8, #8]
	ldr	r5, [r3]
.L3:
	mov	r0, r8
	bl	mutex_lock
	cmp	r6, #128
	beq	.L4
	cmp	r6, #129
	bne	.L6
	cmp	r4, #0
	beq	.L14
	ldr	r3, [r7]
	add	r4, r4, r3
.L6:
	cmp	r4, r5
	movle	r3, #0
	movgt	r3, #1
	orrs	r3, r3, r4, lsr #31
	bne	.L15
	ldr	r2, [r7]
	mov	r0, r8
	cmp	r2, r4
	strne	r4, [r7]
	strne	r3, [r7, #4]
	bl	mutex_unlock
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	ldr	r3, [r8, #4]
	add	r4, r4, r3
	b	.L6
.L13:
	ldr	r0, [r8, #8]
	bl	EXT4_SB
	ldr	r5, [r0]
	b	.L3
.L14:
	mov	r0, r8
	bl	mutex_unlock
	ldr	r0, [r7]
	pop	{r4, r5, r6, r7, r8, pc}
.L15:
	mov	r0, r8
	bl	mutex_unlock
	ldr	r3, .L16+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	.align	2
.L16:
	.word	EXT4_INODE_EXTENTS
	.word	EINVAL
	.size	ext4_llseek, .-ext4_llseek
	.comm	EXT4_INODE_EXTENTS,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
